11use 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 } ;
33use fastrand:: Rng ;
44use 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;
76use num_traits:: { ConstOne , ConstZero } ;
87use numeric_literals:: replace_float_literals;
98use std:: sync:: atomic:: { AtomicU64 , Ordering } ;
@@ -16,11 +15,10 @@ use valib::filters::svf::Svf;
1615use valib:: math:: interpolation:: { sine_interpolation, Interpolate , Sine } ;
1716use valib:: oscillators:: polyblep:: { SawBLEP , Sawtooth , Square , SquareBLEP , Triangle } ;
1817use valib:: oscillators:: Phasor ;
19- use valib:: saturators:: { bjt, Asinh , Clipper , Saturator , Tanh } ;
18+ use valib:: saturators:: { bjt, Clipper , Saturator , Tanh } ;
2019use valib:: simd:: { SimdBool , SimdValue } ;
2120use valib:: util:: { ratio_to_semitone, semitone_to_ratio} ;
2221use valib:: voice:: dynamic:: DynamicVoice ;
23- use valib:: voice:: polyphonic:: Polyphonic ;
2422use valib:: voice:: upsample:: UpsampledVoice ;
2523use valib:: voice:: { NoteData , Voice } ;
2624use valib:: Scalar ;
@@ -716,7 +714,6 @@ impl<T: ConstZero + ConstOne + Scalar> Voice for RawVoice<T> {
716714 }
717715
718716 fn release ( & mut self , _: f32 ) {
719- nih_log ! ( "RawVoice: release(_)" ) ;
720717 self . vca_env . gate ( false ) ;
721718 self . vcf_env . gate ( false ) ;
722719 }
0 commit comments