Turing Machine

// inspired by Music Thing Modular's Turing Machine

// random notes fill a shift register and play when they hit the end

// the shift register can be locked & looped, and/or gradually randomized over time to create generative basslines and melodies

oscillator options // determines the characteristics of the sound produced

machine options // determines how the turing machine itself behaves

// where in the 8 octave of possible notes (C0 - C9) should be the lowest value possible

// all the way left allows C0 to be played, while the further right reduces the pool of notes to higher octaves

// choose a value closer to the left for baselines and a value closer to the right for melodies

// how far from the offset should new notes be picked from

// all the way left means the same note (whatever the base offset is) will always be chosen, while all the way right will choose notes from the offset all the way to C9

// choose a value closer to the left for tight melodies and a value closer to the right for melodies with large octave jumps

// the probability that a new note will be inserted into the shift register vs. the sift register just looping

// all the way left means random notes will always be inserted (with respect to the given offset & scale values), while all the way right means that the shift register will loop and no new notes will be added (same as checking "loop shift register (and lock drift)" above)

// set to around 80% for a gradually shifting melody