Sound-recording utilities:
- Xsox: (http://win2linux.net/xsox.html)
- Krec (part of KDE Multimedia): http://docs.kde.org/en/3.1/kdemultimedia/krec/
Sound-editing utilities:
- Audacity
- Maaate / Bewdy
- sox
- Mpcut by Warren Toomey
- mp3cut by Christian Wolff
- poc-streamer by Manuel Odendahl and Florian Wesch is a suite of sound-file utilities that includes a different "mp3cut": Their "mp3cut" can split and concatenate MP3 files according to time slices given on the command line. "mp3cue" can cut a big MP3 file according to a tracklisting contained in a .cue file. The eponymous "poc" utilities stream MP3s over HTTP, RTP (RFC 2250 and RFC 3119), and a special package-loss-tolerant protocol, "FEC".
- Cinelarra
- Mp3Splt
- More at: http://www.linuxlinks.com/Software/Multimedia/MP3/Tools/Processing/, http://www.linuxlinks.com/Software/Multimedia/, etc.
From: John Gay (johngay@eircom.net)
To: ilug@linux.ie
Subject: [ILUG] How to 'cut' a .wav file?
X-Mailer: KMail [version 1.3.2]
Date: Sat, 23 Nov 2002 16:03:27 +0000
I've got a selection of .wav files that consist of every British Beatles album plus several of their singles. The files are in a reduced M$ format but after a bit of searching I found that play and sox handles them just fine.
The problem I have now is, each file is an entire album. I can use sox to convert these to CD format, but then I end up with a single track containing the entire album, not seperate tracks. Also, when I want to listen to a particular song, I have to listen to the entire album again.
I've read the sox and play man pages extensively but can not find any way to control the start or stop time. Does anyone know of a way I could split these files into seperate files?
Cheers,
John Gay
From: "Stephane Dudzinski" (stephane.dudzinski@newworldiq.com)
To: ilug@linux.ie
Subject: Re: [ILUG] How to 'cut' a .wav file?
X-Mailer: SquirrelMail (version 1.2.8)
Date: Sat, 23 Nov 2002 16:23:45 -0000 (GMT)
If you're just looking to seek into a big wav file, mplayer will do it
fine for you. If you are really looking into splitting wav files, you
could go for Cinelarra (which is a b*** to compile) :
http://heroinewarrior.com/cinelerra.php3
(it does audio as well just fine)
Any other project to cut and edit wav file is welcome.
Steph
From: "Stephane Dudzinski" (stephane.dudzinski@newworldiq.com)
To: ilug@linux.ie
Subject: Re: [ILUG] How to 'cut' a .wav file?
X-Mailer: SquirrelMail (version 1.2.8)
Date: Sat, 23 Nov 2002 16:27:37 -0000 (GMT)
> Any other project to cut and edit wav file is welcome.
Actually forgot to mention the excellent audacity project
:
http://audacity.sourceforge.net
From: John Gay (johngay@eircom.net)
To: ilug@linux.ie
Subject: Re: [ILUG] How to 'cut' a .wav file? Solved, sort of.
X-Mailer: KMail [version 1.3.2]
Date: Mon, 25 Nov 2002 15:28:55 +0000
Even though I printed out and read both the sox and soxexam man pages several times, I missed the trim effect, as kindly pointed out by drew@moil.demon.co.uk
I guess it was a matter of not seeing the forest for the trees.
Armed with this info, I was able to create my First CD! But it was a rather long and tedious process:
Create a sub-dir to put the seperate songs into. I named it revolver, the album I was cutting.
Use sox to cut each song from each other. sox has a rather unusual format since it can perform formatting on either the input or output file as well as apply effects. Also, the .wav files I'm using are somewhat unconventional, since one CD held every Beatles album.
johngay@debian:~$ file
.REV.WAV
REV.WAV: RIFF (little-endian) data, WAVE audio, Microsoft ADPCM,
stereo
22050Hz
johngay@debian:~$
So, I had to read the REV.WAV file, convert it to 44100Hz and output the result to revolver/01_taxman.wav and finally apply the trim effect to get the one song. This translates to:
sox REV.WAV -r 44100 revolver/01_taxman.wav trim 0 3:00.0
The trim values are starttime|lengh in either samples or time in mm:ss.s format, so this says start at the beginning( 0 ), and cut after 3 minutes. Of course I then had to play the results and adjust as necessary.
I then repeated this, changing the values for the trim effect for each song. Once I had the songs seperated, it should have been a simple matter of feeding the new .wav's to cdrecord, as cdrecord can automatically convert .wav's, once htey are the right sample rate, I.E. 44100Hz, but it seems the M$ format was missing some valuable header info and cdrecord could not handle the files, even though they were the right sample rate. Yes, I know that the .cdr format also has some strange padding, but sox is supposed to allow for that. So I needed to then convert the seperate songs to cdr format instead before feeding the lot to cdrecord:
cdrecord -v speed=4 dev=0,0,0 -audio *.cdr
And presto! I now have Revolver on CD!
Unfortunately, due to the strange M$ formatting of these .wav's, no other package seems to recognise these files, only sox. At least for the next one I know to output directly to cdr format instead.
Thanks to everyone for their suggestions. Now if I could just get sox to recognise the blank spots automatically.
Cheers,
John Gay
Date: Tue, 19 Dec 2006 18:19:07 -0800
From: Marc MERLIN (marc_news@merlins.org)
To: linux-elitists@zgp.org
Subject: [linux-elitists] linux graphical lossless mp3 cutter?
I've been trying to find a better mp3 cutter, which would basically allow me to cut out pieces of an mp3 (commercial or whatever) without decoding/reencoding the entire file.
Basically, the only one I've found is mpcut: http://minnie.tuhs.org/Programs/Mpcut/
Unfortunately, it's very old, clunky, breaks with id3v2 tags, and has other interface quirks that make it hard to use.
Is there another option you know about and that you have used? Actually, I would almost even settle for a simple Windows GUI app that works under WINE/Crossover
BTW, another way is to do this:
1) use xmms to find the cut points
2) i=Armin\ van\ Buuren\ -\ A\ State\ of\ Trance\ 100\ 050603.mp3;
mp3cut -o new.mp3 -t 0:2-55:35 "$i" -t 60:00-118:07 "$i" -t
121:32-178:40 "$i" -t 182:18-239:04 "$i" -t 242:38-295:39 "$i"
with mp3cut from apt-get install poc-streamer
but that's pretty tedious to do :)
Thanks,
Marc
[RM comments: Marc originally asked this question on the
svlug@lists.svlug.org mailing list. Convoluted discussion had some
suggesting that it's necessary to decode, snip, then re-encode to avoid
the problems of accidentally missing MP3 frame boundaries, and others
alleging that any decent MP3-chopper should automatically recompute a
new frame boundary using a built-in "synch mechanism", if you happen to
slice other than on an existing frame boundary.]
Date: Thu, 21 Dec 2006 12:34:17 +1100
From: Jeff Waugh (jdub@perkypants.org)
To: linux-elitists@zgp.org
Subject: Re: [linux-elitists] linux graphical lossless mp3 cutter?
Maaate!
http://www.cmis.csiro.au/maaate/
Bewdy.
- Jeff