Files
osc/include/oscillator.hpp
T
2026-11-14 15:15:00 +06:00

15 lines
206 B
C++

#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