Struct surgeosc_super::SurgeSuperOscillator [−][src]
pub struct SurgeSuperOscillator {Show 33 fields
pub drift: f32,
pub master_osc: *mut f32,
pub out: OscillatorOut,
pub blitter: AbstractBlitter,
pub params: SSOParamArrayRT,
pub osc_params: OscillatorParamArrayRT,
pub li_hpf: LipolPs,
pub li_dc: LipolPs,
pub li_integratormult: LipolPs,
pub fm_phase: Align16<[f32; 68]>,
pub first_run: bool,
pub dc: f32,
pub dc_uni: A1d<f32>,
pub elapsed_time: A1d<f32>,
pub last_level: A1d<f32>,
pub pwidth: A1d<f32>,
pub pwidth2: A1d<f32>,
pub pitch: f32,
pub fm_depth: Lag<f32>,
pub integrator_mult: Lag<f32>,
pub l_pw: Lag<f32>,
pub l_pw2: Lag<f32>,
pub l_shape: Lag<f32>,
pub l_sub: Lag<f32>,
pub l_sync: Lag<f32>,
pub fm_delay: i32,
pub fm_mul_inv: f32,
pub coeff_b0: f32,
pub coeff_b1: f32,
pub coeff_a1: f32,
pub tables: TablesHandle,
pub tuner: TunerHandle,
pub srunit: SampleRateHandle,
}
Fields
drift: f32
master_osc: *mut f32
out: OscillatorOut
blitter: AbstractBlitter
params: SSOParamArrayRT
osc_params: OscillatorParamArrayRT
li_hpf: LipolPs
li_dc: LipolPs
li_integratormult: LipolPs
fm_phase: Align16<[f32; 68]>
first_run: bool
dc: f32
dc_uni: A1d<f32>
elapsed_time: A1d<f32>
last_level: A1d<f32>
pwidth: A1d<f32>
pwidth2: A1d<f32>
pitch: f32
fm_depth: Lag<f32>
integrator_mult: Lag<f32>
l_pw: Lag<f32>
l_pw2: Lag<f32>
l_shape: Lag<f32>
l_sub: Lag<f32>
l_sync: Lag<f32>
fm_delay: i32
fm_mul_inv: f32
coeff_b0: f32
coeff_b1: f32
coeff_a1: f32
tables: TablesHandle
tuner: TunerHandle
srunit: SampleRateHandle
Implementations
| each block overlap FIRipol_N samples into | the next (due to impulses not being wrapped | around the block edges copy the overlapping | samples to the new block position only | needed if the new bufpos == 0
Trait Implementations
| I’ve carefully documented the non-fm | non-sync case here. The other cases are | similar. See the comment above. Remeber, | this function exists to calculate the next | impulse in our digital sequence, which | occurs at time ‘oscstate’ convolve it into | our output stream, and advance out phase | state space by the amount just covered.