Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (225) Code (25) Doc (78) Help (44) Quark (78) SCDoc ↗ Forum ↗ Google ↗
  1. cl-manual-examples Quark

    ... ********* Listing 37. Usage of \pdefn() generator. **************/ Pdefn(\y, Pn(Pseries(0, 1, 8), inf).collect { |d| SequenceNote(d, nil, 0.9) }); /y.a0 = "[*]::\ins("*", 2, 0.5)::\pdefn(`y, "*")"; /y.a1 = "\ins("*", 3, 0.5)::\pdefn(`y, "*" ...

  2. Pdef Doc

    ... n argument, create a new pattern each time it is called Pdef(\x, { Pbind(\note, Pseries(10.rand, 5.rand, 8.rand + 1), \dur, 1 / (8.rand + 1)) }); Pn(Pdef(\x)).play; // the function is called in the incoming event as current environment, so ...

  3. Pbind Doc

    ... rns arrays, use Ptuple: a = [Pseq([1, 2, 3], inf), Prand([100, 299, 399], inf), Pseries(0, 6, inf)]; b = Ptuple(a); b.asStream.nextN(8) ⧉ ✔ Pbind(\degree, Ptuple([Pseq([0, 2, 3], inf), Pseq([2, 4, 5, 6], inf)])).play; ⧉ ✔ // an example: ins ...

  4. SCIde Doc

    ... n, the parenthesis must each be the only character on a line. ( Pbind( \degree, Pseries(0, 1, 8), \dur, 0.25 ).play; ) ⧉ ✔ If the cursor is anywhere between the outermost parentheses, pressing Ctrl+Return will automatically evaluate the ent ...

  5. pitch-processes Quark

    ... unc.value(out)).doAction(out, inEvent, ~getFit.value), inEvent) }), \noteCount, Pseries(0, Pfunc { |ev| max(1, ev[\note].freq.size) }, inf).drop(1).collect { |count, ev| if(~currentChordSize.notNil and: { count >= ~currentChordSize }) { // ...

  6. kitchen studies Quark

    ... (2, 5), Pwhite (1, 2)), PLseq ([1, -2])); ~fxOrder = [1]; ~rate = Pn ( Plazy { Pseries (exprand(0.3, 0.7), rrand(0.02, 0.1), rrand(5, 20)); }) * 0.8; v.performWithEnvir( \gui , w) ) // after stopping free leakDC synth x.free Part 6 – band ...

  7. kitchen_studies Doc

    ... white(2, 5), Pwhite(1, 2)), PLseq([1, -2])); ~fxOrder = [1]; ~rate = Pn(Plazy { Pseries(exprand(0.3, 0.7), rrand(0.02, 0.1), rrand(5, 20)); }) * 0.8; v.performWithEnvir(\gui, w) ) // after stopping free leakDC synth x.free ⧉ ✔ Part 6 – band ...

  8. SequenceableCollection Doc

    ... }, 1]) } // weights contains streams 10.collect { [1, 2, 3, 4].wchoosen([1, 1, Pseries(0,1).asStream, 1]) }; // weights is a function 10.collect { [1, 2, 3, 4].wchoosen({ |list| list.collect { |x| if(x.even) { 1 } { 2 } } }) }; // weights ...

  9. tests Quark

    ... freq: 72.midicps)).play; e.put(\type, \synOff).play; p = Pmono(\default, \freq, Pseries(1, 1, inf) * 100, \dur, 1).collect { |ev| thisThread.clock.sched(0.1, { ev.postln }); ev }.play; p.stop; p = Pmsyn( Pmono(\default, \freq, Pexprand(300, ...

  10. Judges by Michael Noonan by bruno (Bruno Ruviaro) Code

    ... ay.stop; ~bTocTransition = Pbind( \instrument, "melodyFM", \midinote, Pseries(84, -1, 32), \dur, 0.125, \ctranspose, 12, \cmRatio, 2, \modIndex, 10, \amp, 0.1, \att, 0.01, \rel, 2, \pan, 0 ).play.stop; ...

prev 21 22 23 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow