Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (301) Code (18) Doc (56) Help (10) Quark (214) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. SequenceStream Quark

    ... otNil.if({ args[index+1] = gate; }, { args = args ++ [\gate, gate]; }); }; } // maybe make this a dictionary sometime argAt { |key| var i; if(args.isArray) { if((i = args.indexOf(key)).notNil) { ^args[i+1] } }; ^nil } argPut { |key, value| ...

  2. Chucking Quark

    ... mixer.mcgui.notNil.if({ mixer.mcgui.mixer = nil }); }); ~free.value(value); // maybe free func needs to know the voicer object }); value.free; this.removeFromCollection; } bindBP { |bp| bp.bindVC(this) } draggedIntoVoicerGUI { |dest| value ...

  3. Assemblage Quark

    ... therfore pan -1 to avoid issues of doubling blocks - although this is something maybe that should be looked into in the block class... Block.play(2, \pattern, \nobuf, [[\note, \seq, [7,7,7,7]], [\dur, 0.5] ], [\instrument, \default, \pan, 0 ...

  4. BBCutBuffer Quark

    ... th, <beatlength, <>bps; //event start positions var <eventstarts; //in frames //maybe this data is mirrored on the server? //var transients, eventtype, pats; //data for each event var <eventlengths; //in seconds var <eventpats; var <onsetsi ...

  5. SSWorld Quark

    ... et object's world to this objects.add(numObjects -> obj); // obj.world= this; //maybe this is redundant??? ////// obj.channel = obj.channel ? numObjects; if (this.getAllObjectNames.indexOf((numObjects).asSymbol).isNil.not) { obj.name = (num ...

  6. OSCMapper Quark

    ... } at {|address| var res; address = address.asSymbol; res = layout[address]; // maybe the address is an alternative name? if(res.isNil, { layout.pairsDo({|addr, element| if(address == element.altName.asSymbol, { res = element; }); }); }); ^ ...

  7. OSCMapper Doc

    ... ultitoggleK/i/j where K is the K-th multitoggle, i the column and j the row (so maybe a bit unintuitive but thats how it is in the interface). ( o = OSCMapper.mix2iPad; // create an array of [o['.../1/1'].asPdefn, o['.../1/2'].asPdefn, ...] ...

  8. RoundNumberBox Quark

    ... defaultFontSize = font.size } doesNotUnderstand { |selector ... args| // dirty maybe, but any reason not to do this? if( selector.isSetter ) { if( this.class.instVarNames.includes( selector.asGetter ) ) { this.slotPut( selector.asGetter, a ...

  9. Chucking Quark

    ... mixer.mcgui.notNil.if({ mixer.mcgui.mixer = nil }); }); ~free.value(value); // maybe free func needs to know the voicer object }); value.free; this.removeFromCollection; } bindBP { |bp| bp.bindVC(this) } draggedIntoVoicerGUI { |dest| value ...

  10. DoNotation Quark

    ... return.collect{ |return| //inside validation return.collect{ |return| //inside Maybe var endExpression = string[(return+6)..].stripWhiteSpace; strings[0]++".collect{ "++strings[1]++varExpression++endExpression++" }" }.getOrElse({ var endEx ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow