mirror of
https://github.com/D-Modem/courier-emu.git
synced 2026-11-28 20:38:07 -08:00
The capture is 13,002 bytes of G.711 A-law, which is 197 x 66 - N segments of LSP symbols, both out of the descriptor - so its length alone confirms the Ja it answers. Every check holds. All 13,002 signs follow SP. Every TP=0 slot carries Ucode 0's level. Each segment's twelve TP=1 slots hold a single level, and that level is the one belonging to the Ucode this firmware generates for that segment - 117 distinct Ucodes onto 117 distinct levels, one to one, no exceptions. So the generated ladder is not just plausible; the far end answered it symbol for symbol. The levels settle the law, and correct the arithmetic added earlier. The two laws differ by mu-law's 132 bias and by A-law's first chord, so Ucode 100 is 10496 in A-law and 10364 in mu-law. The earlier helper had neither: it dropped the bias, which made it agree with A-law above chord 0 and be wrong below it. ucode_level now takes the law, A-law verified against this capture and mu-law reaching G.711's 32124 full scale. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
258 B
258 B