Subject: Re: [ecasound] Stringing files
From: Kai Vehmanen (k_AT_eca.cx)
Date: Wed Jan 16 2002 - 20:56:03 EET
On Tue, 8 Jan 2002, eric devost wrote:
> Ho do you string files with ecasound?
> (input:file1.mp3...fileN.mp3... output:Bigfile.mp3)
Actually this isn't very simple. You need to know the lengths of
individual files and then do:
ecasound -i file1.mp3 -o bigoutput.wav
ecasound -i file2.mp3 -o bigoutput.wav -y:100
ecasound -i file3.mp3 -o bigoutput.wav -y:110
and so on
where, in this case, 100 is the length of file1.mp3 in seconds, and 110
the length of file2.mp3.
Someone was thinking about writing a script to automate the above, but no
news since then.
And generally, reading from mp3s and writing to mp3s is not something you
want to do often as it involves a decode-encode cycle (-> degraded audio
quality). When editing audio data, it's better to use lossless formats
like wav, aif or raw. If you convert your data into a headerless, lossless
formats (like raw data - .raw), combining files becomes easy:
cat file1.raw file2.raw file3.raw >bigoutput.raw
Hope this helps.
-- http://www.eca.cx Audio software for Linux!
-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.
This archive was generated by hypermail 2b28 : Wed Jan 16 2002 - 20:46:35 EET