Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
midimech
🎼 Isomorphic musical layout engine for LinnStrument and Launchpad X, with DAW/Synthesia visualizer
Actually the pressure sensor is on the PCB. Pressure is transferred from the mouthpiece through a flexible silicon pipe. You can see the details in the assembly instructions here: https://github.com/jcard0na/haxo-hw/blob/main/docs/assembly....
You can overcome the RPi scarcity by migrating the code to the Teensy platform, which aside being cheaper and less power hungry than the 2,3,4 RPi, is a lot cheaper and more easily available. Not an easy task since there's no Linux under the hood, but there are some excellent audio/midi libraries to help. They already built commercial-level synthesizers with it. By combining the breath sensor data with other pressure sensors you could end up with a very expressive instrument.
https://www.pjrc.com/teensy/index.html
https://www.pjrc.com/teensy/td_libs_Audio.html
https://www.pjrc.com/teensy/td_libs_MIDI.html
https://www.youtube.com/watch?v=z2674LdYW5I
It's running vanilla Raspberry Pi OS, alsa drivers and fluidsynth, all configured from the main Rust application (https://github.com/jcard0na/haxo-rs/blob/main/src/synth.rs)
I own a LinnStrument and it's fantastic. I created a custom note layout for it to make it easier to play: https://github.com/flipcoder/linnstrument-wholetone. The firmware is also open source. It feels like the Linux of instruments.