Vijay Gaur | 1 Jun 2007 20:02
Picon

mp3 to wav

Hi,
  I am using sox and trying to find out how I could enable my command line program to convert mp3 to wav. Sox man pages say that its optional if I have lame and libmad libraries. Could some one please list the way to enable my sox program to convert mp3 to wav.
 
Thanks,
Vijay Gaur
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
Pascal Giard | 6 Jun 2007 01:33
Picon
Gravatar

Re: mp3 to wav

On 6/1/07, Vijay Gaur <vijaygaur77 <at> gmail.com> wrote:
> Hi,
>   I am using sox and trying to find out how I could enable my command line
> program to convert mp3 to wav. Sox man pages say that its optional if I have
> lame and libmad libraries. Could some one please list the way to enable my
> sox program to convert mp3 to wav.

Hmm... we need more info...
we could start with:
- which Operating System are you using?
- did you compile sox yourself?
- if not, where did you get sox and which version is it?
- if yes, did you have libmad installed and did you specify it to ./configure?

cheers,

-Pascal
--

-- 
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
LACIME: École de technologie supérieure (http://lacime.etsmtl.ca)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Thierry Foucu | 7 Jun 2007 05:36
Picon

does Sox support loudness control

Hi,

I was wondering if sox support Loudness control?
right now, I'm using a loudness box to visualize it and use a mix table to adjust it.

Can we do it using Sox? can I set a volume i want and convert the audio to it?
If so, what will be the command line to do it?

Thanks

Thierry

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
robs | 7 Jun 2007 08:15
Picon
Favicon

Re: does Sox support loudness control

--- Thierry Foucu <tfoucu <at> gmail.com> wrote:

> Hi,
> 
> I was wondering if sox support Loudness control?
> right now, I'm using a loudness box to visualize it
> and use a mix table to
> adjust it.
> 
> Can we do it using Sox? can I set a volume i want
> and convert the audio to
> it?
> If so, what will be the command line to do it?

"Loudness control" can mean many things including
filtering and compression; SoX can do both of
these---see the manual page for examples.

      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
salsaman | 8 Jun 2007 04:05
Picon
Gravatar

"file type" bug in sox version 13.0.0

Hi,
there seems to be a bug in sox 13.0.0. For example if I do:

/usr/bin/play -t raw -r 44100 -s w -c 2 audio

I get the message:
/usr/bin/play stio: Failed reading `audio': Could not determine file type.

despite the fact that I explicitly set the file type as "raw".

Is this a new bug, or has it been fixed already ?

Regards,
Gabriel.
http://lives.sourceforge.net

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
Jordan Schidlowsky | 8 Jun 2007 16:38
Picon
Favicon

Re: "file type" bug in sox version 13.0.0


salsaman wrote:
> Hi,
> there seems to be a bug in sox 13.0.0. For example if I do:
>
> /usr/bin/play -t raw -r 44100 -s w -c 2 audio

from the man page......
the 'w' should be '-w'
also try '.raw' instead of 'raw'

>
> I get the message:
> /usr/bin/play stio: Failed reading `audio': Could not determine file 
> type.
>
> despite the fact that I explicitly set the file type as "raw".
>
> Is this a new bug, or has it been fixed already ?
>
> Regards,
> Gabriel.
> http://lives.sourceforge.net <http://lives.sourceforge.net>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Sox-users mailing list
> Sox-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users
>   

--

-- 
Jordan Schidlowsky
Programmer
SED Systems
phone: (306) 933-1414
email: schidlowsky <at> sedsystems.ca

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
salsaman | 8 Jun 2007 17:03
Picon
Gravatar

Re: "file type" bug in sox version 13.0.0



On 6/8/07, Jordan Schidlowsky <schidlowsky <at> sedsystems.ca> wrote:


salsaman wrote:
> Hi,
> there seems to be a bug in sox 13.0.0. For example if I do:
>
> /usr/bin/play -t raw -r 44100 -s w -c 2 audio

from the man page......
the 'w' should be '-w'
also try '.raw' instead of 'raw'


OK, thanks, that helps. However, now I am seeing a new error:

/usr/bin/play -r 44100 -t .raw -s -w -c 2 audio

/usr/bin/play stio: bad input format for for file audio: sampling rate was not specified


Gabriel.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
salsaman | 8 Jun 2007 17:16
Picon
Gravatar

Re: "file type" bug in sox version 13.0.0

OK, I see the problem, - I was also using -f s.

Has the parameter format of sox changed recently ?


I used to use commands like:

/usr/bin/play -f s -s w -t raw -c 2 -r 44100 audio

now I need to use, e.g.

/usr/bin/play -s -w -t .raw -r 44100 -c 2 audio


Hmmm...when did this change happen ?


Regards,
Gabriel.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
robs | 8 Jun 2007 20:38
Picon
Favicon

Re: "file type" bug in sox version 13.0.0

--- salsaman <salsaman <at> gmail.com> wrote:

> /usr/bin/play -r 44100 -t .raw -s -w -c 2 audio
> 
> /usr/bin/play stio: bad input format for for file
> audio: sampling rate was
> not specified

With CVS SoX, the following works:

play -t raw -r 44100 -s -2 -c 2 audio

with sox v13, the following should also work:

play -t raw -r 44100 -s -w -c 2 audio

The old play was a bit of an aberration as it only
exposed some of the underlying sox syntax and subtley
changed some syntax as well.

The new play has straight down the line sox syntax for
all parameters.

Hope this helps,
Rob

      ___________________________________________________________ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
salsaman | 8 Jun 2007 21:44
Picon
Gravatar

Re: "file type" bug in sox version 13.0.0

Hi Robs,
OK. But when did the format change ? I will need to put in a sox version check in LiVES, and use either the old or new format depending on the version number.

Regards,
Gabriel.
http://lives.sourceforge.net





On 6/8/07, robs <aquegg <at> yahoo.co.uk> wrote:
--- salsaman <salsaman <at> gmail.com> wrote:

> /usr/bin/play -r 44100 -t .raw -s -w -c 2 audio
>
> /usr/bin/play stio: bad input format for for file
> audio: sampling rate was
> not specified

With CVS SoX, the following works:

play -t raw -r 44100 -s -2 -c 2 audio

with sox v13, the following should also work:

play -t raw -r 44100 -s -w -c 2 audio

The old play was a bit of an aberration as it only
exposed some of the underlying sox syntax and subtley
changed some syntax as well.

The new play has straight down the line sox syntax for
all parameters.

Hope this helps,
Rob


      ___________________________________________________________
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

Gmane