Events
All events are being dispatched from Audio App Kit to the window object. In order to listen for events, an event listener needs to be created. Each event is of typeCustomEvent and it contains the payload within event.detail property.
CustomEvent and it contains the payload within event.detail property.