The AudioProcessingEvent represents events that occur when a ScriptProcessorNode input buffer is ready to be processed. If you look into the various subdirectories under Samples you'll notice that there are many. The DynamicsCompressorNode interface provides a compression effect, which lowers the volume of the loudest parts of the signal in order to help prevent clipping and distortion that can occur when multiple sounds are played and multiplexed together at once. What we can do is add a very slow and very slight vibrato to our synth to emulate a similar effect. As we listen to the system for a while, it grows into an ear-shattering cacophony of melodies.
nest...