ability to add/remove instruments/waves/samples
This commit is contained in:
parent
2ea2faf9c0
commit
b6ca7e3dc7
4 changed files with 315 additions and 15 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue