[Top][All Lists]

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

[fluid-dev] changing audio.period-size

From: Hamish Moffatt
Subject: [fluid-dev] changing audio.period-size
Date: Fri, 1 Jul 2016 17:25:04 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0

Is there any harm in reducing audio.period-size on Windows? It's a lot bigger by default on Windows than Mac/Linux. Should I increase audio.periods to compensate?

Background: I have my own timing loops and I'm outputting events by calling fluid_synth_noteon/noteoff() just in time (or with fluid_sequencer_send_now()). However it seems that with the default parameters, notes are only scheduled on 20ms boundaries. If I get the time between my noteOn calls from fluid_sequencer_get_tick() it's always a multiple of 20, even though I'm calling it much more accurately than that. Reducing period-size to 256 helps. Is there a disadvantage, and is there a better way?



reply via email to

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