Module
Ocarina.Common
- Package
- purescript-ocarina
- Repository
- mikesol/purescript-ocarina
#AllpassOptions Source
#AllpassOptional Source
type AllpassOptional :: Row Typetype AllpassOptional = (q :: InitialAudioParameter)
#AllpassAll Source
type AllpassAll :: Row Typetype AllpassAll = (frequency :: InitialAudioParameter | AllpassOptional)
#InitialAllpass Source
#BandpassOptions Source
#BandpassOptional Source
type BandpassOptional :: Row Typetype BandpassOptional = (q :: InitialAudioParameter)
#BandpassAll Source
type BandpassAll :: Row Typetype BandpassAll = (frequency :: InitialAudioParameter | BandpassOptional)
#InitialBandpass Source
#InitialConstant Source
#InitialConvolver Source
#InitialIIRFilter Source
class InitialIIRFilter :: Type -> Int -> Int -> Constraintclass 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 DelayOptionsConstructors
Instances
ConvertOption DelayOptions "delayTime" InitialAudioParameter InitialAudioParameterConvertOption DelayOptions "maxDelayTime" Number Number
#DelayOptional Source
type DelayOptional :: Row Typetype DelayOptional = (maxDelayTime :: Number)
#DelayAll Source
type DelayAll :: Row Typetype DelayAll = (delayTime :: InitialAudioParameter | DelayOptional)
#InitialDelay Source
class InitialDelay i whereMembers
toInitializeDelay :: i -> InitializeDelay
Instances
InitialDelay InitializeDelayInitialDelay InitialAudioParameter(ConvertOptionsWithDefaults DelayOptions (Record DelayOptional) (Record provided) (Record DelayAll)) => InitialDelay (Record provided)
#DynamicsCompressorOptions Source
data DynamicsCompressorOptionsConstructors
Instances
ConvertOption DynamicsCompressorOptions "threshold" InitialAudioParameter InitialAudioParameterConvertOption DynamicsCompressorOptions "ratio" InitialAudioParameter InitialAudioParameterConvertOption DynamicsCompressorOptions "knee" InitialAudioParameter InitialAudioParameterConvertOption DynamicsCompressorOptions "attack" InitialAudioParameter InitialAudioParameterConvertOption DynamicsCompressorOptions "release" InitialAudioParameter InitialAudioParameter
#DynamicsCompressorOptional Source
type DynamicsCompressorOptional :: Row Typetype DynamicsCompressorOptional = (attack :: InitialAudioParameter, knee :: InitialAudioParameter, ratio :: InitialAudioParameter, release :: InitialAudioParameter, threshold :: InitialAudioParameter)
#InitialDynamicsCompressor Source
#InitialGain Source
#HighpassOptions Source
#HighpassOptional Source
type HighpassOptional :: Row Typetype HighpassOptional = (q :: InitialAudioParameter)
#HighpassAll Source
type HighpassAll :: Row Typetype HighpassAll = (frequency :: InitialAudioParameter | HighpassOptional)
#InitialHighpass Source
#HighshelfOptions Source
#HighshelfOptional Source
type HighshelfOptional :: Row Typetype HighshelfOptional = (gain :: InitialAudioParameter)
#HighshelfAll Source
type HighshelfAll :: Row Typetype HighshelfAll = (frequency :: InitialAudioParameter | HighshelfOptional)
#InitialHighshelf Source
#LoopBufOptions Source
data LoopBufOptionsConstructors
Instances
ConvertOption LoopBufOptions "playbackRate" InitialAudioParameter InitialAudioParameterConvertOption LoopBufOptions "duration" Number (Maybe Number)ConvertOption LoopBufOptions "loopStart" Number NumberConvertOption LoopBufOptions "loopEnd" Number NumberConvertOption LoopBufOptions "buffer" BrowserAudioBuffer BrowserAudioBuffer
#LoopBufOptional Source
type LoopBufOptional :: Row Typetype LoopBufOptional = (duration :: Maybe Number, loopEnd :: Number, loopStart :: Number, playbackRate :: InitialAudioParameter)
#LoopBufAll Source
type LoopBufAll :: Row Typetype LoopBufAll = (buffer :: BrowserAudioBuffer | LoopBufOptional)
#InitialLoopBuf Source
#LowpassOptions Source
#LowpassOptional Source
type LowpassOptional :: Row Typetype LowpassOptional = (q :: InitialAudioParameter)
#LowpassAll Source
type LowpassAll :: Row Typetype LowpassAll = (frequency :: InitialAudioParameter | LowpassOptional)
#InitialLowpass Source
#LowshelfOptions Source
#LowshelfOptional Source
type LowshelfOptional :: Row Typetype LowshelfOptional = (gain :: InitialAudioParameter)
#LowshelfAll Source
type LowshelfAll :: Row Typetype LowshelfAll = (frequency :: InitialAudioParameter | LowshelfOptional)
#InitialLowshelf Source
#InitialMicrophone Source
#NotchOptions Source
#NotchOptional Source
type NotchOptional :: Row Typetype NotchOptional = (q :: InitialAudioParameter)
#NotchAll Source
type NotchAll :: Row Typetype NotchAll = (frequency :: InitialAudioParameter | NotchOptional)
#InitialNotch Source
class InitialNotch i whereMembers
toInitializeNotch :: i -> InitializeNotch
Instances
InitialNotch InitializeNotchInitialNotch InitialAudioParameter(ConvertOptionsWithDefaults NotchOptions (Record NotchOptional) (Record provided) (Record NotchAll)) => InitialNotch (Record provided)
#InitialStereoPanner Source
#PeakingOptional Source
type PeakingOptional :: Row Typetype PeakingOptional = (gain :: InitialAudioParameter, q :: InitialAudioParameter)
#PeakingAll Source
type PeakingAll :: Row Typetype PeakingAll = (frequency :: InitialAudioParameter | PeakingOptional)
#InitialPeaking Source
#PlayBufOptions Source
data PlayBufOptionsConstructors
Instances
ConvertOption PlayBufOptions "playbackRate" InitialAudioParameter InitialAudioParameterConvertOption PlayBufOptions "duration" Number (Maybe Number)ConvertOption PlayBufOptions "bufferOffset" Number NumberConvertOption PlayBufOptions "buffer" BrowserAudioBuffer BrowserAudioBuffer
#PlayBufOptional Source
type PlayBufOptional :: Row Typetype PlayBufOptional = (bufferOffset :: Number, duration :: Maybe Number, playbackRate :: InitialAudioParameter)
#PlayBufAll Source
type PlayBufAll :: Row Typetype PlayBufAll = (buffer :: BrowserAudioBuffer | PlayBufOptional)
#InitialPlayBuf Source
#PeriodicOscOptions Source
#PeriodicOscSpecable Source
class PeriodicOscSpecable i whereMembers
toPeriodicOscSpec :: i -> PeriodicOscSpec
Instances
PeriodicOscSpecable BrowserPeriodicWave(Pos n) => PeriodicOscSpecable (Tuple (Vec n Number) (Vec n Number))
#PeriodicOscAll Source
type PeriodicOscAll :: Row Typetype PeriodicOscAll = (frequency :: InitialAudioParameter, spec :: PeriodicOscSpec)
#defaultPeriodicOsc Source
defaultPeriodicOsc :: Record ()#InitialPeriodicOsc Source
class InitialPeriodicOsc i whereMembers
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 Typetype WaveShaperOptional = (oversample :: Oversample)
#WaveShaperAll Source
type WaveShaperAll :: Row Typetype WaveShaperAll = (curve :: BrowserFloatArray | WaveShaperOptional)
#InitialWaveShaper Source
#resolveAU Source
resolveAU :: forall payload. AudioInterpret payload -> (FFIAudioParameter -> payload) -> AudioParameter payload -> Event payload