Below, you can see the plots that we obtained by playing with the force sensor and the photoresistor.

Force sensor output

Photoresistor output


We decided to use the potentiometer due to its stable and linear performance. We divided the resistance into 8 parts, and then set 8 cases for different output frequencies (and thus different notes: Do, Re, Mi, etc.). See figure:
Then, we decided to use the force sensor to control volume.
We made a control panel with all of marks on it so that people could play music without having to sift through the circuit board to play what they wanted to play.



The topmost picture is the actual circuit to implement the LM555 timer, while the one below is the schematic diagram for the same circuit. The following paragraphs describe how the resistance values were arrived at.