* TPA3255 output LC filter — frequency response check (ideal L/C) * L = 15 uH, C = 680 nF, Rload = 8 ohm (single-ended equivalent) * fc_filter ≈ 1/(2*pi*sqrt(L*C)) ≈ 50 kHz — well above audio, below typical carrier * This does NOT model the Class-D half-bridge — only the passive filter. .param Lout=15u Cout=680n Rload=8 Vin SW 0 DC 0 AC 1 L1 SW SPK {Lout} C1 SPK 0 {Cout} R1 SPK 0 {Rload} .ac dec 100 20 1Meg .print ac Mag(V(SPK)) Phase(V(SPK)) .end