diff --git a/Makefile b/Makefile index d8952e2..635c760 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ CXXFLAGS ?= -O2 -Wall -std=c++17 PIPEWIRE_CFLAGS := $(shell pkg-config --cflags libpipewire-0.3) PIPEWIRE_LIBS := $(shell pkg-config --libs libpipewire-0.3) -TARGET := pipemini_demo +TARGET := femtosynth .PHONY: all clean diff --git a/pipemini_demo b/femtosynth similarity index 100% rename from pipemini_demo rename to femtosynth diff --git a/main.cpp b/main.cpp index bc74055..48ef0d8 100644 --- a/main.cpp +++ b/main.cpp @@ -3,9 +3,11 @@ #include #include +#include "oscillator.cpp" + int main() { const int sample_rate = 48000; - const float freq = 50.0f; + const float freq = 600.0f; float phase = 0.0f; int duration = 1; diff --git a/oscillator.cpp b/oscillator.cpp new file mode 100644 index 0000000..5391b8f --- /dev/null +++ b/oscillator.cpp @@ -0,0 +1,17 @@ +#pragma once + +namespace Fem { + class Oscillator { + private: + int16_t lanczos() { + return 0; + } + + public: + void Oscillator() { + + } + + + }; +} \ No newline at end of file