Module
Audio.WebAudio.Oscillator
- Package
- purescript-webaudio
- Repository
- adkelley/purescript-webaudio
#OscillatorType Source
#frequency Source
frequency :: OscillatorNode -> Effect AudioParam
The frequency of oscillation in hertz (Hz).
#detune Source
detune :: OscillatorNode -> Effect AudioParam
The frequency of oscillation in cents (1/100 of a semitone). This is usually more appropriate for music applications.
#setFrequency Source
setFrequency :: Number -> OscillatorNode -> Effect Unit
#startOscillator Source
startOscillator :: Number -> OscillatorNode -> Effect Unit
Start playing the oscillator.
#stopOscillator Source
stopOscillator :: Number -> OscillatorNode -> Effect Unit
Stop playing the oscillator.
- Modules
- Audio.
WebAudio. AnalyserNode - Audio.
WebAudio. AudioBufferSourceNode - Audio.
WebAudio. AudioContext - Audio.
WebAudio. AudioParam - Audio.
WebAudio. BaseAudioContext - Audio.
WebAudio. BiquadFilterNode - Audio.
WebAudio. ConvolverNode - Audio.
WebAudio. DelayNode - Audio.
WebAudio. DestinationNode - Audio.
WebAudio. DynamicsCompressorNode - Audio.
WebAudio. GainNode - Audio.
WebAudio. MediaElementAudioSourceNode - Audio.
WebAudio. Oscillator - Audio.
WebAudio. StereoPannerNode - Audio.
WebAudio. Types - Audio.
WebAudio. Utils