[ecasound] 1.7.x features: chain loops, controllers, etc

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: [ecasound] 1.7.x features: chain loops, controllers, etc
From: Kai Vehmanen (kaiv@wakkanet.fi)
Date: Wed Feb 09 2000 - 20:35:48 EET

Here's a few new features of 1.7.x (already in CVS):

two-stage linear envelope

ecasound -i file.wav -o file.wav -ea:100 -kl2:1,100,0,10,2,100

This adds a fade-out, which starts from 10.00s and lasts for 2.00s. The last parameter is so-called mid-point-%.

And another example:

ecasound -i file.wav -o file.wav -ea:100 -kl2:1,100,0,10,2,50

First fade-outs to half amplitude during 10.00s, and then a quicker fade-out to silence during the last two 2.00s.

--- controlling controllers ---

Normally when you add a controller, you're controlling the last specified chain operator. Now you can also control other controllers by specifying '-kx'. Let's take an example:

ecasound -i file.wav -o /dev/dsp -ea:100 -kos:1,0,100,0.5,0

Control amplify effect with a 0.5Hz sine oscillator.

ecasound -i file.wav -o /dev/dsp -ea:100 -kos:1,0,100,0.5,0 -kx -kos:4,0.1,5,0.5,0

Same as before, but now another 0.5Hz sine oscillator is controlling the frequency of the first oscillator.

ecasound -i file.wav -o /dev/dsp -ef3:1000,1.0,1.0 -kos:1,500,2000,1,0 \ -kos:2,0.2,1.0,0.5,0 \ -kx -km:1,0.1,1.5,74,0

Ok, let's get real whacky. :) Here a 1Hz sine oscillator is assigned to the cutoff frequency, while other controller is controlling resonance. Now we add a MIDI-controller that controls the second sine oscillator.

--- chain looping ---

Loop devices make it possible to route data between chains. Option syntax is "-[io][:]loop,id_number". If you add a loop output with id '1', all data written to this output is routed to all loop inputs with id '1'. You can attach the same loop device to multiple inputs and outputs.

ecasound -a:1 -i file1.wav -o loop,1 -efl:400 \ -a:2 -i file2.wav -o loop,1 -efh:400 \ -a:3 -i cloop,1 -o /dev/dsp -ev

-- Kai Vehmanen <kaiv@wakkanet.fi> -------- CS, University of Turku, Finland . http://www.wakkanet.fi/ecasound/ - linux multitrack audio processing . http://www.wakkanet.fi/sculpscape/ - ambient-idm-rock-... mp3/ra/wav

New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2a24 : Wed Feb 09 2000 - 21:10:57 EET