This post is an example measuring the data from a flex sensor without using a microcontroller, a breadboard or any soldering equipment.
Instead, we can use a sound card to send an audio signal through the flex sensor. The flex sensor will - when acting as a voltage divider - change the amplitude of the audio signal. The output from the flex sensor is then connected to the audio input of the sound card, where the amplitude is measured and converted to data that can be used to control musical parameters.
The following flow chart presents an overview of this process:
1 x 100kΩ resistor
5 x alligator leads
2 x 6.5mm / 0.25 inch mono audio jacks - remove the outer shell
1 x sound card in addition to your computer's internal sound card
1 x flex sensor
• DAW such as Ableton Live
• Flex Max patch
• Max 6 or Max Runtime
flex Max patch. Double-click on the ctlout object and select your destination MIDI device. This device will be controlled via the flex sensor using continuous controller #1 on MIDI channel #1.