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


_______________________________________________
fluid-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to