emmanuel63
Well-known member
Hello,
Here is a fun project I would like to share with the community. It is a basic 3 oscillators synth plus an input follower stage. You can plug in a microphone and convert dynamics and notes of an acoustic instrument into frequency and envelope, and then trigger the synth oscillators and effects.
This was made possible thanks to the noteFreq object developed by Duff. This object uses the YIN algorithm to guess the notes frequency (almost) in realtime. Dynamics are analysed with the rms object.
Filtering the signal is important to get better frequency analysis, but also to limit the feedback when playing on stage.
Limitation is latency. It is possible to reduce latency with high pitch instruments (thank you Duff for your guidance). I doubt we can get good results with low pitch instrument like cellos, double bass, tenor and baryton sax... But it works pretty well with "treble key" instruments like the flute, the violin, the trumpet...
I am still trying to reduce latency. If someone has any suggestion, I would be very happy to exchange ideas.
Here are a few pics and a video.
Emmanuel (France)
![front.jpg front.jpg](https://forum.pjrc.com/data/attachments/17/17728-ce95c8630515378ebd494b7a268dc794.jpg)
![inside.jpg inside.jpg](https://forum.pjrc.com/data/attachments/17/17729-0948fae7d6285709a992cf9a2d2b9fbf.jpg)
Here is a fun project I would like to share with the community. It is a basic 3 oscillators synth plus an input follower stage. You can plug in a microphone and convert dynamics and notes of an acoustic instrument into frequency and envelope, and then trigger the synth oscillators and effects.
This was made possible thanks to the noteFreq object developed by Duff. This object uses the YIN algorithm to guess the notes frequency (almost) in realtime. Dynamics are analysed with the rms object.
Filtering the signal is important to get better frequency analysis, but also to limit the feedback when playing on stage.
Limitation is latency. It is possible to reduce latency with high pitch instruments (thank you Duff for your guidance). I doubt we can get good results with low pitch instrument like cellos, double bass, tenor and baryton sax... But it works pretty well with "treble key" instruments like the flute, the violin, the trumpet...
I am still trying to reduce latency. If someone has any suggestion, I would be very happy to exchange ideas.
Here are a few pics and a video.
Emmanuel (France)
![front.jpg front.jpg](https://forum.pjrc.com/data/attachments/17/17728-ce95c8630515378ebd494b7a268dc794.jpg)
![inside.jpg inside.jpg](https://forum.pjrc.com/data/attachments/17/17729-0948fae7d6285709a992cf9a2d2b9fbf.jpg)