Project: Create sounds with piezzo and self-made pressure sensors

Another question I have is, how to include the Pressure sensors (I just realized, that "force sensitive" would be a better term, but I relied on the name I've read on kobakant) into my circuit. I know, thanks to DrDiettrich, that I need voltage dividers for each sensor, I want to use. To make sounds with the piezo I experimented with a "pull-down-resistor", now I am wondering, if there is a way of producing sounds with the piezo, without using a pull-down-resistor...

To make clear what I want to do:

After more thoughts, i decided to include at least 2 force-sensitive sensors into my circuit, together with a piezo.

I thought of 3 "States":

  1. without any force-sensitive sensor being pushed, the piezo just produces one repeating tone, with a few seconds delay.

  2. The more sensor1 is pushed, the faster the tone occurs - so the delay gets shorter

  3. If sensor2 is pushed, an arpeggio (a scale of tones which goes up and down) starts playing.

  4. so if sensor1 and 2 are pushed - depending on how much I push sensor1 - an arpeggio occurs, which gets faster or slower

right now this is the core idea, for what I want to build and what I want to code, but I am still missing some crucial points of how to start..

  1. How do I include the force-sensitive sensors into the circuit? Are pulldown-resistors needed?

  2. Is there a way of creating a repeating sound with the piezzo, without using those pulldown-resistors?

  3. The Code... I got the feeling that I know exactly what I want my project to do, so I got a plan of how to start with the code, but to be honest I am not quite sure, if the stuff I want to do is possible with the assets I have...

So again, some starting points would be so cool!

If you have any further questions, just ask. If you got any tutorial's for me, any code snippets, just any help would be really appreciated.

Cheers have a nice one!

Simon