Hi. I built a weird little synthesizer as a web app at http://ji.quiethorn.com. I'm trying to replicate this in Pd but not sure how to manipulate Pd's arrays to do what I want. The way the web app works is
- it stores the ratios (fractions by which to multiply a base pitch) in an array
- then periodically chooses a random index from the array at the set tempo
- multiples the ratio value at that index with the base pitch
- and fires the oscillator at that new pitch
I guess I need to have a metro that bangs a random generator, which generates an integer between 0 and a variable representing the length of the array, and also to be able to easily add and remove ratios (represented by floats) into the array by banging message or something...?