Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. CodingDojo Quark

    ... rn(msg[1].asSymbol, msg[2].asSymbol, msg[3].asSymbol); }); } startTimer { timer.play } stopTimer { timer.stop } resetTimer { remainTime = turnTime; this.startTimer; } rotate { var nextIdx = (order.find([nextCopilot]) + 1) % order.size; var ...

  2. Loudness Doc

    ... r.read(s, ExampleFiles.child); // analyse loudness and poll result ( { var in = PlayBuf.ar(1, d, BufRateScale.kr(d), 1, 0, 1); var chain = FFT(LocalBuf(1024).clear, in); // for sampling rates 44100 and 48000 // var chain = FFT(LocalBuf(2048 ...

  3. SOMTrain_3D_example Plugin

    ... t, ~errorvals, ~traindur-remain); Out .ar(0, Pan2 .ar( K2A .ar(val) * 0.01)); }.play ) // Once the training is finished... x.free; // How do the errors look? Should be a very noisy curve gradually decreasing, but won't necessarily stabilise ...

  4. OFX_OutputFX Doc

    ... nkNoise.ar(0.5) + SinOsc.ar([220, 330]) * LFNoise2.kr([5, 8, 13, 21]).max(0); }.play; // all OFX_OutputFX live here: OFX_OutputFX.all; // kick in predefined effects (at full wet level) m.add(\leakDC, 1); m.set(\leak, 0.8); // filter lows m. ...

  5. json and gist Quark

    ... e put a bad unixCmd in there... q.gist.files.asArray.first["content"].interpret.play; // start the server first... // Open Documents for each file in the gist q.gist.files.keysValuesDo{ |key, value| Document (key.asString, value["content"]) ...

  6. Wavetable Builder with GUI by txmod (txmod) Code

    ... level // d.pulsing = false; // synth with fixed level // frequency of note played d.playFreq = 220; // must be between d.minPlayFreq and d.maxPlayFreq) d.minPlayFreq = 20; d.maxPlayFreq = 4000; d.windowWidth = 1000; // or wider ...

  7. ContextSnake_Palestrina Quark

    ... p17, c.p19, c.p26, c.p27, c.p31, c.p33, c.p34, c.p37]; ) // Examples of use: // play all palestrina melodies in random order ( Pdefn(\mel, Plazy({ Pseq(c.pAll.choose) })); Pdef(\pale, Pbind( \amp, 0.2, \octave, 4, [\note, \dur], Pn(Pseq([ [ ...

  8. VoicerNode Quark

    ... de and override methods // H. James Harkins, jamshark70@dewdrop-world.net var isPlaying = false, <>isReleasing = false, <reserved = false, <>frequency, // so voicer can identify notes to release <>lastTrigger = 0, // ditto -- time of last t ...

  9. XiiSnd Quark

    ... /myBufferName = "no sound"; myVol = 0.4; inbus = 20; //pitchratio = 1.0; // for playing buffers and audiostream (this is the pitch) // levels, times, timescale //env = [[0]++[0.0, 1.0, 0.7, 0.7, 0.0], [0.0, 0.05, 0.25, 0.75, 1.0], 2]; //pit ...

  10. spinning doughnut by fredrik-olofsson (Fredrik Olofsson) Code

    ... {SendTrig.kr(Impulse.kr(60), 0, Amplitude.kr(SoundIn.ar, 0.1, 0.4)); DC.ar(0)}.play; }; CmdPeriod.doOnce({w.close}); )

prev 481 482 483 484 485 486 487 488 489 490 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow