Module
Ocarina.Control
- Package
- purescript-ocarina
- Repository
- mikesol/purescript-ocarina
#AnalyserOptions Source
data AnalyserOptions
Constructors
Instances
ConvertOption AnalyserOptions "playbackRate" InitialAudioParameter InitialAudioParameter
ConvertOption AnalyserOptions "channelInterpretation" ChannelInterpretation ChannelInterpretation
ConvertOption AnalyserOptions "channelCountMode" ChannelCountMode ChannelCountMode
ConvertOption AnalyserOptions "channelCount" Int Int
ConvertOption AnalyserOptions "smoothingTimeConstant" Number Number
ConvertOption AnalyserOptions "maxDecibels" Number Number
ConvertOption AnalyserOptions "minDecibels" Number Number
ConvertOption AnalyserOptions "fftSize" Po2 Po2
ConvertOption AnalyserOptions "cb" AnalyserNodeCb AnalyserNodeCb
#AnalyserOptional Source
type AnalyserOptional :: Row Type
type AnalyserOptional = (cb :: AnalyserNodeCb, channelCount :: Int, channelCountMode :: ChannelCountMode, channelInterpretation :: ChannelInterpretation, fftSize :: Po2, maxDecibels :: Number, minDecibels :: Number, smoothingTimeConstant :: Number)
#AnalyserAll Source
type AnalyserAll :: Row Type
type AnalyserAll = AnalyserOptional
#InitialAnalyser Source
#analyser_ Source
analyser_ :: forall i outputChannels payload. InitialAnalyser i => i -> Array (Audible outputChannels payload) -> Audible outputChannels payload
#ValidateOutputChannelCount Source
class ValidateOutputChannelCount (numberOfOutputs :: Type) (outputChannelCount :: Type) where
Members
toOutputChannelCount :: numberOfOutputs -> outputChannelCount -> Array Int
Instances
(Pos n) => ValidateOutputChannelCount D1 n
(Pred x xMinus1, Pos n, ValidateOutputChannelCount xMinus1 r) => ValidateOutputChannelCount x (Tuple n r)
#__audioWorklet Source
__audioWorklet :: forall name numberOfInputs numberOfOutputs outputChannelCount parameterData parameterDataRL processorOptions payload. IsSymbol name => Nat numberOfInputs => Pos numberOfOutputs => ValidateOutputChannelCount numberOfOutputs outputChannelCount => Homogeneous parameterData InitialAudioParameter => HomogeneousRowLabels parameterData (AudioParameter payload) parameterDataRL => WriteForeign (Record processorOptions) => InitializeAudioWorkletNode name numberOfInputs numberOfOutputs outputChannelCount parameterData processorOptions -> Event (AudioWorkletNode parameterData) -> Audible numberOfOutputs payload -> Audible numberOfOutputs payload
#audioWorklet Source
audioWorklet :: forall name numberOfInputs numberOfOutputs outputChannelCount parameterData parameterDataRL processorOptions payload. IsSymbol name => Nat numberOfInputs => Pos numberOfOutputs => ValidateOutputChannelCount numberOfOutputs outputChannelCount => Homogeneous parameterData InitialAudioParameter => HomogeneousRowLabels parameterData (AudioParameter payload) parameterDataRL => WriteForeign (Record processorOptions) => InitializeAudioWorkletNode name numberOfInputs numberOfOutputs outputChannelCount parameterData processorOptions -> Event (AudioWorkletNode parameterData) -> Audible numberOfOutputs payload -> Audible numberOfOutputs payload
#__constant Source
__constant :: forall i outputChannels payload. InitialConstant i => i -> Event (Constant payload) -> Audible outputChannels payload
#constant Source
constant :: forall i outputChannels payload. InitialConstant i => i -> Event (Constant payload) -> Audible outputChannels payload
#constant_ Source
constant_ :: forall i outputChannels payload. InitialConstant i => i -> Audible outputChannels payload
#dynamicsCompressor Source
dynamicsCompressor :: forall i (outputChannels :: Type) payload. InitialDynamicsCompressor i => i -> Event (DynamicsCompressor payload) -> Array (Audible outputChannels payload) -> Audible outputChannels payload
#dynamicsCompressor_ Source
dynamicsCompressor_ :: forall i (outputChannels :: Type) payload. InitialDynamicsCompressor i => i -> Array (Audible outputChannels payload) -> Audible outputChannels payload
#highshelf_ Source
highshelf_ :: forall i (outputChannels :: Type) payload. InitialHighshelf i => i -> Array (Audible outputChannels payload) -> Audible outputChannels payload
#iirFilter' Source
iirFilter' :: forall i (feedforward :: Int) (feedback :: Int) (outputChannels :: Type) lock payload. Compare 2 feedforward LT => Compare 2 feedback LT => InitialIIRFilter i feedforward feedback => Proxy feedforward -> Proxy feedback -> i -> Array (Audible outputChannels payload) -> Audible outputChannels payload
#__loopBuf Source
__loopBuf :: forall i outputChannels payload. InitialLoopBuf i => i -> Event (LoopBuf payload) -> Audible outputChannels payload
#loopBuf Source
loopBuf :: forall i outputChannels payload. InitialLoopBuf i => i -> Event (LoopBuf payload) -> Audible outputChannels payload
#loopBuf_ Source
loopBuf_ :: forall i outputChannels payload. InitialLoopBuf i => i -> Audible outputChannels payload
#__mediaElement Source
__mediaElement :: forall outputChannels payload. InitializeMediaElement -> Audible outputChannels payload
#mediaElement Source
mediaElement :: forall outputChannels payload. InitializeMediaElement -> Audible outputChannels payload
#__microphone Source
__microphone :: forall i outputChannels payload. InitialMicrophone i => i -> Audible outputChannels payload
#microphone Source
microphone :: forall i outputChannels payload. InitialMicrophone i => i -> Audible outputChannels payload
#__periodicOsc Source
__periodicOsc :: forall i outputChannels payload. InitialPeriodicOsc i => i -> Event (PeriodicOsc payload) -> Audible outputChannels payload
#periodicOsc Source
periodicOsc :: forall i outputChannels payload. InitialPeriodicOsc i => i -> Event (PeriodicOsc payload) -> Audible outputChannels payload
#periodicOsc_ Source
periodicOsc_ :: forall i outputChannels payload. InitialPeriodicOsc i => i -> Audible outputChannels payload
#PlayBufOptions Source
data PlayBufOptions
Constructors
Instances
ConvertOption PlayBufOptions "playbackRate" InitialAudioParameter InitialAudioParameter
ConvertOption PlayBufOptions "duration" Number (Maybe Number)
ConvertOption PlayBufOptions "bufferOffset" Number Number
ConvertOption PlayBufOptions "buffer" BrowserAudioBuffer BrowserAudioBuffer
#PlayBufOptional Source
type PlayBufOptional :: Row Type
type PlayBufOptional = (bufferOffset :: Number, duration :: Maybe Number, playbackRate :: InitialAudioParameter)
#PlayBufAll Source
type PlayBufAll :: Row Type
type PlayBufAll = (buffer :: BrowserAudioBuffer | PlayBufOptional)
#InitialPlayBuf Source
#__playBuf Source
__playBuf :: forall i outputChannels payload. InitialPlayBuf i => i -> Event (PlayBuf payload) -> Audible outputChannels payload
#playBuf Source
playBuf :: forall i outputChannels payload. InitialPlayBuf i => i -> Event (PlayBuf payload) -> Audible outputChannels payload
#playBuf_ Source
playBuf_ :: forall i outputChannels payload. InitialPlayBuf i => i -> Audible outputChannels payload
#recorder Source
recorder :: forall i outputChannels payload. InitialRecorder i => i -> Audible outputChannels payload -> Audible outputChannels payload
#__sawtoothOsc Source
__sawtoothOsc :: forall i outputChannels payload. InitialSawtoothOsc i => i -> Event (SawtoothOsc payload) -> Audible outputChannels payload
#sawtoothOsc Source
sawtoothOsc :: forall i outputChannels payload. InitialSawtoothOsc i => i -> Event (SawtoothOsc payload) -> Audible outputChannels payload
#sawtoothOsc_ Source
sawtoothOsc_ :: forall i outputChannels payload. InitialSawtoothOsc i => i -> Audible outputChannels payload
#__sinOsc Source
__sinOsc :: forall i outputChannels payload. InitialSinOsc i => i -> Event (SinOsc payload) -> Audible outputChannels payload
#sinOsc Source
sinOsc :: forall i outputChannels payload. InitialSinOsc i => i -> Event (SinOsc payload) -> Audible outputChannels payload
#sinOsc_ Source
sinOsc_ :: forall i outputChannels payload. InitialSinOsc i => i -> Audible outputChannels payload
#__squareOsc Source
__squareOsc :: forall i outputChannels payload. InitialSquareOsc i => i -> Event (SquareOsc payload) -> Audible outputChannels payload
#squareOsc Source
squareOsc :: forall i outputChannels payload. InitialSquareOsc i => i -> Event (SquareOsc payload) -> Audible outputChannels payload
#squareOsc_ Source
squareOsc_ :: forall i outputChannels payload. InitialSquareOsc i => i -> Audible outputChannels payload
#pan Source
pan :: forall i (outputChannels :: Type) payload. InitialStereoPanner i => i -> Event (StereoPanner payload) -> Array (Audible outputChannels payload) -> Audible outputChannels payload
#__triangleOsc Source
__triangleOsc :: forall i outputChannels payload. InitialTriangleOsc i => i -> Event (TriangleOsc payload) -> Audible outputChannels payload
#triangleOsc Source
triangleOsc :: forall i outputChannels payload. InitialTriangleOsc i => i -> Event (TriangleOsc payload) -> Audible outputChannels payload
#triangleOsc_ Source
triangleOsc_ :: forall i outputChannels payload. InitialTriangleOsc i => i -> Audible outputChannels payload
#waveShaper Source
waveShaper :: forall i (outputChannels :: Type) payload. InitialWaveShaper i => i -> Array (Audible outputChannels payload) -> Audible outputChannels payload
#globalFan1 Source
globalFan1 :: forall o payload. Audible o payload -> (Audible o payload -> Audible o payload) -> Audible o payload
#tmpResolveAU Source
tmpResolveAU :: forall payload. Scope -> AudioInterpret payload -> (FFIAudioParameter -> payload) -> AudioParameter payload -> Event payload
#__internalOcarinaFlatten Source
__internalOcarinaFlatten :: forall o payload. PSR () -> AudioInterpret payload -> Audible o payload -> Event payload