Hi Marcel,

To convert a gate signal g to an impulsive trigger t, as expected by
en.are, you can say

 t = g-g'>0; // comparison to 0 not needed in this particular case

It would be straightforward to extend the logic of en.arfe for more
segments.

Cheers,
Julius

On Tue, Jul 21, 2020 at 5:54 AM Marcel Windys <marcel.win...@gmail.com>
wrote:

> Hi
>
> I would like to make an envelope for a percussive sound, but with
> exponential segments. Which envelope should I use? When I use en.are
> amplitude stays on the same level as long as trigger value is equal to one.
>
> Is there a way to make fully customizable envelopes in faust? With any
> number of segments and types of curves between them, like in SuperCollider?
>  https://doc.sccode.org/Classes/Env.html
>
> Best regards,
> Marcel
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>


-- 
"Anybody who knows all about nothing knows everything" -- Leonard Susskind
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to