Subject: Re: [ecasound] new controller: -klg
From: S. Massy (theanaloguekid@tak.net.dhis.org)
Date: Sun May 06 2001 - 19:49:16 EEST
On Wed, 25 Apr 2001, Kai Vehmanen wrote:
> Arto Hamara just submitted a new controller source type: -klg, a generic
> linear envelope. I've committed this right away to the CVS-tree (version
> now 1.9dev7). Arto, feel free to correct me if I've misunderstood some
> part of your code.
A very cool controller, however it seems to behave quite strangely, or is it
that I have misunderstood the manpage?
command:
$ ecasound -i:test.wav -o:/dev/dsp -ea:0 -klg:1,0,100,4,0,0,10,1,25,1,35,0 -c
ctrl-status:
- [ Controller status ] ----------------------------------------------------
Chain "default":
1. Generic linear envelope:
[1] param-id 1.00,
[2] range-low 0.00,
[3] range-high 100.00,
[4] point_count 8.00,
[5] pos 0.00,
[6] val 0.00,
[7] pos 1.00,
[8] val 1.00,
[9] pos 1.00,
[10] val 1.00,
[11] pos 0.00,
[12] va 0.00
Despite the funny parameters shown it still behaves as expected: fades in for
ten seconds, remains still for fifteen seconds and then fades out during ten
seconds...
In adition, it rings the terminal bell when I use klg, go figure.......
Any idea what might be going on here?
>
> --
> man-page entry:
>
> "dit(-klg:fx-param,start-value,end-value,point_count,pos1,value1,...,posN,valueN)
> Generic linear envelope. This controller source can be
> used to map custom envelopes to chain operator parameters.
> All 'posX' parameters are given as seconds (from start of the stream).
> 'valueX' parameters must be in the range [0,1]."
>
> --
> example of use:
>
> dit(-klg:fx-param,start-value,end-value,point_count,pos1,value1,...,posN,valueN)
> Generic linear envelope. This controller source can be
> used to map custom envelopes to chain operator parameters.
> All 'posX' parameters are given as seconds (from start of the stream).
> 'valueX' parameters must be in the range [0,1].
>
> ecasound -i /empty1/smile.mp3 -o /dev/dsp -efl:2000 -klg:1,200,4000,3,0,0.75,5,0.1,10,0.25
>
> - -klg control the lowpass filter
> - cutoff-freq varies between 200-4000Hz
> - -klg has three pos-val pairs
> - envelope points at 0.0sec, 5.0sec and 10.0sec
>
> Seems to work without problems! Thanks go to Arto, great work!
>
> --
> http://www.eca.cx
> Audio software for Linux!
>
> --
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request@wakkanet.fi>.
>
-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request@wakkanet.fi>.
This archive was generated by hypermail 2b28 : Sun May 06 2001 - 19:49:48 EEST