Re: [ecasound] converting mp3 to wav in 48k sample rate

From: Claude Heiland-Allen <claude@email-addr-hidden>
Date: Sat Oct 08 2011 - 00:26:45 EEST

On 07/10/11 19:04, Dubphil wrote:
> Hello,
>
> I want to convert a mp3 file to wav at a 48000 sample rate :
>
> so I have use this :
>
> $ ecasound -i resample-hq,48k,dubwalk.mp3 -o dubwalk.wav
>
> and here what it says never ending :

I get the same error flood with your syntax.

After installing mpg123, with :

$ ecasound -i resample-hq,48000,in.mp3 -o out.wav

I get no failure, but it does this: it assumes the mp3 is 48000
(overriding its sample rate, in my case 44100), and resamples it to
44100, which means it ends up higher pitched and faster.

Perhaps you want something more like:

$ ecasound -f s16_le,2,48000 -i resample-hq,auto,in.mp3 -o out.wav

Thanks,

Claude

> Warning: type DBC_CHECK soft-assert 'ret == 0' failed at
> -> samplebuffer.cpp:1382 [void
> SAMPLE_BUFFER::resample_secret_rabbit_code(SAMPLE_SPECS::sample_rate_t,
> SAMPLE_SPECS::sample_rate_t)]
> Warning: type DBC_CHECK soft-assert 'ret == 0' failed at
> -> samplebuffer.cpp:1386 [void
> SAMPLE_BUFFER::resample_secret_rabbit_code(SAMPLE_SPECS::sample_rate_t,
> SAMPLE_SPECS::sample_rate_t)]
>
> How can I achieve this ?
>
> Best regards
>
> Philippe
>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Sat Oct 8 00:15:03 2011

This archive was generated by hypermail 2.1.8 : Sat Oct 08 2011 - 00:15:03 EEST