Compare commits

...

No commits in common. "96e26ce493e3a884a5f402a686aca75fda54a3c3" and "main" have entirely different histories.

2 changed files with 0 additions and 25 deletions

View file

@ -1,6 +1,2 @@
#![no_std]
mod synthesizer;
mod wavetable;
//TODO:
// * patch mod w/ trait Input and trait Output(?)

View file

@ -1,21 +0,0 @@
use crate::wavetable::Wavetable;
pub trait Synthesizer {}
pub struct SimpleWavetableSynthesizer<W: Wavetable> {
wavetable: W,
clock_freq_hz: usize,
output_freq_hz: usize,
enable: bool,
}
impl<W: Wavetable> SimpleWavetableSynthesizer<W> {
pub fn new(wavetable: W, clock_freq_hz: usize) -> Self {
Self {
wavetable,
clock_freq_hz,
output_freq_hz: 0,
enable: false,
}
}
}