Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1270) Code (328) Doc (434) Help (131) Quark (377) SCDoc ↗ Forum ↗ Google ↗
  1. extSimpleMIDIFile Quark

    ... }); }); ^resultArr; } } + Collection { arrToPpar {arg repeats=1, extraArgs; var pbinds, pbindCont; this.do{|item, index| pbindCont = [ instrument: item[0], dur: Pseq( item[1], repeats ), chan: Pseq( item[2], repeats ), midinote: Pseq( item[ ...

  2. freqStream Quark

    ... // root Instr ( "scaleStream.randpenta" ).value, //scale 16 // cycleLength ]); Pbind ( \freq , pattern.trace, \dur ,0.125 ).play; ) ( // load your entire library Instr .loadAll; ) // choose from the degreeStream and scaleStream Instr in th ...

  3. scaleStream Quark

    ... scaleStream.randpentas"); // returns a pattern when valued x = p.value(4,16,0); Pbind ( \degree , Pseq([1,3,5,7,9,11,3,2],inf), \scale, x, \octave , 3, \dur ,0.25 ).play; ) By using a Patch you get gui sliders to try out different settings. ...

  4. PbindMod Quark

    DebugPbind : Pbind { embedInStream { arg inevent; var event; var sawNil = false; var streampairs = patternpairs.copy; var endval = streampairs.size - 1; streampairs.pairsDo({ |key, pat, i| streampairs[i+1] = pat /*.trace(prefix: key.asStrin ...

  5. PbindMod Quark

    DebugPbind : Pbind { embedInStream { arg inevent; var event; var sawNil = false; var streampairs = patternpairs.copy; var endval = streampairs.size - 1; streampairs.pairsDo({ |key, pat, i| streampairs[i+1] = pat /*.trace(prefix: key.asStrin ...

  6. sclang-dirt Quark

    ... lay; (type:\dirt, orbit:1, s: \cr, speed:2/5).play; ) // some hihats ( Pdef(\x, Pbind( \type, \dirt, \s, \hh, \n, Pseq([1, 0, 0, 0, 0], inf), \speed, Pseq([1, 1, 0.5, 1.2], inf), \dur, 0.25 * Pseq([1, 1/2, 1, 2, 2, 1/2], inf), \room, Pseq([ ...

  7. Pkey Quark

    ... attern Pkey simplifies backward access to values in an event being processed by Pbind or another event pattern. *new(key) The key is the name of the event variable you want to read. p = Pbind ( \a , Pwhite (1, 10, inf ), \b , Pkey ( \a ) * ...

  8. Pkey Quark

    ... attern Pkey simplifies backward access to values in an event being processed by Pbind or another event pattern. *new(key) The key is the name of the event variable you want to read. p = Pbind ( \a , Pwhite (1, 10, inf ), \b , Pkey ( \a ) * ...

  9. AudioControlBug Quark

    ... en.ar(Env([1, 1], [0.2]), doneAction:2) }) }).add; s.sync; ~bus = Bus.audio(s); Pbind( \instrument, \test, \dur, 1, \out, ~bus.index, \addAction, \addToHead ).play; { \in.ar }.play(args:[ \in, 'a' ++ ~bus.index]); { In.ar(0) }.plot(0.5); }) ...

  10. BeaconClock test Quark

    ~clock = BeaconClock(~addrBook).permanent_(true); ~clock = TempoClock.new; Pbind(\freq, rrand(440, 880)).play(~clock, quant: 1); Pbind(\freq, Pfunc({"beats: % tempo: %\n".postf(~clock.beats, ~clock.tempo); rrand(440, 1200) })).play(~clock, ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow