Hi I retested my midi setup stuff (http://www.atte.dk/midi.tgz) with the latest/greatest under linux, and there seems to be a quite large latency. About maybe 100ms at least way too large to be playable. However it seems that cpu usage is more relazed. Am I wrong in expecting improvements in the new release under linux, or am I missing something? Looking forward to any response... -- peace, love & harmony Atte http://www.atte.dk
Greetings Atte,
I retested my midi setup stuff (http://www.atte.dk/midi.tgz) with the latest/greatest under linux, and there seems to be a quite large latency. About maybe 100ms at least way too large to be playable. However it seems that cpu usage is more relazed.
Am I wrong in expecting improvements in the new release under linux, or am I missing something?
There should be improvements to MIDI under linux/alsa (thanks to updated by Gary Scavone in RtMIDI). The first thing to try (if you haven't already) is to lower the real-time audio buffer size using the --bufsize flag: > chuck --bufsize128 foo.ck Try different powers of two to hopefully find a good balance between latency and stability. If that doesn't work out, then we will proceed with more tests... Best, Ge!
Ge Wang wrote:
> chuck --bufsize128 foo.ck
That would translate to 1/44100 * 2 (stereo) * 2 (16 bit is two bytes) * 128 = 11,6 ms of latency, right?
Try different powers of two to hopefully find a good balance between latency and stability.
That works great. Chorus still seems to be quite hungry. One aspect I still need to try out is using a single one and not two Chorus'es since it's now stereo as far as I unerstand. An even better way would be to direct all voices through the same Chorus, although I haven't tried that yet. -- peace, love & harmony Atte http://www.atte.dk
Greetings,
> chuck --bufsize128 foo.ck
That would translate to 1/44100 * 2 (stereo) * 2 (16 bit is two bytes) * 128 = 11,6 ms of latency, right?
the 128 refers to audio frames, and not bytes - so it's closer to 50ms latency from audio buffering, I think.
Try different powers of two to hopefully find a good balance between latency and stability.
That works great. Chorus still seems to be quite hungry. One aspect I still need to try out is using a single one and not two Chorus'es since it's now stereo as far as I unerstand.
Hmm... We haven't modified Chorus to be stereo yet. It's on the queue of things to implement (and nowhere else). Best, Ge!
participants (2)
-
Atte André Jensen
-
Ge Wang