basic channels mixing pressing SPACE
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
|
||||
Sint16 notes[64];
|
||||
|
||||
toneGen::toneGen(const int note_length) {
|
||||
this->note_length = note_length;
|
||||
toneGen::toneGen() {
|
||||
this->current_pos = 0;
|
||||
|
||||
this->note = 34;
|
||||
@@ -24,6 +23,10 @@ toneGen::toneGen(const int note_length) {
|
||||
this->f = -AUDIO_FORMAT_MAX_VALUE;
|
||||
}
|
||||
|
||||
void toneGen::setNoteLength(const int note_length) {
|
||||
this->note_length = note_length;
|
||||
}
|
||||
|
||||
void toneGen::setup(const uint8_t note, const uint8_t instrument, const uint8_t volume, const uint8_t effect) {
|
||||
this->current_pos = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user