Csound Csound-dev Csound-tekno Search About

Re: Exponential envelopes decay

Date1999-01-21 00:25
FromRichard Dobson
SubjectRe: Exponential envelopes decay
(at the risk of betraying my ignorance of elementary maths...)
Perhaps a quick-n-dirty solution might be to square/cube etc the arate
output from the plain linseg to get a steeper slope, and sqrt to reduce
it? You would  not get to exactly a straight line (= exponent of 1), but
you could get pretty close. Actually I suppose that has to be a
slow-n-dirty solution...

Richard Dobson

Charlie Hubbard wrote:
> 
> Hans Mikelson wrote:
> 
> > >Is there any easier exponential envelope opcode?
> >
> > expseg
> 
> I would like something like expseg, but how would I
> control the curvature of the exponential envelope?
> For example, how could I specify a curve like this
> (excuse the ascii art)
> |
> |
> |
> (
>  \
>   \
>    ----------------
> 
> or
> 
> -----------\
>                \
>                 |
>                 |
>                 |
> 
> And somewhere in between these two curves is a straight line.
> Any ideas??
> 
> charlie

-- 
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd