Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (4) Doc (98) Help (27) Quark (405) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. MultiUdef Quark

    ... fix to avoid overwriting addToAll { |name| this.class.all ?? { this.class.all = IdentityDictionary() }; this.class.all[ name ] = this; // name doesn't need to be a Symbol } } HiddenFreeUdef : FreeUdef { // these are not added to the global ...

  2. PitchClass Quark

    ... = d-three-quarter-flat, ctqs = c-three-quarter-sharp *initClass { noteToScale = IdentityDictionary[ \c -> 0, \d -> 1, \e -> 2, \f -> 3, \g -> 4, \a -> 5, \b -> 6 ]; scaleToNote = IdentityDictionary[ 0 -> \c, 1 -> \d, 2 -> \e, 3 -> \f, 4 -> ...

  3. NFECoeffs Quark

    ... , { coeffsFOS = [ coeffs.last.copyRange(0, 1) ++ (-1 * [coeffs.last[4]]) ] }); ^IdentityDictionary.with(*[\sos->coeffsSOS, \fos->coeffsFOS, \g->g]).know_(true) } dist { |radius = (AtkHoa.refRadius), sampleRate, speedOfSound = (AtkHoa.speedO ...

  4. XiiSettings Quark

    ... Object.readArchive("ixiquarks/preferences/presets.ixi").isNil, { settingsDict = IdentityDictionary.new; "ixi-NOTE: NO WORRIES! 'presets.ixi' gets created when you store a preset".postln; }, { settingsDict = Object.readArchive("ixiquarks/pre ...

  5. ValueUMapDef Quark

    ... or.white, 0.8 ).alpha_(0.4); } defType { ^\control } *initClass { activeUnits = IdentityDictionary(); CmdPeriod.add( this ); } *cmdPeriod { activeUnits.keys.asArray.do(_.set( \active, false )); } *new { |name, startFunc, endFunc, args, cate ...

  6. nanoktl-objects Quark

    ... 127.0], SystemClock.seconds, nil, nil) }; }, chan: ~chan, srcID: ~uid); ~data = IdentityDictionary.new; // save all incoming data by oscpath ~syncSigns = IdentityDictionary.new; if(~labels.isNil) { ~labels = IdentityDictionary.new }; ~setDa ...

  7. README Quark

    ... ord") Chord.all.put(\test, Chord.new(notes: [0, 1, 2], name: "Test chord")); -> IdentityDictionary[ (test -> Chord.test) ] Chord.test; -> Chord([ 0, 1, 2 ], "Test chord") Chord.directory; -> Add Eleven: add11 has 5 Notes Add Thirteen: add13 ...

  8. MultiUdef Quark

    ... fix to avoid overwriting addToAll { |name| this.class.all ?? { this.class.all = IdentityDictionary() }; this.class.all[ name ] = this; // name doesn't need to be a Symbol } } HiddenFreeUdef : FreeUdef { // these are not added to the global ...

  9. RecordAddr Quark

    ... uper.new(hostname, port).lifeTime_(lifeTime) } init { super.init; threadBeats = IdentityDictionary.new; } sendBundle { arg time ... args; this.bundleToScore(args, time); } bundleToScore { arg bundle, time; var dt; dt = this.getElapsed + (ti ...

  10. Renderer Quark

    ... = curClock; Server.default = curServer; ^renderer.score } init { threadBeats = IdentityDictionary.new; score = Score.new; this.newAllocators; } /////////////// server ///////////////// // perhaps one needs to emulate some more here newAllo ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow