stubbed out oscillator
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
namespace Fem {
|
||||||
|
class Oscillator {
|
||||||
|
private:
|
||||||
|
int16_t lanczos() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public:
|
||||||
|
void Oscillator() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user