..
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#ifndef OSCILLATOR
|
||||
#define OSCILLATOR
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
struct Oscillator{
|
||||
double frequency = 440.0;
|
||||
double amplitude = 0.5;
|
||||
double phase = 0.0;
|
||||
|
||||
uint32_t sample_rate = 48000;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user