fluidsynth how to process multi midi at the same time? #1099
-
for example
this code can process a midi input to a note, which we can hear that. but, If I input several midi event, and I want play them at the same time. so, how could I do this, thks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Doing this "at the same time" is only possible when dispatching events from within the synth context. Since your use-case comprises an audio driver which continuously renders audio, and another thread which continuously delivers events, the events may or may not be dispatched at the same time. If I were you, I wouldn't bother about this, because that minor time difference will probably be inaudible. |
Beta Was this translation helpful? Give feedback.
Doing this "at the same time" is only possible when dispatching events from within the synth context.
Since your use-case comprises an audio driver which continuously renders audio, and another thread which continuously delivers events, the events may or may not be dispatched at the same time. If I were you, I wouldn't bother about this, because that minor time difference will probably be inaudible.