ability to add/remove instruments/waves/samples

This commit is contained in:
tildearrow 2021-12-17 03:33:12 -05:00
parent 2ea2faf9c0
commit b6ca7e3dc7
4 changed files with 315 additions and 15 deletions

View file

@ -156,6 +156,27 @@ class DivEngine {
// is playing
bool isPlaying();
// add instrument
int addInstrument();
// delete instrument
void delInstrument(int index);
// add wavetable
int addWave();
// delete wavetable
void delWave(int index);
// add sample
int addSample();
// add sample from file
bool addSampleFromFile(const char* path);
// delete sample
void delSample(int index);
// go to order
void setOrder(unsigned char order);
@ -171,6 +192,9 @@ class DivEngine {
// set the view mode.
void setView(DivStatusView which);
// public render samples
void renderSamplesP();
// init dispatch
void initDispatch();