Global

Members

(constant) noteSources

Audio source functions for different audio generation techniques
Source:

Methods

addOscillator(presetopt)

Adds a new oscillator panel to the UI window
Parameters:
Name Type Attributes Description
preset Preset <optional>
Source:

addPreset(preset)

Saves a preset to the custom presets list.
Parameters:
Name Type Description
preset Preset The preset to be saved
Source:
Throws:
Unnamed presets can't be saved

changeCurrentView(viewId)

Hides all audio source UI except the one with the matching ID
Parameters:
Name Type Description
viewId string
Source:

getPresetInfo() → {Preset}

Marshall the UI information
Source:
Returns:
Type
Preset

loadPersistentState()

Reload data from the previous session, if it exists
Source:

loadPreset(preset)

Load the settings of a preset to the page
Parameters:
Name Type Description
preset Preset The preset to load
Source:

releaseAllNotes()

Release all currently playing notes
Source:

removePreset()

Remove the currently selected preset
Source:

setupControllerListeners(channelopt)

Sets up event listeners to link MIDI events with the appropriate actions
Parameters:
Name Type Attributes Default Description
channel string | number <optional>
'all' MIDI channel to listen for events on
Source:

stopAllSound()

Stop all sound immediately
Source:

updateChordDisplay()

Sync the chord displayed in the UI with the currently playing notes
Source:

updateCustomPresets(presets, target)

Attach preset