Oliver Steiner | 7 Apr 05:00 2008
Picon
Picon

extreme loud noise after pitch a mp3 file

Hello,

after the sox command: sox inputfile.mp3 outputfile.mp3 200 200
we get a segmentation fault and have an extreme loud noise at the end of the outputfile.mp3

we're using sox 14.0.1 on a centos5

any tipps?

Oliver

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
robs | 9 Apr 08:34 2008
Picon

Re: extreme loud noise after pitch a mp3 file

--- Oliver Steiner <osteiner <at> gmx.de> wrote:

> Hello,
> 
> after the sox command: sox inputfile.mp3 outputfile.mp3 200 200
> we get a segmentation fault and have an extreme loud noise at the end of the
> outputfile.mp3
> 
> we're using sox 14.0.1 on a centos5
> 
> any tipps?

Try using pitch's replacement: key
Note however, that it too has a crashing problem in 14.0.1, but only on 64-bit
archs (fixed in CVS).

Cheers,
Rob

      ___________________________________________________________ 
Yahoo! For Good helps you make a difference  

http://uk.promotions.yahoo.com/forgood/

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
(Continue reading)

Gerald.Hinton | 9 Apr 12:24 2008

Setting the bit depth of an output file


Hi there,

I am using sox to combine two audio files together as a quick mix on windows using version 14.0.1.

One file is a 16 bit wav and the other is a 24 bit wav file.

The mix function works just fine but I would like to be able to force sox to create a 16bit output rather than the 24bit output it is creating at present.

I tried using '-b 16' in the output parameters but that doesn't seem to do the trick

Here is my current syntax without the bit depth setting:
 'sox.exe -S -m -v 0.6 wav01.wav -v 0.4 wav02.wav -r 48000 out.wav'

Could you please suggest a syntax to do this.

Many thanks

Gerald

Deluxe Digital Studios
Registered Office: 7-11 Lexington Street, London W1F 9AF
Company Registration No. 03669201 England

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
robs | 9 Apr 14:05 2008
Picon

Re: Setting the bit depth of an output file

--- Gerald.Hinton <at> bydeluxe.com wrote:

> I tried using '-b 16' in the output parameters but that doesn't seem to do 
> the trick
> 
> Here is my current syntax without the bit depth setting:
>  'sox.exe -S -m -v 0.6 wav01.wav -v 0.4 wav02.wav -r 48000 out.wav'
> 
> Could you please suggest a syntax to do this.

Putting `-2' (i.e. 2 bytes = 16 bits) before `out.wav' should do the trick.

/Rob

      ___________________________________________________________ 
Yahoo! For Good helps you make a difference  

http://uk.promotions.yahoo.com/forgood/

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
Gerald.Hinton | 9 Apr 14:42 2008

Re: Setting the bit depth of an output file


Many thanks Rob, that correctly gives me exactly the 16bit file I was looking for.

If possible it  would be good to make setting the bit depth a bit more explicit in the documentation and perhaps use the term Bit Depth in the explanation of the "-1/-2/-3/-4/-8" section

Here is the syntax to set 16 bit  48Khz output for future refernce of others

 'sox.exe -S -m -v 0.6 wav01.wav -v 0.4 wav02.wav -r 48000  -2 out.wav'

Gerald

>Putting `-2' (i.e. 2 bytes = 16 bits) before `out.wav' should do the trick.

Deluxe Digital Studios
Registered Office: 7-11 Lexington Street, London W1F 9AF
Company Registration No. 03669201 England

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
Naskel | 12 Apr 15:00 2008
Picon

SoX cmd line : Unknown audio format

Hello to all,

I need to identify a file audio format from a chiness IP camera, they say it is ima_adpcm, but i can't transcode the raw data to a good wav file. I can hear with difficulty my voice the transcoded result, but the data seems corrupted when I use these params with sox :

For IMA_ADPCM i used :

sox -V -r 8000 -w -i -c2 audio.raw audio.wav
or for PCM :
sox -V -r 8000 -s -w -c2 audio.raw audio.wav

No one of these value look correct (noisy result... too high)

If I remember correctly, I tested all of these values :

Sample bit : 16, 32
Sample rate : 8Khz, 16Khz, 22Khz, 32Khz, 44Khz
Format : IMA_ADPCM, ADPCM, PCM
Channel : 2

Audio File for test : http://naskel.cx/audio.raw.gz ( ~ 20sec of audio with my voice )

It would be great if someone got the time to help me to find the good format.

PS: I can give online access to the camera if needed.
PS2:  I can give free camera to the one who help me about this audio problem !

Thanks in advance,

Naskel

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

Gmane