Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Command :: * where
- Start :: OscillatorNode -> Command
- StartWhen :: OscillatorNode -> Double -> Command
- Stop :: OscillatorNode -> Command
- StopWhen :: OscillatorNode -> Double -> Command
- Connect :: AudioGraph AudNode b -> Command
- Disconnect :: AudioNode a => a -> Command
- DisconnectOutput :: AudioNode a => a -> Int -> Command
- DisconnectOutputInput :: AudioNode a => a -> a -> Int -> Int -> Command
- DisconnectDestNode :: AudioNode a => a -> a -> Command
- DisconnectDestNodeSpec :: AudioNode a => a -> a -> Int -> Command
- DisconnectDestParam :: AudioNode a => a -> AudioParam -> Command
- DisconnectDestParamSpec :: AudioNode a => a -> AudioParam -> Int -> Command
- SetValue :: AudioParam -> Double -> Command
- SetValueAtTime :: AudioParam -> Double -> Double -> Command
- LinearRampToValueAtTime :: AudioParam -> Double -> Double -> Command
- ExponentialRampToValueAtTime :: AudioParam -> Double -> Double -> Command
- SetTargetAtTime :: AudioParam -> Double -> Double -> Double -> Command
- CancelScheduledValues :: AudioParam -> Double -> Command
- data Procedure :: * -> * where
- CreateOscillator :: Double -> Double -> OscillatorNodeType -> Procedure OscillatorNode
- CreateGain :: Double -> Procedure GainNode
- DefaultValue :: AudioParam -> Procedure Double
- MaxValue :: AudioParam -> Procedure Double
- MinValue :: AudioParam -> Procedure Double
- Value :: AudioParam -> Procedure Double
- CurrentTime :: Procedure Double
- newtype WebAudio a = WebAudio (RemoteMonad Command Procedure a)
- audioGraphConnect :: AudioGraph AudNode b -> Text
Documentation
data Command :: * where Source #
data Procedure :: * -> * where Source #
CreateOscillator :: Double -> Double -> OscillatorNodeType -> Procedure OscillatorNode | |
CreateGain :: Double -> Procedure GainNode | |
DefaultValue :: AudioParam -> Procedure Double | |
MaxValue :: AudioParam -> Procedure Double | |
MinValue :: AudioParam -> Procedure Double | |
Value :: AudioParam -> Procedure Double | |
CurrentTime :: Procedure Double |
Contains the commands and procedures to be sent to the web browser
audioGraphConnect :: AudioGraph AudNode b -> Text Source #