Thread: Silly question!
View Single Post
  #18 (permalink)  
Old July 14th 15, 03:21 PM posted to uk.rec.audio
Jim Lesurf[_2_]
external usenet poster
 
Posts: 2,668
Default Silly question!

In article , RJH
wrote:
FWIW I also use sox for wave - flac conversions and it has a nice
'stats' report that lets you detect things like any clipping, etc.
Rate conversions can lead to clipping if the waveforms have peaks too
near to maximum.

Jim


Thanks; it seems to be the ideal program for the job.


I'd find the lack of a GUI difficult. FWIW I've used Max
http://sbooth.org/Max/ for years and don't recall any problems.


Its certainly true that the manual (man page) for sox is pretty daunting.
But for basic tasks like resampling the commands are pretty simple.
Essentially you just add in, say, "-r 44100" if you want the output to be
44.1k. e,g

If you have a 96/24 wave file called 'wibble.wav' then

sox wibble.wav -r 44100 -b 16 wobble.flac

should give you a 44.1k / 16 bit flac file of the audio called
'wobble.flac'. You can easily spot that '-r' means 'rate' and '-b' bits.

I recommend adding 'stats' at the end of the command, so

sox wibble.wav -r 44100 -b 16 wobble.flac stats

does the same, then prints out some stats info on the result so you can see
things like the signals levels, etc.

The manual is long because sox can do so many things and give so much
control. But for tasks like this you can ignore most of that.

TBH for many GUI programs that process audio or AB my first reaction is to
wonder if they are a front-end for sox or ffmpeg. For all I know, 'Max' may
be so.

Jim

--
Please use the address on the audiomisc page if you wish to email me.
Electronics http://www.st-and.ac.uk/~www_pa/Scot...o/electron.htm
Armstrong Audio http://www.audiomisc.co.uk/Armstrong/armstrong.html
Audio Misc http://www.audiomisc.co.uk/index.html