Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (924) Code (27) Doc (315) Help (54) Quark (524) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. extVarious-SynthTracker Quark

    ... ^this.findInTracker.notNil } trackFree { // find the synth in the SynthTracker dictionary and free it if it's there. // If it's not there free it anyway var index; index = this.findInTracker; if(index.notNil) { ^SynthTracker.freeAt(this.de ...

  2. 101-particle-system_synth Doc

    ... an2.ar(z*e, pan)); }).add; s.sync; synths= (); //keep track of synths with this dictionary //--world w= RedWindow("particlesystem test2", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], 0, 20, 1.25); //dim, ...

  3. JSON Quark

    ... ); if(obj.class === Symbol, { ^JSON.stringify(obj.asString) }); if(obj.isKindOf(Dictionary), { out = List.new; obj.keysValuesDo({ arg key, value; out.add( key.asString.asCompileString ++ ":" + JSON.stringify(value) ); }); ^("{" ++ (out.join ...

  4. 101-particle-system_synth Quark

    ... an2.ar(z*e, pan)); }).add; s.sync; synths= (); //keep track of synths with this dictionary //--world w= RedWindow("particlesystem test2", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], 0, 20, 1.25); //dim, ...

  5. PsymNilSafe Doc

    ... a new PsymNilSafe object. pattern expects a pattern of Symbols, dict the lookup dictionary and defaults to the current Environment. maxNull is the number of events with delta = 0 after which PsymNilSafe's method 'embedInStream' yields and t ...

  6. SCMControlSpecView Quark

    ... age-error"); mainLayout.add(labelError, stretch: 1.0); } getState { var state = Dictionary(); state[\type] = this.class.asString; state[\rawSpecAsString] = model[\rawSpecAsString]; ^state; } loadState { | state | model[\rawSpecAsString] = s ...

  7. insp Doc

    ... arguments by name even though the Synth was created without named arguments. A Dictionary displays its key/values (rather than just its sparse internal array) Registering a display hook is quite easy: ObjectInsp.registerHook(class,{ arg mo ...

  8. Freesound Quark

    ... ath = PathName.tmp ++ "fs_" ++ UniqueID.next ++ ".txt"; params = params?IdentityDictionary.new; paramsString = params.keys(Array).collect({|k| k.asString ++ "=" ++ params[k].asString.urlEncode}).join("&"); if (url.contains(separator)){separ ...

  9. 6_TryLoad_MKtls Quark

    ... sToShow = NTMI.interfacesToShow ? NTMI.optionalNames; NTMI.filesForFoundInfos = Dictionary[ // midi "nanoKONTROL2" -> "nanoKtl", "Faderfox UC4" -> "uc4", "Music Thing 8mu" -> "mu8", "intech-grid" -> "en16", "X-TOUCH MINI" -> "xtm", // hid " ...

  10. rewriteString Quark

    ... haracters in melody ( k = Pseq ( "ab" ); c = [ "a" -> "ba" , "b" -> "ca" ]; d = Dictionary [ $a -> 0, $b -> 5, $c -> 3 ]; z = Pdict (d, // apply homomorphism (final translation) k.asStream.rewriteString(c, 5) ); Pbind ( \instrument , \sineg ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow