rename synthesis to dsp

This commit is contained in:
2026-03-10 22:56:10 -04:00
parent 1dd9cabe68
commit 2a6971754d
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2024"
[dependencies]
synthesis = { path = "../synthesis" }
dsp = { path = "../dsp" }
dasp_signal = { version = "0.11.0", features = ["all"] }
cpal = "0.17.3"
ringbuf = "0.4.8"

View File

@@ -1,12 +1,12 @@
use cpal::traits::{DeviceTrait, HostTrait, StreamTrait};
use dasp_signal::Signal;
use dsp::{saw_oscillator, sine_oscillator, square_oscillator};
use eframe::egui;
use ringbuf::{
HeapRb,
traits::{Consumer, Observer, Producer, Split},
HeapRb,
};
use std::sync::{Arc, Mutex};
use synthesis::{saw_oscillator, sine_oscillator, square_oscillator};
const SAMPLE_RATE_I: u32 = 44100;
const SAMPLE_RATE: f64 = SAMPLE_RATE_I as f64;