Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Assignment #1 by ldavidson (ldavidson) Code

    ... t.ar(0, [snd, snd]); }).add; ) ( Pbind( \instrument, "hihat", \dur, Pseq([1/2, Rest(1/4)], inf), \att, 0.03, \rel, Pseq([0.1, 0.1, 0.1, 0.7], inf), \ffreq, 100, \pan, 0, \amp, 0.02 ).play; Pbind( \instrument, ...

  2. StkInst Doc

    ... }).add; ) //Use it. ( Pbind( \instrument, \helpStkbowed, \dur , 0.25, \degree, Pseq([1,5,7+3], inf), \amp , Pseq([0.9,0.7,0.5],inf), \bowposition , Pseq([10,20,30,40,50,60],inf) ).play; ) //now a instrument that uses waveforms///////////// ...

  3. Ptime Doc

    ... (2) / 2), \dur, Prand(#[0.2, 0.5, 1.1, 0.25, 0.15], inf) ); b = Pbind( \degree, Pseq(#[0, 2b, 3], 1), \dur, 2, \ctranspose, -7 ); Pseq([Event.silent(1.25), Ppar([a, b])], inf).play; ) // test tempo changes ( var a, b; a = Pbind( \degree, Ps ...

  4. Psetp Doc

    ... nstance methods . embedInStream ( event ) Examples ( var a, b; a = Psetp(\freq, Pseq([801, 1008], inf), Pbind(\dur, Pseq([0.5, 0.111, 0.22]))); x = a.asStream; 9.do({ x.next(Event.new).postln }); ) // Psetp overrides incoming values: ( var ...

  5. Eternal Elevator Ensemble by 56228375 (56228375) Code

    ... true) { ~tonal_function_just_changed = false; Pseq([~allowed_lead_degrees[0]], 1).asStream.next; } /* else */ { Pwrand(~allowed_lead_degrees, ~allowed_lead_probabilities, inf). ...

  6. sosSnare-demo Quark

    ... Pwhite(750, 1250), \nyquist, Pwhite(5000, 15000), \rq, Pwhite(0.05, 0.2), \dur, Pseq([Pseq([2, 3, 2], 2), 1]) / 6, \amp, 1 );

  7. sosBell-demo Quark

    Pbindef( \sosBell, \instrument, "sosBell", \degree, Pseq([5, 3, 4, 0, 0, 4, 5, 3]), \dur, Pseq([1, 1, 1, 3, 1, 1, 1, 1]) / 1.5, \amp, 0.1 );

  8. scrolless by vividsnow (vividsnow) Code

    ... eturn something instrument: \default, delta: ev.delta/8, amp: Pseq((0.3..0.8).scramble, inf), octave: self.state.next ]) }, state: Pseq((3..6), inf).asStream // i.e. object attribute ), p2: ( // ...

  9. Paddp Doc

    ... nce methods . filterEvent ( event , val ) Examples ( var a, b; a = Paddp(\freq, Pseq([2, 3, pi], inf), Pbind(\freq, Pseq([100, 200, 300]))); x = a.asStream; 9.do({ x.next(Event.new).postln }); ) ⧉ ✔ // sound example ( SynthDef(\sinegrain, { ...

  10. Pboolnet Doc

    ... ne, \dur, 0.1, \amp, boolnet * 0.3 ); pattern.play ) ( // more complex -- has a Pseq for the boolean operation var boolnet, pattern; boolnet = Pboolnet([ 1, Pseq([\xor, \or, \and], inf), 1, Pseq([\and,\xor,\or], inf), 1, \xor, 1, \and, 1, \ ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow