Tonejs / Tone.js

A Web Audio framework for making interactive music in the browser.
https://tonejs.github.io
MIT License
13.52k stars 983 forks source link

How to use a generated pulse (or other Signal) as the trigger for an amplitude envelope? #1011

Closed gamecubate closed 2 years ago

gamecubate commented 2 years ago

I have a variable frequency pulse generator and want to use its output (the pulse) as a trigger to an amplitude envelope connected to another signal. Can this be done?

tambien commented 2 years ago

Unfortunately this can't be done with any of the existing components – Tone.Envelope does not have a signal input for triggering attack/release.