Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. Rotate2 Help

    ... r(4, w, x, y); [a, b, d, c] // reorder to my speaker arrangement: Lf Rf Lr Rr }.play; ) // Rotation of 2 mono sounds in the stereo field: ( { // rotation via lfo var x, y; x = PinkNoise .ar(0.4); y = LFTri .ar(800) * LFPulse .kr(3,0,0.3,0.2 ...

  2. BinaryOpUGen Help

    ... und example ( { var a = LFSaw .ar(300); var b = LFSaw .ar(329.1); a % b * 0.1 }.play; ) The comparison operators The operators >, >=, <, and <= are particularly useful for triggering. They should not be confused with their use in conditiona ...

  3. BufWr Help

    ... Phasor .ar(0, BufRateScale .kr(0) * rate, 0, BufFrames .kr(0))); 0.0 //quiet }.play; ) //read it with a BufRd ( x = { arg rate=1; BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0) * rate, 0, BufFrames .kr(0))) }.play(s); ) x.set( \rate , 5 ...

  4. Plambda Help

    ... hared via \eventScope ); b = Pbindf (a, \instrument , \sine , \legato , 0.1); b.play ) // this structure remains parallelizable Ppar ([b, Pbindf (b, \ctranspose , 24, \dur , Pkey ( \dur ) * 0.25)]).play;

  5. TWindex Help

    ... , w3]); Out .ar(0, SinOsc .ar( Select .kr(index,[400, 500, 600]), 0, 0.2 ) ) }).play; ) a.setn(0, [0,0,1].normalizeSum); a.setn(0, [1,1,1].normalizeSum); a.setn(0, [1,0,1].normalizeSum); //modulating probability values ( a = SynthDef ( "hel ...

  6. hypot Help

    ... plitude = 10 / distance.squared; FSinOsc .ar(1000 * pitchRatio, 0, amplitude) }.play) The next example uses the distance to modulate a delay line. ( { var x, y, distance, velocity, pitchRatio, amplitude, motorSound; // object travels 200 me ...

  7. LFDClipNoise Help

    ... LFDNoise changes smoothly. { LFClipNoise .ar( MouseX .kr(0.1, 1000, 1), 0.1) }.play { LFDClipNoise .ar( MouseX .kr(0.1, 1000, 1), 0.1) }.play // silent for 2 secs before going up in freq { LFClipNoise .ar( XLine .kr(0.5, 10000, 3), 0.1) }. ...

  8. PhidSlot Help

    ... ple: p = Pbind( \degree, ( PhidSlot( 0, 3, a, inf )*12 ).round(1), \dur, 0.25 ).play; p.stop; // more complex example, showing multichannel expansion and sequences of slots: p = Pbind( \degree, ( PhidSlot( Pseq([[0,1],2,5],inf), 3, a, inf ) ...

  9. Scale Help

    ... d ( \scale , a, \degree , Pseq ((0..7) ++ (6..0) ++ [ \rest ], 1), \dur , 0.25).play; // use non-standard tuning a.tuning_( \just ); a.degrees; // no change; degrees are independent of tuning a.semitones; // [ 0, 2.0391000173077, 3.15641287 ...

  10. FreeVerb Help

    ... mix, // mix 0-1 room, // room 0-1 damp // damp 0-1 duh ) ! 2 //fan out... ); }).play ) z.set( \room , 0.7) z.set( \mix , 0.4) z.set( \damp , 0.2) z.free //it expands as any ugen does ( z = SynthDef ( \src , { |mix = 0.25, room = 0.15, damp ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow