Files
osc/include/oscillator.hpp
T

15 lines
206 B
C++
Raw Normal View History

2026-11-14 15:15:00 +06:00
#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