Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (71) Doc (71) Help (17) Quark (82) SCDoc ↗ Forum ↗ Google ↗
  1. Pkey Quark

    Pkey : Pattern 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 ( ...

  2. Pkey Quark

    Pkey : Pattern 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 ( ...

  3. PHS Quark

    ... HS (h, nil , // default help synth args Prand ([0.4, 0.2], inf ), [ \midinote , Pkey ( \val ), \amp , 0.08 ], 0.1, [ \midinote , Pkey ( \val ) + 9.5 + Pxrand ([0, 2, 5], inf ), \amp , 0.06 ] ).play; ) // stop player and free HS, ready to be ...

  4. PHSpar Quark

    ... elp synth #1 : [ [ \center , Pseq ([65, 90], inf )], nil ], [0.1, [ \midinote , Pkey ( \val ) /* ~val refers to current switch */ + Pseq ([0,1], inf ), \legato , 0.2 ] ] ).play; ) // stop and free HSpar p.free; // no need to define a switch ...

  5. misc-perc Quark

    ... t, Pfunc { |ev| ~fileInfo[ev[\bufIndex]][\instrument] }, \bufnum, Pindex(~bufs, Pkey(\bufIndex)), \amp, BPStream(\amp) / Pfunc { |ev| ~fileInfo[ev[\bufIndex]][\peak] }, // \rate, Pindex(~fileInfo.collect(_[\rate]), Pkey(\bufIndex)), \rate, ...

  6. PHSusePlayer Quark

    ... gs // two pbinds with different timing Prand ([0.4, 0.2], inf ) , [ \midinote , Pkey ( \val ) + 4, \amp , 0.07 ], 0.1, [ \midinote , Pkey ( \val ) + 15 + Pxrand ([0, 2, 5], inf ), \amp , 0.04, \legato , 0.5 ] ); v = PHSuse (h, // two pbinds ...

  7. PDelay2 Quark

    ... \dur , 1/6, \legato , 0.2, \abc , Pseq ([3, 2, 2, 0, 2, 2, 2], inf ), \degree , Pkey ( \abc ), \amp , PDelay2 ( Pkey ( \abc ), 0.25).trace).play a.stop

  8. PDelay1 Quark

    ... \dur , 1/6, \legato , 0.2, \abc , Pseq ([3, 2, 2, 0, 2, 2, 2], inf ), \degree , Pkey ( \abc ), \amp , PDelay1 ( Pkey ( \abc ), 0.25).trace).play a.stop

  9. PDelayN Quark

    ... \dur , 1/6, \legato , 0.2, \abc , Pseq ([3, 2, 2, 0, 2, 2, 2], inf ), \degree , Pkey ( \abc ), \amp , PDelayN ( Pkey ( \abc ), 3, 3, 0.25).trace).play a.stop

  10. HS with VarGui Quark

    ... LFDNoise3 .kr(devFreq, dev, midiCenter) }); p = PHS (h, [], 0.15, [ \midinote , Pkey ( \val ) ]); // Instantiation and return of a new paused Synth from HS's synth definition x = p.newPaused; // second intermediate object: // PHS's asTask m ...

1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow