Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (786) Code (22) Doc (235) Help (67) Quark (457) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. PLx_and_live_coding_with_Strings Doc

    ... (i: \saw, m: [95, 96, 97], d: 0.8); // define sequence ~p = "aab" ) // symplay wraps into a PsymNilSafe // PLseq defaults to repeats = inf and refers to 'p' in current Environment, // thus the String "aab", the EventStreamPlayer should als ...

  2. AutomationIntro Doc

    ... also, for example, stop at the end: // control.onEnd = { control.stop; }; // Or wrap back to the start: control.onEnd = { control.seek(0); }; // Gimmick example: Let's add "our own" transport control button // that seeks somewhere random, a ...

  3. SoundFileHolder Quark

    ... mes( startPos ) }; if( loop ) { actualStartFrame = (startFrame + addStartFrame).wrap( 0, this.endFrame ); } { actualStartFrame = startFrame + addStartFrame; }; buf = Buffer.alloc(server, diskBufferSize.asInteger, numChannels, { arg buffer; ...

  4. Debugging-tips Help

    ... from legitimate postln and postcs calls. To print multiple values at one time, wrap them in an array before using .debug or .postcs. Note that if any of the array members are collections, postln will hide them behind the class name: "an Ar ...

  5. UserFAQ Doc

    ... l be 2, not 1. In some cases, the 2 may not be acceptable. That can be fixed by wrapping the Or in another comparison -- ((x > 0) + (y > 0)) > 0 -- because 2 > 0 evaluates to 1! - Not : I prefer to negate a condition by comparing it to zero ...

  6. plusSpec-makeView Quark

    ... ou selected % soundfiles for % units.\nUse them only for the first % units,\nor wrap around for all?".format( paths.size, vws[ \val ].size, paths.size ), [ "cancel", "first %".format( paths.size ), "all" ], [ {}, { paths.do({ |item, i| vws[ ...

  7. drum-samples Quark

    ... esDo { |key, value| if(~shouldNotIndexPerDrum.(key).not) { event.put(key, value.wrapAt(i)); }; }; event = ~commonParamsStream.next(event); event = ~drumSelector.next(event); if(i < (inEvent[\bufIndex].size - 1)) { event.put(\delta, 0).play; ...

  8. ChuckExamples Quark

    ... rocess, erasing what was in the BP before; - makeCh: instantiate a new process, wrapping what was in the BP before. To call the function, use the form: Func ( \makeCh ).doAction(name of new BP, inner process prototype, outer process prototy ...

  9. ChuckExamples Quark

    ... rocess, erasing what was in the BP before; - makeCh: instantiate a new process, wrapping what was in the BP before. To call the function, use the form: Func ( \makeCh ).doAction(name of new BP, inner process prototype, outer process prototy ...

  10. SoundFileHolder Quark

    ... mes( startPos ) }; if( loop ) { actualStartFrame = (startFrame + addStartFrame).wrap( 0, this.endFrame ); } { actualStartFrame = startFrame + addStartFrame; }; buf = Buffer.alloc(server, diskBufferSize.asInteger, numChannels, { arg buffer; ...

prev 71 72 73 74 75 76 77 78 79 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow