Skip to content

Commit

Permalink
modulator envelopes
Browse files Browse the repository at this point in the history
  • Loading branch information
the-drunk-coder committed Jun 13, 2022
1 parent 5e612a8 commit a11b7b1
Show file tree
Hide file tree
Showing 12 changed files with 434 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
.\#*
*.lock
target/*
plots/*
2 changes: 2 additions & 0 deletions src/building_blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pub mod envelopes;
pub mod filters;
pub mod freeverb;
pub mod interpolation;
pub mod mod_env;
pub mod modulator;
pub mod oscillators;
pub mod routing;
Expand Down Expand Up @@ -93,6 +94,7 @@ pub trait MonoSource<const BUFSIZE: usize>: MonoSourceClone<BUFSIZE> {
fn set_parameter(&mut self, par: SynthParameterLabel, value: &SynthParameterValue);
fn set_modulator(&mut self, par: SynthParameterLabel, init: f32, modulator: Modulator<BUFSIZE>);
fn finish(&mut self);
fn reset(&mut self);
fn is_finished(&self) -> bool;
fn get_next_block(&mut self, start_sample: usize, in_buffers: &[Vec<f32>]) -> [f32; BUFSIZE];
}
Expand Down
Loading

0 comments on commit a11b7b1

Please sign in to comment.