- From: Ray Bellis <ray@bellis.me.uk>
- Date: Fri, 11 Jan 2013 20:58:56 +0000
- To: Chris Rogers <crogers@google.com>
- CC: Chris Wilson <cwilso@google.com>, Robert O'Callahan <robert@ocallahan.org>, Yotam Mann <matoyotambien@gmail.com>, "public-audio@w3.org" <public-audio@w3.org>
On 11/01/2013 20:47, Chris Rogers wrote: > If you're talking about an RC circuit then it has a particular > time-constant. So you can use setTargetAtTime() with the time-constant. > This is basically the same as charging/discharging a capacitor... That's part of what's needed. The other is that the developer still needs to be able to figure out when the attack ramp will finish according to the formula that function uses (and based on the initial EG value) so that he can schedule the decay phase. If that's not done, the EG will sit at peak value for a short while before the decay starts. Ray
Received on Friday, 11 January 2013 20:59:22 UTC