Re: [ecasound] resample...

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Thu Mar 19 2009 - 22:36:01 EET


sorry for the very late reply.

On Mon, 16 Feb 2009, Julien Claassen wrote:

> I've still got trouble with my resampling.
> I'm using ecasound 2.6.0 and jack 0.112.something
> Consider this:
> test.wav; stereo, s16_le,44100
> ecasound -f:16,2,48000 -i resample-hq,44100,test.wav

Yes, it's not really working. You should get the following warning though,
when mixing "resample" and "jack" objects in the same setup:

ecasound_debug -i resample,auto,material17_48khz_file.wav -o jack -c
(eca-chainsetup) WARNING: Mixing resample and jack objects may result

I probably should have made that a fatal error instead of a warning as
it's easy to miss it.

Anyways, this issue is unbearable and must be fixed. The basic problem
is that with some (most) resampling ratios, the resample object will emit
buffers with length plus/minus one to the buffersize. Most ecasound
outputs are able to handle this just fine, but current "jack" object does
not handle this well. :(

So for now, I recommend resampling all files to the engine sample
rate and not mixing "resample" and "jack".

Sorry for all the trouble -- now when I think of it, I really should have
made this a fatal error. Oh well, you live and learn.

> It disables one channel in jack. Ecasound sends stereo, but the jack-channel
> is turned off and I have to restart jack to get it working at all!

Now this sounds like something completely different. Can you reproduce the
problem without "resample"...?

Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial.
Ecasound-list mailing list
Received on Fri Mar 20 00:05:38 2009

This archive was generated by hypermail 2.1.8 : Fri Mar 20 2009 - 00:05:38 EET