emmanuel63
Well-known member
Hello,
I have build a synth that use an envelope follower to trigger notes. The prototype gets the envelope of an acoustic instrument (a flute and a trumpet in my case), analyse the frequency of every note with the noteFreq object, and triggers the synth section with the right note and velocity. It works pretty well and I am quite happy with the result, but I would like to have less latency. When playing fast and staccato, the latency is noticeable.
As regards the noteFreq object, I edit the AUDIO_GUITARTUNER_BLOCKS parameter and it helped a lot. But there is still some latency. I tried to edit the AUDIO_BLOCK_SAMPLES in the audioStream library. It helps with the majority of the audio objects, but unfortunately the noteFreq object doesn't support changing this setting. Is there a way to make it work when changing this parameter ? Is there other ways I could try to improve latency ?
Emmanuel
PS : there is an old thread about this, but I preferred to start a new one to give more explanations.
I have build a synth that use an envelope follower to trigger notes. The prototype gets the envelope of an acoustic instrument (a flute and a trumpet in my case), analyse the frequency of every note with the noteFreq object, and triggers the synth section with the right note and velocity. It works pretty well and I am quite happy with the result, but I would like to have less latency. When playing fast and staccato, the latency is noticeable.
As regards the noteFreq object, I edit the AUDIO_GUITARTUNER_BLOCKS parameter and it helped a lot. But there is still some latency. I tried to edit the AUDIO_BLOCK_SAMPLES in the audioStream library. It helps with the majority of the audio objects, but unfortunately the noteFreq object doesn't support changing this setting. Is there a way to make it work when changing this parameter ? Is there other ways I could try to improve latency ?
Emmanuel
PS : there is an old thread about this, but I preferred to start a new one to give more explanations.