|
RADLib
RADical C++ application framework
|
SoundFont file discovery helpers. This does not load or link a synth engine. More...
#include <RADMedia.h>
Static Public Member Functions | |
| static std::vector< std::string > | defaultSearchPaths () |
| Returns common system/user SoundFont directories. More... | |
| static bool | supportsExtension (const std::string &path) |
| Returns true when path has a supported SoundFont extension. More... | |
| static SoundFontType | typeForPath (const std::string &path) |
| Returns SoundFont type from extension. More... | |
| static std::vector< SoundFontInfo > | scan (const std::vector< std::string > &paths={}) |
| Scans paths for .sf2/.sf3 files. Empty paths use defaultSearchPaths(). More... | |
| static std::vector< SoundFontPreset > | presets (const std::string &path, std::string *error=nullptr) |
Reads SoundFont preset names from the SF2/SF3 RIFF pdta/phdr chunk. More... | |
| static std::vector< SoundFontPreset > | generalMidiPresets () |
| Returns the 128 General MIDI melodic program names as bank 0 presets. More... | |
| static std::string | generalMidiPresetName (uint16_t program) |
| Returns one General MIDI melodic program name, clamping program into 0-127. More... | |
SoundFont file discovery helpers. This does not load or link a synth engine.
|
static |
Returns common system/user SoundFont directories.
|
static |
Returns one General MIDI melodic program name, clamping program into 0-127.
|
static |
Returns the 128 General MIDI melodic program names as bank 0 presets.
|
static |
Reads SoundFont preset names from the SF2/SF3 RIFF pdta/phdr chunk.
|
static |
Scans paths for .sf2/.sf3 files. Empty paths use defaultSearchPaths().
|
static |
Returns true when path has a supported SoundFont extension.
|
static |
Returns SoundFont type from extension.