Module
WAGS.Change.Optionals
- Package
- purescript-wags
- Repository
- mikesol/purescript-wags
This module provides functions for the construction of audio units that more closely resemble the overloaded constructors of the Web Audio API.
#Allpass Source
data Allpass
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption Allpass "freq" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption Allpass "q" a (Maybe AudioParameter)
(ConvertOptionsWithDefaults Allpass (Record AllpassOptional) (Record provided) (Record AllpassAll)) => AllpassCtor (Record provided) (Allpass (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => AllpassCtor a (Allpass (Maybe AudioParameter) (Maybe AudioParameter))
#AllpassOptional Source
type AllpassOptional = (freq :: Maybe AudioParameter, q :: Maybe AudioParameter)
#AllpassAll Source
type AllpassAll = AllpassOptional
#AllpassCtor Source
class AllpassCtor i allpass | i -> allpass where
Members
allpass :: i -> allpass
Instances
(ConvertOptionsWithDefaults Allpass (Record AllpassOptional) (Record provided) (Record AllpassAll)) => AllpassCtor (Record provided) (Allpass (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => AllpassCtor a (Allpass (Maybe AudioParameter) (Maybe AudioParameter))
#DAllpass Source
type DAllpass = Allpass (Maybe AudioParameter) (Maybe AudioParameter)
#Bandpass Source
data Bandpass
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption Bandpass "freq" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption Bandpass "q" a (Maybe AudioParameter)
(ConvertOptionsWithDefaults Bandpass (Record BandpassOptional) (Record provided) (Record BandpassAll)) => BandpassCtor (Record provided) (Bandpass (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => BandpassCtor a (Bandpass (Maybe AudioParameter) (Maybe AudioParameter))
#BandpassOptional Source
type BandpassOptional = (freq :: Maybe AudioParameter, q :: Maybe AudioParameter)
#BandpassAll Source
type BandpassAll = BandpassOptional
#BandpassCtor Source
class BandpassCtor i bandpass | i -> bandpass where
Members
bandpass :: i -> bandpass
Create a bandpass filter, connecting it to another unit
bandpass { freq: 440.0 } { sinOsc: unit } bandpass { freq: 440.0, q: 1.0 } { sinOsc: unit } bandpass 440.0 { sinOsc: unit }
Instances
(ConvertOptionsWithDefaults Bandpass (Record BandpassOptional) (Record provided) (Record BandpassAll)) => BandpassCtor (Record provided) (Bandpass (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => BandpassCtor a (Bandpass (Maybe AudioParameter) (Maybe AudioParameter))
#DBandpass Source
type DBandpass = Bandpass (Maybe AudioParameter) (Maybe AudioParameter)
#Constant Source
data Constant
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption Constant "offset" a (Maybe AudioParameter)
(OnOffable b, MM a (Maybe b)) => ConvertOption Constant "onOff" a (Maybe APOnOff)
(ConvertOptionsWithDefaults Constant (Record ConstantOptional) (Record provided) (Record ConstantAll)) => ConstantCtor (Record provided) (Tuple (Constant APOnOff AudioParameter) (Record ()))
(Paramable a) => ConstantCtor a (Tuple (Constant APOnOff AudioParameter) (Record ()))
#ConstantOptional Source
type ConstantOptional = (onOff :: APOnOff)
#ConstantAll Source
type ConstantAll = (offset :: AudioParameter | ConstantOptional)
#ConstantCtor Source
class ConstantCtor i o | i -> o where
Members
constant :: i -> o
Change a constant value
constant 0.5
Instances
(ConvertOptionsWithDefaults Constant (Record ConstantOptional) (Record provided) (Record ConstantAll)) => ConstantCtor (Record provided) (Tuple (Constant APOnOff AudioParameter) (Record ()))
(Paramable a) => ConstantCtor a (Tuple (Constant APOnOff AudioParameter) (Record ()))
#DDelay Source
type DDelay = Delay AudioParameter
#DynamicsCompressor Source
data DynamicsCompressor
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption DynamicsCompressor "threshold" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption DynamicsCompressor "knee" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption DynamicsCompressor "ratio" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption DynamicsCompressor "attack" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption DynamicsCompressor "release" a (Maybe AudioParameter)
(ConvertOptionsWithDefaults DynamicsCompressor (Record DynamicsCompressorOptional) (Record provided) (Record DynamicsCompressorAll)) => DynamicsCompressorCtor (Record provided) (DynamicsCompressor (Maybe AudioParameter) (Maybe AudioParameter) (Maybe AudioParameter) (Maybe AudioParameter) (Maybe AudioParameter))
#DynamicsCompressorOptional Source
type DynamicsCompressorOptional = (attack :: Maybe AudioParameter, knee :: Maybe AudioParameter, ratio :: Maybe AudioParameter, release :: Maybe AudioParameter, threshold :: Maybe AudioParameter)
#DynamicsCompressorCtor Source
class DynamicsCompressorCtor i compressor | i -> compressor where
Members
compressor :: i -> compressor
Change a compressor.
compressor { threshold: -10.0 } { buf: playBuf "track" } compressor { knee: 20.0, ratio: 10.0 } { buf: playBuf "track" } compressor { attack: 0.01, release: 0.3 } { buf: playBuf "track" }
Instances
(ConvertOptionsWithDefaults DynamicsCompressor (Record DynamicsCompressorOptional) (Record provided) (Record DynamicsCompressorAll)) => DynamicsCompressorCtor (Record provided) (DynamicsCompressor (Maybe AudioParameter) (Maybe AudioParameter) (Maybe AudioParameter) (Maybe AudioParameter) (Maybe AudioParameter))
#Mix Source
type Mix = Gain AudioParameter
#DGain Source
type DGain = Gain AudioParameter
#Highpass Source
data Highpass
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption Highpass "freq" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption Highpass "q" a (Maybe AudioParameter)
(ConvertOptionsWithDefaults Highpass (Record HighpassOptional) (Record provided) (Record HighpassAll)) => HighpassCtor (Record provided) (Highpass (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => HighpassCtor a (Highpass (Maybe AudioParameter) (Maybe AudioParameter))
#HighpassOptional Source
type HighpassOptional = (freq :: Maybe AudioParameter, q :: Maybe AudioParameter)
#HighpassAll Source
type HighpassAll = HighpassOptional
#HighpassCtor Source
class HighpassCtor i highpass | i -> highpass where
Members
highpass :: i -> highpass
Change a highpass filter
highpass { freq: 440.0 } highpass { freq: 440.0, q: 1.0 } highpass 440.0
Instances
(ConvertOptionsWithDefaults Highpass (Record HighpassOptional) (Record provided) (Record HighpassAll)) => HighpassCtor (Record provided) (Highpass (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => HighpassCtor a (Highpass (Maybe AudioParameter) (Maybe AudioParameter))
#DHighpass Source
type DHighpass = Highpass (Maybe AudioParameter) (Maybe AudioParameter)
#Highshelf Source
data Highshelf
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption Highshelf "freq" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption Highshelf "gain" a (Maybe AudioParameter)
(ConvertOptionsWithDefaults Highshelf (Record HighshelfOptional) (Record provided) (Record HighshelfAll)) => HighshelfCtor (Record provided) (Highshelf (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => HighshelfCtor a (Highshelf (Maybe AudioParameter) (Maybe AudioParameter))
#HighshelfOptional Source
type HighshelfOptional = (freq :: Maybe AudioParameter, gain :: Maybe AudioParameter)
#HighshelfAll Source
type HighshelfAll = HighshelfOptional
#HighshelfCtor Source
class HighshelfCtor i highshelf | i -> highshelf where
Members
highshelf :: i -> highshelf
Change a highshelf filter
highshelf { freq: 440.0 } highshelf { freq: 440.0, gain: 1.0 } highshelf 440.0
Instances
(ConvertOptionsWithDefaults Highshelf (Record HighshelfOptional) (Record provided) (Record HighshelfAll)) => HighshelfCtor (Record provided) (Highshelf (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => HighshelfCtor a (Highshelf (Maybe AudioParameter) (Maybe AudioParameter))
#DHighshelf Source
type DHighshelf = Highshelf (Maybe AudioParameter) (Maybe AudioParameter)
#LoopBuf Source
data LoopBuf
Constructors
Instances
(MM a (Maybe String)) => ConvertOption LoopBuf "buffer" a (Maybe String)
(Paramable b, MM a (Maybe b)) => ConvertOption LoopBuf "playbackRate" a (Maybe AudioParameter)
(OnOffable b, MM a (Maybe b)) => ConvertOption LoopBuf "onOff" a (Maybe APOnOff)
(MM a (Maybe Number)) => ConvertOption LoopBuf "loopStart" a (Maybe Number)
(MM a (Maybe Number)) => ConvertOption LoopBuf "loopEnd" a (Maybe Number)
(ConvertOptionsWithDefaults LoopBuf (Record LoopBufOptional) (Record provided) (Record LoopBufAll)) => LoopBufCtor (Record provided) (LoopBuf (Maybe String) (Maybe APOnOff) (Maybe AudioParameter) (Maybe Number) (Maybe Number))
(Paramable b, MM a (Maybe b)) => LoopBufCtor a (LoopBuf (Maybe String) (Maybe APOnOff) (Maybe AudioParameter) (Maybe Number) (Maybe Number))
#LoopBufAll Source
type LoopBufAll = LoopBufOptional
#LoopBufCtor Source
class LoopBufCtor i loopBuf | i -> loopBuf where
Members
loopBuf :: i -> loopBuf
Change a looping buffer.
loopBuf { playbackRate: 1.0 } "track" loopBuf { playbackRate: 1.0, loopStart: 0.5 } "track" loopBuf "track"
Instances
(ConvertOptionsWithDefaults LoopBuf (Record LoopBufOptional) (Record provided) (Record LoopBufAll)) => LoopBufCtor (Record provided) (LoopBuf (Maybe String) (Maybe APOnOff) (Maybe AudioParameter) (Maybe Number) (Maybe Number))
(Paramable b, MM a (Maybe b)) => LoopBufCtor a (LoopBuf (Maybe String) (Maybe APOnOff) (Maybe AudioParameter) (Maybe Number) (Maybe Number))
#Lowpass Source
data Lowpass
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption Lowpass "freq" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption Lowpass "q" a (Maybe AudioParameter)
(ConvertOptionsWithDefaults Lowpass (Record LowpassOptional) (Record provided) (Record LowpassAll)) => LowpassCtor (Record provided) (Lowpass (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => LowpassCtor a (Lowpass (Maybe AudioParameter) (Maybe AudioParameter))
#LowpassOptional Source
type LowpassOptional = (freq :: Maybe AudioParameter, q :: Maybe AudioParameter)
#LowpassAll Source
type LowpassAll = LowpassOptional
#LowpassCtor Source
class LowpassCtor i lowpass | i -> lowpass where
Members
lowpass :: i -> lowpass
Change a lowpass filter
lowpass { freq: 440.0 } lowpass { freq: 440.0, q: 1.0 } lowpass 440.0
Instances
(ConvertOptionsWithDefaults Lowpass (Record LowpassOptional) (Record provided) (Record LowpassAll)) => LowpassCtor (Record provided) (Lowpass (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => LowpassCtor a (Lowpass (Maybe AudioParameter) (Maybe AudioParameter))
#DLowpass Source
type DLowpass = Lowpass (Maybe AudioParameter) (Maybe AudioParameter)
#Lowshelf Source
data Lowshelf
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption Lowshelf "freq" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption Lowshelf "gain" a (Maybe AudioParameter)
(ConvertOptionsWithDefaults Lowshelf (Record LowshelfOptional) (Record provided) (Record LowshelfAll)) => LowshelfCtor (Record provided) (Lowshelf (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => LowshelfCtor a (Lowshelf (Maybe AudioParameter) (Maybe AudioParameter))
#LowshelfOptional Source
type LowshelfOptional = (freq :: Maybe AudioParameter, gain :: Maybe AudioParameter)
#LowshelfAll Source
type LowshelfAll = LowshelfOptional
#LowshelfCtor Source
class LowshelfCtor i lowshelf | i -> lowshelf where
Members
lowshelf :: i -> lowshelf
Change a lowshelf filter
lowshelf { freq: 440.0 } lowshelf { freq: 440.0, gain: 1.0 } lowshelf 440.0
Instances
(ConvertOptionsWithDefaults Lowshelf (Record LowshelfOptional) (Record provided) (Record LowshelfAll)) => LowshelfCtor (Record provided) (Lowshelf (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => LowshelfCtor a (Lowshelf (Maybe AudioParameter) (Maybe AudioParameter))
#DLowshelf Source
type DLowshelf = Lowshelf (Maybe AudioParameter) (Maybe AudioParameter)
#Notch Source
data Notch
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption Notch "freq" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption Notch "q" a (Maybe AudioParameter)
(ConvertOptionsWithDefaults Notch (Record NotchOptional) (Record provided) (Record NotchAll)) => NotchCtor (Record provided) (Notch (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => NotchCtor a (Notch (Maybe AudioParameter) (Maybe AudioParameter))
#NotchOptional Source
type NotchOptional = (freq :: Maybe AudioParameter, q :: Maybe AudioParameter)
#NotchAll Source
type NotchAll = NotchOptional
#NotchCtor Source
class NotchCtor i notch | i -> notch where
Members
notch :: i -> notch
Change a notch (band-reject) filter
notch { freq: 440.0 } notch { freq: 440.0, gain: 1.0 } notch 440.0
Instances
(ConvertOptionsWithDefaults Notch (Record NotchOptional) (Record provided) (Record NotchAll)) => NotchCtor (Record provided) (Notch (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => NotchCtor a (Notch (Maybe AudioParameter) (Maybe AudioParameter))
#DNotch Source
type DNotch = Notch (Maybe AudioParameter) (Maybe AudioParameter)
#Peaking Source
data Peaking
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption Peaking "freq" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption Peaking "q" a (Maybe AudioParameter)
(Paramable b, MM a (Maybe b)) => ConvertOption Peaking "gain" a (Maybe AudioParameter)
(ConvertOptionsWithDefaults Peaking (Record PeakingOptional) (Record provided) (Record PeakingAll)) => PeakingCtor (Record provided) (Peaking (Maybe AudioParameter) (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => PeakingCtor a (Peaking (Maybe AudioParameter) (Maybe AudioParameter) (Maybe AudioParameter))
#PeakingOptional Source
type PeakingOptional = (freq :: Maybe AudioParameter, gain :: Maybe AudioParameter, q :: Maybe AudioParameter)
#PeakingAll Source
type PeakingAll = PeakingOptional
#PeakingCtor Source
class PeakingCtor i peaking | i -> peaking where
Members
peaking :: i -> peaking
Change a peaking filter
peaking { freq: 440.0 } peaking { freq: 440.0, gain: 1.0 } peaking 440.0
Instances
(ConvertOptionsWithDefaults Peaking (Record PeakingOptional) (Record provided) (Record PeakingAll)) => PeakingCtor (Record provided) (Peaking (Maybe AudioParameter) (Maybe AudioParameter) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => PeakingCtor a (Peaking (Maybe AudioParameter) (Maybe AudioParameter) (Maybe AudioParameter))
#DPeaking Source
type DPeaking = Peaking (Maybe AudioParameter) (Maybe AudioParameter) (Maybe AudioParameter)
#CanBeCoercedToPeriodicOsc Source
class CanBeCoercedToPeriodicOsc (canBeCoercedToPeriodicOsc :: Type)
Instances
CanBeCoercedToPeriodicOsc String
CanBeCoercedToPeriodicOsc (Tuple (Vec size Number) (Vec size Number))
#PeriodicOsc Source
data PeriodicOsc
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption PeriodicOsc "freq" a (Maybe AudioParameter)
(OnOffable b, MM a (Maybe b)) => ConvertOption PeriodicOsc "onOff" a (Maybe APOnOff)
(MM mWave (Maybe wave), CanBeCoercedToPeriodicOsc wave) => ConvertOption PeriodicOsc "waveform" mWave (Maybe wave)
(ConvertOptionsWithDefaults PeriodicOsc (Record (PeriodicOscOptional wave)) (Record provided) (Record (PeriodicOscAll wave))) => PeriodicOscCtor (Record provided) (PeriodicOsc (Maybe wave) (Maybe APOnOff) (Maybe AudioParameter))
(MM mWave (Maybe wave), CanBeCoercedToPeriodicOsc wave, Paramable b, MM a (Maybe b)) => PeriodicOscCtor mWave (a -> PeriodicOsc (Maybe wave) (Maybe APOnOff) (Maybe AudioParameter))
#PeriodicOscOptional Source
type PeriodicOscOptional wave = (freq :: Maybe AudioParameter, onOff :: Maybe APOnOff, wave :: Maybe wave)
#PeriodicOscAll Source
type PeriodicOscAll wave = PeriodicOscOptional wave
#defaultPeriodicOsc Source
defaultPeriodicOsc :: forall wave. Record (PeriodicOscOptional wave)
#PeriodicOscCtor Source
class PeriodicOscCtor i o | i -> o where
Members
periodicOsc :: i -> o
Change a periodicOsc value
periodicOsc "my-osc" 0.5
Instances
(ConvertOptionsWithDefaults PeriodicOsc (Record (PeriodicOscOptional wave)) (Record provided) (Record (PeriodicOscAll wave))) => PeriodicOscCtor (Record provided) (PeriodicOsc (Maybe wave) (Maybe APOnOff) (Maybe AudioParameter))
(MM mWave (Maybe wave), CanBeCoercedToPeriodicOsc wave, Paramable b, MM a (Maybe b)) => PeriodicOscCtor mWave (a -> PeriodicOsc (Maybe wave) (Maybe APOnOff) (Maybe AudioParameter))
#DPeriodicOsc Source
type DPeriodicOsc periodicOsc = PeriodicOsc periodicOsc APOnOff AudioParameter
#PlayBuf Source
data PlayBuf
Constructors
Instances
(MM a (Maybe String)) => ConvertOption PlayBuf "buffer" a (Maybe String)
(Paramable b, MM a (Maybe b)) => ConvertOption PlayBuf "playbackRate" a (Maybe AudioParameter)
(MM mAPOnOff (Maybe APOnOff)) => ConvertOption PlayBuf "onOff" mAPOnOff (Maybe APOnOff)
(MM mOffset (Maybe Number)) => ConvertOption PlayBuf "bufferOffset" mOffset (Maybe Number)
(ConvertOptionsWithDefaults PlayBuf (Record PlayBufOptional) (Record provided) (Record PlayBufAll)) => PlayBufCtor (Record provided) (PlayBuf (Maybe String) (Maybe Number) (Maybe APOnOff) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => PlayBufCtor a (PlayBuf (Maybe String) (Maybe Number) (Maybe APOnOff) (Maybe AudioParameter))
#PlayBufOptional Source
type PlayBufOptional = (buffer :: Maybe String, bufferOffset :: Maybe Number, onOff :: Maybe APOnOff, playbackRate :: Maybe AudioParameter)
#PlayBufAll Source
type PlayBufAll = PlayBufOptional
#PlayBufCtor Source
class PlayBufCtor i playBuf | i -> playBuf where
Members
playBuf :: i -> playBuf
Change a unit that plays from a buffer.
playBuf { playbackRate: 1.0 } "track" playBuf { playbackRate: 1.0, bufferOffset: 0.5 } "track" playBuf "track"
Instances
(ConvertOptionsWithDefaults PlayBuf (Record PlayBufOptional) (Record provided) (Record PlayBufAll)) => PlayBufCtor (Record provided) (PlayBuf (Maybe String) (Maybe Number) (Maybe APOnOff) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => PlayBufCtor a (PlayBuf (Maybe String) (Maybe Number) (Maybe APOnOff) (Maybe AudioParameter))
#SawtoothOscCtor Source
class SawtoothOscCtor i o | i -> o where
Members
sawtoothOsc :: i -> o
Change a sawtooth oscillator
sawtoothOsc 440.0 sawtoothOsc On 440.0
Instances
(MM mAPOnOff (Maybe APOnOff), Paramable b, MM a (Maybe b)) => SawtoothOscCtor mAPOnOff (a -> SawtoothOsc (Maybe APOnOff) (Maybe AudioParameter))
(Paramable b, MM a (Maybe b)) => SawtoothOscCtor a (SawtoothOsc (Maybe APOnOff) (Maybe AudioParameter))
#DSawtoothOsc Source
type DSawtoothOsc = SawtoothOsc (Maybe APOnOff) (Maybe AudioParameter)
#SinOsc Source
data SinOsc
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption SinOsc "freq" a (Maybe AudioParameter)
(OnOffable b, MM a (Maybe b)) => ConvertOption SinOsc "onOff" a (Maybe APOnOff)
(ConvertOptionsWithDefaults SinOsc (Record SinOscOptional) (Record provided) (Record SinOscAll)) => SinOscCtor (Record provided) (Tuple (SinOsc APOnOff AudioParameter) (Record ()))
(Paramable a) => SinOscCtor a (Tuple (SinOsc APOnOff AudioParameter) (Record ()))
#SinOscOptional Source
type SinOscOptional = (onOff :: APOnOff)
#SinOscAll Source
type SinOscAll = (freq :: AudioParameter | SinOscOptional)
#SinOscCtor Source
class SinOscCtor i o | i -> o where
Members
sinOsc :: i -> o
Change a sinOsc value
sinOsc 0.5
Instances
(ConvertOptionsWithDefaults SinOsc (Record SinOscOptional) (Record provided) (Record SinOscAll)) => SinOscCtor (Record provided) (Tuple (SinOsc APOnOff AudioParameter) (Record ()))
(Paramable a) => SinOscCtor a (Tuple (SinOsc APOnOff AudioParameter) (Record ()))
#SquareOsc Source
data SquareOsc
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption SquareOsc "freq" a (Maybe AudioParameter)
(OnOffable b, MM a (Maybe b)) => ConvertOption SquareOsc "onOff" a (Maybe APOnOff)
(ConvertOptionsWithDefaults SquareOsc (Record SquareOscOptional) (Record provided) (Record SquareOscAll)) => SquareOscCtor (Record provided) (Tuple (SquareOsc APOnOff AudioParameter) (Record ()))
(Paramable a) => SquareOscCtor a (Tuple (SquareOsc APOnOff AudioParameter) (Record ()))
#SquareOscOptional Source
type SquareOscOptional = (onOff :: APOnOff)
#SquareOscAll Source
type SquareOscAll = (freq :: AudioParameter | SquareOscOptional)
#SquareOscCtor Source
class SquareOscCtor i o | i -> o where
Members
squareOsc :: i -> o
Change a squareOsc value
squareOsc 0.5
Instances
(ConvertOptionsWithDefaults SquareOsc (Record SquareOscOptional) (Record provided) (Record SquareOscAll)) => SquareOscCtor (Record provided) (Tuple (SquareOsc APOnOff AudioParameter) (Record ()))
(Paramable a) => SquareOscCtor a (Tuple (SquareOsc APOnOff AudioParameter) (Record ()))
#DSquareOsc Source
type DSquareOsc = SquareOsc (Maybe APOnOff) (Maybe AudioParameter)
#pan Source
pan :: forall a b. Paramable b => MM a (Maybe b) => a -> StereoPanner (Maybe AudioParameter)
Pan audio.
pan 0.5 { buf: playBuf "my-track" }
#DStereoPanner Source
type DStereoPanner = StereoPanner (Maybe AudioParameter)
#TriangleOsc Source
data TriangleOsc
Constructors
Instances
(Paramable b, MM a (Maybe b)) => ConvertOption TriangleOsc "freq" a (Maybe AudioParameter)
(OnOffable b, MM a (Maybe b)) => ConvertOption TriangleOsc "onOff" a (Maybe APOnOff)
(ConvertOptionsWithDefaults TriangleOsc (Record TriangleOscOptional) (Record provided) (Record TriangleOscAll)) => TriangleOscCtor (Record provided) (Tuple (TriangleOsc APOnOff AudioParameter) (Record ()))
(Paramable a) => TriangleOscCtor a (Tuple (TriangleOsc APOnOff AudioParameter) (Record ()))
#TriangleOscOptional Source
type TriangleOscOptional = (onOff :: APOnOff)
#TriangleOscAll Source
type TriangleOscAll = (freq :: AudioParameter | TriangleOscOptional)
#TriangleOscCtor Source
class TriangleOscCtor i o | i -> o where
Members
triangleOsc :: i -> o
Change a triangleOsc value
triangleOsc 0.5
Instances
(ConvertOptionsWithDefaults TriangleOsc (Record TriangleOscOptional) (Record provided) (Record TriangleOscAll)) => TriangleOscCtor (Record provided) (Tuple (TriangleOsc APOnOff AudioParameter) (Record ()))
(Paramable a) => TriangleOscCtor a (Tuple (TriangleOsc APOnOff AudioParameter) (Record ()))
#DTriangleOsc Source
type DTriangleOsc = TriangleOsc (Maybe APOnOff) (Maybe AudioParameter)
- 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
Change an allpass filter