Andy Belov
Well-known member
Here: http://www.youtube.com/watch?v=lTb-eU1CPKY&feature=youtu.be
It kind of works, but still needs improvements. The pitch recognition is fast and about 95% accurate for now. I think I need to work with the "probability" and ignore results below 0.9. I'll try that next.
Also, I need to improve the playback of "converted" sounds after the pitch recognition. There is a lag in playFrequency(), I think.
But still, I'm very excited. I think I can make it work acceptably, especially when I get my new shield for Teensy 4.0 and the Audio Shield. The 4.0 is more than 5 times faster than the 3.6 I'm using now, so maybe the lag will not be as noticeable.
I'll keep you posted, if anybody cares.
The code is here: https://github.com/quantograph/Instrument/blob/master/Arduino/AudioBoard.ino
Look for "AudioSynthWavetable::freqToNote(..."
More here: http://quantograph.com/
And here: https://github.com/quantograph/Instrument/tree/master/Arduino
It kind of works, but still needs improvements. The pitch recognition is fast and about 95% accurate for now. I think I need to work with the "probability" and ignore results below 0.9. I'll try that next.
Also, I need to improve the playback of "converted" sounds after the pitch recognition. There is a lag in playFrequency(), I think.
But still, I'm very excited. I think I can make it work acceptably, especially when I get my new shield for Teensy 4.0 and the Audio Shield. The 4.0 is more than 5 times faster than the 3.6 I'm using now, so maybe the lag will not be as noticeable.
I'll keep you posted, if anybody cares.
The code is here: https://github.com/quantograph/Instrument/blob/master/Arduino/AudioBoard.ino
Look for "AudioSynthWavetable::freqToNote(..."
More here: http://quantograph.com/
And here: https://github.com/quantograph/Instrument/tree/master/Arduino
Last edited by a moderator: