Digital Piano
Techno Keith
Posts: 12
Hello,
I am making sort of a custom digital piano.· It will have over 100 different buttons which will each play a different note.· Should each button have a different resistor attached, and the propeller measuring the resistance to tell which button is being pressed?· How should I do this?
- keith
I am making sort of a custom digital piano.· It will have over 100 different buttons which will each play a different note.· Should each button have a different resistor attached, and the propeller measuring the resistance to tell which button is being pressed?· How should I do this?
- keith
Comments
If you have 24 I/O pins available, you can use those directly for scanning the buttons rather than using shift registers (8 + 16 = 24). It all depends on what you want to do overall.
You also have to detect several concurrently pressed keys for a polyphonic playing, and all with individual measuered press times.
So you need some kind of analog multiplexer, with a 3 level detector at the end, and the Prop have to scan one key after the other, store the current state of the key and increment a counter for every key, if the key is between released an pressed state.
Andy