Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (49) Code (8) Doc (13) Help (7) Quark (21) SCDoc ↗ Forum ↗ Google ↗
  1. startup14-perc Quark

    ... dex]) / ev[\rate] }); }), // rest if 0, else give synthdef name // \instrument, Pif(Pkey(\amp) > 0, ~makePattern.(\def, inf), \rest), \instrument, Pif(Pkey(\amp) > 0, ~makeDefPattern.(inf), \rest), \chan, Pfunc({ ~chan }), \latencyAdjust, P ...

  2. startup14-perc Quark

    ... rest, need a placeholder // note, no placeholder for \def because it's inside a Pif below (sourceKey != \def and: { amps[0] == 0 }).if({ outArray.add(0) }); amps.do({ |amp| (amp > 0).if({ outArray.add(array.wrapAt(i)); i = i + 1; }); }); if ...

  3. basicSynthChooser Quark

    ... n, amp) }, args: [ freq: BPStream ( \freq ), amp: Pwhite (0.3, 0.7, inf ), dur: Pif ( Pwhite (0.0, 1.0, inf ) <= 0.7, Pwhite (0.08, 0.11, inf ), Pwhite (0.15, 0.25, inf )), pan: BPStream ( \pan ) ] ), saw: ( def: { |freq, amp, dur, pan, ffr ...

  4. basicSynthChooser Quark

    ... n, amp) }, args: [ freq: BPStream ( \freq ), amp: Pwhite (0.3, 0.7, inf ), dur: Pif ( Pwhite (0.0, 1.0, inf ) <= 0.7, Pwhite (0.08, 0.11, inf ), Pwhite (0.15, 0.25, inf )), pan: BPStream ( \pan ) ] ), saw: ( def: { |freq, amp, dur, pan, ffr ...

  5. misc-perc Quark

    ... 2 notes per beat postDefaults: Pbind( // must be above \dcy2 below \retrigFreq, Pif( Pbinop('==', Pkey(\dcy2), 0.04), BPStream(\retrigFreq) * TempoClock.tempo, 0 // normal case, 0 suppresses roll ), \sustain, Pkey(\dur) * 0.9, \dcy2, min(Pk ...

  6. ChordtrisSoundModule Quark

    ... ; // ***** Pattern definitions for the first voice ***** // part 1 var cond6b = Pif( Pfunc { Pdefn(\scale).source == Scale.harmonicMinor }, 6b, 6); var notes_voice1_part1 = Ppatlace([4, 1, 2, 3, 2, 1, 0, 0, 2, 4, 3, 2, 1, 2, 3, 4, 2, 0, 0, ...

  7. pitch-processes Quark

    ... : phrase pattern --> rest check --> postDefaults --> topNote processing Pchain( Pif( Pfunc { |ev| phrase == \rest or: { ev.isRest } }, // more hack: parent process requires length to be populated // and force delta to be a Rest, so that not ...

  8. Introduction to miSCellaneous Quark

    ... 0, 1]), // if no fx, we need to compensate the unified echo delay of 0.2 \lag , Pif ( Pkey ( \fxOrder ) > 0, 0, 0.2) ],[ \fx , \echo , \decayTime , PLseq ([5, 1.5, 1.5]), \echoDelta , Pwhite (0.04, 0.12), \cleanupDelay , PLseq ([5, 1.5, 1.5 ...

  9. tests Quark

    ... .4) }, [freq: freq]) })); /t = "[****]::\ser*3..5("12156,")"; /t(set(\freqPlug, Pif(Punop('coin', 0.15), { |freq| Plug({ |freq| freq * EnvGen.kr(Env([3, 1], [0.08], \exp)) }, [freq: freq]) }, 0)))); /t = "\ins("*", 5..10, 0.25)::\ser*3..7(" ...

  10. preprocessor Quark

    ... { var phr, emptyCountdown = 10, lastTime = 0; ~reset.(); ~playHook.(); Pchain( Pif( Pfunc { |ev| phr == \rest or: { ev.isRest } }, (), BPStream(\postDefaults), //.trace(prefix: "postDefaults: "), ), Prout { |inevent| var pat; ~makeStreamFo ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow