As of recently Node.js supports the same (or similar) EventTarget as the browser. Since the Web Audio spec is also referring to the EventTarget in various places it might be worth considering to replace the current EventEmitter usage.
https://nodejs.org/dist/latest-v16.x/docs/api/events.html#eventtarget-and-event-api
As of recently Node.js supports the same (or similar)
EventTargetas the browser. Since the Web Audio spec is also referring to theEventTargetin various places it might be worth considering to replace the currentEventEmitterusage.https://nodejs.org/dist/latest-v16.x/docs/api/events.html#eventtarget-and-event-api