Yiyang took some videos of our experiments with tone generation during this week’s labs:
Those used photoresistors with a resistance threshold that would trigger tones. The tones for all three vary by a ratio when turning one of the pots. The other pot controls amplitude between the digital output and the speaker.
Later on I heard other students in the lab like TK an Dan doing really awesome stuff with arpeggios. So I experimented with each photoresister playing a looped arpeggio rather than a single tone. The pot controls how fast we loop through the arpeggio.
Code available here https://github.com/therewasaguy/Arpeggiator