Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ransp=0, sampAzi=0, sampSpr=0, amp=1, clipBoostDB = 0, note = #[60, 1, 1] | var env, sig; var noteFq = (transp + note[0]).midicps; // using midi 60 == speed of 1, midi 48 == speed of var gate = abs (note[1]); // var incidence = abs (note[2] ...

  2. TestPattern9 Quark

    ( Alga.boot({ AlgaSynthDef(\test, { SinOsc.ar(\freq.ar([440, 441])) * EnvGen.ar(Env.perc(0.01, 0.5), doneAction:2) }).add; s.sync; a = AlgaPattern(( def: \test, dur: 0.25, freq: 880, ), playTime:2).play; }); ) a.resetParam(\freq, time:3, sc ...

  3. Core_02 Quark

    ... PreservationMaxGainV545 = 2.25; ~formantPreservationMinGainV545 = 0.35; ~formantEnvelopeAtFreqV545 = { |framePts, freq| var valid, lf, first, last, env, found; lf = (freq ? 0.0).asFloat.max(20.0).log2; valid = Array.new; framePts.do { |pt| ...

  4. RedGrain Quark

    ... in, { |out= 0, bufnum= 0, rate= 1, pos= 0, dur= 1, pan= 0, amp= 1| var e, z; e= EnvGen.ar(Env.sine(dur), 1, amp*0.1, doneAction: 2); z= PlayBuf.ar( 1, bufnum, rate*BufRateScale.ir(bufnum), 1, pos*BufSamples.ir(bufnum), 1 ); OffsetOut.ar(out ...

  5. TestPattern13 Quark

    ( Alga.boot({ AlgaSynthDef(\test, { SinOsc.ar(\freq.kr(440)) * EnvGen.ar(Env.perc, doneAction:2) }).add; s.sync; a = AlgaPattern(( def: \test, dur: \manual, freq: Pseq([440, 880], inf) )).play; b = AlgaPattern(( def: \test, freq: Pseq([330, ...

  6. SPlayFile Quark

    ... p(this.prMix, nil, [snd]); var done= SetResetFF.ar(HPZ1.ar(pos)<0*(1-loo)); var env= EnvGen.kr(Env.asr(atk, 1, rel, cur), gate*(1-done), doneAction:2); Out.kr(bus, pos); Out.ar(out, mix*amp.lag*env); }).add; }; } } SPlayFileStereo : SPlayFi ...

  7. screenSize_guiTest Quark

    ... ef(\guiTest).gui(2).parent.moveTo(0,0).alwaysOnTop_(true) }); Tdef(\guiTest, { |env| (env.winExtent ? Tdef(\guiTest).getHalo(\allExtents)).do { |winExtent| var winName = "Main_NTMI at: %x%".format(*winExtent.asArray).postcs; Window.closeAll ...

  8. cymbal808Ryan-explanation Quark

    ... ; // careful, really loud }.scope; ) FreqScope.new; // Here's the variable pulseEnv from the original: // just a line ramping down from 1 to 0.6: ( Env.new( levels: [1.0, 0.6], times: 0.25, curve: -0.5 ).plot; ) // Apply pulseEnv to the noi ...

  9. own-envelope-block Quark

    ... , attack = 0.01 , decay = 0.3 , sustain = 0.5 , release = 1 ; SinOsc.ar(freq) * Env.adsr(attack, decay, sustain, release).kr(gate: trig); }); Ndef('block1').set('trig', 0); Ndef('block1').set('trig', 1); == radpostcont == (none)

  10. XiiWorms Quark

    ... var playButt, cmdPeriodFunc; var createCodeWin, createAudioStreamBusWin, createEnvWin, synthDefPrototype, synthDefInUse; var inbus, createEnvButt, envButt; var curveSl, lengthSl, speedSl, volSl, point; var funcwin, envwin, aswin, midikwin; ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow