Safe Haskell | None |
---|---|
Language | Haskell2010 |
Web.Audio.JavaScript
- 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
Constructors
GainNode | |
Fields |
data ChannelCountMode :: * where Source #
How channels will be matched between connected inputs and output. Detailed description.
Constructors
Max :: ChannelCountMode | |
ClampedMax :: ChannelCountMode | |
Explicit :: ChannelCountMode |
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.
Constructors
OscillatorNode | |
Fields
|
Instances
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
Minimal complete definition
numberOfInputs, numberOfOutputs, channelCount, channelCountMode, channelInterpretation
Methods
numberOfInputs :: a -> Int Source #
numberOfOutputs :: a -> Int Source #
channelCount :: a -> Int Source #
channelCountMode :: a -> ChannelCountMode Source #
channelInterpretation :: a -> ChannelInterpretation Source #
Minimal complete definition
jsGainNode :: GainNode -> Text Source #