-
... ) * 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 ...
-
... ) * 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 ...
-
... 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 ...
-
... 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 ...
-
... >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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...