Contents

namespace

SushiDSP::dk

Declared in
include/SushiDSP/math/dk/DampedNewtonSolver.hpp

Contains

Variables

constexpr double kMinimumPotOhms = 1.0

Floor applied to each potentiometer section's resistance.

A knob at an end stop would otherwise leave a section at exactly zero ohms, shorting two nodes and making the augmented nodal matrix singular. One ohm is one to three orders of magnitude below any real pot's wiper contact resistance, so the floor is inaudible while it keeps the derivation well posed.

constexpr std::size_t kMaximumNodes = 16

Largest number of non-ground nodes any DkCircuit instance may describe.

constexpr std::size_t kMaximumResistors = 32

Largest number of resistor branches, potentiometer sections included.

constexpr std::size_t kMaximumPotentiometers = 4

Largest number of potentiometers a single circuit may carry.

constexpr std::size_t kMaximumNullors = 4

Largest number of ideal op-amps a single circuit may carry.