This class is a wrapper class for the SoundFont Management System
This class is a wrapper class for the SoundFont Management System. The SoundFont Management System (SFMS) from Creative Labs is a device independent API for SoundFont compatible devices. The API lets the programmer load and clear SoundFonts, and retrieve information about loaded SoundFonts and about the SoundFont compatible device(s). To use this class, you will need to download and install Creative Labs' SoundFont Management System SDK from http://developer.soundblaster.com/ (Developer Tools). To fully understand all the functions in this class, it is recommended to read Creative Labs' description of the SoundFont Management System included in the above mentioned SDK. For a good example of using this class in a real world program, take a look at the source code for SF2LOAD.
virtual ~OSC_SFManager()
OSC_ERR Init()
bool SFManError()
std::string GetLastSFManErrorText()
int GetNumDevs()
OSC_ERR GetListOfDevices(OSC_StringArray &list, bool includeDeviceNumber = false)
bool IsDeviceFree(int deviceno)
OSC_ERR Open(int deviceno)
OSC_ERR Close()
int GetCurrentOpenDevice()
bool IsDeviceOpen()
OSC_ERR LoadBank(int bankno, const std::string &path)
OSC_ERR ClearLoadedBank(int bankno)
OSC_ERR ClearAllLoadedBanks(bool alsoBank0 = false)
int IsMIDIBankUsed(int bankno)
bool BoolIsMIDIBankUsed(int bankno)
OSC_ERR LoadPreset(int sourceBankno, int sourcePreset, int destBankno, int destPreset, const std::string &path)
OSC_ERR ClearLoadedPreset(int bankno, int preset)
OSC_ERR LoadWaveform(int destBankno, int destPreset, const std::string &path)
OSC_ERR ClearLoadedWaveform(int bankno, int preset)
OSC_ERR GetLoadedBankDescriptor(int bankno, std::string &desc)
OSC_ERR GetLoadedBankPathname(int bankno, std::string &path)
OSC_ERR GetLoadedPresetDescriptor(int bankno, int presetno, std::string &desc)
OSC_ERR GetDevCaps(int deviceno, PSFCAPSOBJECT pCaps)
OSC_ERR GetDevCaps(PSFCAPSOBJECT pCaps)
OSC_ERR GetDevName(int deviceno, std:: string &name)
OSC_ERR GetDevName(std::string &name)
OSC_ERR GetDevNo(const std::string &name, int &deviceno)
OSC_ERR QueryStaticSampleMemorySize(int &maxmem, int & availmem)
OSC_ERR GetAllSynthEmulations(OSC_StringArray &list)
OSC_ERR GetSynthEmulation(int &index, std::string &name)
OSC_ERR SelectSynthEmulation(int index)
int GetNumSynthEmulations()
OSC_ERR GetSynthEmulationDescription(int index, std::string &name)
alphabetic index hierarchy of classes