A collection of noisy, fun, cool, geeky, techy, wired or just plain wierd stuff for your consideration!

Laptop Musicianship (coding, scales and modes)

Starting to get my head round supercollider coding more and more. Still struggling slightly with the musical theory side of things, but i always knew i would find this tougher. I’ve never had any musical training, and am trying to work hard at getting this to sink in. I’ve ordered several books to work through. I’ll get it soon enough.

Here’s a nice little piece of code i wrote, a small improvisation (Locrian i think!!)

(
Ppar(
[ Pbind ( \type, \midi, \midiout, m,
\scale, [ 11, 12, 14, 16, 17, 19, 21, 23],
\degree, Prand([ 1,2,3,4,5,6,7,8,], inf),
\dur, Pseq([1, 1/2, 1, 1/4, 1/4, ], inf),
\db, -4
),
Pbind ( \type, \midi, \midiout, m,
\scale, [ 1, 2, 4, 6, 7, 9, 11, 13],
\degree, Pseq([1,3,5,7,1,5,3,7, ], inf),
\dur, Pseq([1/4, 1/8, ], inf),
\db, -5
),

], inf
).play
)

(quite basic i know, but i’m progressing!!)
Here’s one that is Mixolydian (unless i’m getting confused)

Mixolydian
(
Ppar(
[ Pbind ( \type, \midi, \midiout, m,
\scale, [7, 9, 11, 12, 14, 16, 17, 19],
\degree, Prand([\rest,[1,3,5], [2,4,6], [1,4,7],[2,3,8],], inf),
\dur, Prand([1, 2, 1, 2, ], inf),
\db, -4
),
Pbind ( \type, \midi, \midiout, m,
\scale, [17, 19, 21, 22, 24, 26, 27, 29],
\degree, Prand([\rest, 1,4,7, 2,5,8,3,6,], inf),
\dur, Prand([1/2, 1, 1/2, 1, ], inf),
\db, -2
), Pbind ( \type, \midi, \midiout, m,
\scale, [27, 29, 31, 32, 34, 36, 37, 39],
\degree, Prand([\rest, 1,4,7, 2,5,8,3,6,], inf),
\dur, Prand([1/4, 1/8, ], inf),
\db, -4
),
], inf
).play
)

On piano it sounds a bit bizarre, but try putting it through a drum kit in logic ( i suggest asian kit found in ‘world>asian>asian kit’ in the library window, or any the warped kits( drums and percussion > warped kits) sounds quite good.)
I’ve tried setting up multiple midi outputs from supecollider to control different channels in logic, but have failed miserably. Please message me if you’ve figured it out.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s