• src/doors/syncdoom/i_termmusic.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, July 17, 2026 21:23:33
    https://gitlab.synchro.net/main/sbbs/-/commit/7154b3c2305ce19c39e97dbc
    Modified Files:
    src/doors/syncdoom/i_termmusic.c
    Log Message:
    syncdoom: map the music slider linearly in dB

    Mirror SyncDuke's perceptual mapping. The faithful percent->dB step left
    Doom's 0..127 MusicVolume slider mapping to a 0..28 percent that SyncTERM
    then log-converted -- lumpy near the bottom, and the trim was the opaque
    number 28. Map the slider LINEARLY IN DB between a shared floor and a
    readable trim: TERM_MUS_TRIM_DB -11 (the old MAXV 28 in honest units) at
    the top, TERM_MUS_FLOOR_DB -40 just above the 0 = OFF cutoff.

    Confirmed by ear. (SyncMOO1 and SyncConquer stay on the faithful mapping: SyncMOO1's music has no trim cap -- it maps linearly to unity -- and SyncConquer has no user music slider, only per-sound positional volumes.)

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net