Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (317) Code (69) Doc (87) Help (34) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. test-JITModPatch Quark

    ... (s, \audio, 2); a.source = Pbind(\degree, Pwhite(-14, 14, inf), \dur, 1, \test, Pfunc { |ev| ev[\abc].debug("abc in proto"); 0 }).trace; a.nodeMap a.source = Pbind(\degree, Pwhite(-14, 14, inf), \dur, 1, \play, { ~finish.value; currentEnvir ...

  2. Wavetable Synthesis Patterns by elifieldsteel (eli.fieldsteel) Code

    ... , Pexprand(5,10), \c0, Pexprand(1,2), \c1, Pexprand(1,2).neg, \detune, Pfunc({rrand(0.15,0.4)}!3), \buf, Prand(~wt_buf[0..3], inf), \scale, Scale.minorPentatonic, \degree, Pfunc({ (-12,-10..12).scramble[0..rrand(1,3)] ...

  3. SCTweets by nathanielvirgo (nathanielvirgo) Code

    ... x=0;Pbind(*[type:\set,id:{|freq=10|LFTri.ar(freq.lag(0.1))!2}.play.nodeID,freq:Pfunc{x=x+32%355;x%12+1*40},dur:1/6]).play// #supercollider x=0;Pbind(*[type:\set,id:{|freq=10|f=freq;LPF.ar(Saw.ar(f),f.lag(1)*3)!2}.play.nodeID,freq:Pfunc{x= ...

  4. Buffer_Granulation Doc

    ... es. On the contrary repeated evaluation of an interpreter variable, e.g. from a Pfunc, is unsafe - variable's value could change while gui has not yet been closed - so in concerned examples values are passed to the event definition, in Ex.2 ...

  5. TimeSpec Quark

    ... nf ), \delta , 1, \legato , 0.01, \instrument , \default ); p = Pbind ( \freq , Pfunc ({ rrand(200, 800) }), \delta , 0.25, \legato , 0.6, \instrument , \default ); c.play(quant: 4); // start a metronome e = p.play(quant: nil ); // not sync ...

  6. TimeSpec Quark

    ... nf ), \delta , 1, \legato , 0.01, \instrument , \default ); p = Pbind ( \freq , Pfunc ({ rrand(200, 800) }), \delta , 0.25, \legato , 0.6, \instrument , \default ); c.play(quant: 4); // start a metronome e = p.play(quant: nil ); // not sync ...

  7. PG_Cookbook05_Using_Samples Help

    ... ), // some important conversions // identify the buffer numbers to read \freq , Pfunc { |ev| ev.use(ev[ \freq ]) }, \bufnum , Pfunc ({ |ev| ~midinotes.indexInBetween(ev[ \freq ].cpsmidi) }) .clip(0, ~midinotes.size - 1.001) ).play; ) p.stop ...

  8. Interface Doc

    ... t, 1.0) * EnvGen.kr(envadsr, gate,amp,doneAction: 2 ) },[ sample, // dur uses a Pfunc to ask the delta till the next event Pfunc({ arg igs; (igs.delta * 0.9) }), // get an .ir input into the synth function ~pchRatio = IrNumberEditor(1.0,[-2 ...

  9. Syntax-Shortcuts Doc

    ... do { |x| x.play } while({ a < b }, { a = a * 2 }) while { a < b } { a = a * 2 } Pfunc({ rrand(3, 6) }) Pfunc { rrand(3, 6) } NOTE: Trailing arguments must be literal blocks. No other expression may be used as a trailing argument, even if it ...

  10. BufFiles Doc

    ... e, Pwhite(0.5,1.0), \buffer, Pdefn(\polySelected, Pseq(b.selected, inf)), \dur, Pfunc{|ev| ev[\buffer].duration * ev[\rate].abs.reciprocal } ).play; ) ⧉ ✔ Inherited instance methods Examples b = BufFolders(s, "path/to/808/sample/pack"); b[\ ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow