Handles the importing of SFZ sample files. More...
Public Types | |
enum | Opcode { sample = 0, lokey, hikey, lovel, hivel, offset, end, loop_mode, loopstart, loopend, tune, pitch_keycenter, volume, group_volume, pan } |
All supported opcodes. More... | |
Public Member Functions | |
void | importSfzFile () |
imports a SFZ file into the given ModulatorSampler. More... | |
Handles the importing of SFZ sample files.
enum Opcode |
All supported opcodes.
This is far from being complete, but it tries to fetch everything that a ModulatorSamplerSound::Property can handle.
void importSfzFile | ( | ) |
imports a SFZ file into the given ModulatorSampler.
It will parse the file with all supported opcodes and replace the SampleMap of the ModulatorSampler with the data from the SFZ file.
If multiple groups are found, there will be a dialog box to consolidate groups or ignore them as round robin groups of the ModulatorSampler.