Subject: RE: [ecasound] ecasound resample problem
From: Kamil Wencel (wencel_AT_radion.org)
Date: Sun Jul 25 2004 - 10:32:16 EEST
Indeed, I didn't notice you weren't using -hq in the example.
Nevertheless resamle-hq doesn't solve the problem.
If memory serves Kai right he and I had a chat about that issue
some month ago. His first idea was that maybe an updated version
of secret rabbit code would help. But it did not.
Since this issue was never one of my top prios I just sat here
and waited till somebody else would raise that issue again.
-- patience, young luke...
Maybe with combined efforts we can find a solution.
Kai, what can we do ?
[mailto:ecasound-list-owner_AT_wakkanet.fi] On Behalf Of Aaron Heller
Sent: Sonntag, 25. Juli 2004 09:04
Subject: Re: [ecasound] ecasound resample problem
Oops. I noticed that the script was always using resample. I fixed the
script and reran the tests and the clicks are still present. The
revised files are uploaded to my website.
Here's the revised script:
foreach freq (100 1000)
foreach st (s32_le s16_le)
ecasound -t:5 -f:$st,2,96000 -i null \
foreach sr (44100 48000)
foreach algo (resample resample-hq)
ecasound -f:$st,2,$sr \
Sorry for any confusion....
Aaron Heller wrote:
> I used ecasound to resample an audio file from 96000 to 44100 kHz sample
> rate and noticed that there were faint clicks in the resulting file.
> To test this further, I wrote a csh script that generates 100Hz and 1kHz
> sine wave files at 96000 kHz sample rate and then resamples them to
> 44100 and 48000, with both the resample and resample-hq options, and at
> both 16-bit and 32-bit word length. All of the resampled files have
> Here is the script:
> #!/bin/csh -x
> foreach freq (100 1000)
> foreach st (s32_le s16_le)
> ecasound -t:5 -f:$st,2,96000 -i null \
> -el:sine_fcac,$freq,.1 -o:$st-$freq.wav
> foreach sr (44100 48000)
> foreach algo (resample resample-hq)
> ecasound -f:$st,2,$sr -i:resample,auto,$st-$freq.wav \
> The script, audio files, and wallpaper can be found at:
> Any help would be appreciated. Thanks.
> Aaron Heller <heller_AT_ai.sri.com>
> Menlo Park, CA USA
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request_AT_wakkanet.fi>.
-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.
This archive was generated by hypermail 2b28 : Sun Jul 25 2004 - 10:32:54 EEST