Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... .slice(1,[0,1]); z.flop; // sorting order z = {100.rand}.dup(10); // generate a random array; // order returns an array of indices representing what would be the sorted order of the array. o = z.order; y = z[o]; // using the order as an ind ...

  2. percOrc5 Quark

    ... elay lines buffers = Array.fill(qnty, { Signal.new(44100 * 0.03); }); // assign random tap times tapTimes = Array.rand(qnty, 0.015, 0.03); // excitation excitation = Decay2.ar(Impulsar.ar(trig,0.2), 0.01, 0.2, LFNoise2.ar(freq)); // tap the ...

  3. Runner Quark

    ... the weight of the actant. Default value is nil. s = Server .default.boot ; ( // random mixing g = Graph .new ; r = Runner .new(g, weight:0.01).gui(step: 20) ; p = Painter .new(g, r) ; h = SlicePlayer (r).initAudio( "sounds/a11wlk01.wav" ) ; ...

  4. 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, ...

  5. sKeyboard Quark

    ... ue; usrView.refresh; }); }; maxNumber.value= range[1]; presetsPop.items= #["", "random notes", "Octaves", "Overtones", "Overtones2", "Cmaj7", "D#m"]; presetsPop.action= {|view| switch(view.value, 0, { keys.do{|key| key.put(\isClicked, false ...

  6. 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 ...

  7. 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 ...

  8. 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 ...

  9. 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 ...

  10. 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) } ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow