Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (317) Code (69) Doc (87) Help (34) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. ksbass-explanation Quark

    ... eries(1, 1, inf).trace, \impulseSus, 1, \impulseDec, 1, \impulseHold, 1, \plot, Pfunc({ |ev| { f.value( ev[\impulseAtt], ev[\impulseSus], ev[\impulseDec], ev[\impulseHold] ) }.defer; }) ).play; ) // 2. inspecting effect of impulseSus (EST) ...

  2. VGSamp Quark

    ... est ], inf ), // *** look up VGSamp info, and post the full event: ***/ \samp , Pfunc ({ |ev| ev.putAll( VGSamp .eventFor(ev)); \vgsamp }), \dur , 0.5 )).play; ) // all the drum-stroke names you can use: VGSamp .instDicts.neutral[ \Kendhang ...

  3. DurInterpolationProofOfConcept Quark

    ... rn to modify a = AP(( def: { SinOsc.ar * EnvPerc.ar(release: 0.1) * 0.5 }, dur: Pfunc { ~dur.next } )).play(chans:2); //Click b = AP(( def: { Impulse.ar(0) }, dur: 1 )).play(chans:2); //Scale over a set number of beats ~change_clock_tempo = ...

  4. Pfuncn Help

    Pfuncn function pattern of given length superclass: Pattern Pfunc(func, repeats) Returns a stream that returns values from the func. func - stream function repeats - end after this number of times See also: Pfunc // example ( var a, b, c; a ...

  5. SELFSTEP by ether (Alexander Zhagun-Linnik) Code

    ... e, \degree, Pbrown(0, 12, Prand([1, 2, 3], inf)), \octave, 4, \res, Pfunc({(SystemClock.seconds*0.03).sin.abs}) ), Pbind( \instrument, \pls, \dur, Prand([time/2, time, time/4, time/8], inf), \scale, scale, ...

  6. PHelpSynthUse Quark

    ... Pat, demandIndexUserNum, hsIndices| ^Pbind( \dur, durPat, \type, \rest, \dummy, Pfunc({|e| var timeGrains = ((thisThread.seconds - helpSynth.initSeconds) * helpSynth.granularity).round.asInteger, trigSynth, trigMsgID, trigSynthID, demandNum ...

  7. PmonoPar Quark

    ... .collect { |x| ~dur = x } .trace \amp , Pseq ([0.2, 0.05], 15).trace ],[ \dur , Pfunc { ~dur / 2 }, \midinote , Pshuf ((60..85)) ] ]).trace.play; ) Ex. 3: Data sharing between streams of parallel PmonoPars // data sharing between streams of ...

  8. InstrGateSpawner Doc

    ... nLevel: 0.4), Pbrown(2000,10000,100), Env.adsr(releaseTime: 0.5), // dur uses a Pfunc to ask the delta till the next event Pfunc({ arg igs; (igs.delta * 0.9) }), TempoPlayer.new ], 0.25 ).play ) ⧉ ✔ Class Methods Inherited class methods Ins ...

  9. Pif Help

    ... stream) is returned if "iftrue" or "iffalse" return nil at any time. p = Pif ( Pfunc ({ 0.3.coin }), Pwhite (0, 9, inf ), Pwhite (100, 109, inf )).asStream; p.nextN(20); // 7 of the 20 values, or roughly 30%, are in the 0-9 range: [ 105, 1 ...

  10. VarGui_shortcut_builds Doc

    ... ollowing events. Basic example of a Pbind to get envir values: p = Pbind( \dur, Pfunc { ~dur } * Pseq([2,1,1], inf), \legato, Pfunc { ~legato }, \amp, Pfunc { ~amp } ) // or p = Pbind( \dur, PL(\dur) * Pseq([2,1,1], inf), \legato, PL(\legat ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow