Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. Duty Help

    ... , // demand ugen as durations 0, Dseq ([204, 400, 201, 502, 300, 200], inf ) ); SinOsc .ar(freq * [1, 1.01]) * 0.1 }.play; ) ( { var freq; freq = Duty .kr( MouseX .kr(0.001, 2, 1), // control rate ugen as durations 0, Dseq ([204, 400, 201, ...

  2. LocalBuf Help

    ... dup); chain = FFT ({ LocalBuf (2048, 1)}.dup, in); chain = PV_BrickWall (chain, SinOsc .kr([0.1, 0.11])); IFFT (chain) // inverse FFT }.play; ) // spawn some FFT based synths: ( SynthDef ( \fftgrain , { |out, sustain = 1, rate = 0.2| var in ...

  3. Interpreter Help

    ... to implement little languages. // silly but simple: understand a Saw for every SinOsc this .preProcessor = { |code| code.replace( "SinOsc" , "Saw" ) }; { SinOsc .ar(200) * 0.1 }.play; preProcessor = nil ; // reset to nil.

  4. Mix Help

    ... ion can be found under MultiChannel . s.boot; { Mix .new([ PinkNoise .ar(0.1), FSinOsc .ar(801, 0.1), LFSaw .ar(40, 0.1)]) }.play *fill(n, function) A common idiom using Mix is to fill an Array and then mix the results: ( play({ Mix .new( A ...

  5. Dswitch Help

    ... ), Dseq ([1, 1, 1, 0], 2) ], Dseq ([0, 1, 2, 1, 0], 2)); trig = Impulse .kr(4); SinOsc .ar( Demand .kr(trig, 0, d).poll(trig) * 300 + 400 ) * 0.1 ! 2 }.play; ); // compare with Dswitch1: ( { var d, trig; d = Dswitch1 ([ Dwhite (3, 4, 2), Dw ...

  6. UnaryOpUGen Help

    ... naryOpUGens are created as the result of a unary operator applied to a UGen . ( SinOsc .ar(200).abs).dump; ( LFSaw .ar(200).sin).dump; As in the examples given here, you don't usually need to instantiate UnaryOpUGen youself. Examples for un ...

  7. Stepper Help

    ... n this is patched to min . SynthDef ( "help-Stepper" ,{ arg out=0; Out .ar(out, SinOsc .ar( Stepper .kr( Impulse .kr(10), 0, 4, 16, 1 ) * 100, 0, 0.05 ) ) }).play; SynthDef ( "help-Stepper" ,{ arg out=0; Out .ar(out, SinOsc .ar( Stepper .kr ...

  8. CoinGate Help

    ... 0, prob=0.5; var trig; trig = CoinGate .kr(prob, Impulse .kr(10)); Out .ar(out, SinOsc .ar( TRand .kr(300.0, 400.0, trig),0,0.2 ) ) }).play; ) a.set( \prob , 1.0); a.set( \prob , 0.0); a.set( \prob , 0.1); ( a = SynthDef ( "help-TCoin" , { ...

  9. PV_MagFreeze Help

    ... ); ) ( SynthDef ( "help-magFreeze" , { arg out=0, bufnum=0; var in, chain; in = SinOsc .ar( LFNoise1 .kr(5.2,250,400)); chain = FFT (bufnum, in); // moves in and out of freeze chain = PV_MagFreeze (chain, SinOsc .kr(0.2) ); Out .ar(out, 0.5 ...

  10. SCStethoscope Help

    ... r of size bufSize is allocated. Server .default = s = Server .internal s.boot { SinOsc .ar([330,440], 0, 0.4)}.play; SCStethoscope (s,2); Creation by Message .scope aServer.scope(numChannels, index, bufsize, zoom, rate) Opens a scope window ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow