Re: [linux-audio-dev] LADSPA hard_rt_capable

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] LADSPA hard_rt_capable
From: Kai Vehmanen (kaiv_AT_wakkanet.fi)
Date: Mon Dec 11 2000 - 21:40:57 EET


On Mon, 11 Dec 2000, Steve Harris wrote:

> (which I can do just by changing the chunk size, I think ecasound can do
> this). Its a bit more tricky for plugins that do parameter watching
> though.

Hmm, you could use ecasound's controllers for this. So something like:

ecasound -b:32 -t:5 -i somedata.wav -o /dev/dsp -eli:1191,1,1,1,0 -kl:3,0.5,100,5.0

That would play 5 seconds of somedata.wav applying your flanger plugin (id
1191), using a linear fade-in controller to control the lfo-freq (3rd
param), sliding from 0.5 to 100Hz during the 5 seconds. Hmm, and for more
useful stats, /dev/dsp should be replaced with 'null'. Here's some results
(dual-celeron 466):

###| ~/CVS |$ time ecasound -b:32 -t:5 -i /empty1/track04.wav -o null -eli:1191,1,1,1,0 -kl:3,0.5,100,5.0
[...]
17.63user 0.05system 0:17.69elapsed 99%

###| ~/CVS |$ time ecasound -b:4096 -t:5 -i /empty1/track04.wav -o null -eli:1191,1,1,1,0 -kl:3,0.5,100,5.0
[...]
0.71user 0.07system 0:00.78elapsed 99%CPU

For comparison, same test using the simple amplify effect:

###| ~/CVS |$ time ecasound -b:32 -t:5 -i /empty1/track04.wav -o null -ea:100 -kl:1,0.5,100,5.0
[...]
0.32user 0.02system 0:00.34elapsed 99%CPU

###| ~/CVS |$ time ecasound -b:4096 -t:5 -i /empty1/track04.wav -o null -ea:100 -kl:1,0.5,100,5.0
[...]
0.25user 0.06system 0:00.30elapsed 100%

... so as expected, it does have quite an effect. Btw; -b:x specifies the
block size in sample frames. This is also the parameter refresh-rate (yup,
the legendary "bad design" :)).

-- 
 . http://www.eca.cx ... [ audio software for linux ] /\ . 
 . http://www.eca.cx/sculpscape [ my armchair-tunes mp3/ra/wav ]


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Dec 11 2000 - 21:38:33 EET