Module
WAGS.Change
- Package
- purescript-wags
- Repository
- mikesol/purescript-wags
#apure Source
apure :: forall (a :: Type). a -> AudioParameter_ a
#Change'Type Source
type Change'Type (ptr :: Symbol) (a :: Type) (graph :: Graph) = forall proxy audio engine proof res. AudioInterpret audio engine => proxy ptr -> WAG audio engine proof res (Record graph) a -> WAG audio engine proof res (Record graph) Unit
#Change' Source
class Change' (ptr :: Symbol) (a :: Type) (graph :: Graph) where
Change an audio unit node
in igraph
with index ptr
, outputting the changed node.
Members
change' :: Change'Type ptr a graph
Instances
(Change' ptr AudioParameter graph) => Change' ptr Number graph
(Change' ptr APOnOff graph) => Change' ptr OnOff graph
(Cons ptr tau' ignore graph, Detup tau' tau, Monoid tau, OneShotChange tau (AudioParameter_ param) au, Change' ptr au graph) => Change' ptr (AudioParameter_ param) graph
(Cons ptr tau' ignore graph, Detup tau' tau, Monoid tau, OneShotChange tau String au, Change' ptr au graph) => Change' ptr String graph
(Cons ptr tau' ignore graph, Detup tau' tau, Monoid tau, OneShotChange tau (Tuple (Vec size Number) (Vec size Number)) au, Change' ptr au graph) => Change' ptr (Tuple (Vec size Number) (Vec size Number)) graph
(RowToList r rl', PushAPOnOffToEnd rl' rl, Change'' rl ptr r graph) => Change' ptr (Record r) graph
Change' ptr Unit graph
(IsSymbol ptr, MM mArgA (Maybe argA), Paramable argA, MM mArgB (Maybe argB), Paramable argB, Cons ptr (NodeC TAllpass edges) ignore graph) => Change' ptr (Allpass mArgA mArgB) graph
(IsSymbol ptr, MM mArgA (Maybe argA), Paramable argA, MM mArgB (Maybe argB), Paramable argB, Cons ptr (NodeC TBandpass edges) ignore graph) => Change' ptr (Bandpass mArgA mArgB) graph
(IsSymbol ptr, MM mAPOnOff (Maybe onOff), OnOffable onOff, MM mArgA (Maybe argA), Paramable argA, Cons ptr (NodeC TConstant edges) ignore graph) => Change' ptr (Constant mAPOnOff mArgA) graph
(IsSymbol ptr, MM mArgA (Maybe argA), Paramable argA, Cons ptr (NodeC TDelay edges) ignore graph) => Change' ptr (Delay mArgA) graph
(IsSymbol ptr, MM mArgA (Maybe argA), Paramable argA, MM mArgB (Maybe argB), Paramable argB, MM mArgC (Maybe argC), Paramable argC, MM mArgD (Maybe argD), Paramable argD, MM mArgE (Maybe argE), Paramable argE, Cons ptr (NodeC TDynamicsCompressor edges) ignore graph) => Change' ptr (DynamicsCompressor mArgA mArgB mArgC mArgD mArgE) graph
(IsSymbol ptr, MM mArgA (Maybe argA), Paramable argA, Cons ptr (NodeC TGain edges) ignore graph) => Change' ptr (Gain mArgA) graph
(IsSymbol ptr, MM mArgA (Maybe argA), Paramable argA, MM mArgB (Maybe argB), Paramable argB, Cons ptr (NodeC THighpass edges) ignore graph) => Change' ptr (Highpass mArgA mArgB) graph
(IsSymbol ptr, MM mArgA (Maybe argA), Paramable argA, MM mArgB (Maybe argB), Paramable argB, Cons ptr (NodeC THighshelf edges) ignore graph) => Change' ptr (Highshelf mArgA mArgB) graph
(IsSymbol ptr, MM mBuffer (Maybe String), MM mAPOnOff (Maybe onOff), OnOffable onOff, MM mArgA (Maybe argA), MM mLoopStart (Maybe Number), MM mLoopEnd (Maybe Number), Paramable argA, Cons ptr (NodeC TLoopBuf edges) ignore graph) => Change' ptr (LoopBuf mBuffer mAPOnOff mArgA mLoopStart mLoopEnd) graph
(IsSymbol ptr, MM mArgA (Maybe argA), Paramable argA, MM mArgB (Maybe argB), Paramable argB, Cons ptr (NodeC TLowpass edges) ignore graph) => Change' ptr (Lowpass mArgA mArgB) graph
(IsSymbol ptr, MM mArgA (Maybe argA), Paramable argA, MM mArgB (Maybe argB), Paramable argB, Cons ptr (NodeC TLowshelf edges) ignore graph) => Change' ptr (Lowshelf mArgA mArgB) graph
(Cons "microphone" (NodeC TMicrophone edges) ignore graph) => Change' "microphone" Microphone graph
(IsSymbol ptr, MM mArgA (Maybe argA), Paramable argA, MM mArgB (Maybe argB), Paramable argB, Cons ptr (NodeC TNotch edges) ignore graph) => Change' ptr (Notch mArgA mArgB) graph
(IsSymbol ptr, MM mArgA (Maybe argA), Paramable argA, MM mArgB (Maybe argB), Paramable argB, MM mArgC (Maybe argC), Paramable argC, Cons ptr (NodeC TPeaking edges) ignore graph) => Change' ptr (Peaking mArgA mArgB mArgC) graph
(IsSymbol ptr, MM mOsc (Maybe osc), MM mAPOnOff (Maybe onOff), OnOffable onOff, ChangePeriodicOsc osc, MM mArgA (Maybe argA), Paramable argA, Cons ptr (NodeC TPeriodicOsc edges) ignore graph) => Change' ptr (PeriodicOsc mOsc mAPOnOff mArgA) graph
(IsSymbol ptr, MM mBuffer (Maybe String), MM mOffset (Maybe Number), MM mAPOnOff (Maybe onOff), OnOffable onOff, MM mArgA (Maybe argA), Paramable argA, Cons ptr (NodeC TPlayBuf edges) ignore graph) => Change' ptr (PlayBuf mBuffer mOffset mAPOnOff mArgA) graph
(IsSymbol ptr, Cons ptr (NodeC (TRecorder sym) edges) ignore graph) => Change' ptr (Recorder sym) graph
(IsSymbol ptr, MM mAPOnOff (Maybe onOff), OnOffable onOff, MM mArgA (Maybe argA), Paramable argA, Cons ptr (NodeC TSawtoothOsc edges) ignore graph) => Change' ptr (SawtoothOsc mAPOnOff mArgA) graph
(IsSymbol ptr, MM mAPOnOff (Maybe onOff), OnOffable onOff, MM mArgA (Maybe argA), Paramable argA, Cons ptr (NodeC TSinOsc edges) ignore graph) => Change' ptr (SinOsc mAPOnOff mArgA) graph
(Cons "speaker" (NodeC TSpeaker edges) ignore graph) => Change' "speaker" Speaker graph
(IsSymbol ptr, MM mAPOnOff (Maybe onOff), OnOffable onOff, MM mArgA (Maybe argA), Paramable argA, Cons ptr (NodeC TSquareOsc edges) ignore graph) => Change' ptr (SquareOsc mAPOnOff mArgA) graph
(IsSymbol ptr, MM mArgA (Maybe argA), Paramable argA, Cons ptr (NodeC TStereoPanner edges) ignore graph) => Change' ptr (StereoPanner mArgA) graph
(IsSymbol ptr, MM mAPOnOff (Maybe onOff), OnOffable onOff, MM mArgA (Maybe argA), Paramable argA, Cons ptr (NodeC TTriangleOsc edges) ignore graph) => Change' ptr (TriangleOsc mAPOnOff mArgA) graph
(IsSymbol ptr, Cons ptr (NodeC (TWaveShaper a b) edges) ignore graph) => Change' ptr (WaveShaper a b) graph
#CanBeChanged Source
class CanBeChanged (sym :: Symbol) (val :: Type) (ptr :: Symbol) (graph :: Graph) where
Members
canBeChanged :: CanBeChangedType sym val ptr graph
Instances
(CanBeChanged "freq" AudioParameter ptr graph) => CanBeChanged "freq" Number ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, Freqable tau) => CanBeChanged "freq" AudioParameter ptr graph
(CanBeChanged "onOff" APOnOff ptr graph) => CanBeChanged "onOff" OnOff ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, APOnOffable tau) => CanBeChanged "onOff" APOnOff ptr graph
(CanBeChanged "q" AudioParameter ptr graph) => CanBeChanged "q" Number ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, Qable tau) => CanBeChanged "q" AudioParameter ptr graph
(CanBeChanged "gain" AudioParameter ptr graph) => CanBeChanged "gain" Number ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, Gainable tau) => CanBeChanged "gain" AudioParameter ptr graph
(CanBeChanged "offset" AudioParameter ptr graph) => CanBeChanged "offset" Number ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, Offsetable tau) => CanBeChanged "offset" AudioParameter ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, LoopStartable tau) => CanBeChanged "loopStart" Number ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, LoopEndable tau) => CanBeChanged "loopEnd" Number ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, BufferOffsetable tau) => CanBeChanged "bufferOffset" Number ptr graph
(CanBeChanged "playbackRate" AudioParameter ptr graph) => CanBeChanged "playbackRate" Number ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, PlaybackRateable tau) => CanBeChanged "playbackRate" AudioParameter ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, Bufferable tau) => CanBeChanged "buffer" String ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, Waveformable tau) => CanBeChanged "waveform" String ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, Waveformable tau) => CanBeChanged "waveform" (Tuple (Vec size Number) (Vec size Number)) ptr graph
(CanBeChanged "threshold" AudioParameter ptr graph) => CanBeChanged "threshold" Number ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, Thresholdable tau) => CanBeChanged "threshold" AudioParameter ptr graph
(CanBeChanged "ratio" AudioParameter ptr graph) => CanBeChanged "ratio" Number ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, Ratioable tau) => CanBeChanged "ratio" AudioParameter ptr graph
(CanBeChanged "knee" AudioParameter ptr graph) => CanBeChanged "knee" Number ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, Kneeable tau) => CanBeChanged "knee" AudioParameter ptr graph
(CanBeChanged "attack" AudioParameter ptr graph) => CanBeChanged "attack" Number ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, Attackable tau) => CanBeChanged "attack" AudioParameter ptr graph
(CanBeChanged "release" AudioParameter ptr graph) => CanBeChanged "release" Number ptr graph
(IsSymbol ptr, Cons ptr tau' ignore graph, Detup tau' tau, Releaseable tau) => CanBeChanged "release" AudioParameter ptr graph
#Change'' Source
#Change Source
class Change (r :: Row Type) (graph :: Graph) where
Similar to change'
, but accepts a record with multiple units to change.
Members
change :: forall audio engine proof res. AudioInterpret audio engine => WAG audio engine proof res (Record graph) (Record r) -> WAG audio engine proof res (Record graph) Unit
Instances
#ChangeRL Source
#PushAPOnOffToEnd Source
class PushAPOnOffToEnd (i :: RowList Type) (o :: RowList Type) | i -> o
Instances
PushAPOnOffToEnd Nil Nil
PushAPOnOffToEnd (Cons "onOff" a Nil) (Cons "onOff" a Nil)
(PushAPOnOffToEnd (Cons x y (Cons "onOff" a z)) o) => PushAPOnOffToEnd (Cons "onOff" a (Cons x y z)) o
(PushAPOnOffToEnd c o) => PushAPOnOffToEnd (Cons a b c) (Cons a b o)
#OneShotChange Source
class (Monoid tau) <= OneShotChange tau p au | tau p -> au where
Members
oneShotChange :: tau -> p -> au
Instances
OneShotChange TAllpass AudioParameter (Allpass (Maybe AudioParameter) (Maybe AudioParameter))
OneShotChange TBandpass AudioParameter (Bandpass (Maybe AudioParameter) (Maybe AudioParameter))
OneShotChange TConstant AudioParameter (Constant (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TConstant APOnOff (Constant (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TDelay AudioParameter (Delay (Maybe AudioParameter))
OneShotChange TGain AudioParameter (Gain (Maybe AudioParameter))
OneShotChange THighpass AudioParameter (Highpass (Maybe AudioParameter) (Maybe AudioParameter))
OneShotChange THighshelf AudioParameter (Highshelf (Maybe AudioParameter) (Maybe AudioParameter))
OneShotChange TLoopBuf AudioParameter (LoopBuf (Maybe String) (Maybe APOnOff) (Maybe AudioParameter) (Maybe Number) (Maybe Number))
OneShotChange TLoopBuf APOnOff (LoopBuf (Maybe String) (Maybe APOnOff) (Maybe AudioParameter) (Maybe Number) (Maybe Number))
OneShotChange TLoopBuf String (LoopBuf (Maybe String) (Maybe APOnOff) (Maybe AudioParameter) (Maybe Number) (Maybe Number))
OneShotChange TLowpass AudioParameter (Lowpass (Maybe AudioParameter) (Maybe AudioParameter))
OneShotChange TLowshelf AudioParameter (Lowshelf (Maybe AudioParameter) (Maybe AudioParameter))
OneShotChange TNotch AudioParameter (Notch (Maybe AudioParameter) (Maybe AudioParameter))
OneShotChange TPeaking AudioParameter (Peaking (Maybe AudioParameter) (Maybe AudioParameter) (Maybe AudioParameter))
OneShotChange TPeriodicOsc AudioParameter (PeriodicOsc (Maybe String) (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TPeriodicOsc APOnOff (PeriodicOsc (Maybe String) (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TPeriodicOsc String (PeriodicOsc (Maybe String) (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TPeriodicOsc (Tuple (Vec size Number) (Vec size Number)) (PeriodicOsc (Maybe (Tuple (Vec size Number) (Vec size Number))) (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TPlayBuf AudioParameter (PlayBuf (Maybe String) (Maybe Number) (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TPlayBuf APOnOff (PlayBuf (Maybe String) (Maybe Number) (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TPlayBuf String (PlayBuf (Maybe String) (Maybe Number) (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TSawtoothOsc AudioParameter (SawtoothOsc (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TSawtoothOsc APOnOff (SawtoothOsc (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TSinOsc AudioParameter (SinOsc (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TSinOsc APOnOff (SinOsc (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TSquareOsc AudioParameter (SquareOsc (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TSquareOsc APOnOff (SquareOsc (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TStereoPanner AudioParameter (StereoPanner (Maybe AudioParameter))
OneShotChange TTriangleOsc AudioParameter (TriangleOsc (Maybe APOnOff) (Maybe AudioParameter))
OneShotChange TTriangleOsc APOnOff (TriangleOsc (Maybe APOnOff) (Maybe AudioParameter))
#ChangePeriodicOsc Source
class ChangePeriodicOsc a where
Members
setPosc :: forall audio engine. AudioInterpret audio engine => String -> a -> audio -> engine
Instances
ChangePeriodicOsc (Tuple (Vec size Number) (Vec size Number))
ChangePeriodicOsc String
- Modules
- FRP.
Event. MIDI - WAGS.
Change - WAGS.
Change. Optionals - WAGS.
Comonad - WAGS.
Connect - WAGS.
Control. Functions - WAGS.
Control. Functions. Validated - WAGS.
Control. Indexed - WAGS.
Control. Types - WAGS.
Create - WAGS.
Create. Optionals - WAGS.
CreateT - WAGS.
Debug - WAGS.
Destroy - WAGS.
Disconnect - WAGS.
Edgeable - WAGS.
Graph. AudioUnit - WAGS.
Graph. Edge - WAGS.
Graph. Graph - WAGS.
Graph. Node - WAGS.
Graph. Oversample - WAGS.
Graph. Paramable - WAGS.
Graph. Parameter - WAGS.
Interpret - WAGS.
Math - WAGS.
Patch - WAGS.
Rendered - WAGS.
Run - WAGS.
Util - WAGS.
Validation