WAGS.Graph.Constructors
- Package
- purescript-wags
- Repository
- mikesol/purescript-wags
#DynamicsCompressor Source
data DynamicsCompressor threshold knee ratio attack release audioUnitTerm-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 audioUnit
#LoopBuf Source
data LoopBuf playbackRateTerm-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.Number- where in the file the loop should start.Number- where in the file the loop should end. A value of 0.0 or less means play to the end of the buffer.
Constructors
#Peaking Source
data Peaking frequency q gain audioUnitTerm-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.audioUnit- the audio unit to filter.
Constructors
Peaking frequency q gain audioUnit
#PeriodicOsc Source
data PeriodicOsc 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 String OnOff frequency
#PlayBuf Source
data PlayBuf 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.Number- where in the file the playback should start.OnOff- whether or not the generator is on or off.playbackRate- the playback rate.
Constructors
#SawtoothOsc Source
data SawtoothOsc 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
#StereoPanner Source
data StereoPanner pan audioUnitTerm-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.audioUnit- the audio unit to pan.
Constructors
StereoPanner pan audioUnit
#TriangleOsc Source
data TriangleOsc 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
#WaveShaper Source
data WaveShaper (floatArray :: Symbol) oversample audioUnitTerm-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.audioUnit- the audio unit to which we apply distortion.
Constructors
WaveShaper (Proxy floatArray) oversample audioUnit
#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
#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
#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
- Modules
- FRP.
Event. MIDI - WAGS.
Change - WAGS.
Connect - WAGS.
Control. Functions - WAGS.
Control. MemoizedState - WAGS.
Control. Qualified - WAGS.
Control. Thunkable - WAGS.
Control. Types - WAGS.
Create - WAGS.
Cursor - WAGS.
Debug - WAGS.
Destroy - WAGS.
Disconnect - WAGS.
Graph. Constructors - WAGS.
Graph. Decorators - WAGS.
Graph. Getter - WAGS.
Graph. Optionals - WAGS.
Graph. Parameter - WAGS.
Interpret - WAGS.
Move - WAGS.
MoveNode - WAGS.
Rebase - WAGS.
Rendered - WAGS.
Run - WAGS.
Universe. AudioUnit - WAGS.
Universe. Bin - WAGS.
Universe. BinN - WAGS.
Universe. EdgeProfile - WAGS.
Universe. Graph - WAGS.
Universe. Node - WAGS.
Universe. Skolems - WAGS.
Universe. Universe - WAGS.
Util - WAGS.
Validation