fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Help with latency using bluetooth headphones


From: Marcus Weseloh
Subject: Re: [fluid-dev] Help with latency using bluetooth headphones
Date: Mon, 19 Feb 2018 23:07:16 +0100

Hi Paul,

what I find interesting though is that you say:

and using garageband's musical typing isn't as slow to respond.

So Garageband really has a lower (perceived?) latency than FluidSynth using Bluetooth headphones, even with FluidSynth's buffers set to minimum? If that really is the case, maybe there are audio buffer sizes in the OSX audio framework that you can tweak for low-latency performance?

Cheers,

   Marcus


2018-02-19 20:28 GMT+01:00 Paul Cohn <address@hidden>:
Thanks for the advice Philippe and Marcus, I tried those settings but didn't seem to make much difference. I think I'll just have to make it clear to users that bluetooth headphones won't work well with the app.





---
Paul Cohn
address@hidden

On Mon, Feb 19, 2018 at 5:16 AM, Marcus Weseloh <address@hidden> wrote:
Hi Paul,

2018-02-19 8:34 GMT+01:00 Paul Cohn <address@hidden>:
I haven't seen any lag with the headphones elsewhere where I try latency tests, and using garageband's musical typing isn't as slow to respond.

As Philippe says, bluetooth headphones have inherent latency issues and are not really suitable for real-time audio. But you say that you only notice the latency when using FluidSynth, so maybe you need to reduce your FluidSynth buffer size. The default is quite high at 16 * 64 samples. Maybe start with the lowest possible buffer size:

fluid_settings_setint(settings, "audio.periods", 2);
fluid_settings_setint(settings, "audio.period-size", 64);
 
And if you get buffer underruns, increase the period-size.

Cheers,

    Marcus

_______________________________________________
fluid-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fluid-dev



_______________________________________________
fluid-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fluid-dev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]