Module

Audio.WebAudio.AudioContext

Package
purescript-webaudio
Repository
adkelley/purescript-webaudio

#createMediaElementSource Source

createMediaElementSource :: forall elt. AudioContext -> elt -> Effect MediaElementAudioSourceNode

Creates a MediaElementAudioSourceNode given an HTMLMediaElement. As a consequence of calling this method, audio playback from the HTMLMediaElement will be re-routed into the processing graph of the AudioContext.