Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data AudioParam = AudioParam AudioParamType Int
- data GainNode = GainNode {}
- data AudioContext = AudioContext
- data ChannelCountMode :: * where
- data AudioParamType
- data ChannelInterpretation
- data OscillatorNodeType
- data OscillatorNode = OscillatorNode {}
- class JSArg a => AudioNode a where
- class JSArg a where
- jsOscillatorNode :: OscillatorNode -> Text
- jsGainNode :: GainNode -> Text
- tshow :: Show a => a -> Text
Documentation
data AudioParam Source #
data AudioContext Source #
data ChannelCountMode :: * where Source #
How channels will be matched between connected inputs and output. Detailed description.
data AudioParamType Source #
Which type of AudioParam
data ChannelInterpretation Source #
data OscillatorNodeType Source #
data OscillatorNode Source #
OscillatorNode represents a periodic waveform with a frequency (in hertz), detuning (in cents), an OscillatorNodeType (e.g. a sine wave, square wave, etc.), etc.
OscillatorNode | |
|
Eq OscillatorNode Source # | |
Read OscillatorNode Source # | |
Show OscillatorNode Source # | |
JSArg OscillatorNode Source # | |
AudioNode OscillatorNode Source # | Instantizes OscillatorNode with the default values |
class JSArg a => AudioNode a where Source #
And AudioNode is an interface for any audio processing module in the Web Audio API
numberOfInputs :: a -> Int Source #
numberOfOutputs :: a -> Int Source #
channelCount :: a -> Int Source #
channelCountMode :: a -> ChannelCountMode Source #
channelInterpretation :: a -> ChannelInterpretation Source #
jsGainNode :: GainNode -> Text Source #