converting mp3 to wav in 48k sample rate

View: New views
7 Messages — Rating Filter:   Alert me  

converting mp3 to wav in 48k sample rate

by Dubphil :: Rate this Message:

| View Threaded | Show Only this Message

 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 :

 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

--
 http://dubphil.free.fr


------------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: converting mp3 to wav in 48k sample rate

by S. Massy-4 :: Rate this Message:

| View Threaded | Show Only this Message

On Fri, Oct 07, 2011 at 08:04:02PM +0200, 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 :
>
>  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 ?
Not sure about your problem: not even sure the resample object takes in
mp3. If you're in a hurry, you can always use sox: it'll do that just
fine.

Cheers,
S.M.

------------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: converting mp3 to wav in 48k sample rate

by Claude Heiland-Allen-2 :: Rate this Message:

| View Threaded | Show Only this Message

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@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: converting mp3 to wav in 48k sample rate

by Dubphil :: Rate this Message:

| View Threaded | Show Only this Message

 Hi claude,

 when I do this :

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

 I've  got this error :

 (eca-chainsetup) Opened input "resample:dubwalk.mp3", mode "read".
 Format:
 ... s16_le, channels 2, srate 48000, interleaved (locked params).
 (eca-chainsetup) NOTE: using existing audio parameters
 -f:s16_le,2,44100
 ... for object 'dubwalk.wav' (tried to open with -f:s16_le,2,48000).
 (eca-chainsetup) Opened output "dubwalk.wav", mode "read/write
 (update)".
 ... Format: s16_le, channels 2, srate 44100, interleaved (locked
 params).
 ERROR:  Connecting chainsetup failed: "All audio objects must have a
 common
 ... sampling rate; sampling rate of audio object "dubwalk.wav" differs
 from
 ... engine rate (44100 <-> 48000); unable to continue."

 The mp3 is effectively at 44100Hz in fact.
 it seems to be impossible to do this with ecasound.

 Thanks !

 Philippe

 On Fri, 07 Oct 2011 22:26:45 +0100, Claude Heiland-Allen wrote:

> 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@...
> https://lists.sourceforge.net/lists/listinfo/ecasound-list

--
 http://dubphil.free.fr


------------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: converting mp3 to wav in 48k sample rate

by Artur-16 :: Rate this Message:

| View Threaded | Show Only this Message

Hi.

Dubphil pisze:
>   Hi claude,
>
>   when I do this :
>
>   $ ecasound -f s16_le,2,48000 -i resample-hq,auto,in.mp3 -o out.wav
>
>   I've  got this error :
>


So try this:

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

Cheers.
--
Artur


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: converting mp3 to wav in 48k sample rate

by Artur-16 :: Rate this Message:

| View Threaded | Show Only this Message

Poniższą wiadomość napisał(a) Dubphil <dubphil@...> w dniu 09.10.2011 18:09:

>   Hi claude,
>
>   when I do this :
>
>   $ ecasound -f s16_le,2,48000 -i resample-hq,auto,in.mp3 -o out.wav

... or even this:

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

--
Artur



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: converting mp3 to wav in 48k sample rate

by Dubphil :: Rate this Message:

| View Threaded | Show Only this Message

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

 Thanks Artur, thats was the good one.

 Best

 Philippe

 On Mon, 10 Oct 2011 09:29:00 +0200, Artur wrote:

> Poniższą wiadomość napisał(a) Dubphil <dubphil@...> w dniu
> 09.10.2011 18:09:
>
>>   Hi claude,
>>
>>   when I do this :
>>
>>   $ ecasound -f s16_le,2,48000 -i resample-hq,auto,in.mp3 -o out.wav
>
> ... or even this:
>
> ecasound -f s16_le,2,48000 -i resample-hq,44100,in.mp3 -f
> s16_le,2,48000 -o out.wav
>
> --
> Artur

--
 http://dubphil.free.fr


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list