On Sun, May 16, 2010 at 12:49:06AM +0200, Renato wrote:
Did you find a workable solution?
You mention Ecasound. It is capable of trimming and fading.
This command-line example (not tested) snips 90 seconds of input.mp3
starting at 3 seconds, with a 1 second fade-in and 1 second
logarithmic fade-out to -128dB.
ecasound -i:select,3,90,input.mp3 \
The -eadb operator is a logarithmic
volume control (zero is 100%).
-klg is a linear-envelope controller that modulates the
previous volume operator. (man ecasound for details.)
Ecasound has an interactive mode as well, and is suitable
for recording from JACK.
Sox is a command-line application suited for trimming and fading.
Seeing a couple of posts asking about fades, I added this
feature to Nama, a multitrack audio production app based on
Ecasound. As a first implementation, it offers only a
logarithmic fade, available through the text interface.
For example, fade in the current track over one second
starting at mark1:
nama> fade in mark1 1
And fade out over 2 seconds, ending at mark2:
nama> fade out 2 mark2