WAGS.Graph.AudioUnit
- Package
- purescript-wags
- Repository
- mikesol/purescript-wags
#DynamicsCompressor Source
data DynamicsCompressor threshold knee ratio attack releaseTerm-level constructor for a compressor.
threshold- The threshold under which compression kicks in.knee- The kink of the compression.ratio- The amount of compression to apply.attack- How far we look ahead. Longer attacks will lead to more crisp compression at the expense of an audible delay.release- How long the release time of compression should be.
Constructors
DynamicsCompressor threshold knee ratio attack release
Instances
ReifyAU (DynamicsCompressor a b c d e) TDynamicsCompressor
#Highshelf Source
data Highshelf frequency gainTerm-level constructor for a highshelf filter.
frequency- the frequency above which we start to filter.gain- the boost or the amount of attenuation to apply.
Constructors
Highshelf frequency gain
Instances
ReifyAU (Highshelf a b) THighshelf
#LoopBuf Source
data LoopBuf buffer onOff playbackRate loopStart loopEndTerm-level constructor for a looping buffer.
buffer- a string representing the buffer to use. Note that this string, when reset, will only reset the buffer when it is stopped.onOff- whether or not the generator is on or off.playbackRate- the playback rate.loopStart- where in the file the loop should start.loopEnd- where in the file the loop should end. A value of 0.0 or less means play to the end of the buffer.
Constructors
LoopBuf buffer onOff playbackRate loopStart loopEnd
Instances
#Microphone Source
#Peaking Source
data Peaking frequency q gainTerm-level constructor for a peaking filter. A peaking filter is a combination of bandpass and notch where the gain parameter modulates whether we are reinforcing or attenuating a frequency.
frequency- the frequency we are emphasizing or rejecting.q- the width of the filter.gain- if positive, we are emphasizing the frequency. If negative, we are rejecting it.
Constructors
Peaking frequency q gain
Instances
#PeriodicOsc Source
data PeriodicOsc periodicOsc onOff frequencyTerm-level constructor for a periodic oscillator.
periodicOsc- the name of the wave table we'll be using. Note that, for a chance to take effect, the periodic oscillator must be stopped.onOff- whether the generator is on or off.frequency- the frequency of the oscillator.
Constructors
PeriodicOsc periodicOsc onOff frequency
Instances
ReifyAU (PeriodicOsc a b c) TPeriodicOsc
#PlayBuf Source
data PlayBuf buffer offset onOff playbackRateTerm-level constructor for a playback buffer.
buffer- a string representing the buffer to use. Note that this string, when reset, will only reset the buffer when it is stopped.offset- where in the file the playback should start.onOff- whether or not the generator is on or off.playbackRate- the playback rate.
Constructors
PlayBuf buffer offset onOff playbackRate
Instances
#SawtoothOsc Source
data SawtoothOsc onOff frequencyTerm-level constructor for a sawtooth oscillator.
onOff- whether the generator is on or off.frequency- the frequency of the oscillator.
Constructors
SawtoothOsc onOff frequency
Instances
ReifyAU (SawtoothOsc a b) TSawtoothOsc
#SquareOsc Source
data SquareOsc onOff frequencyTerm-level constructor for a square-wave oscillator.
onOff- whether the generator is on or off.frequency- the frequency of the oscillator.
Constructors
SquareOsc onOff frequency
Instances
ReifyAU (SquareOsc a b) TSquareOsc
#StereoPanner Source
data StereoPanner panTerm-level constructor for a stereo panner.
pan- the amount of pan to apply, where -1.0 is fully to the left and 1.0 is fully to the right.
Constructors
StereoPanner pan
Instances
#TriangleOsc Source
data TriangleOsc onOff frequencyTerm-level constructor for a triangle oscillator.
onOff- whether the generator is on or off.frequency- the frequency of the oscillator.
Constructors
TriangleOsc onOff frequency
Instances
ReifyAU (TriangleOsc a b) TTriangleOsc
#WaveShaper Source
data WaveShaper (floatArray :: Symbol) oversampleTerm-level constructor for a WaveShaper, aka distortion.
floatArray- the shape of the distortion.oversample- how much to oversample - none, 2x or 4x. Once set, this cannot change without destroying and remaking the audio unit.
Constructors
WaveShaper (Proxy floatArray) oversample
Instances
(Monoid b) => ReifyAU (WaveShaper a b) (TWaveShaper a b)
#APOnOff Source
type APOnOff = AudioParameter_ OnOff#OversampleNone Source
data OversampleNoneType-level oversample none for a wave shaper. This is at the type-level and not the term-level via an ADT because we need make sure to construct an entirely new wave shaper if the value changes.
Constructors
Instances
#OversampleTwoX Source
data OversampleTwoXType-level oversample 2x for a wave shaper. This is at the type-level and not the term-level via an ADT because we need make sure to construct an entirely new wave shaper if the value changes.
Constructors
Instances
#OversampleFourX Source
data OversampleFourXType-level oversample 4x for a wave shaper. This is at the type-level and not the term-level via an ADT because we need make sure to construct an entirely new wave shaper if the value changes.
Constructors
Instances
#ReifyAU Source
class ReifyAU a b | a -> b whereMembers
reifyAU :: a -> b
Instances
ReifyAU (Allpass a b) TAllpassReifyAU (Bandpass a b) TBandpassReifyAU (Constant a b) TConstantReifyAU (Convolver sym) (TConvolver sym)ReifyAU (Delay a) TDelayReifyAU (DynamicsCompressor a b c d e) TDynamicsCompressorReifyAU (Gain a) TGainReifyAU (Highpass a b) THighpassReifyAU (Highshelf a b) THighshelfReifyAU (LoopBuf a b c d e) TLoopBufReifyAU (Lowpass a b) TLowpassReifyAU (Lowshelf a b) TLowshelfReifyAU Microphone TMicrophoneReifyAU (Notch a b) TNotchReifyAU (Peaking a b c) TPeakingReifyAU (PeriodicOsc a b c) TPeriodicOscReifyAU (PlayBuf a b c d) TPlayBufReifyAU (Recorder sym) (TRecorder sym)ReifyAU (SawtoothOsc a b) TSawtoothOscReifyAU (SinOsc a b) TSinOscReifyAU Speaker TSpeakerReifyAU (SquareOsc a b) TSquareOscReifyAU (StereoPanner a) TStereoPannerReifyAU (TriangleOsc a b) TTriangleOsc(Monoid b) => ReifyAU (WaveShaper a b) (TWaveShaper a b)
#TConvolver Source
data TConvolver (sym :: Symbol)Type-level constructor for a convolver, aka reverb.
Constructors
TConvolver (Proxy sym)
Instances
Semigroup (TConvolver sym)Monoid (TConvolver sym)ReifyAU (Convolver sym) (TConvolver sym)
#TDynamicsCompressor Source
#THighshelf Source
#TMicrophone Source
#TPeriodicOsc Source
#TSawtoothOsc Source
#TSquareOsc Source
#TStereoPanner Source
#TTriangleOsc Source
#TWaveShaper Source
data TWaveShaper (sym :: Symbol) (oversample :: Type)Type-level constructor for a wave shaper.
Constructors
TWaveShaper (Proxy sym) oversample
Instances
(Monoid b) => Semigroup (TWaveShaper a b)(Monoid b) => Monoid (TWaveShaper a b)(Monoid b) => ReifyAU (WaveShaper a b) (TWaveShaper a b)
#ReifyAUFoldingWithIndex Source
data ReifyAUFoldingWithIndexConstructors
Instances
FoldingWithIndex ReifyAUFoldingWithIndex (proxy sym) (Record inRecord) Unit (Record inRecord)(Edgeable node' (Tuple node edges), ReifyAU node asType, IsSymbol sym, Lacks sym inRecord, HMap Obliterate edges obliterated, Cons sym (Tuple asType obliterated) inRecord midRecord, HFoldlWithIndex ReifyAUFoldingWithIndex (Record midRecord) edges (Record outRecord)) => FoldingWithIndex ReifyAUFoldingWithIndex (proxy sym) (Record inRecord) node' (Record outRecord)
#ReifyAUs Source
type ReifyAUs r = forall rr. HFoldlWithIndex ReifyAUFoldingWithIndex (Record ()) r rr => rr#reifyAUs Source
reifyAUs :: forall r rr. HFoldlWithIndex ReifyAUFoldingWithIndex (Record ()) r rr => r -> rrReify many audio units.
- 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