Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1076) Code (138) Doc (359) Help (130) Quark (446) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. PG_06a_Repetition_Contraint_Patterns Doc

    ... iants on the same thing // Use Pconst or Pfindur to create 4-beat segments with randomized rhythm // Pconst and Pfindur both can ensure the total rhythm doesn't go above 4.0 p = Pn(Pbind( // always a low C on the downbeat \degree, Pseq([-7, ...

  2. BP Doc

    ... b to determine which pattern you're sending in. // choose arpeggiation types at random from the list Prand([\up, \down, \random], inf) =>.arpeg BP(\ch1); ⧉ ✔ A Symbol may be used to retrieve a predefined pattern from the Pdefn class; if the ...

  3. SayBuf Doc

    ... ybuf, buf: buf.bufnum, pan: 1.0.rand2, // stereo pan rate: exprand(-0.5, -2) // randomize playback rate ).postln.play; } ); // render it to a buffer SayBuf.prepare(ev, s); 1.wait; }; // wait long enough for the last buffer to finish playbac ...

  4. Quant Doc

    ... ded for that calculation should also be present in the Event. // schedule for a random number of beats after the next integer Pfuncn({ thisThread.clock.beats.debug("scheduled for"); nil }, 1) .play(quant: ( nextTimeOnGrid: { |self, clock| c ...

  5. ThrashCutProc1 Doc

    ... returning kick offset positions, offsets being in the range 0.0 to 1.0. So for random beats of a 4/4 source, try {([0,1,2,3]/4).choose} snareoffset choose snare offset positions. phraselength Typically 4.0 or 8.0. blockdiv The way to do th ...

  6. Latency Doc

    ... that does nothing runs really fast bench({ nil }); // filling a big array with random numbers takes a while longer. bench({ Array.rand(100000, 0.0, 1.0) }); // different operations may take different times bench({ 100000.do { 3.hypot(2) } ...

  7. OSC_communication Doc

    ... rt each time they send out a message, or each time a patch starts up it picks a random port. In that case the OSCFunc needs to be set up, so that it listens to messages coming from anywhere. You do this by passing nil as the srcID argument. ...

  8. Tour_of_UGens Doc

    ... ation arguments: in, maximum delay time, current delay time, mul, add ( // Dust randomly triggers Decay to create an exponential // decay envelope for the WhiteNoise input source { z = Decay.ar(Dust.ar(1,0.5), 0.3, WhiteNoise.ar); DelayN.ar ...

  9. TimeStretch Doc

    ... tretch.sc to uncomment the method once you have the toolbox. Implements a phase randomized FFT time stretch algorithm, the NessStretch, which splits the original sound file into 9 discrete frequency bands, and uses a decreasing frame size t ...

  10. SequenceableCollection Doc

    ... eCollection. rand ( size , minVal , maxVal ) Fill a SequenceableCollection with random values in the range minVal to maxVal . Array.rand(8, 1, 100); ⧉ ✔ SequenceableCollection. rand2 ( size , val ) Fill a SequenceableCollection with random ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow