-
... rc| ~legato = value.linlin(0, 127, 0.1, 2.5) }, 1); // 1 means modwheel ) ( p = Pbind( \degree, Pwhite(-7, 12, inf), \dur, Pwrand([0.25, Pn(0.125, 2)], #[0.8, 0.2], inf), \legato, Pfunc { ~legato } // retrieves value set by MIDI control ).p ...
-
Nap Time. Pspawner{|sp|6.do{|i|sp.par(Pbind(*[degree:Pseq(((0..i)*2),inf),octave:7-i,dur:0.2*(2**i)]))};sp.seq}.trace.play //#supercollider #sc140
-
... sharing data between eachother */ // a melody playing random scale degrees a = Pbind( \dur, 0.125, \octave, 4, \degree, Plet(\melody, pattern: Pwhite(0, 7)) ); // the bass, scale degrees sampled from the \melody variable defined above b = ...
-
... ]) .action_{ |v| ("will record buffer: "++current_buffer).postln; Pbind( \instrument, \buf_recorder, \buf, Pseq([buffer[current_buffer]], 1) ).play(quant:4); AppClock.sched( (TempoClock.default.tempo.rec ...
-
... nerate notes: ~kik = Penvir(~kikEnvir, Pn(Plazy({ ~init.value; ~addNotes.value; Pbindf( Pbind( \instrument, \kik, \preamp, 0.4, \dur, 0.25, *(~pbindPairs.value(#[amp, decay2])) ), \freq, Pif(Pkey(\amp) > 0, 1, \rest) ) }), inf)).play(quant: ...
-
( ~dur = 1; p = Pbind( \degree, Pwhite(0, 7, inf), \dur, Pfuncn({ var a = ~dur.next; a.postln; a }, inf) ).playRescheduling(quant:1) ) p.reschedule(2); p.algaSchedAtQuantOnce(1, { "ye".postln; ~dur = 0.5 }) p.algaSchedOnce(0.1, { "ye".postl ...
-
... EventShortcuts.postAll // play an Event with midinote 70 (m: 70).play // play a Pbind ( Pbind( \m, Pwhite(60, 90, 20) + [0, -7], // midinote \p, Pwhite(-1.0, 1), // pan \l, 3, // legato \s, 0.1, // strum \d, 0.5 // dur ).play ) // define ne ...
-
... def(\dru, Ppar( 8.collect({ arg x; var tdur = 4.0; Plazy({ Pbind( \instrument, \aride, \mix, Ndef((\yaplfo1_++x).asSymbol), \rel, Ndef((\yaplfo2_++x).asSymbol), \degree, 28.rand, \octave, 3 ...
-
... 1, 200, 8000), 0.1).softclip * 0.8); }, [\ir, 0]).add; ) ( var p, q, r, o; p = Pbind(\degree, Prand((0..7), 12), \dur, 0.3, \legato, 0.2); q = Pfxb(p, \echo, \dtime, 0.2, \decay, 3); r = Pfxb(q, \distort, \pregain, 20, \amp, 0.25); o = Pfx ...
-
... mmediate loop change by setting doSkip to 1 ~lookBack = 0; ~doSkip = true ; p = Pbind ( \dur , 1/5, \midinote , PSloop ( Prand ((60..80), inf ), bufSize: 10, lookBack: { ~lookBack }, doSkip: { ~doSkip } ) ).play ) // wait a bit to fill buff ...