LinuxQuestions.org
Help answer threads with 0 replies.
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 06-03-2006, 11:04 AM   #1
carnold
Member
 
Registered: Feb 2004
Posts: 77

Rep: Reputation: 15
Audio joining software


Hello all! I am using Novell Linux Desktop 9 SP2 (based on Suse 9.1). I am looking for software that will join all types (mp3, wav, shn, etc) of audio music together. I have googled and seen some of the "buy" software but am looking for something ope-source maybe. Can anyone suggest any good audio joining software for linux? Thanks
 
Old 06-04-2006, 04:57 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Sox can do that. The version that comes with Novell Linux Desktop may or may not support mp3's. You may need to build it from source and add an option in the "configure" phase to use libmad and libmp3lame.
 
Old 06-04-2006, 03:24 PM   #3
carnold
Member
 
Registered: Feb 2004
Posts: 77

Original Poster
Rep: Reputation: 15
OK, thanks for that info. So, i downloaded SoX on both my linux box and my windoze box. I also downloaded and installed both libmad and libmp3lame. I think i understand the windoze version (command line type in sox path/tofile/tomerge thenthe/fileto/mergeto. But on the linux box, you say "add an option in the "configure" phase to use madlib and libmp3lame". I typed in sox --help and did not see any option for "configure" to use libmad and libmp3lame. Can you share more info on this option? Thanks again
 
Old 06-05-2006, 04:39 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
I don't know what or where you downloaded sox from for linux.
Run "sox -h". If mp3 is listed as a supported filetype, then you don't have to bother with it.
Otherwise, you may need to download the source tarball or source rpm.

Your compiled version may have been built with the configure options "--disable-lame" and "--disable-mad" which removed mp3 support.

I just checked and my version didn't support MP3s. So I uninstalled it and downloaded the source rpm.
If you have the lame, mad and vorbis libraries installed, then the configure script will notice it and include these features during compilation.

You can rebuild the sox RPMs as root with "rpmbuild -ba sox.spec" from in the /usr/src/packages/SPECS/ directory.

Or if you download the tarball source,
tar xvzf sox-<version>.tar.gz
cd sox-<version>/
./configure
make
su
<password>
make install.

I rebuilt sox while composing this message. It didn't take long. Now MP3s are supported.

"sox *.mp3 *.wav bigfile.mp3" will take all of the MP3s and Wave files in the current directory and produce one large MP3.
 
Old 06-05-2006, 11:38 AM   #5
carnold
Member
 
Registered: Feb 2004
Posts: 77

Original Poster
Rep: Reputation: 15
You have been a HUGE help!! I downloaded the sox src files from sox.sourceforge.net. Then i downloaded the src files for the mp3 lib's (from their website). Compiled and installed them both. Then ran a ./configure for the sox app; it's ./configure script did report mp3 support. However, it did not report ogg vorbis support. I then double-checked (using yast) that i DO have the libvorbis file installed (and anything with ogg installed) but the ./configure script reports no support for vorbis. Oh well...I then did make; then su (passowrd) and make install. SoX is installed in /usr/local/bin, yipppeee
I then tried "sox *.mp3 bigfile.mp3" at the command-line...this gives me a bash error: command not found. So i run /usr/local/bin/sox *.mp3 bigfile.mp3 ...it just sits there for 15 minutes, just sits there. I checked the folder and there is a bigfile.mp3 file there, 0kb in size. Not sure what i am doing wrong? Thanks again for all your help!
 
Old 06-05-2006, 01:19 PM   #6
carnold
Member
 
Registered: Feb 2004
Posts: 77

Original Poster
Rep: Reputation: 15
Here is sox -h
purplehaze:/home/carnold/mp3 # /usr/local/bin/sox -h
/usr/local/bin/sox: Version 12.18.1

Usage: [ gopts ] [ fopts ] ifile [ fopts ] ofile [ effect [ effopts ] ]

gopts: -e -h -p -q -S -V

fopts: -r rate -c channels -s/-u/-U/-A/-a/-i/-g/-f -b/-w/-l/-d -v volume -x

effect: avg band bandpass bandreject chorus compand copy dcshift deemph earwax echo echos fade filter flanger highp highpass lowp lowpass mask mcompand noiseprof noisered pan phaser pick pitch polyphase rate repeat resample reverb reverse silence speed stat stretch swap synth trim vibro vol

effopts: depends on effect

Supported file formats: aiff al au auto avr cdr cvs dat vms gsm hcom la lu maud mp3 nul ossdsp prc raw sb sf sl smp sndt sph 8svx sw txw ub ul uw voc vox wav wve
purplehaze:/home/carnold/mp3 #
 
Old 06-05-2006, 06:57 PM   #7
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
First, add '/usr/local/bin/' to you PATH variable in your ~/.profile script.

Second, try using the command on just a couple files and see if it works.
sox song1.mp3 song2.mp3 bigsong.mp3.

I wonder if you ran out of resources and the program was taking forever because it started running using the swap partition for memory.
 
  


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
Stream audio out software linuxhippy Linux - Software 8 03-16-2006 12:16 AM
Audio cleanup software lamaleach Linux - Software 1 11-16-2005 09:57 PM
software audio equalizers darkpark Linux - Software 1 07-10-2005 01:52 AM
Audio software Cyth Linux - General 10 04-09-2004 03:04 AM
audio conference software 286 Linux - Newbie 0 12-20-2003 07:30 PM


All times are GMT -5. The time now is 12:02 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