Lowest Audio Latency Possible #553
-
Guys, please, I don't have a pi yet, but I need to know what would be the lowest latency possible for using Circle as an audio generator from MIDI. Pis where I live are around 250 USD, so it will take some time before I can order one. ;-) My idea is to create a complete workstation OS for audio, with sequencer and plugin support (my own format) You can check my work at Wusik.com Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
I suggest you check out this fantastic project. Very low latency. I built it with the cheaper Raspberry Pi Zero. Dexed FM synthesizer similar to 8x DX7 (TX816/TX802) running on a bare metal Raspberry Pi. |
Beta Was this translation helpful? Give feedback.
-
Oh, I forgot about that, thank you so much! <3 Cheers |
Beta Was this translation helpful? Give feedback.
-
I'm looking at the code but can't figure out where the audio engine is actually stored on... I will keep on reading all files to see if I can figure this out... Thanks again. Cheers |
Beta Was this translation helpful? Give feedback.
-
I would start here: https://github.com/probonopd/MiniDexed/blob/main/src/minidexed.cpp |
Beta Was this translation helpful? Give feedback.
-
I did some measurements on this on a RPi 4B, running sample/29-miniorgan with I2S and chunk size 256. I got a latency of approx. 6 ms from sending a MIDI note on event via USB to receiving a sample value other than zero via I2S. Unfortunately this value also contains some latency, added by the measurement program, so it must be a bit smaller. |
Beta Was this translation helpful? Give feedback.
I did some measurements on this on a RPi 4B, running sample/29-miniorgan with I2S and chunk size 256. I got a latency of approx. 6 ms from sending a MIDI note on event via USB to receiving a sample value other than zero via I2S. Unfortunately this value also contains some latency, added by the measurement program, so it must be a bit smaller.