Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ; // something safe to type on { SinOsc .ar(800, 0, KeyState .kr(38, 0, 0.1)) }.play; )

  2. Pconst Help

    ... \instrument , \help_sinegrain , \degree , Pseries (0, 1, inf ), \octave , 6 ) ).play; )

  3. RootNode Help

    ... on each Server and represents the root of that server's node tree. It is always playing, and always running, cannot be freed, or moved anywhere. Cacheing is used so that there is always one RootNode per Server. s = Server .local; a = RootNo ...

  4. basic_live_coding_techniques Help

    ... }).send(s); ) // send a first synth: ~s1 = Synth ( \x ); // [1] // now you can play around with these lines, as well as with the synth def above ~s1 = Synth .replace(~s1, \x , [ \freq , 3000]); ~s1.set( \freq , 4000); // add a bus: ~b1 = B ...

  5. ServerTiming Help

    ... e logical time (clock.beats) and physical time (clock.elapsedBeats) just before playing a grain. s.boot; SynthDef ( \sinGrain , { |out = 0, freq = 440, amp = 0.5, dur = 1| Out .ar(out, SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .sine(1), ti ...

  6. GUI-Overview Help

    ... control a gui with a Routine or Task, then you must either use the AppClock to play them, or use the defer mechanism, which schedules a Function in the AppClock : ( w= Window .new.front; Routine { 20.do{ w.bounds= Rect (200.rand, 200+200.r ...

  7. Tutorial Help

    ... Hz sine oscillator Out .ar(0, osc); // send output to audio bus zero. }).add; ) Play a 900 Hz sine wave. s.sendMsg( "/s_new" , "sine" , x = s.nextNodeID, 1, 1, "freq", 900); s.sendMsg( "/n_free" , x); Play a 1000 Hz sine wave. s.sendMsg( "/ ...

  8. pvcalc2 Help

    ... 1.wav" ); } ) ( x = { var fftsize = 1024; var in, chain, in2, chain2, out; in = PlayBuf .ar(1, c, BufRateScale .kr(c), loop: 1); chain = FFT ( LocalBuf (fftsize), in); // in2 = PlayBuf .ar(1, e, BufRateScale .kr(e), loop: 1); // JMcC babbli ...

  9. Tour_of_UGens Help

    ... nk .ar(`[[200, 671, 1153, 1723], nil , [1, 1, 1, 1]], Impulse .ar(2, 0, 0.1)) }.play; { Klank .ar(`[[200, 671, 1153, 1723], nil , [1, 1, 1, 1]], Dust .ar(8, 0.1)) }.play; { Klank .ar(`[[200, 671, 1153, 1723], nil , [1, 1, 1, 1]], PinkNoise ...

  10. softVol_ Help

    ... \amp.asSpec is used. See also softSet , softPut . Ndef ( \test , { |freq=200| Splay.ar( SinOsc .ar(freq * Array.rand(12, 0.95, 1.05))) }); Ndef ( \test ).play(vol: 0.1); // example of softSet, softSet which knows lastVal, // softVol_ and s ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow