Skip to content

Commit

Permalink
refactored audio
Browse files Browse the repository at this point in the history
  • Loading branch information
klangner committed Jan 30, 2024
1 parent 4737f69 commit c559309
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples/tuner.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use std::env;
use dsp::audio::AudioFileSource;
use gnuplot::{Figure, Color, AxesCommon};
use dsp::node::*;
use dsp::core::{fft::*, complex::*, audio::audio_file::AudioFileSource};
use dsp::core::{fft::*, complex::*};
use dsp::num_complex::Complex32;
use dsp::spectrum;
use pitch_calc::calc::step_from_hz;
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 1 addition & 3 deletions src/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ pub mod generator;
pub mod fft;
pub mod file;
pub mod multiply;
pub mod network;
#[cfg(feature = "audio")]
pub mod audio;
pub mod network;
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ pub mod signal;
pub mod spectrum;
pub mod window;
pub use num_complex;
#[cfg(feature = "audio")]
pub mod audio;

mod vector;

Expand Down

0 comments on commit c559309

Please sign in to comment.