Module
Ocarina.Common
- Package
- purescript-ocarina
- Repository
- mikesol/purescript-ocarina
#AllpassOptions Source
#AllpassOptional Source
type AllpassOptional :: Row Type
type AllpassOptional = (q :: InitialAudioParameter)
#AllpassAll Source
type AllpassAll :: Row Type
type AllpassAll = (frequency :: InitialAudioParameter | AllpassOptional)
#InitialAllpass Source
#BandpassOptions Source
#BandpassOptional Source
type BandpassOptional :: Row Type
type BandpassOptional = (q :: InitialAudioParameter)
#BandpassAll Source
type BandpassAll :: Row Type
type BandpassAll = (frequency :: InitialAudioParameter | BandpassOptional)
#InitialBandpass Source
#InitialConstant Source
#InitialConvolver Source
#InitialIIRFilter Source
class InitialIIRFilter :: Type -> Int -> Int -> Constraint
class InitialIIRFilter i (feedforward :: Int) (feedback :: Int) where
Members
toInitializeIIRFilter :: i -> Proxy feedforward -> Proxy feedback -> (InitializeIIRFilter feedforward feedback)
Instances
(TypeEquals feedforwardI feedforwardO, TypeEquals feedbackI feedbackO) => InitialIIRFilter (InitializeIIRFilter feedforwardI feedbackI) feedforwardO feedbackO
(TypeEquals feedforwardI feedforwardO, TypeEquals feedbackI feedbackO) => InitialIIRFilter (Tuple (Vect feedforwardI Number) (Vect feedbackI Number)) feedforwardO feedbackO
#DelayOptions Source
data DelayOptions
Constructors
Instances
ConvertOption DelayOptions "delayTime" InitialAudioParameter InitialAudioParameter
ConvertOption DelayOptions "maxDelayTime" Number Number
#DelayOptional Source
type DelayOptional :: Row Type
type DelayOptional = (maxDelayTime :: Number)
#DelayAll Source
type DelayAll :: Row Type
type DelayAll = (delayTime :: InitialAudioParameter | DelayOptional)
#InitialDelay Source
class InitialDelay i where
Members
toInitializeDelay :: i -> InitializeDelay
Instances
InitialDelay InitializeDelay
InitialDelay InitialAudioParameter
(ConvertOptionsWithDefaults DelayOptions (Record DelayOptional) (Record provided) (Record DelayAll)) => InitialDelay (Record provided)
#DynamicsCompressorOptions Source
data DynamicsCompressorOptions
Constructors
Instances
ConvertOption DynamicsCompressorOptions "threshold" InitialAudioParameter InitialAudioParameter
ConvertOption DynamicsCompressorOptions "ratio" InitialAudioParameter InitialAudioParameter
ConvertOption DynamicsCompressorOptions "knee" InitialAudioParameter InitialAudioParameter
ConvertOption DynamicsCompressorOptions "attack" InitialAudioParameter InitialAudioParameter
ConvertOption DynamicsCompressorOptions "release" InitialAudioParameter InitialAudioParameter
#DynamicsCompressorOptional Source
type DynamicsCompressorOptional :: Row Type
type DynamicsCompressorOptional = (attack :: InitialAudioParameter, knee :: InitialAudioParameter, ratio :: InitialAudioParameter, release :: InitialAudioParameter, threshold :: InitialAudioParameter)
#InitialDynamicsCompressor Source
#InitialGain Source
#HighpassOptions Source
#HighpassOptional Source
type HighpassOptional :: Row Type
type HighpassOptional = (q :: InitialAudioParameter)
#HighpassAll Source
type HighpassAll :: Row Type
type HighpassAll = (frequency :: InitialAudioParameter | HighpassOptional)
#InitialHighpass Source
#HighshelfOptions Source
#HighshelfOptional Source
type HighshelfOptional :: Row Type
type HighshelfOptional = (gain :: InitialAudioParameter)
#HighshelfAll Source
type HighshelfAll :: Row Type
type HighshelfAll = (frequency :: InitialAudioParameter | HighshelfOptional)
#InitialHighshelf Source
#LoopBufOptions Source
data LoopBufOptions
Constructors
Instances
ConvertOption LoopBufOptions "playbackRate" InitialAudioParameter InitialAudioParameter
ConvertOption LoopBufOptions "duration" Number (Maybe Number)
ConvertOption LoopBufOptions "loopStart" Number Number
ConvertOption LoopBufOptions "loopEnd" Number Number
ConvertOption LoopBufOptions "buffer" BrowserAudioBuffer BrowserAudioBuffer
#LoopBufOptional Source
type LoopBufOptional :: Row Type
type LoopBufOptional = (duration :: Maybe Number, loopEnd :: Number, loopStart :: Number, playbackRate :: InitialAudioParameter)
#LoopBufAll Source
type LoopBufAll :: Row Type
type LoopBufAll = (buffer :: BrowserAudioBuffer | LoopBufOptional)
#InitialLoopBuf Source
#LowpassOptions Source
#LowpassOptional Source
type LowpassOptional :: Row Type
type LowpassOptional = (q :: InitialAudioParameter)
#LowpassAll Source
type LowpassAll :: Row Type
type LowpassAll = (frequency :: InitialAudioParameter | LowpassOptional)
#InitialLowpass Source
#LowshelfOptions Source
#LowshelfOptional Source
type LowshelfOptional :: Row Type
type LowshelfOptional = (gain :: InitialAudioParameter)
#LowshelfAll Source
type LowshelfAll :: Row Type
type LowshelfAll = (frequency :: InitialAudioParameter | LowshelfOptional)
#InitialLowshelf Source
#InitialMicrophone Source
#NotchOptions Source
#NotchOptional Source
type NotchOptional :: Row Type
type NotchOptional = (q :: InitialAudioParameter)
#NotchAll Source
type NotchAll :: Row Type
type NotchAll = (frequency :: InitialAudioParameter | NotchOptional)
#InitialNotch Source
class InitialNotch i where
Members
toInitializeNotch :: i -> InitializeNotch
Instances
InitialNotch InitializeNotch
InitialNotch InitialAudioParameter
(ConvertOptionsWithDefaults NotchOptions (Record NotchOptional) (Record provided) (Record NotchAll)) => InitialNotch (Record provided)
#InitialStereoPanner Source
#PeakingOptional Source
type PeakingOptional :: Row Type
type PeakingOptional = (gain :: InitialAudioParameter, q :: InitialAudioParameter)
#PeakingAll Source
type PeakingAll :: Row Type
type PeakingAll = (frequency :: InitialAudioParameter | PeakingOptional)
#InitialPeaking Source
#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
#PeriodicOscOptions Source
#PeriodicOscSpecable Source
class PeriodicOscSpecable i where
Members
toPeriodicOscSpec :: i -> PeriodicOscSpec
Instances
PeriodicOscSpecable BrowserPeriodicWave
(Pos n) => PeriodicOscSpecable (Tuple (Vec n Number) (Vec n Number))
#PeriodicOscAll Source
type PeriodicOscAll :: Row Type
type PeriodicOscAll = (frequency :: InitialAudioParameter, spec :: PeriodicOscSpec)
#defaultPeriodicOsc Source
defaultPeriodicOsc :: Record ()
#InitialPeriodicOsc Source
class InitialPeriodicOsc i where
Members
Instances
InitialPeriodicOsc InitializePeriodicOsc
(ConvertOptionsWithDefaults PeriodicOscOptions (Record ()) (Record provided) (Record PeriodicOscAll)) => InitialPeriodicOsc (Record provided)
#InitialSawtoothOsc Source
#InitialSquareOsc Source
#InitialRecorder Source
#InitialSinOsc Source
#InitialTriangleOsc Source
#WaveShaperOptions Source
#WaveShaperOptional Source
type WaveShaperOptional :: Row Type
type WaveShaperOptional = (oversample :: Oversample)
#WaveShaperAll Source
type WaveShaperAll :: Row Type
type WaveShaperAll = (curve :: BrowserFloatArray | WaveShaperOptional)
#InitialWaveShaper Source
#resolveAU Source
resolveAU :: forall payload. AudioInterpret payload -> (FFIAudioParameter -> payload) -> AudioParameter payload -> Event payload