code for velocity pads (fsr)

hello i’m new to programming…

is there some code examples that do in mios something similar to what the Edrum does?

i intend to use fsr instead of piezos, but i think that the software side is the same…

I don’t know what Edrum does exactly, but I’m using FSR’s (Force Sensitive Resistors) with ACSensorizer.

As it’s just a resistor, you can use it like a pot: read the value from the AIN; define a threshold and control the note-velocity. Sounds pretty simple.

regards,

Michael

Edit:

see: http://www.ucapps.de/mios_c.html

and: http://www.ucapps.de/mios_c_send_ain.html

FSR’s are usually used in a resistor-divider network to determine pressure on the sensor. this is a static reading that will last as long as the pressure does.

Piezo sensors actually generate a voltage pulse when struck. This is a short pulse that must be read very quickly, or “stretched” with a conditioning circuit. This makes multiplexing more of a challenge.

That should give you enough search terms to get started.

Have Fun,

LyleHaze

FSR’s are usually used in a resistor-divider network to determine pressure on the sensor. this is a static reading that will last as long as the pressure does.

Piezo sensors actually generate a voltage pulse when struck. This is a short pulse that must be read very quickly, or “stretched” with a conditioning circuit. This makes multiplexing more of a challenge.

you’re right… but i intend to realize percussive pads…

i think that when you tap on the fsr sensors you get a short pulse to read, that is pretty similar to piezo pulses…

that’s why i asked if someone wrote some code that i ould use as base…

i would like to have 16 pads but i also know that multiplexing adds latency. what is the best hardware configuration to read 16 ain with the highest rate?

i think i’ll start from the c-examples

i’m sure i’ll need help though