RE: [ecasound] ecasound resample problem

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: RE: [ecasound] ecasound resample problem
From: Kamil Wencel (wencel_AT_radion.org)
Date: Sun Jul 25 2004 - 09:30:47 EEST


Yeah, even with the latest secret rabbit code I get these clicks , too.
But, and here comes the itch :

Not always. I am going the other direction ( 44.1 -> 96 )
And I hear the same clicks mostly only when the track
is near clipping or parts of the music are very very dynamic.

I am still rather clueless what could be behind all that,
so any ideas would be gladly appreciated.

So far

Kamil

( of course I used resample-hq ;))

-----Original Message-----
From: ecasound-list-owner_AT_wakkanet.fi
[mailto:ecasound-list-owner_AT_wakkanet.fi] On Behalf Of Aaron Heller
Sent: Sonntag, 25. Juli 2004 07:57
To: ecasound-list_AT_wakkanet.fi
Subject: [ecasound] ecasound resample problem

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
clicks.

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 \
                  -o:$st-$freq-$sr-$algo.wav
       end
     end
   end
end

The script, audio files, and wallpaper can be found at:
   http://www.ai.sri.com/ajh/audio/resamp-test/

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>.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Jul 25 2004 - 09:31:25 EEST