stubbed out oscillator

This commit is contained in:
2026-07-24 01:35:42 -07:00
parent e6caf89079
commit 3e41930e7d
4 changed files with 21 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ CXXFLAGS ?= -O2 -Wall -std=c++17
PIPEWIRE_CFLAGS := $(shell pkg-config --cflags libpipewire-0.3) PIPEWIRE_CFLAGS := $(shell pkg-config --cflags libpipewire-0.3)
PIPEWIRE_LIBS := $(shell pkg-config --libs libpipewire-0.3) PIPEWIRE_LIBS := $(shell pkg-config --libs libpipewire-0.3)
TARGET := pipemini_demo TARGET := femtosynth
.PHONY: all clean .PHONY: all clean
View File
+3 -1
View File
@@ -3,9 +3,11 @@
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include "oscillator.cpp"
int main() { int main() {
const int sample_rate = 48000; const int sample_rate = 48000;
const float freq = 50.0f; const float freq = 600.0f;
float phase = 0.0f; float phase = 0.0f;
int duration = 1; int duration = 1;
+17
View File
@@ -0,0 +1,17 @@
#pragma once
namespace Fem {
class Oscillator {
private:
int16_t lanczos() {
return 0;
}
public:
void Oscillator() {
}
};
}