Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newAudioContext :: MonadDOM m => m AudioContext
- suspend :: (MonadDOM m, IsAudioContext self) => self -> m ()
- resume :: (MonadDOM m, IsAudioContext self) => self -> m ()
- close :: (MonadDOM m, IsAudioContext self) => self -> m ()
- createBuffer :: (MonadDOM m, IsAudioContext self) => self -> Word -> Word -> Float -> m AudioBuffer
- createBuffer_ :: (MonadDOM m, IsAudioContext self) => self -> Word -> Word -> Float -> m ()
- createBufferFromArrayBuffer :: (MonadDOM m, IsAudioContext self, IsArrayBuffer buffer) => self -> buffer -> Bool -> m AudioBuffer
- createBufferFromArrayBuffer_ :: (MonadDOM m, IsAudioContext self, IsArrayBuffer buffer) => self -> buffer -> Bool -> m ()
- decodeAudioData :: (MonadDOM m, IsAudioContext self, IsArrayBuffer audioData) => self -> audioData -> Maybe AudioBufferCallback -> Maybe AudioBufferCallback -> m ()
- createBufferSource :: (MonadDOM m, IsAudioContext self) => self -> m AudioBufferSourceNode
- createBufferSource_ :: (MonadDOM m, IsAudioContext self) => self -> m ()
- createMediaElementSource :: (MonadDOM m, IsAudioContext self, IsHTMLMediaElement mediaElement) => self -> mediaElement -> m MediaElementAudioSourceNode
- createMediaElementSource_ :: (MonadDOM m, IsAudioContext self, IsHTMLMediaElement mediaElement) => self -> mediaElement -> m ()
- createMediaStreamSource :: (MonadDOM m, IsAudioContext self) => self -> MediaStream -> m MediaStreamAudioSourceNode
- createMediaStreamSource_ :: (MonadDOM m, IsAudioContext self) => self -> MediaStream -> m ()
- createMediaStreamDestination :: (MonadDOM m, IsAudioContext self) => self -> m MediaStreamAudioDestinationNode
- createMediaStreamDestination_ :: (MonadDOM m, IsAudioContext self) => self -> m ()
- createGain :: (MonadDOM m, IsAudioContext self) => self -> m GainNode
- createGain_ :: (MonadDOM m, IsAudioContext self) => self -> m ()
- createDelay :: (MonadDOM m, IsAudioContext self) => self -> Maybe Double -> m DelayNode
- createDelay_ :: (MonadDOM m, IsAudioContext self) => self -> Maybe Double -> m ()
- createBiquadFilter :: (MonadDOM m, IsAudioContext self) => self -> m BiquadFilterNode
- createBiquadFilter_ :: (MonadDOM m, IsAudioContext self) => self -> m ()
- createWaveShaper :: (MonadDOM m, IsAudioContext self) => self -> m WaveShaperNode
- createWaveShaper_ :: (MonadDOM m, IsAudioContext self) => self -> m ()
- createPanner :: (MonadDOM m, IsAudioContext self) => self -> m PannerNode
- createPanner_ :: (MonadDOM m, IsAudioContext self) => self -> m ()
- createConvolver :: (MonadDOM m, IsAudioContext self) => self -> m ConvolverNode
- createConvolver_ :: (MonadDOM m, IsAudioContext self) => self -> m ()
- createDynamicsCompressor :: (MonadDOM m, IsAudioContext self) => self -> m DynamicsCompressorNode
- createDynamicsCompressor_ :: (MonadDOM m, IsAudioContext self) => self -> m ()
- createAnalyser :: (MonadDOM m, IsAudioContext self) => self -> m AnalyserNode
- createAnalyser_ :: (MonadDOM m, IsAudioContext self) => self -> m ()
- createScriptProcessor :: (MonadDOM m, IsAudioContext self) => self -> Word -> Maybe Word -> Maybe Word -> m ScriptProcessorNode
- createScriptProcessor_ :: (MonadDOM m, IsAudioContext self) => self -> Word -> Maybe Word -> Maybe Word -> m ()
- createOscillator :: (MonadDOM m, IsAudioContext self) => self -> m OscillatorNode
- createOscillator_ :: (MonadDOM m, IsAudioContext self) => self -> m ()
- createPeriodicWave :: (MonadDOM m, IsAudioContext self, IsFloat32Array real, IsFloat32Array imag) => self -> real -> imag -> m PeriodicWave
- createPeriodicWave_ :: (MonadDOM m, IsAudioContext self, IsFloat32Array real, IsFloat32Array imag) => self -> real -> imag -> m ()
- createChannelSplitter :: (MonadDOM m, IsAudioContext self) => self -> Maybe Word -> m ChannelSplitterNode
- createChannelSplitter_ :: (MonadDOM m, IsAudioContext self) => self -> Maybe Word -> m ()
- createChannelMerger :: (MonadDOM m, IsAudioContext self) => self -> Maybe Word -> m ChannelMergerNode
- createChannelMerger_ :: (MonadDOM m, IsAudioContext self) => self -> Maybe Word -> m ()
- startRendering :: (MonadDOM m, IsAudioContext self) => self -> m ()
- getDestination :: (MonadDOM m, IsAudioContext self) => self -> m AudioDestinationNode
- getCurrentTime :: (MonadDOM m, IsAudioContext self) => self -> m Double
- getSampleRate :: (MonadDOM m, IsAudioContext self) => self -> m Float
- getListener :: (MonadDOM m, IsAudioContext self) => self -> m AudioListener
- getState :: (MonadDOM m, IsAudioContext self) => self -> m AudioContextState
- statechange :: (IsAudioContext self, IsEventTarget self) => EventName self onstatechange
- getActiveSourceCount :: (MonadDOM m, IsAudioContext self) => self -> m Word
- complete :: (IsAudioContext self, IsEventTarget self) => EventName self OfflineAudioCompletionEvent
- newtype AudioContext = AudioContext {}
- gTypeAudioContext :: JSM GType
- class (IsEventTarget o, IsGObject o) => IsAudioContext o
- toAudioContext :: IsAudioContext o => o -> AudioContext
Documentation
suspend :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
resume :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
close :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
createBuffer :: (MonadDOM m, IsAudioContext self) => self -> Word -> Word -> Float -> m AudioBuffer Source #
createBuffer_ :: (MonadDOM m, IsAudioContext self) => self -> Word -> Word -> Float -> m () Source #
createBufferFromArrayBuffer :: (MonadDOM m, IsAudioContext self, IsArrayBuffer buffer) => self -> buffer -> Bool -> m AudioBuffer Source #
createBufferFromArrayBuffer_ :: (MonadDOM m, IsAudioContext self, IsArrayBuffer buffer) => self -> buffer -> Bool -> m () Source #
decodeAudioData :: (MonadDOM m, IsAudioContext self, IsArrayBuffer audioData) => self -> audioData -> Maybe AudioBufferCallback -> Maybe AudioBufferCallback -> m () Source #
createBufferSource :: (MonadDOM m, IsAudioContext self) => self -> m AudioBufferSourceNode Source #
createBufferSource_ :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
createMediaElementSource :: (MonadDOM m, IsAudioContext self, IsHTMLMediaElement mediaElement) => self -> mediaElement -> m MediaElementAudioSourceNode Source #
createMediaElementSource_ :: (MonadDOM m, IsAudioContext self, IsHTMLMediaElement mediaElement) => self -> mediaElement -> m () Source #
createMediaStreamSource :: (MonadDOM m, IsAudioContext self) => self -> MediaStream -> m MediaStreamAudioSourceNode Source #
createMediaStreamSource_ :: (MonadDOM m, IsAudioContext self) => self -> MediaStream -> m () Source #
createMediaStreamDestination :: (MonadDOM m, IsAudioContext self) => self -> m MediaStreamAudioDestinationNode Source #
createMediaStreamDestination_ :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
createGain :: (MonadDOM m, IsAudioContext self) => self -> m GainNode Source #
createGain_ :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
createDelay :: (MonadDOM m, IsAudioContext self) => self -> Maybe Double -> m DelayNode Source #
createDelay_ :: (MonadDOM m, IsAudioContext self) => self -> Maybe Double -> m () Source #
createBiquadFilter :: (MonadDOM m, IsAudioContext self) => self -> m BiquadFilterNode Source #
createBiquadFilter_ :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
createWaveShaper :: (MonadDOM m, IsAudioContext self) => self -> m WaveShaperNode Source #
createWaveShaper_ :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
createPanner :: (MonadDOM m, IsAudioContext self) => self -> m PannerNode Source #
createPanner_ :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
createConvolver :: (MonadDOM m, IsAudioContext self) => self -> m ConvolverNode Source #
createConvolver_ :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
createDynamicsCompressor :: (MonadDOM m, IsAudioContext self) => self -> m DynamicsCompressorNode Source #
createDynamicsCompressor_ :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
createAnalyser :: (MonadDOM m, IsAudioContext self) => self -> m AnalyserNode Source #
createAnalyser_ :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
createScriptProcessor :: (MonadDOM m, IsAudioContext self) => self -> Word -> Maybe Word -> Maybe Word -> m ScriptProcessorNode Source #
createScriptProcessor_ :: (MonadDOM m, IsAudioContext self) => self -> Word -> Maybe Word -> Maybe Word -> m () Source #
createOscillator :: (MonadDOM m, IsAudioContext self) => self -> m OscillatorNode Source #
createOscillator_ :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
createPeriodicWave :: (MonadDOM m, IsAudioContext self, IsFloat32Array real, IsFloat32Array imag) => self -> real -> imag -> m PeriodicWave Source #
createPeriodicWave_ :: (MonadDOM m, IsAudioContext self, IsFloat32Array real, IsFloat32Array imag) => self -> real -> imag -> m () Source #
createChannelSplitter :: (MonadDOM m, IsAudioContext self) => self -> Maybe Word -> m ChannelSplitterNode Source #
createChannelSplitter_ :: (MonadDOM m, IsAudioContext self) => self -> Maybe Word -> m () Source #
createChannelMerger :: (MonadDOM m, IsAudioContext self) => self -> Maybe Word -> m ChannelMergerNode Source #
createChannelMerger_ :: (MonadDOM m, IsAudioContext self) => self -> Maybe Word -> m () Source #
startRendering :: (MonadDOM m, IsAudioContext self) => self -> m () Source #
getDestination :: (MonadDOM m, IsAudioContext self) => self -> m AudioDestinationNode Source #
getCurrentTime :: (MonadDOM m, IsAudioContext self) => self -> m Double Source #
getSampleRate :: (MonadDOM m, IsAudioContext self) => self -> m Float Source #
getListener :: (MonadDOM m, IsAudioContext self) => self -> m AudioListener Source #
getState :: (MonadDOM m, IsAudioContext self) => self -> m AudioContextState Source #
statechange :: (IsAudioContext self, IsEventTarget self) => EventName self onstatechange Source #
getActiveSourceCount :: (MonadDOM m, IsAudioContext self) => self -> m Word Source #
complete :: (IsAudioContext self, IsEventTarget self) => EventName self OfflineAudioCompletionEvent Source #
newtype AudioContext Source #
Functions for this inteface are in JSDOM.AudioContext. Base interface functions are in:
class (IsEventTarget o, IsGObject o) => IsAudioContext o Source #
toAudioContext :: IsAudioContext o => o -> AudioContext Source #