Module

Audio.WebAudio.Oscillator

Package
purescript-webaudio
Repository
adkelley/purescript-webaudio

#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.

#startOscillator Source

startOscillator :: Number -> OscillatorNode -> Effect Unit

Start playing the oscillator.

#stopOscillator Source

stopOscillator :: Number -> OscillatorNode -> Effect Unit

Stop playing the oscillator.