Module

Ocarina.Core

Package
purescript-ocarina
Repository
mikesol/purescript-ocarina

#Allpass Source

newtype Allpass parameter

Constructors

Instances

#Analyser Source

newtype Analyser

Constructors

Instances

#Audible Source

type Audible :: forall k. k -> Type -> Typetype Audible outputChannels payload = Entity Void (Node outputChannels payload)

Instances

#AudibleChild Source

type AudibleChild :: forall k. k -> Type -> Typetype AudibleChild outputChannels payload = Child Void (Node outputChannels payload)

#AudioCancel' Source

type AudioCancel' = { o :: Number }

#AudioEnvelope' Source

type AudioEnvelope' = { d :: Number, o :: Number, p :: Array Number }

#AudioInterpret Source

newtype AudioInterpret payload

Constructors

Instances

#AudioNumeric' Source

type AudioNumeric' = { n :: Number, o :: Number, t :: Transition }

#AudioParameter Source

newtype AudioParameter payload

Constructors

Instances

#AudioSudden' Source

type AudioSudden' = { n :: Number }

#AudioUnit' Source

type AudioUnit' payload = { u :: Audible D1 payload }

#AudioUnit Source

newtype AudioUnit payload

Constructors

Instances

#AudioWorkletNode Source

newtype AudioWorkletNode :: Row Type -> Typenewtype AudioWorkletNode parameterData

Constructors

Instances

#AudioWorkletNodeOptions_ Source

newtype AudioWorkletNodeOptions_ param

Constructors

Instances

#Bandpass Source

newtype Bandpass payload

Constructors

Instances

#ChannelCountMode Source

#ChannelInterpretation Source

#ConnectXToY_ Source

type ConnectXToY_ :: Row Typetype ConnectXToY_ = (from :: String, to :: String)

#Constant Source

newtype Constant payload

Constructors

Instances

#Delay Source

newtype Delay payload

Constructors

Instances

#DeleteFromCache Source

type DeleteFromCache = { id :: String }

#DisconnectXFromY_ Source

type DisconnectXFromY_ :: Row Typetype DisconnectXFromY_ = (from :: String, to :: String)

#DynamicsCompressor Source

newtype DynamicsCompressor payload

Constructors

Instances

#FFIAudioParameter Source

newtype FFIAudioParameter

Constructors

#FFIAudioUnit' Source

type FFIAudioUnit' = { i :: String }

#FFIAudioUnit Source

#Gain Source

newtype Gain payload

Constructors

Instances

#Highpass Source

newtype Highpass payload

Constructors

Instances

#Highshelf Source

newtype Highshelf payload

Constructors

Instances

#InitialAudioParameter Source

#InitializeAllpass Source

#InitializeAnalyser Source

newtype InitializeAnalyser

Constructors

Instances

#InitializeAudioWorkletNode Source

newtype InitializeAudioWorkletNode :: Symbol -> Type -> Type -> Type -> Row Type -> Row Type -> Typenewtype InitializeAudioWorkletNode (name :: Symbol) numberOfInputs numberOfOutputs outputChannelCount parameterData processorOptions

Constructors

  • InitializeAudioWorkletNode { name :: Proxy name, numberOfInputs :: numberOfInputs, numberOfOutputs :: numberOfOutputs, outputChannelCount :: outputChannelCount, parameterData :: Record parameterData, processorOptions :: Record processorOptions }

Instances

#InitializeBandpass Source

#InitializeConstant Source

#InitializeConvolver Source

#InitializeDelay Source

newtype InitializeDelay

Constructors

Instances

#InitializeGain Source

#InitializeHighpass Source

#InitializeHighshelf Source

#InitializeIIRFilter Source

newtype InitializeIIRFilter :: Int -> Int -> Typenewtype InitializeIIRFilter (feedforward :: Int) (feedback :: Int)

Constructors

Instances

#InitializeLoopBuf Source

newtype InitializeLoopBuf

Constructors

Instances

#InitializeLowpass Source

#InitializeLowshelf Source

#InitializeMediaElement Source

#InitializeMicrophone Source

#InitializeNotch Source

#InitializePeriodicOsc Source

#InitializePlayBuf Source

newtype InitializePlayBuf

Constructors

Instances

#InitializeRecorder Source

#InitializeSawtoothOsc Source

#InitializeSinOsc Source

#InitializeSquareOsc Source

#InitializeTriangleOsc Source

#InitializeWaveShaper Source

#LoopBuf Source

newtype LoopBuf payload

Constructors

Instances

#Lowpass Source

newtype Lowpass payload

Constructors

Instances

#Lowshelf Source

newtype Lowshelf payload

Constructors

Instances

#MakeAllpass_ Source

type MakeAllpass_ param = { frequency :: param, id :: String, parent :: Maybe String, q :: param, scope :: Maybe String }

#MakeAnalyser Source

type MakeAnalyser = { cb :: AnalyserNodeCb, channelCount :: Int, channelCountMode :: String, channelInterpretation :: String, fftSize :: Int, id :: String, maxDecibels :: Number, minDecibels :: Number, parent :: Maybe String, scope :: Maybe String, smoothingTimeConstant :: Number }

#MakeAudioWorkletNode_ Source

type MakeAudioWorkletNode_ param = { id :: String, options :: AudioWorkletNodeOptions_ param, parent :: Maybe String, scope :: Maybe String }

#MakeBandpass_ Source

type MakeBandpass_ param = { frequency :: param, id :: String, parent :: Maybe String, q :: param, scope :: Maybe String }

#MakeConstant_ Source

type MakeConstant_ :: Type -> Row Typetype MakeConstant_ param = (id :: String, offset :: param, parent :: Maybe String, scope :: Maybe String)

#MakeConvolver Source

type MakeConvolver = { buffer :: BrowserAudioBuffer, id :: String, parent :: Maybe String, scope :: Maybe String }

#MakeDelay_ Source

type MakeDelay_ param = { delayTime :: param, id :: String, maxDelayTime :: Number, parent :: Maybe String, scope :: Maybe String }

#MakeDynamicsCompressor_ Source

type MakeDynamicsCompressor_ param = { attack :: param, id :: String, knee :: param, parent :: Maybe String, ratio :: param, release :: param, scope :: Maybe String, threshold :: param }

#MakeGain_ Source

type MakeGain_ param = { gain :: param, id :: String, parent :: Maybe String, scope :: Maybe String }

#MakeHighpass_ Source

type MakeHighpass_ param = { frequency :: param, id :: String, parent :: Maybe String, q :: param, scope :: Maybe String }

#MakeHighshelf_ Source

type MakeHighshelf_ param = { frequency :: param, gain :: param, id :: String, parent :: Maybe String, scope :: Maybe String }

#MakeIIRFilter Source

type MakeIIRFilter = { feedback :: Array Number, feedforward :: Array Number, id :: String, parent :: Maybe String, scope :: Maybe String }

#MakeLoopBuf_ Source

type MakeLoopBuf_ :: Type -> Row Typetype MakeLoopBuf_ param = (buffer :: BrowserAudioBuffer, duration :: Maybe Number, id :: String, loopEnd :: Number, loopStart :: Number, parent :: Maybe String, playbackRate :: param, scope :: Maybe String)

#MakeLowpass_ Source

type MakeLowpass_ param = { frequency :: param, id :: String, parent :: Maybe String, q :: param, scope :: Maybe String }

#MakeLowshelf_ Source

type MakeLowshelf_ param = { frequency :: param, gain :: param, id :: String, parent :: Maybe String, scope :: Maybe String }

#MakeMediaElement Source

type MakeMediaElement = { element :: BrowserMediaElement, id :: String, parent :: Maybe String, scope :: Maybe String }

#MakeMicrophone Source

type MakeMicrophone = { id :: String, microphone :: BrowserMicrophone, parent :: Maybe String, scope :: Maybe String }

#MakeNotch_ Source

type MakeNotch_ param = { frequency :: param, id :: String, parent :: Maybe String, q :: param, scope :: Maybe String }

#MakePeaking_ Source

type MakePeaking_ param = { frequency :: param, gain :: param, id :: String, parent :: Maybe String, q :: param, scope :: Maybe String }

#MakePeriodicOsc_ Source

type MakePeriodicOsc_ :: Type -> Row Typetype MakePeriodicOsc_ param = (frequency :: param, id :: String, parent :: Maybe String, scope :: Maybe String, spec :: PeriodicOscSpec)

#MakePlayBuf_ Source

type MakePlayBuf_ :: Type -> Row Typetype MakePlayBuf_ param = (buffer :: BrowserAudioBuffer, bufferOffset :: Number, duration :: Maybe Number, id :: String, parent :: Maybe String, playbackRate :: param, scope :: Maybe String)

#MakeRecorder Source

type MakeRecorder = { cb :: MediaRecorderCb, id :: String, parent :: Maybe String, scope :: Maybe String }

#MakeSawtoothOsc_ Source

type MakeSawtoothOsc_ :: Type -> Row Typetype MakeSawtoothOsc_ param = (frequency :: param, id :: String, parent :: Maybe String, scope :: Maybe String)

#MakeSinOsc_ Source

type MakeSinOsc_ :: Type -> Row Typetype MakeSinOsc_ param = (frequency :: param, id :: String, parent :: Maybe String, scope :: Maybe String)

#MakeSpeaker Source

type MakeSpeaker = { id :: String }

#MakeSquareOsc_ Source

type MakeSquareOsc_ :: Type -> Row Typetype MakeSquareOsc_ param = (frequency :: param, id :: String, parent :: Maybe String, scope :: Maybe String)

#MakeStereoPanner_ Source

type MakeStereoPanner_ param = { id :: String, pan :: param, parent :: Maybe String, scope :: Maybe String }

#MakeTriangleOsc_ Source

type MakeTriangleOsc_ :: Type -> Row Typetype MakeTriangleOsc_ param = (frequency :: param, id :: String, parent :: Maybe String, scope :: Maybe String)

#MakeWaveShaper Source

type MakeWaveShaper = { curve :: BrowserFloatArray, id :: String, oversample :: Oversample, parent :: Maybe String, scope :: Maybe String }

#Node Source

newtype Node :: forall k. k -> Type -> Typenewtype Node outputChannels payload

Constructors

#NodeC' Source

type NodeC' payload = PSR () -> AudioInterpret payload -> Event payload

#Notch Source

newtype Notch payload

Constructors

Instances

#OnOff Source

newtype OnOff

Term-level constructor for a generator being on or off

Constructors

Instances

#Oversample Source

#Peaking Source

newtype Peaking payload

Constructors

Instances

#PeriodicOsc Source

newtype PeriodicOsc payload

Constructors

Instances

#PlayBuf Source

newtype PlayBuf payload

Constructors

Instances

#RealImg Source

newtype RealImg

Constructors

Instances

#SawtoothOsc Source

newtype SawtoothOsc payload

Constructors

Instances

#SetAnalyserNodeCb Source

type SetAnalyserNodeCb = { cb :: AnalyserNodeCb, id :: String }

#SetAttack Source

type SetAttack = { attack :: FFIAudioParameter, id :: String }

#SetAudioWorkletParameter Source

type SetAudioWorkletParameter = { id :: String, paramName :: String, paramValue :: FFIAudioParameter }

#SetBuffer Source

type SetBuffer = { buffer :: BrowserAudioBuffer, id :: String }

#SetBufferOffset Source

type SetBufferOffset = { bufferOffset :: Number, id :: String }

#SetConvolverBuffer Source

type SetConvolverBuffer = { buffer :: BrowserAudioBuffer, id :: String }

#SetDelay Source

type SetDelay = { delayTime :: FFIAudioParameter, id :: String }

#SetDuration Source

type SetDuration = { duration :: Maybe Number, id :: String }

#SetFrequency Source

type SetFrequency = { frequency :: FFIAudioParameter, id :: String }

#SetGain Source

type SetGain = { gain :: FFIAudioParameter, id :: String }

#SetKnee Source

type SetKnee = { id :: String, knee :: FFIAudioParameter }

#SetLoopEnd Source

type SetLoopEnd = { id :: String, loopEnd :: Number }

#SetLoopStart Source

type SetLoopStart = { id :: String, loopStart :: Number }

#SetMediaRecorderCb Source

type SetMediaRecorderCb = { cb :: MediaRecorderCb, id :: String }

#SetOffset Source

type SetOffset = { id :: String, offset :: FFIAudioParameter }

#SetOnOff Source

type SetOnOff = { id :: String, onOff :: AudioOnOff }

#SetPan Source

type SetPan = { id :: String, pan :: FFIAudioParameter }

#SetPeriodicOsc Source

type SetPeriodicOsc = { id :: String, spec :: PeriodicOscSpec }

#SetPlaybackRate Source

type SetPlaybackRate = { id :: String, playbackRate :: FFIAudioParameter }

#SetQ Source

type SetQ = { id :: String, q :: FFIAudioParameter }

#SetRatio Source

type SetRatio = { id :: String, ratio :: FFIAudioParameter }

#SetRelease Source

type SetRelease = { id :: String, release :: FFIAudioParameter }

#SetThreshold Source

type SetThreshold = { id :: String, threshold :: FFIAudioParameter }

#SetWaveShaperCurve Source

type SetWaveShaperCurve = { curve :: BrowserFloatArray, id :: String }

#SinOsc Source

newtype SinOsc payload

Constructors

Instances

#SquareOsc Source

newtype SquareOsc payload

Constructors

Instances

#StereoPanner Source

newtype StereoPanner payload

Constructors

Instances

#Transition Source

newtype Transition

Constructors

#TriangleOsc Source

newtype TriangleOsc parameter

Constructors

Instances

#_cancel Source

_cancel :: forall payload. AudioCancel -> AudioParameter payload

#_cancel' Source

_cancel' :: forall payload. AudioCancel' -> AudioParameter payload

#_envelope Source

_envelope :: forall payload. AudioEnvelope -> AudioParameter payload

#_envelope' Source

_envelope' :: forall payload. AudioEnvelope' -> AudioParameter payload

#_numeric Source

_numeric :: forall payload. AudioNumeric -> AudioParameter payload

#_numeric' Source

_numeric' :: forall payload. AudioNumeric' -> AudioParameter payload

#_sudden Source

_sudden :: forall payload. AudioSudden -> AudioParameter payload

#_sudden' Source

_sudden' :: forall payload. AudioSudden' -> AudioParameter payload

#_unit Source

_unit :: forall payload. AudioUnit payload -> AudioParameter payload

#_unit' Source

_unit' :: forall payload. AudioUnit' payload -> AudioParameter payload

#bangOn Source

bangOn :: forall nt r. Newtype nt (Variant (onOff :: AudioOnOff | r)) => Event nt

#c1 Source

c1 :: forall p. (forall o. Audible o p) -> Audible D1 p

#OpticN Source

class OpticN s  where

Members

Instances

#dt Source

dt :: forall nt r. Newtype nt { o :: Number | r } => (Number -> Number) -> nt -> nt

#silence Source

silence :: forall outputChannels payload. AudibleChild outputChannels payload

#sound Source

sound :: forall outputChannels payload. Audible outputChannels payload -> AudibleChild outputChannels payload

Re-exports from Bolson.Core

#fixed Source

fixed :: forall logic obj. Array (Entity logic obj) -> Entity logic obj

#envy Source

envy :: forall logic obj. Event (Entity logic obj) -> Entity logic obj

#dyn Source

dyn :: forall logic obj. Event (Event (Child logic obj)) -> Entity logic obj