fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] Patch for bad MIDI timing (with large buffer sizes)


From: Pedro Lopez-Cabanillas
Subject: Re: [fluid-dev] Patch for bad MIDI timing (with large buffer sizes)
Date: Mon, 16 Mar 2009 19:28:36 +0100
User-agent: KMail/1.9.6 (enterprise 20070904.708012)

Bernat Arlandis i Mañó wrote:
> Pedro Lopez-Cabanillas escrigué:
> > About the time resolution, it depends only on FLUID_BUFSIZE (=64 frames),
> > because the timer is triggered in fluid_synth_one_block(). For a sample
> > rate = 44100 Hz the resolution is .68 milliseconds, which is enough for
> > me.
>
> The last three lines explain everything. Thank you, I didn't catch it.

Anyway, I messed the calculations. Sorry! :_(

With a SR of 44100 Hz, the resolution is 1.45 milliseconds. For 48000 Hz is 
1.33 ms. It is better than the 4 ms resolution of the default Linux 2.6 
kernel, anyway.

> I see the problem just when using OSS, I guess Alsa and Jack override
> the period-size setting.

I can't set buffer sizes as big as 8192 samples, either. But for anything > 
1024 the problem is evident.

Regards,
Pedro




reply via email to

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