Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. 15-Sequencing-with-Routines-and-Tasks Doc

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

  2. mpd18UseCase_frp_style Quark

    ... n.kr(Env.asr, \gate.kr(1), doneAction: 2); Out.ar(0, snd * env); }, { var snd = SinOsc.ar(\freq.kr(200)) * 0.3; var env = EnvGen.kr(Env.asr, \gate.kr(1), doneAction: 2); Out.ar(0, snd * env); }, { var snd = Saw.ar(\freq.kr(200)) * 0.3; var ...

  3. geoAudio Quark

    ... ar(out, Pan2.ar( EnvGen.kr(Env.perc(dur*0.01, dur, 1, -8), 1.0, doneAction:2) * SinOsc.ar(pitch.midicps), LFNoise1.kr(1/dur), amp ) )}) ; aDef.send(server) ; } play { arg message ; var label, weight, offsetWeight, amp ; label = message[1][3 ...

  4. DiskOut Doc

    ... , LFSaw.kr([8, 7.23], 0, 3, 80)).midicps; // glissando function zout = CombN.ar(SinOsc.ar(f, 0, 0.04), 0.2, 0.2, 4); // echoing sine wave Out.ar(out, zout) }).add; // this will record to the disk SynthDef("help-Diskout", { |bufnum| DiskOut. ...

  5. TimeStretch2 Quark

    ... retch/2; pos = [pos, pos + jump]; sig = PlayBuf.ar(1, bufnum, 1, trig1, pos, 1)*SinOsc.ar(1/(2*trigPeriod)).abs*0.5; sig = sig.collect({ |item, i| chain = FFT(LocalBuf(fftSize), item, hop: 1.0, wintype: 0); chain = PV_Diffuser(chain, 1-trig ...

  6. robTron Quark

    ... T, rampsig]) * amp; Sanitize.ar( stOut.collect{|si, i| PanAz.ar(q.numChans, si, SinOsc.kr(Rand(0.1, 0.2)*0.33, 0, Rand(1, 2)).round(LFNoise1.kr(0.1).exprange(0.001, 0.5).lag(0.1)), amp) }.sum ); } ); /* Ndef(\robTron).gui; { Ndef(\robTron). ...

  7. cymbal808Ryan-explanation Quark

    ... hen they happen to be the same, // output is 1. ( { var a = DC.ar(0.7); var b = SinOsc.ar(1).round(0.1); x = BinaryOpUGen('==', a, b); [a, b, x]; }.plot(1); ) // The sum (mix) of 6 LFPulses results in a complex wave // with an output range ...

  8. DXEnvFan Doc

    ... ,4,5,6,7,0], inf), size: 8, fadeTime: 0.01, equalPower: 0, sine: 1, // 1 power: SinOsc.ar(10, -pi/2).range(0.5, 10), // fadeMode: 1, // stepTime: 0.015 ) }.plot(0.1) ) // if equalPower is set to 0 you can also choose a curve arg // which is ...

  9. Alga Doc

    ... used for the specific Alga instance. Discussion: ( Alga.boot({ a = AP(( def: { SinOsc.ar * EnvPerc.ar(release: 0.1 * \tempo.kr(1)) }, tempo: Pfunc { Alga.clocks[Server.default].tempo.reciprocal } )).play(chans: 2) }) ) //10 times faster Al ...

  10. DXEnvFan Quark

    ... 4,5,6,7,0], inf ), size: 8, fadeTime: 0.01, equalPower: 0, sine: 1, // 1 power: SinOsc .ar(10, -pi/2).range(0.5, 10), // fadeMode: 1, // stepTime: 0.015 ) }.plot(0.1) ) // if equalPower is set to 0 you can also choose a curve arg // which i ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow