Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- start :: MonadDOM m => OscillatorNode -> Maybe Double -> m ()
- stop :: MonadDOM m => OscillatorNode -> Maybe Double -> m ()
- setPeriodicWave :: MonadDOM m => OscillatorNode -> Maybe PeriodicWave -> m ()
- pattern UNSCHEDULED_STATE :: forall a. (Eq a, Num a) => a
- pattern SCHEDULED_STATE :: forall a. (Eq a, Num a) => a
- pattern PLAYING_STATE :: forall a. (Eq a, Num a) => a
- pattern FINISHED_STATE :: forall a. (Eq a, Num a) => a
- setType :: MonadDOM m => OscillatorNode -> OscillatorType -> m ()
- getType :: MonadDOM m => OscillatorNode -> m OscillatorType
- getPlaybackState :: MonadDOM m => OscillatorNode -> m Word
- getFrequency :: MonadDOM m => OscillatorNode -> m AudioParam
- getDetune :: MonadDOM m => OscillatorNode -> m AudioParam
- ended :: EventName OscillatorNode Event
- newtype OscillatorNode = OscillatorNode {}
- gTypeOscillatorNode :: JSM GType
Documentation
setPeriodicWave :: MonadDOM m => OscillatorNode -> Maybe PeriodicWave -> m () Source #
pattern UNSCHEDULED_STATE :: forall a. (Eq a, Num a) => a Source #
pattern SCHEDULED_STATE :: forall a. (Eq a, Num a) => a Source #
pattern PLAYING_STATE :: forall a. (Eq a, Num a) => a Source #
pattern FINISHED_STATE :: forall a. (Eq a, Num a) => a Source #
setType :: MonadDOM m => OscillatorNode -> OscillatorType -> m () Source #
getType :: MonadDOM m => OscillatorNode -> m OscillatorType Source #
getPlaybackState :: MonadDOM m => OscillatorNode -> m Word Source #
getFrequency :: MonadDOM m => OscillatorNode -> m AudioParam Source #
getDetune :: MonadDOM m => OscillatorNode -> m AudioParam Source #
newtype OscillatorNode Source #
Functions for this inteface are in JSDOM.OscillatorNode. Base interface functions are in:
Instances
PToJSVal OscillatorNode Source # | |
Defined in JSDOM.Types pToJSVal :: OscillatorNode -> JSVal # | |
PFromJSVal OscillatorNode Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> OscillatorNode # | |
ToJSVal OscillatorNode Source # | |
Defined in JSDOM.Types toJSVal :: OscillatorNode -> JSM JSVal # toJSValListOf :: [OscillatorNode] -> JSM JSVal # | |
FromJSVal OscillatorNode Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe OscillatorNode) # fromJSValUnchecked :: JSVal -> JSM OscillatorNode # fromJSValListOf :: JSVal -> JSM (Maybe [OscillatorNode]) # fromJSValUncheckedListOf :: JSVal -> JSM [OscillatorNode] # | |
MakeObject OscillatorNode Source # | |
Defined in JSDOM.Types makeObject :: OscillatorNode -> JSM Object # | |
IsEventTarget OscillatorNode Source # | |
Defined in JSDOM.Types | |
IsAudioNode OscillatorNode Source # | |
Defined in JSDOM.Types | |
IsGObject OscillatorNode Source # | |
Defined in JSDOM.Types typeGType :: OscillatorNode -> JSM GType |