how do you make an Arduino skip an input/output?
I've been thinking for some time about making a polyphonic synthesizer, and i found out they have a microprocessor that cycles through multiple oscillators, and then assigns every note to each oscillator. so if it has 8 oscillators, it goes through 123567812345678 etc., and then when you play like a 3 note chord lets say, it will skip ever oscillator that has a voice assigned to it. so like 45678, 13578, 12356, etc. so my whole point for coming here is what would be the code i use to make it so that it cycles through multiple outputs, then skips those outputs that are currently being used? and then to kind of add a little more fun to it, how do i make it so that the oldest note gets reassigned to the newest note? edit: i know like a teeny tiny amount of coding, this is partly out of curiosity and partly out of wanting to learn something.