SoundFontInfoLib
2.21.6
Library for parsing and rendering SF2 files
|
SoundFont file parser. More...
#include <Parser.hpp>
Classes | |
struct | Info |
Extract SF2 info. More... | |
struct | PresetInfo |
Extracted preset information from the SF2 file. More... | |
Static Public Member Functions | |
static Info | parse (int fd, size_t size) |
Attempt to parse a SoundFont resource. More... | |
SoundFont file parser.
|
static |
Attempt to parse a SoundFont resource.
Any failures to do so will throw a FormatError exception. Note that this really just parses any RIFF format. We postpone the SF2 evaluation until the initial loading is done.
References SF2::Entity::Preset::bank(), SF2::IO::error, SF2::IO::icmt, SF2::IO::icop, SF2::IO::ieng, SF2::IO::inam, SF2::IO::info, SF2::IO::Pos::makeChunkList(), SF2::Entity::Preset::name(), SF2::IO::phdr, SF2::Entity::Preset::preset(), SF2::IO::riff, and SF2::IO::sfbk.