madamdata

Avatar
home url
madamdata.com
About

code witch

madamdata's code

Hymn #15 - generative melody by array rewriting

19 Apr'16 14:22 in algorithmic

This composition uses a task to read an array of durations and pitches. Every certain number of cycles, the functions scrambRand and octRand are called. scrambRand reverses a random sub-segment of the array. octRand randomly transposes a note up or down an octave. Every so often, all pitches are transposed according to the transp array. Two instances of this process are run simultaneously, one left and one right.