Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. granular AM synthesis by 56228375 (56228375) Code

    ... ulator = 0.5, envlen=0.01, spread=0.5, center=0.0 | var carrier = amp*SinOsc.ar(freq); var modulator = amp_modulator*SinOsc.ar({freq_modulator}); var envelope = EnvGen.kr(Env.perc(envlen, 1, 1), doneAction:2); Out.a ...

  2. CtkScore Doc

    ... tkScore.new; b = CtkScore.new; z = CtkSynthDef(\test, {arg freq, dur; Out.ar(0, SinOsc.ar(freq, 0, XLine.kr(0.1, 0.0001, dur))) }); t = 0.0; while({ b.add(z.note(t, 0.1).freq_(440).dur_(0.1)); t = t + 0.1; t < 5.0; }); a.add(b); a.saveToFil ...

  3. MainMenu Doc

    ... may change again in a future version. ( ~testTone = MenuAction("Test Tone", { { SinOsc.ar(400) * 0.1 }.play; }); MainMenu.register(~testTone, "Tests"); ) MainMenu.unregister(~testTone); // to remove ⧉ ✔ Class Methods MainMenu. initBuiltInMe ...

  4. CV Doc

    ... us *controls(arrayOfCVs, server) ( c = { arg f = 400, a = -20, pan = 0; Pan2.ar(SinOsc.ar(f, 0, a.dbamp), pan) }.play; d = Bus.controls([a,b],s); [a,b].connectToBus(d.server, d.index); Routine({ // need to make sure the synth has been creat ...

  5. Quneo Additive synth with modulation and filters. by blueprint (blueprint) Code

    This is an additive synth using a sinOscFb with an lfo and an RLPF ... it's desiqned for the quneo controller. The pads control note and velocity as you would expect and the x/y controll modulation frequency and depth. Pad presssure cont ...

  6. Button Doc

    ... d]]) .mouseDownAction_({ a = { EnvGen.kr(Env.adsr, doneAction: Done.freeSelf) * SinOsc.ar(440, 0, 0.4) }.play; }) .action_({ |butt, mod| a.release(0.3); }); w.front; }) ) ⧉ ✔ If you drag a function to a button, the button's action is set to ...

  7. HierSch Quark

    ... rg out = 0, mfreq = 69, pan = 0, gain = 0.2, dur = 0.25; Out .ar(out, Pan2 .ar( SinOsc .ar(mfreq.midicps, 0, EnvGen .kr(envelope: ( Env .perc(0.01, dur)), doneAction: 2)), pan, gain)); }).add; m = { |f| Synth ( \midiPing , [ \mfreq , f + 69 ...

  8. Pong by dilots (dilots) Code

    ... pth)); ampenv = EnvGen.kr(Env.perc(0.01,length,1.0),doneAction:2); bounce = SinOsc.ar(freq+freqenv)!2 * ampenv * gain; bounce = Limiter.ar(bounce, gain, 0.001); Out.ar(out,bounce); }).add; // GUI w = Window("Pong", Rect((Window ...

  9. CTKanalysis Doc

    ... n; var numSamps = aveTime * SampleRate.ir; // generate "noisy circle" circle = (SinOsc.ar(ControlRate.ir, [pi/2, 0.0]) * LFNoise2.ar(ControlRate.ir, [1, 1])); // receive test signal inSig = In.ar(receiveBus, numChannels); // analysis - find ...

  10. SCPopUpMenu Help

    ... Rect (10,10,90,20)) .items_([ "Sine" , "Saw" , "Noise" , "Pulse" ]); funcs=[ { SinOsc .ar(440,0,0.3)} , { Saw .ar(440,0.3)} , { WhiteNoise .ar(0.3)} , { Pulse .ar(440,0.2,0.3)} ]; b= Button (w, Rect (110,10,180,20)) .states_([[ "play" , Co ...

prev 231 232 233 234 235 236 237 238 239 240 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow