From 3e41930e7d19cb79484a3840e7359039e5539859 Mon Sep 17 00:00:00 2001 From: Annika Date: Fri, 24 Jul 2026 01:35:42 -0700 Subject: [PATCH] stubbed out oscillator --- Makefile | 2 +- pipemini_demo => femtosynth | Bin main.cpp | 4 +++- oscillator.cpp | 17 +++++++++++++++++ 4 files changed, 21 insertions(+), 2 deletions(-) rename pipemini_demo => femtosynth (100%) create mode 100644 oscillator.cpp 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