Breath Control and Smoothing

Status
Not open for further replies.

jeffmhopkins

New member
I'm a new member but have had pretty good luck with the Teensy over the years. My current project is a Woodwind Controller and right now I'm using a Teensy 3.2 with the audio board (SGTL5000) for the synthesizer.

My instrument is constantly changing values (pitch, gain, filter, mixers) and it sounds really decent. To make it a bit better I want a way to smooth inputs without iterative looping through stepped amounts.

The issue I'm running across is that high speed changes are not smoothed enough, and sound slightly choppy if changing at a decent rate (particularly gain). I sample a pressure sensor and then set the gain of a mixer to change volume to breath amount. I added a bit of averaging and smoothing on the sampling side, but I then get either a slow response (particularly on the attack of notes) or jittering response (particularly on the lower end of the gain)

Is there a way to have the gain (or other parameters) basically have a smoothing function without changing the parameter manually in the loop?

Some demo of the instrument in action:

https://soundcloud.com/jeff-m-hopkins/open-woodwind-project-onboard-synth-demo-teensy-library

https://youtu.be/_3jV3GYTY_4
 
Status
Not open for further replies.
Back
Top