Menu

#651 Super shotgun reloading sounds with wrong frequency

Always occurs!
closed-duplicate
None
4
2019-07-17
2019-06-24
No

Everytime I grab a SSG and shoot, the three reloading sounds seems to be off. It happens because, in doom2.wad, some sound effects are stereo instead of mono, and with a bigger sound frequency (44khz instead of 22khz). The same happens with the item respawning sound.

Although one can say the doom2.wad is to blame, other source ports (such as Zdoom and PRBoom) works just fine when playing those sounds. And the same can be said of vanilla doom, running in Dosbox.

It's worth to mention that this bug seems to be very old. Around 15 years ago, I remember running some older Doom Legacy versions in MSDOS, and I still remember that sounds with wrong frequency.

Discussion

  • Wesley Johnson

    Wesley Johnson - 2019-07-06
    • status: open --> pending-fixed
    • assigned_to: Wesley Johnson
    • Priority: 5 --> 4
     
  • Wesley Johnson

    Wesley Johnson - 2019-07-06

    Redundant with bug 0645. The following patch has been made for bug 0645.

    *** w108_sound
    patchfile = w108_1_sound.patch
    - commit revision 1413
    Fix the sdl sound interface to use the samplerate from
    the sound effect header.
    Adjust the audio device number of samples for our new sample rate,
    like Eternity does.
    The added sounds in biowar now sound more reasonable.
    This fixes bug 0645, concerning sound sample rate.
    About bug 0646, the modifies the buffer size, which was the concern.
    Whether an explicit control is needed is still an issue.

    This change is in 1.47.3 (non-release working version).
    Unless you are prepared to test 1.47.3, this will be put on pending.

     

    Last edit: Wesley Johnson 2019-07-06
  • Leonardo Montenegro

    Confirmed this patch solved the issue. Just compiled version 1.47.3 from latest commit (r1446), and made the following test:

    1. Started a two-player game in Doom 2, map 01 and deathmatch type 3 (with item respawning enabled);
    2. Grabbed a super shotgun and done a few shots;
    3. Got a dozen blue bottles from the ground (near the rocket launcher);
    4. Waited a few seconds until the bottles respawn.

    The super shotgun reloading sounds now plays as it should. And the same applies to the item respawning sounds: all items played the respawning sound correctly.

     
  • Wesley Johnson

    Wesley Johnson - 2019-07-17
    • status: pending-fixed --> closed-duplicate
     

Log in to post a comment.