SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Rep:
merge wav files
I am using grip to rip my audio cds and later convert to mp3 files. I'm finding that some cds have multiple tracks, so it's ripping track1-track7 as wav files. I want to merge these multiple wav files to 1 big file for each cd. I tried using cat file1.wav file2.wav file3.wav bigfile.wav and got a bunch of strange characters flying by on the screen for a long time and no bigfile.wav was written. I eventually did a CTRL-c and stopped it.
How could I merge these wav files?
Last edited by linuxhippy; 06-01-2007 at 10:34 AM.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Hi.
Did you tried to use Audacity? This is the tool if you wanna create on big wav from many smaller wavs. Audacity has many functions, including direct export to mp3s. It uses lame to code, but only can create constant bitrate mp3s without id3 tags. Use EasyTag for tagging your mp3 files.
Your cat command might have worked, but you need to specify an output file, otherwise cat just spews whatever it's catting to standard output. So, this might have worked:
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Original Poster
Rep:
cat worked...I forgot the > bigfile.wav. I got a file that is equal in size to each smaller file. Unfortunately, when I play it with Amarok or xmms it will only play for ~ 12 minutes. That's the time length of the first small file. Why won't it play the entire file?
Hmmm. Probably because the audio program comes across some code in the merged wave file that it considers to be the end of a file, and so it stops playing it at that point, essentially ignoring everything thereafter.
Google showed me this page of audio tools, one of which (wavbreaker/wavmerge) seems fairly promising.
I'm sure that mencoder (part of mplayer) could do this too, I just don't know how.
This will work. In the above, the last file name will be the output file. I have used sox before in a similar situation. Bonus, sox is already part of slackware, so no need to find and compile stuff. Keeping it simple.
This will work. In the above, the last file name will be the output file. I have used sox before in a similar situation. Bonus, sox is already part of slackware, so no need to find and compile stuff. Keeping it simple.
This thread is 13 years old... What was the reason for bringing it back from the dead? All you did was confirm something someone else posted.
This thread might be old, but today, for the first time, I needed the kind of answers it contains.
And I suppose that's going to happen to someone, somewhere almost every day.
Stet
This thread might be old, but today, for the first time, I needed the kind of answers it contains.
And I suppose that's going to happen to someone, somewhere almost every day.
Stet
And those answers can be found without needing to comment and bring a thread back from the dead.
You had absolutely nothing to add to this discussion. You should've just found the benefit from what was in it, marked any threads as helpful that you saw fit, and moved on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.