1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Circuit component models.
//!
//! Every component implements the [`CircuitComponent`] trait for block-based
//! audio processing. Available models:
//!
//! | Module | Components |
//! |--------------------|-----------------------------------------------|
//! | [`tubes`] | `TriodeStage`, `PentodeStage` (Koren eqs) |
//! | [`diode`] | `DiodeClipper`, `AntiParallelDiodeClipper` |
//! | [`transistor`] | `BjtStage`, `MosfetStage` |
//! | [`opamp`] | `OpAmpStage` (gain + slew + rail clamp) |
//! | [`potentiometers`] | `Potentiometer` (linear/log/reverse-log) |
//! | [`switches`] | `Switch` (smoothed conductance) |
//! | [`passive`] | `Resistor`, `Capacitor`, `Inductor` wrappers |
//! | [`rlc`] | RLC filter topologies via WDF |
/// Core trait implemented by all circuit components.
///
/// Components process audio in blocks and support real-time parameter updates.