Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. Interpreter Doc

    ... al usage a = 4; b = 3; b = b + a; // some sound a = Synth(\default); g = fork { loop { 0.1.wait; a.set(\freq, 200 + 20.0.rand2.postln) } }; g.stop; a.free; // an overview of all the variables this.inspect; ⧉ ✔ NOTE: Use these variables with ...

  2. MatchingP Doc

    ... ar * LFPulse.kr(1); //son = (PlayBuf.ar(~dictsize, ~dict, MouseX.kr(0.1, 2, 1). loop: 1) * ([0.1, 0.3, 0.5]++{0}.dup(~dictsize-3))).sum; outputs = MatchingP.ar(~dict, son, ~dictsize, ntofind: ~ntofind); trig = outputs[0]; residual = outputs ...

  3. NdefPreset Doc

    ... Spec(\sustain, [0.003, 3, \exp]); // define what the Tdef does Tdef(\a, { |env| loop({ ( instrument: \pingbend, freq: env[\freq], bend: env[\bend] + env[\bendVar].rand2, sustain: env[\sustain], pan: 1.0.rand2 ).play; env[\dt].wait; }) }); T ...

  4. GravityGrid Doc

    ... 50),0.01,LFNoise0.kr(1,4),LFNoise0.kr(1,4)),1000,0.1),0.0)}.play //48k spectrum looping {Pan2.ar(Resonz.ar(GravityGrid.ar(Impulse.kr(5),0.01,LFNoise0.kr(1,4),LFNoise0.kr(1,4)),1000,0.1),0.0)}.play b = Buffer.alloc(s, 9, 1); //weights buffer ...

  5. SCLOrkChatClient Doc

    ... n; }); }; ~echoBot.onMessageReceived = { | chatMessage | // Avoid infinite echo loop! if (chatMessage.isEcho.not, { var echoString = "% says: %".format( chatMessage.senderName, chatMessage.contents); echoString.postln; ~echoBot.sendMessage( ...

  6. PG_01_Introduction Doc

    ... ttern Guide Cookbook 05: Using Samples Playing a pattern in time with a sampled loop Using audio samples to play pitched material Pattern Guide Cookbook 06: Phrase Network Building a more complicated melody using shorter phrase patterns Als ...

  7. Randomness Doc

    ... -<number> and <number> Within a given range Test them multiple times with a do loop Collect the results in an array Seeding Histograms on Collections Arbitrary random distributions Random decisions Generating Collections of random numbers ...

  8. IBVA Doc

    ... t this function is set to just post the filter cutoff ratio. . close stops main loop and closes the serial port. Inherited instance methods Examples SerialPort.listDevices; //start reading at 2Hz with a cutoff filter of 0.33 a= IBVA("/dev/t ...

  9. GMDuoSequencer Doc

    ... ayButton() .action_({ |playing| if(playing) { routine = Routine({ var beat = 0; loop { // Use coin to implement the probabilist behavior if(triggers[beat % triggers.size].coin) { Synth(\GMWhitePerc); }; 0.2.wait; beat = beat + 1; // Update ...

  10. PLn Doc

    ... ~cutItems = false it will be completed and // replacement takes effect in next loop ~b[0] = ~trill_2; // replace back ~b[0] = ~trill_3; // change replacing behaviour ~cutItems = true; // now replacing while long trill will take immediate e ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow