onAudioProcess property

Stream<AudioProcessingEvent> onAudioProcess

Get a Stream that fires events when AudioProcessingEvents occur. This particular stream is special in that it only allows one listener to a given stream. Converting the returned Stream asBroadcast will likely ruin the soft-real-time properties which which these events are fired and can be processed.

Source

@DomName('ScriptProcessorNode.onaudioprocess')
  @DocsEditable()
  @Experimental() // untriaged
  Stream<AudioProcessingEvent> get onAudioProcess =>
      audioProcessEvent.forTarget(this);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-web_audio/ScriptProcessorNode/onAudioProcess.html