-
... supply it at play time: // key of A Pbind( \degree, Pseq((0..7), inf), // your melody goes here \scale, Scale.major, // your scale goes here \root, -3 // semitones relative to 60.midicps, so this is A ).play; ⧉ ✔ helpfile source: /usr/loca ...
-
... ,60,65]]); Paddp ( \ctranspose , Prand ([-1,0,2,4,5], inf ), Ppar ([ Pbind ( // melody part \dur , Prand ([0.2, 0.4, 0.6], inf ), \midinote , Pxrand ([71, 72, 74, 76, 77, 79], 10), \db , -26, \legato , 1.1 ), Pbind ( // harmony part \pan , ...
-
... ; #[63,65].choose.yield; 67.yield; #[70,72,74].choose.yield; }); // random high melody rrand(3,9).do({ #[74,75,77,79,81].choose.yield }); }); }); Routine({ loop({ Synth(\help_SPE1, [ \freq, stream.next.midicps ] ); dur.wait; // synonym for ...
-
... .ar(out, SinOsc .ar(freq, 0, env)) }).memStore; ) // translating characters in melody ( k = Pseq ( "ab" ); c = [ "a" -> "ba" , "b" -> "ca" ]; d = Dictionary [ $a -> 0, $b -> 5, $c -> 3 ]; z = Pdict (d, // apply homomorphism (final translat ...
-
... 64],[57,60,65]]); Paddp(\ctranspose, Prand([-1,0,2,4,5], inf), Ppar([ Pbind( // melody part \dur, Prand([0.2, 0.4, 0.6], inf), \midinote, Pxrand([71, 72, 74, 76, 77, 79], 10), \db, -26, \legato, 1.1 ), Pbind( // harmony part \pan, 0.4, \dur ...
-
... 2); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) // translating characters in melody ( k = Pseq("ab"); c = [ "a" -> "ba", "b" -> "ca" ]; d = Dictionary[ $a -> 0, $b -> 5, $c -> 3 ]; z = Pdict(d, // apply homomorphism (final translation) k ...
-
... //track item #[0, 1, 2, 3] //track active sections (when to play) ); RedTrk ( \melody , Pbind ( \degree , Pseq ([0, 5, 2, 3, 3, 1], inf ), \dur , Pseq ([0.25, 0.25, 0.5], inf )), #[1, 2, 5] ); RedTrk ( \melody2 , Pbind ( \degree , Pseq ([7 ...
-
This is my favourite computer music tune programmed in SuperCollider: The legendary Super Mario theme :) /********************************************************* * The legendary Super Mario Theme for SuperCollider * * created by Da ...
-
... play pitched material PG_Cookbook06_Phrase_Network Building a more complicated melody using shorter phrase patterns Also illustrates PmonoArtic for portamento with articulation PG_Cookbook07_Rhythmic_Variations : An ever-changing drumbeat ...
-
... , //track item #[0, 1, 2, 3] //track active sections (when to play) ); RedTrk( \melody, Pbind(\degree, Pseq([0, 5, 2, 3, 3, 1], inf), \dur, Pseq([0.25, 0.25, 0.5], inf)), #[1, 2, 5] ); RedTrk( \melody2, Pbind(\degree, Pseq([7, 6, 4, 3], inf ...