Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ) * Prand (#[-1, 1], inf ), inf ), \notes , Pkey ( \bottom ) + ~chord, \freq , Pfunc ({ |ev| ev[ \mode ].cps(ev[ \notes ]) }), \dur , Pwhite (1, 4, inf ) * 0.5, \instrument , \default ).play; p.stop; // better way if you do this kind of th ...

  2. ModalSpec Quark

    ... ) * Prand (#[-1, 1], inf ), inf ), \notes , Pkey ( \bottom ) + ~chord, \freq , Pfunc ({ |ev| ev[ \mode ].cps(ev[ \notes ]) }), \dur , Pwhite (1, 4, inf ) * 0.5, \instrument , \default ).play; p.stop; // better way if you do this kind of th ...

  3. Other event and pattern shortcuts Quark

    ... rior keys of the array, thus delivering an shortcut functionality of the common Pfunc { |e| ... } construct (and similar to Pkey). aSequenceableCollection.p Derives a Pbind from an array involving pa . aSequenceableCollection.pm(sym) Derive ...

  4. PSPdiv Quark

    ... ource for each PL, // but for each midinote divisions per pulse can vary ~div = Pfunc { (2 ** (1..4)).choose.asInteger }; ~divBase = 1; ~pulse = 1; ~rel = 0.015; ~sourceType = 1; // as q is an array the args 'div' and 'divBase' will be expa ...

  5. parsenodes Quark

    ... >lo, <hi; *new { |lo = 0.0, hi = 1.0| ^super.new.lo_(lo).hi_(hi) } init { val = Pfunc { rrand(lo, hi) }; this.reset; } hi_ { |argHi| hi = argHi } } ClAbstractParseNode { var <>begin, <>end, <>string, <>parentNode, <>children; var <time, <du ...

  6. XiiPlayer Quark

    ... GUI.font.new("Helvetica", 9)) .action_({ arg butt; var a, chNum, dur, filepath, pFunc; if(txtv.items.size > 0, { [\soundfile, soundfile].postln; if(PathName(soundfile).isFolder.not, { if(butt.value == 1, { group = Group.new(server, \addToHe ...

  7. HS Quark

    ... midinote , Pkey ( \val ) ]).play; // also: // p = PHS(h, [], 0.15, [ \midinote, Pfunc { |e| e.use { ~val } } ]).play; // stop allows resuming, cleanup with free or Cmd-. p.stop; // HS synth still playing p.play; // resume the PHSplayer p.st ...

  8. startup10-melodic Quark

    ... e; // or should this just be 0? }); currentEnvironment }; ~asNotePattern = { // Pfunc is roughly 6.7 times SLOWER than Prout Prout({ |inval| ~repeats.do { ~index = 0; while { ~index < ~sequence.size } { inval = ~sequence[~index].embedInStre ...

  9. startup10-melodic Quark

    ... e; // or should this just be 0? }); currentEnvironment }; ~asNotePattern = { // Pfunc is roughly 6.7 times SLOWER than Prout Prout({ |inval| ~repeats.do { ~index = 0; while { ~index < ~sequence.size } { inval = ~sequence[~index].embedInStre ...

  10. lead-vc Quark

    ... d-coding 3 octave drop: fix later argPairs: [amp: 0.5], postArgs: Pbind( \fund, Pfunc { |ev| var rootFreq, mode, octaveRatio; // doesn't check scale/tuning change if(~saveFundFreq.isNil or: { ~modeChanged ?? { false } }) { if(ev[\mode].notN ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow