LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-14-2010, 04:36 AM   #1
saiyen2002
Member
 
Registered: Dec 2006
Location: London, UK
Distribution: Centos, Fedora
Posts: 50

Rep: Reputation: 0
sox convert a-law mono 8000hz wav to pcm signed 16bit mono wav


How can i use sox to convert a Wave A-Law, 8000Hz 64kbps, mono to a Wave PCM signed 16bit, 8000Hz, 128kbps, mono

Thanks
 
Old 07-15-2010, 05:42 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I don't know how you would set the bitrate with sox, but for the rest:

Code:
sox input.wav -s -b 16 output.wav
The sample rate and mono should be automatically set from the input file.
 
Old 02-23-2012, 08:02 PM   #3
fpini
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by H_TeXMeX_H View Post
I don't know how you would set the bitrate with sox, but for the rest:

Code:
sox input.wav -s -b 16 output.wav
The sample rate and mono should be automatically set from the input file.
Try:

sox input.wav -s -w output.wav
 
  


Reply

Tags
audio, convert, pcm, sox, wav


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inquiry:How to convert .wav sound files to .gsm format with sox utility hadimotamedi Linux - Newbie 5 09-01-2009 04:27 AM
how to convert stereo mp3 to mono wav? Beck24 Linux - Software 2 07-11-2006 08:04 PM
trying to encode wav => mp3 with SOX, bitrate problems. salviadud Linux - Software 2 03-30-2006 02:18 AM
clean up and convert wav 2 mp3 with sox dibblethewrecke Linux - Software 1 12-04-2004 08:52 AM
Sox to remove silence from wav J_Szucs Linux - Newbie 1 01-11-2003 12:36 PM


All times are GMT -5. The time now is 11:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration