rename synthesis to dsp
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user