Shall we build a Breath Controller?

Once V2 was finished, I modified everything… Since the membrane didn’t work well with the pressure sensor, I thought I’d try adding a different sensor, namely a distance sensor (CNY 70). This way, the movement of the membrane, which I made with different hardnesses, will be “seen.” I took inspiration from a YouTube video.

1 Like

If you want to make a wind controller that does not expose the sensor to humidity, you may find a solution with the Venturi-Effect. So measure a negative pressure in case of airflow that is proportional to the amount of airflow. With a small side entry to “wash” or rinse the sensor port with a small amount of incoming ambient air, there will be no buildup of any goo that comes along with the measured airflow.

Wow! Great Giovanni Battista… but it’s getting complicated for me to create a Venturi tube. I think the membrane, which isolates the sensor from external agents, is the best solution. But thank you @fussl for allowing me to read about what this other genius has discovered and studied.

1 Like

The mechanical part is finished with almost all the electronics (a few things, a Teensy 4.0, an OLED display, and the missing sensor). I’m waiting for the sensor. The membrane you see is a bit loose by design. But I have others ready with different hardnesses to test.

1 Like

I changed my mind again… since the CNY70 requires reflective material, I printed a piston and glued a piece of tinfoil underneath (but on the opaque side). Now the membrane moves the piston, which brings the reflective paper closer to the sensor with a stroke of about 2 mm (adjustable with a shim). This way, you don’t have to blow like crazy to move the membrane. Mechanically, it works well… we’ll see as soon as the new sensor arrives…
Below is a cross-section of the new mechanics and a video of how it works…

4 Likes

The sensor has arrived… now I have to find my suitcase of discrete components, which is very difficult after moving house.

1 Like

It works very well… the mechanical part is perfect and after some adjustments to the firmware it now plays really well.

Breath_controller_Teensy_4.ino (3.1 KB)

5 Likes

I quickly recorded this beautiful piece, “Estate” by Bruno Martino, to see how my breath controller works. I’d forgotten how hard it was to breathe at specific moments during the performance…

Piano: PianoteQ 9 (on Zynthian)

Sax: Tenor SWAM

Bass: Omnisphere Trilian

Drums: Toontrack

10 Likes

I modified the sketch (with the help of the AI… which must be very good, but if you don’t give it all the information it can do a lot of damage…) to create an effect that’s essential when playing a real wind instrument: the “Tongue” effect. Without this effect, there was basically a constant increase in volume, whereas on a real instrument, a flick of the tongue gives an instant boost in volume. The “Vibrato” also seems to work well.

Breath_controller_Teensy_4_Tongue.ino.ino (4.8 KB)

2 Likes

Just perfected the “Tongue” feature… and it works great. I’ve now ordered a Raspberry Pi Pico, which costs a third of what it costs, and should work better than the Teensy, which costs too much to make, even to sell.

3 Likes

Wow, this is so inspiring and great! What I find really interesting: The parameter readout seems like the release phase is too long after you stop blowing or there is any parameter smoothing involved, but your audio example clearly shows that you managed to get an incredible amount of ADSR envelope realism. Or in other words: It sounds great!

1 Like

Many thanks @hannesmenzel, the fact that they changed the entire project to use a CNY70 sensor drove me crazy, but I really like the result. I’ve seen projects that used this optical sensor, but the standard membrane mechanics made it a bit less responsive… adding a piston with reflective material to the membrane changed everything, making the controller very precise. The construction difficulty doesn’t change much.

Another thing I’m proud of are the two rings that fit together to hold the membrane. They’re 3D printed and are PERFECT. Let’s just say that my 12 years of experience with 3D printers, now that I have an “easy” printer like Bambulab, have been very useful.

2 Likes

Added trimmer to adjust the “hardness” of the controller.

1 Like