mute implementat

This commit is contained in:
2022-07-11 19:52:13 +02:00
parent 3b79bf2575
commit e0b349496a
3 changed files with 18 additions and 9 deletions

View File

@@ -21,6 +21,7 @@ class toneGen {
void setup(const uint8_t note, const uint8_t instrument, const uint8_t volume, const uint8_t effect);
void setup(const uint16_t tracker_note);
const int getSamples(const int numSamples, Sint16 *buffer);
void setMute(const bool value);
private:
uint8_t note, instrument, volume, effect;
@@ -29,4 +30,5 @@ class toneGen {
int note_length;
int current_pos;
float vibrato_counter;
bool muted;
};