maelzel.core.presetmanager Module

Implements a PresetManager, which is a singleton class in charge of managing playback presets for a maelzel.core session.

Functions

showPresets([pattern, full, showGeneratedCode])

Show the selected presets

defPreset(name, code[, init, post, ...])

Define a new instrument preset.

defPresetSoundfont([name, sf2path, preset, ...])

Define a new instrument preset based on a soundfont

getPreset([name])

Get a preset by name