diff --git a/Cargo.toml b/Cargo.toml index 9559b76..34d7459 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/main.rs b/src/main.rs index 6475fed..849de53 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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;