getPreset

maelzel.core.presetmanager.getPreset(name='?')

Get a preset by name

Raises KeyError if no preset with such name is defined

Parameters:

name (str) – the name of the preset to get (use “?” to select from a list of defined presets)

Return type:

PresetDef

Returns:

the PresetDef corresponding to the given name