Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. SimpleMIDIFile Quark

    ... ; } { pitchBendMode = to; }; } convertTimes { |newTimeMode = \seconds| var tempoEnv; if( timeMode != newTimeMode ) { tempoEnv = this.tempoEnv; midiEvents = midiEvents.collect({ |event| [event[0]] ++ [ tempoEnv[ event[1] ] ] ++ event[2..] }) ...

  2. OnsetsDS Plugin

    ... sig, b.bufnum, c.bufnum, MouseX .kr(0,1), \complex ); pips = SinOsc .ar(880, 0, EnvGen .kr( Env .perc(0.001, 0.1, 0.2), onsets)); Out .ar(0, ((sig * 0.1) + pips).dup); }.play; ) x.free; // Free the synth [b,c,d].do( _ .free); // Free the bu ...

  3. Dirty Sound Maker by simon (Dindoléon) Code

    ... sOut", { arg inbus, amp = 0.1, gate = 1, att = 0.1, sus = 1, rel = 1; var env = EnvGen.kr(Env.asr(att, sus, rel), gate); Out.ar(~master_in, In.ar(inbus, 2) * amp * env * 0.4); }).add; // Wait for SynthDefs to be added... s. ...

  4. Patch Quark

    ... noncontrol or: {ag.rate === \noncontrol} ,{ // watch objects for changes. // if Env or Sample or a quantity changed, the synth def is invalid if(ag.isNumber.not,{ ag.addDependant(this); }); }); }); } respawn { arg atTime; // will improve th ...

  5. jitlib_efficiency Doc

    ... Map(a map) // synthdefs for these things are on the server already. ~a.gate, ~a.env, ~a.line, ~a.xline // some more calculations have to be made on client side, so if automated, it is better to use // the above or a lag in the synth. ~a.lin ...

  6. BufEnvir Quark

    BufEnvir referentially transparent buffer environment superclass: EnvironmentRedirect see also: Buffer *new(server) Return a new instance. The server should be running. put(key, obj) put an object in the environment that can be converted to ...

  7. GMListPianoRoll Doc

    ... ne, { |freq = 440, amp = 0.25| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; freqs = Scale.at(scale).ratios; freqs = freqs ++ [2]; freqs = freqs * fre ...

  8. PG_Cookbook06_Phrase_Network Doc

    ... nOsc.kr(plfofreq, mul:mw, add:1); freq = Lag.kr(freq, freqlag) * plfo; fcurve = EnvGen.kr(Env.adsr(0, 0.3, 0.1, 20), gate); fcurve = (fcurve - 1).madd(0.7, 1) * ffreq; sig = Mix.ar([Pulse.ar(freq, 0.9), Saw.ar(freq*1.007)]); sig = RLPF.ar(s ...

  9. PV_Control Doc

    ... al mic and speakers. ( SynthDef("PV_Control_Reson", { var in, fft, out, volume, envs, pauseEnv, buf, buf2, vols, windowStarts, stream, numBins, cutoffFreq; numBins = 2048; buf = LocalBuf(numBins, 1); buf2 = LocalBuf(numBins, 1); in = SoundI ...

  10. Patch Quark

    ... oncontrol or: {ag.rate === \noncontrol} , { // watch objects for changes. // if Env or Sample or a quantity changed, the synth def is invalid if(ag.isNumber.not, { ag.addDependant(this); }); }); }); } respawn { arg atTime; // will improve t ...

prev 181 182 183 184 185 186 187 188 189 190 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow