Re: [ecasound] improper rates passed to ladspa plugins?

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] improper rates passed to ladspa plugins?
From: Kai Vehmanen (k@eca.cx)
Date: Thu Sep 20 2001 - 18:27:26 EEST


On Thu, 20 Sep 2001, Jeremy Hall wrote:

> I'm currently investigating the possibility that we are somehow passing
> the wrong rate parameter to ladspa plugins.

I found at least one samplerate related bug in ecasound's LADSPA code.
This is fixed in CVS (2_0 and HEAD). But I'm not entirely sure if this
really fixes your problem, because the bug only affects few special cases
(processing plugin parameter hints, etc).

> ecasound -i ktla-1.raw -eli:1194,1.5
[...]
> sox -t raw -w -s -r 44100 -c 2 ktla-1.raw -r 48000 ktla-1.wav
> ecasound -i ktla-1.wav -eli:1194,1.5 -sr:48000
[...]
> and got different results. now why is that?

Hmm, how about:

ecasound -sr:48000 -i ktla-1.wav -eli:1194,1.5 -f:16,2,44100 -o alsa,default

With the additional -f option, ecasound will open the default audio device
(/dev/dsp, ALSA, etc) in -f:16,2,44100 even though you specify -sr:48000.
This means that compared to "ecasound -i ktla-1.raw -eli:1194,1.5", signal
will get resampled just before output (from 48000->44100).

This could explain the difference.

-- 
 http://www.eca.cx
 Audio software for Linux!

-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Sep 20 2001 - 18:25:28 EEST