Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Fredemus/va-filter
/ functions
Functions
98 in github.com/Fredemus/va-filter
⨍
Functions
98
◇
Types & classes
31
↓ 36 callers
Method
get
(&self)
src/utils.rs:23
↓ 14 callers
Method
eval_opamp
(&self, v_in: f64, v_out: f64)
src/filter/solver.rs:162
↓ 14 callers
Method
set_extrapolation_origin
prepare the solver for next sample by storing the current solution, so it can be used as an initial guess
src/filter/solver.rs:94
↓ 11 callers
Method
set
(&self, v: f32)
src/utils.rs:28
↓ 11 callers
Function
tanh_levien
(x: f32x4)
src/filter.rs:21
↓ 9 callers
Method
set_lin_solver
(&mut self, new_jacobian: [[f64; N_N]; N_N])
src/filter/solver.rs:99
↓ 8 callers
Method
set_jp
(&mut self, pexps: &[[f64; N_P]; P_LEN])
src/filter/solver.rs:82
↓ 8 callers
Method
set_p
(&mut self, p: [f64; N_P], pexps: &[[f64; N_P]; P_LEN])
src/filter/solver.rs:73
↓ 8 callers
Method
tick_dk
(&mut self, input: f32)
src/filter/svf.rs:158
↓ 6 callers
Method
reset
(&mut self)
src/filter/svf.rs:41
↓ 6 callers
Method
solve_linear_equations
based on dgetrs, solve A * X = B with A being lower-upper factorized
src/filter/solver.rs:140
↓ 6 callers
Method
update
(&mut self)
src/filter/svf.rs:37
↓ 6 callers
Method
update_g
(&self, val: f32)
src/filter_params.rs:95
↓ 5 callers
Method
eval_diodepair
(&self, v_in: f64, i_out: f64, i_s: f64, eta: f64)
src/filter/solver.rs:189
↓ 5 callers
Method
evaluate_nonlinearities
(&mut self, z: [f64; N_N], fq: [[f64; N_N]; P_LEN])
src/filter/svf.rs:283
↓ 5 callers
Method
evaluate_nonlinearities
(&mut self, z: [f64; N_N], fq: [[f64; N_N]; P_LEN])
src/filter/svf_old.rs:309
↓ 5 callers
Function
get_amplitude_response
( cutoff: f32, k: f32, mode: usize, filter_type: Circuits, len: usize, )
src/ui/plot.rs:105
↓ 4 callers
Method
evaluate_nonlinearities
(&mut self, z: [f64; N_N], fq: [[f64; N_N]; P_LEN])
src/filter/sallen_key.rs:294
↓ 4 callers
Method
nonlinear_contribs
uses newton's method to find the nonlinear contributions in the circuit. Not guaranteed to converge
src/filter/sallen_key.rs:236
↓ 4 callers
Method
nonlinear_contribs
uses newton's method to find the nonlinear contributions in the circuit. Not guaranteed to converge
src/filter/svf.rs:223
↓ 4 callers
Method
nonlinear_contribs
uses newton's method to find the nonlinear contributions in the circuit. Not guaranteed to converge
src/filter/svf_old.rs:248
↓ 4 callers
Method
update_matrices
(&mut self)
src/filter/svf.rs:138
↓ 3 callers
Function
get_phase_response
( cutoff: f32, k: f32, mode: usize, filter_type: Circuits, len: usize, )
src/ui/plot.rs:141
↓ 3 callers
Function
make_knob
makes a knob linked to a parameter fn make_knob<'a, P: Param>(cx: &mut Context, param: &'a P, setter: &'a ParamSetter<'a>) // -> Handle<VStack>
src/ui.rs:192
↓ 3 callers
Method
set_resonances
(&self, val: f32)
src/filter_params.rs:90
↓ 3 callers
Method
tick_newton
Performs a complete filter process (newton-raphson method).
src/filter.rs:220
↓ 3 callers
Method
update_state
(&mut self)
src/filter.rs:68
↓ 2 callers
Method
eval_diode
simple shockley diode equation
src/filter/solver.rs:210
↓ 2 callers
Function
get_filter_bode
( cutoff: f32, k: f32, mode: usize, filter_type: Circuits, len: usize, )
src/ui/plot.rs:17
↓ 2 callers
Method
get_output
highpass and notch doesn't work right, likely because `input` isn't quite defined right. Prolly doesn't need to be subtracted? ^ seems to be fixed now
src/filter/svf.rs:323
↓ 2 callers
Method
get_output
highpass and notch doesn't work right, likely because `input` isn't quite defined right. Prolly doesn't need to be subtracted? ^ seems to be fixed now
src/filter/svf_old.rs:347
↓ 2 callers
Method
homotopy_solver
(&mut self, p: [f64; N_P])
src/filter/sallen_key.rs:196
↓ 2 callers
Method
homotopy_solver
(&mut self, p: [f64; N_P])
src/filter/svf.rs:193
↓ 2 callers
Method
homotopy_solver
(&mut self, p: [f64; N_P])
src/filter/svf_old.rs:208
↓ 2 callers
Function
lin_to_db
(gain: f32)
src/ui/plot.rs:8
↓ 2 callers
Function
make_steppy_knob
using Knob::custom() to make a stepped knob with tickmarks indicating the steps
src/ui.rs:266
↓ 2 callers
Method
reset
(&mut self)
src/filter/sallen_key.rs:40
↓ 2 callers
Method
run_filter_linear
Linear version without distortion.
src/filter.rs:125
↓ 2 callers
Method
run_filter_newton
Newton-raphson method version.
src/filter.rs:146
↓ 2 callers
Method
solve_lin_equations
(&mut self, b: [f64; N_N2])
src/filter/sallen_key.rs:539
↓ 2 callers
Method
solve_lin_equations
(&mut self, b: [f64; N_N])
src/filter/svf.rs:527
↓ 2 callers
Method
solve_lin_equations
(&mut self, b: [f64; N_N])
src/filter/svf_old.rs:571
↓ 2 callers
Function
tanh_levien
(x: f64)
src/filter/solver.rs:2
↓ 2 callers
Method
tick_dk
(&mut self, input: f32)
src/filter/sallen_key.rs:166
↓ 2 callers
Method
tick_dk
TODO: pls roll the updates into for loops
src/filter/svf_old.rs:171
↓ 2 callers
Method
update_matrices
(&mut self)
src/filter/sallen_key.rs:132
↓ 2 callers
Method
update_matrices
(&mut self)
src/filter/svf_old.rs:142
↓ 1 callers
Function
create_vizia_editor
(update: U)
src/editor.rs:16
↓ 1 callers
Function
plugin_gui
(cx: &mut Context, params: Arc<FilterParams>, context: Arc<dyn GuiContext>)
src/ui.rs:87
↓ 1 callers
Method
reset
(&mut self)
src/filter/svf_old.rs:34
↓ 1 callers
Method
run_filter_pivotal
nonlinear ladder filter function with distortion, solved with Mystran's fixed-pivot method.
src/filter.rs:76
↓ 1 callers
Function
safe_asinh
(x: f64)
src/filter/solver.rs:12
Function
_cheap_tan
really cheap tan, works well enough in range [0, 0.5 * pi], but gets a bit inaccurate close to the upper bound
src/ui/plot.rs:13
Method
accepts_bus_config
(&self, config: &BusConfig)
src/lib.rs:89
Function
break_ladder
()
src/filter.rs:249
Function
criterion_benchmark
(c: &mut Criterion)
benches/benchmark.rs:12
Method
default
()
src/resampling.rs:20
Method
default
()
src/lib.rs:40
Method
default
()
src/filter/preprocess.rs:12
Method
draw
(&self, cx: &mut DrawContext<'_>, canvas: &mut Canvas)
src/ui.rs:342
Method
drop
(&mut self)
src/editor.rs:71
Method
editor
(&self)
src/lib.rs:81
Method
eval_diode_clipper
inverse of diode clipper to try to avoid having residue/z go to extremely high values. sadly has big convergence issues, due to the extremely steep sl
src/filter/solver.rs:225
Method
eval_ota
(&self, q: &[f64])
src/filter/solver.rs:173
Method
event
(&mut self, _cx: &mut EventContext, event: &mut Event)
src/ui.rs:46
Method
get_estimate
(&mut self, n: usize, estimate: EstimateSource, input: f32x4)
src/filter.rs:53
Method
initialize
( &mut self, _bus_config: &BusConfig, _buffer_config: &BufferConfig, _context:
src/lib.rs:94
Function
main
()
xtask/src/main.rs:1
Function
main
()
src/main.rs:4
Method
new
(params: Arc<FilterParams>)
src/filter.rs:46
Method
new
(order: usize, steep: bool)
src/resampling.rs:75
Method
new
Create a new atomic 32-bit float with initial value `v`.
src/utils.rs:18
Method
new
(cx: &mut Context)
src/ui.rs:333
Method
new
(should_update_filter: Arc<AtomicBool>)
src/filter_params.rs:31
Method
new
()
src/filter/solver.rs:57
Method
new
(params: Arc<FilterParams>)
src/filter/sallen_key.rs:20
Method
new
(params: Arc<FilterParams>)
src/filter/svf.rs:23
Method
new
(params: Arc<FilterParams>)
src/filter/svf_old.rs:17
Method
param_values_changed
(&self)
src/editor.rs:58
Method
params
(&self)
src/lib.rs:77
Method
process
(&mut self, input: f32x4)
src/resampling.rs:35
Method
process
( &mut self, buffer: &mut Buffer, _aux: &mut AuxiliaryBuffers, _context: &mut
src/lib.rs:116
Method
process
(&mut self, input: f32x4)
src/filter/sallen_key.rs:28
Method
process
(&mut self, input: f32x4)
src/filter/svf.rs:29
Method
process
(&mut self, input: f32x4)
src/filter/preprocess.rs:23
Method
process
(&mut self, input: f32x4)
src/filter/svf_old.rs:22
Method
reset
(&mut self)
src/lib.rs:110
Method
set_scale_factor
(&self, _factor: f32)
src/editor.rs:53
Method
size
(&self)
src/editor.rs:49
Method
spawn
( &self, parent: ParentWindowHandle, context: Arc<dyn GuiContext>, )
src/editor.rs:30
Function
test_cutoff_value
()
src/ui/plot.rs:180
Function
test_ladder_value
()
src/ui/plot.rs:200
Function
test_stepresponse
()
src/filter/svf.rs:577
Function
test_stepresponse_fast
()
src/filter/svf.rs:595
Method
tick_linear
Performs a complete filter process (newton-raphson method).
src/filter.rs:238
Method
tick_pivotal
Performs a complete filter process (newton-raphson method).
src/filter.rs:229
Method
update
(&mut self)
src/filter/sallen_key.rs:36
Method
update
(&mut self)
src/filter/svf_old.rs:30