Re: [ecasound] a MIDI problem

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

Subject: Re: [ecasound] a MIDI problem
From: Kai Vehmanen (
Date: Sun Aug 20 2000 - 10:47:02 EEST

On Sat, 19 Aug 2000, Dave Phillips wrote:

>> Hmm, are you using ALSA in native mode or via OSS-emulation? There have
> I assumed ecasound simply utilized ALSA in native mode, but when I
> checked .ecasoundrc I found /dev/midi instead of /dev/snd/midiC0D0 so I

And this might change in 1.8.x as I'm going to add plugin-based
MIDI-support. I haven't had the time to think about the details, but it is
something that must be done (ALSA pcm-support is already plugin-based).

> made the substitution. The problem no longer occurs, but the effect in
> the example is rather subtle or I'm not doing something else correctly.
> Kai, can you whip up something I could try that would create a more
> dramatic effect ? I'll try hacking something together here too, but my

Here's the original:

ecasound -i tant_mabellis.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,2,0

Hmm, I should have noticed this earlier... the above example works, but is
probably not what you wanted. Let's take something simpler:

ecasound -i tant_mabellis.wav -o /dev/dsp -ef3:1000,1.0,1.0 -km:1,200,1500,2,0

Here you can control the cutoff frequency of the resonant lowpass filter
with your MIDI-controller (controller 2, channel 0). The control range is
from 200Hz to 1500Hz. Let's add complexity:

ecasound -i tant_mabellis.wav -o /dev/dsp -ef3:1000,1.0,1.0 -kos:1,200,1500,0.5,0 -kx -km:4,0.01,2,2,0

Now the cutoff frequency is controlled by a sine oscillator. The '-kx'
option means (not very elegant, I know) that instead of the last specified
effect (lowpass filter in this case), the new target is the last specified
controller (sine oscillator). So the result is that now your
MIDI-controller is connected to the sine oscillator. You can set the
oscillator frequency with your MIDI-cc, range is from 0.01Hz to 2Hz.

 . ... [ audio software for linux ] /\ . 
 . ... [ aivastus net radio ] /\ . 
 . [ my armchair-tunes mp3/ra/wav ]

-- To unsubscribe send message 'unsubscribe' in the body of the message to <>.

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

This archive was generated by hypermail 2b28 : Sun Aug 20 2000 - 12:41:27 EEST