Type aliases
CachedPreset
CachedPreset: { filePath: string; variableName: string }
Type declaration
filePath: string
variableName: string
ChordQueue
Chord
Queue
: { destination
: AudioNode; duration
: number; pitch
: number; preset
: WavePreset; slides
?: WaveSlide[]; volume
?: number; when
: number }Type declaration
destination: AudioNode
duration: number
pitch: number
Optional slides?: WaveSlide[]
Optional volume?: number
when: number
PresetInfo
PresetInfo: { pitch: number; title: string; url: string; variable: string }
Type declaration
pitch: number
title: string
url: string
variable: string
WaveAHDSR
WaveAHDSR: { duration: number; volume: number }
Type declaration
duration: number
volume: number
WaveEnvelope
Wave
Envelope
: { audioBufferSourceNode
?: AudioBufferSourceNode | null; duration
: number; pitch
: number; preset
: WavePreset; target
: AudioNode; when
: number; cancel
: any }Type declaration
Optional audioBufferSourceNode?: AudioBufferSourceNode | null
duration: number
pitch: number
target: AudioNode
when: number
cancel:function
WaveSlide
WaveSlide: { delta: number; when: number }
Type declaration
delta: number
when: number
WaveZone
Wave
Zone
: { ahdsr
?: boolean | WaveAHDSR[]; buffer
?: AudioBuffer; coarseTune
: number; delay
?: number; file
?: string; fineTune
: number; keyRangeHigh
: number; keyRangeLow
: number; loopEnd
: number; loopStart
: number; originalPitch
: number; sample
?: string; sampleRate
: number; sustain
?: number }Type declaration
Optional ahdsr?: boolean | WaveAHDSR[]
Optional buffer?: AudioBuffer
coarseTune: number
Optional delay?: number
Optional file?: string
fineTune: number
keyRangeHigh: number
keyRangeLow: number
loopEnd: number
loopStart: number
originalPitch: number
Optional sample?: string
sampleRate: number
Optional sustain?: number