soundfontPresets

soundfontPresets#

csoundengine.csoundlib.soundfontPresets(sfpath)[source]#

Get presets from a soundfont

Parameters:

sfpath (str) – the path to the soundfont. “?” to open a file-browser dialog

Return type:

list[tuple[int, int, str]]

Returns:

a list of tuples (bank:int, presetnum:int, name:str)