On Fri, 05 Jan 2007 10:49:11 +0100
Sebastian Schäfer <[EMAIL PROTECTED]> wrote:

[deleted]
> Ah, of course playback is fine when I do not use the mbeq plugin.
> Behaviour stays the same when I use another LADSPA plugin.
> 

How "heavy" is the other than mbeq plugin ?

mbeq_119700, especially when it's configured the way you did it/need it,
may be considered heavy, that's because, if ALSA buffer length is smaller
than FFT length (that's a typical case), at the moment FFT buffers are
filled FFT is launched for all 6 channels in you case.

I mean, if, for example, ALSA buffer length is 1024, and FFT length
is 8192, then 7 of 8 ALSA buffers the plugin is ding practically nothing,
just copies data into input FFT fifos, and after the 8-th ALSA buffer
FFT is lauched for every of the 6 channels.

So, the CPU load is quite uneven.

...

Well, the above is almost true - due to oversampling FFT is launched
rather every 4 ALSA buffers, not every 8, which means twice the load,
but more evenly distributed, but still, uneven.

If you can, try to play with ALSA buffers at system level - for
the case of 8192 length FFT I'd suggest 4096 samples long ALSA buffers,
so FFT will be performed upon arrival of every ALSA buffer, and CPU
load will be even.

And I do not know how to change ALSA buffers length at system
level - to tweak asound.conf ?

Or to create .asoundrc in your home dir and set buffer lengths in it ?


> Best regards,
> Sebastian
> 


--Sergei.

P.S. Since a bug was found and fixed, I'm thinking about a followup
release, and the example of mbeq_119700 has just proved yet another
time that developers can not be trusted testers when it comes to testing
their own stuff, so, will you help me testing the next release ?

I think that the Perl part you've apparently used to configure the
plugin will remain the same - the pieces intended for configuration,
I mean. So it will hopefully won't take long to configure and test.


-- 
Visit my http://appsfromscratch.berlios.de/ open source project.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to