..
This commit is contained in:
@@ -17,6 +17,7 @@ class Synth {
|
||||
amplitude = 0.5;
|
||||
sample_rate = 48000;
|
||||
phase = 0.0;
|
||||
current_note = 0;
|
||||
};
|
||||
|
||||
double generate();
|
||||
@@ -43,6 +44,7 @@ class Synth {
|
||||
double phase;
|
||||
|
||||
uint32_t sample_rate;
|
||||
uint8_t current_note;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user