rodydavis / flutter_midi

Midi Playback in Flutter
https://rodydavis.github.io/flutter_midi/
MIT License
62 stars 56 forks source link

[flutter_midi] Lag #1

Open lastant opened 5 years ago

lastant commented 5 years ago

There's a significant delay on my Android between pressing a button and hearing the sound. How can I try to make it faster?

lastant commented 5 years ago

I guess this is a problem with the underlying library..

TheKashe commented 5 years ago

Yeah, it's the underlying library, which has seen no updates for many years.

There's this alternative, but it doesn't seem to have an option to load custom sf2 or dsl. Edit: while this API is better, it still lags compared to iphone :-(

Then there's the fluidsynth which seems awesome, but this android port has no documentation or java wrapper.

There's another version here. Probably the way to go.

lastant commented 5 years ago

I managed to compile Fluidsynth and make it work using the wrapper from jOrgan project. But then I found an even better library BASS (http://www.un4seen.com/) that is already pre-compiled for multiple platforms, has a wrapper, great documentation and excellent performance.

github-actions[bot] commented 4 years ago

This issue has been closed due to inactivity.

rodydavis commented 4 years ago

Wow awesome! Do you have an example? @lastant

Kizat commented 4 years ago

I managed to compile Fluidsynth and make it work using the wrapper from jOrgan project. But then I found an even better library BASS (http://www.un4seen.com/) that is already pre-compiled for multiple platforms, has a wrapper, great documentation and excellent performance.

can be more detailed please?

JimTompkins commented 3 years ago

I'm also experiencing latency issues with flutter_midi so am looking into BASS. Does anyone have any experience with BASS from flutter?