1
1
use crate :: params:: { FilterParams , FilterType , OscShape , PolysynthParams } ;
2
- use crate :: { SynthSample , MAX_BUFFER_SIZE , NUM_VOICES , OVERSAMPLE } ;
2
+ use crate :: { MAX_BUFFER_SIZE , NUM_VOICES , OVERSAMPLE } ;
3
3
use fastrand:: Rng ;
4
4
use fastrand_contrib:: RngExt ;
5
- use nih_plug:: nih_log;
6
- use nih_plug:: util:: { db_to_gain, db_to_gain_fast} ;
5
+ use nih_plug:: util:: db_to_gain;
7
6
use num_traits:: { ConstOne , ConstZero } ;
8
7
use numeric_literals:: replace_float_literals;
9
8
use std:: sync:: atomic:: { AtomicU64 , Ordering } ;
@@ -16,11 +15,10 @@ use valib::filters::svf::Svf;
16
15
use valib:: math:: interpolation:: { sine_interpolation, Interpolate , Sine } ;
17
16
use valib:: oscillators:: polyblep:: { SawBLEP , Sawtooth , Square , SquareBLEP , Triangle } ;
18
17
use valib:: oscillators:: Phasor ;
19
- use valib:: saturators:: { bjt, Asinh , Clipper , Saturator , Tanh } ;
18
+ use valib:: saturators:: { bjt, Clipper , Saturator , Tanh } ;
20
19
use valib:: simd:: { SimdBool , SimdValue } ;
21
20
use valib:: util:: { ratio_to_semitone, semitone_to_ratio} ;
22
21
use valib:: voice:: dynamic:: DynamicVoice ;
23
- use valib:: voice:: polyphonic:: Polyphonic ;
24
22
use valib:: voice:: upsample:: UpsampledVoice ;
25
23
use valib:: voice:: { NoteData , Voice } ;
26
24
use valib:: Scalar ;
@@ -716,7 +714,6 @@ impl<T: ConstZero + ConstOne + Scalar> Voice for RawVoice<T> {
716
714
}
717
715
718
716
fn release ( & mut self , _: f32 ) {
719
- nih_log ! ( "RawVoice: release(_)" ) ;
720
717
self . vca_env . gate ( false ) ;
721
718
self . vcf_env . gate ( false ) ;
722
719
}
0 commit comments