Replies: 1 comment 1 reply
-
Hi Emiliano, you can display the maximum processing time of
The displayed value must not exceed Newer synth projects (e.g. mt32-pi, MiniDexed) use the method |
Beta Was this translation helpful? Give feedback.
-
Hi, @rsta2. I am working on two projects based on the MiniSynth Pi class structure. The first one is a Sampler, and the other one is an alternative version of MiniSynth Pi with additional features like portamento, sustain, a 4-pole filter, antialiased oscillators, etc. However, I have an audio issue that I can't handle properly.
This issue occurs in the 'GetChunk' method when the processing time for a specific chunk ends after the next call due to an audio interface interruption. As a result, the audio streams (chunks) are processed in the wrong order until the system is rebooted. The best way to reproduce this issue is to double the number of VOICES that MiniSynth Pi can process simultaneously and attempt to play them at the same time.
Is there any way to handle this issue, such as detecting when sample processing exceeds the time allocated for processing the chunk or resetting the audio interface? I encounter this issue with the I2C interface, but I'm not sure if it also happens with PWM, USB, HDMI, etc.
Regards, Emiliano
Beta Was this translation helpful? Give feedback.
All reactions