linux上でmp3をjoinする方法
linuxコマンドライン上でmp3をくっるける方法を探して色々と見つかったけれども。
mp3wrap
Mp3Wrap Project Homepage
使い方は下記の通り
Mp3Wrap Version 0.5 (2003/Jan/16). See README and COPYING for more! Written and copyrights by Matteo Trotta - <matteo.trotta@lib.unimib.it> THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! HELP INFORMATION - type "man mp3wrap" to see complete documentation USAGE mp3wrap [options] OUTPUTFILE MP3FILE1 MP3FILE2 [MP3FILE3]... DESCRIPTION Mp3Wrap joins two or more mp3 files in one large playable mp3 without losing filename and ID3 informations. You will obtain a file named OUTPUTFILE_MP3WRAP.mp3. Do not remove the MP3WRAP string because it's useful to let split program to detect that file is wrapped with this utility. TO SPLIT FILE USE Mp3Splt: http://mp3splt.sourceforge.net OPTIONS -a Add the specified files to an existing wrap file -l List files wrapped in OUTPUTFILE. (-lv for complete infos) -v Verbose mode. Will display additional informations. EXAMPLES mp3wrap album.mp3 01.mp3 02.mp3 03.mp3 04.mp3 mp3wrap -a album_MP3WRAP.mp3 ACDC*.mp3
mp3ファイルを単純にくっつけるだけです。
これをやってて思ったけれども
audio1.mp3 audio2.mp3 を new.mp3にする際に
cat audio*.mp3 >> new.mp3
で出来るじゃないかと単純に思ったわけです。できますね。
ただしサンプリングレートなど同一じゃないとダメですね。おそらく(試してないです)。mp3join/mp3catなどではなくmp3mergeとかmp3mixとか無いものでしょうか。