LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2008, 08:52 PM   #1
rotezecke
LQ Newbie
 
Registered: Feb 2008
Location: Nimbin, Australia
Distribution: Debian, Mint, Mandriva
Posts: 27

Rep: Reputation: 15
syntax with SoX & lame audio recording


Hi,
I inherited a script converting wav into mp3 on a 24/7 basis. the command line in question:

nice -15 sox -t ossdsp -c 2 -w -s -r 44100 /dev/dsp -t wav - | nice -15 lame -x -r -s 44.1 -h -b 64 $1 $2 $3 $4 - "$nowFile"

The incoming stream is MONO, hence I changed the sox -c 2 to -c 1. This resulted in half the data, which is what i wanted. however, the mp3 file is double the speed! it also seems to try to write two channels. Any idea where the syntax is wrong?
 
  


Reply


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
recording radio using sox CrashedAgain Linux - Software 14 05-12-2008 01:43 AM
sox/lame playback problem(thumping sound) ncsuapex Linux - General 2 08-13-2007 10:54 AM
Audio Recording Fails - Slackware 11.0 & ALSA Jorek Slackware 7 02-08-2007 12:19 PM
Sox recording command outputs blank files anid.iitk Linux - Newbie 2 05-29-2006 02:09 AM
linux version/software for audio editing & recording?? tashazo Linux - Newbie 6 01-07-2006 08:52 AM


All times are GMT -5. The time now is 07:04 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration