Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... is proxy to the editor - see below // kr proxies show up in the middle ~lfo = { SinOsc .kr(2) }; ~lfnoyz0 = { |lofreq, mul=1, add| LFDNoise0 .kr(lofreq, mul, add) }; // the editor zone is a NodeProxyEditor // open it and set some params m.o ...

  2. BeatTrack Help

    ... fft = FFT (b, in); #trackb,trackh,trackq,tempo= BeatTrack .kr(fft, lock); beep= SinOsc .ar(1000,0.0, Decay .kr(trackb,0.1)); Out .ar(0, Pan2 .ar((vol*in)+(beepvol*beep),0.0)); }).play ) a.set( \vol ,0.0); a.set( \vol ,1.0); a.set( \beepvol ...

  3. How-to-Use-the-Interpreter Help

    ... erver window for the result // once that's done execute this to make a sound { FSinOsc .ar(800, 0, 0.1) }.play; (Press and hold Cmd (the Apple key) and then press period to stop the sound started above.) In the help files all executable fra ...

  4. Pdef Help

    ... .perc(0.03, sustain), 1, doneAction:2); 3.do { var d; d = exprand(0.01, 1); u = SinOsc .ar(d * 300, u, rrand(0.1,1.2) * d, 1) }; Out .ar(out, Pan2 .ar( SinOsc .ar(u + 1 * freq, 0, amp * env), pan)); }).store; ) s.boot; Pdef ( \metronom , Pb ...

  5. Sequencing with Routines and Tasks Help

    ... ( SynthDef ( \singrain , { |freq = 440, amp = 0.2, sustain = 1| var sig; sig = SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .perc(0.01, sustain), doneAction: 2); Out .ar(0, sig ! 2); // sig ! 2 is the same as [sig, sig] }).send(s); r = Routi ...

  6. GUI-Overview Help

    ... rrow keys to change frequency ( s.waitForBoot({ n={ arg freq=220; var out; out= SinOsc .ar(freq,0,0.2); 8.do{out = AllpassN .ar(out, 0.2,0.02+0.20.rand,8)}; out; }.play; w = Window ( "Use arrow keys to change the frequency by steps" , Rect ...

  7. SCButton Help

    ... , Color .rand]]) .mouseDownAction_({ a = { EnvGen .kr( Env .adsr,doneAction:2)* SinOsc .ar(440,0,0.4)}.play; }) .action_({ arg butt, mod; a.release(0.3); }); w.front; }) ) // if you drag a function to a button, the the button's action is se ...

  8. Functions and Other Functionality Help

    ... ays stop all sound in SC. You'll be using it a lot, so commit it to memory. { [ SinOsc .ar(440, 0, 0.2), SinOsc .ar(442, 0, 0.2)] }.play; Not too inspiring? Don't worry, we're just getting started, and this is just a simple example to demon ...

  9. Pdfsm Help

    ... v; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar([freq, freq + 0.1.rand2], 0, env)) }).add; ) ( var p; p = Pdfsm ( [ Prand ([0,1,2], inf ), // signalStream IdentityDictionary [ // state 0 0 -> [ 2, ...

  10. jitlib_basic_concepts_04 Help

    ... oxySynthDef .sampleAccurate = false ; ~x.play; // the grain frees itself ~x = { SinOsc .ar(800) * EnvGen .ar( Env .perc(0.001, 0.03, 0.4), doneAction:2) }; // jittery tone. ( r = Routine { loop { 200.do { arg i; ~x.spawn; (0.005).wait; }; 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