#ifndef OSCILLATOR #define OSCILLATOR #include struct Oscillator{ double frequency = 440.0; double amplitude = 0.5; double phase = 0.0; uint32_t sample_rate = 48000; }; #endif