fb50538e84
The cab convolution and signature shelves can push amp output past ±1, which would hard-clip the DAC. A real amp has no brickwall — the output transformer / speaker soft-compress. Add a symmetric tanh output stage (TriodeStage bias 0, 2× oversampled) as the final node of AmpVoicePedal.effect(), after the cab. Unit small-signal gain leaves clean playing untouched; peaks asymptote to ±1. Combined with the attenuate-only master Level and fully-wet mix, the amp can no longer overshoot into a hard digital clip. Test: every voice driven at max gain + tone stays within the digital ceiling. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>