Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. API-old-help Quark

    ... ll that method on the object passing in args // expose methods on an object b = Pseq ([1,2,3,4], inf ).asStream; a.exposeMethods(b,[ 'next' , 'reset' ]); s.boot; p = Pbind ( \freq , Prand ([300, 500, 231.2, 399.2], inf ), \dur , Prand ([0.1 ...

  2. scm_synthdef_autoload Quark

    ... amp, pan)); }).store(); ); /* // glokenspiel ( Pbind( \instrument, \bell, \fs, Pseq( (60..20), inf).midicps, \t60, Pwhite(1, 100), \dur, 1 ).play; ) // xilophone ( Pbind( \instrument, \bell, \fs, Pseq( (80..92), 1).midicps, \t60, 1, \pitch ...

  3. PSPdiv Quark

    ... [j], nextDivTypes[j] ) }{ Pbindf( Pfin(nextEvPatDurs[i].size, evPats[i]), \dur, Pseq(nextEvPatDurs[j]) ) } ) } ); } }{ sp.suspendAll; break.value; }; queueCount = queueCount + nextQueueStep; pulseCount = pulseCount + nextPulseStep; nextPuls ...

  4. Ptafsiran Quark

    ... ostln; [(index: i)] }; */ i = i + 1; }, false); patternList = allValues.collect(Pseq(_, inf)); indexPattern = Prout({|inval| super.embedInStream(inval) }).collect { |x| x.at(\index) }; parallel = PparSwitch(patternList, indexPattern); } get ...

  5. AbstractPatchableNode Quark

    ... }; ^argLookup[key] } argAtPath { |path| var obj = this; var key, value; path = Pseq(path.asString.split($/).collect(_.asSymbol), 1).asStream; while { key = path.next; key.notNil and: { value = obj.tryPerform(\argAt, key); if(value.isNil) { ...

  6. Block Quark

    ... toPattern(1,0).play [d.toPattern(1), d.toPattern(2)].ppar(2).play Pdefn(\note1, Pseq([9,1,6,\rest], 1)); Pdefn(\note2, Pseq([\rest,2,1,0, 2], 1)); SynthFile.postAll(\point); SynthFile.read(\point).do{|item| SynthFile.read(\point, item).toSy ...

  7. preprocessor-generators Quark

    ... m: Rest(~items[0].item))]; // }; // "rest ++" also works if 'rest' is nil pat = Pseq(rest ++ ~items, 1); if(BP.exists(~bpKey) and: { ~parm != BP(~bpKey).defaultParm }) { pat = pat.collect { |ev, inEvent| if(ev[\item].isNil) { // incumbent o ...

  8. GrainRenderer Quark

    ... Size / sRate); name = synthDef.name; args = [ \instrument, name, \amp, 1, \dur, Pseq([dur], 1), \legato, 1 ] ++ params; score = Pbind(*args).asScore(dur); // add synthdef after g_new score.score = score.score.insert(1, [ 0, [\d_recv, synthD ...

  9. ddwPatterns Quark

    ... ).notNil.if({ pos = pos + stepp }, { ^inval }); }, { ^inval }); }); ^inval; } } PseqFunc : Pseq { // executes a function on the list item before embedding in stream // if func is nil, the item is used as is var <func; *new { |list, repeats ...

  10. ThrashCutProc1 Quark

    ... s shuffles.value.do({arg i; currriff=currriff.swap(siz.rand,siz.rand); }); seq= Pseq(currriff,inf).asStream; done=0.0; cutsequence= LinkedList.new; while({done<(currphraselength-0.001)},{ left= currphraselength-done; next= seq.next; next= t ...

prev 41 42 43 44 45 46 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow