Forums > MaxMSP

FSR and velocity control

Jun 21 2012 | 3:43 pm


I have a custom built midi controller with a Force Sensing Resistor(FSR) on it. I wanted to use this to trigger some sort of velocity, but I noticed when I touch it I get a range of notes from 0 up to the pressure I am using, and when I release I get a ramp back down to 0. I looked at MSP tutorial 19 using the poly object, but I have a feeling that is not the way to go, as I am using a mono synth and the constantly changing FSR value just retriggers a note rather than shapes it.

What would be a great way to use this sensor to emulate the breath of a wind instrument, or the pressure of a bow on a string to shape a note? Is there a tutorial someone can point me toward or a post? I pasted a version of my mono synth below in case anyone wants to build on it.

I’m still using Max 5 on a 2.8 GHz MacBook Pro. Thank you in advance for your help.


— Pasted Max Patch, click to expand. —
Jun 21 2012 | 5:55 pm

if I understand your problem statement, you wish to have one pitch triggered by your FSR, with velocity determined by the force of the strike? Although I didn’t look at your patch, the following method should suffice:

— Pasted Max Patch, click to expand. —


Jun 21 2012 | 6:28 pm


Thanks for your reply. That’s not quite it. As if I leave my hand on the FSR it doesn’t sustain. And if I slightly change the pressure on the FSR it doesn’t effect the note. I think I might have to look at using the FSR info for some kind of Wave Shaping parameter and not velocity at all. I posted a variation of your patch, maybe it will help understand.


— Pasted Max Patch, click to expand. —
Jun 21 2012 | 6:47 pm

I just looked at MSP tutorial 12, about wave shaping. I think this was what I needed. I input the FSR info into the amplitude box labeled "by hand" and it sounds nice.

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP