This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19977 - A NoiseGate/Expander node would be a good addition to the API.
Summary: A NoiseGate/Expander node would be a good addition to the API.
Status: CLOSED WONTFIX
Alias: None
Product: AudioWG
Classification: Unclassified
Component: Web Audio API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: TBD
Assignee: Chris Rogers
QA Contact: public-audio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-16 00:20 UTC by Chris Wilson
Modified: 2014-10-28 17:17 UTC (History)
2 users (show)

See Also:


Attachments

Description Chris Wilson 2012-11-16 00:20:11 UTC
One of the few node types I've been sorely missing, that could be implemented in JS but with needless latency, is a noise gate/expander node.

Would need standard noise gate controls: threshold, attack, release, hold, and possibly an attenuation setting, maybe even hysteresis control.  Additionally, an AudioNode output of the attenuation would be very helpful for doing sidechain gating.
Comment 1 Chris Lowis 2012-11-16 10:53:48 UTC
This is also captured in section 2.4 in the Use Cases document:

http://dvcs.w3.org/hg/audio/raw-file/tip/reqs/Overview.html#online-radio-broadcast
Comment 2 Jussi Kalliokoski 2012-11-16 12:36:41 UTC
I wonder if this could be achieved by piping the input into a waveshaper node (0 under the threshold, 1 when threshold is reached) and piping that into a gain node's gain param and then somehow devising the attack and release, maybe with a dynamics compressor node. :)
Comment 3 Olivier Thereaux 2014-10-28 17:14:39 UTC
Web Audio API issues have been migrated to Github. 
See https://github.com/WebAudio/web-audio-api/issues
Comment 4 Olivier Thereaux 2014-10-28 17:17:37 UTC
Closing. See https://github.com/WebAudio/web-audio-api/issues for up to date list of issues for the Web Audio API.