Skip to content

Issue with the 2D Viewer Audio Playback #1184

@Dying-Ducks

Description

@Dying-Ducks

Describe the bug

I have TeamSpeak recordings for the demos in .wav format.
Since my demo file doesn’t contain any player communication, I can’t let the .wav file be generated for me.

When clicking on "choose audio file..." I get the vague response "An error occurred." and nothing happens.

When I rename my .wav file to the demo name and put it in the same folder I get the error message "An error occurred while loading the audio file found for this match. Make sure the file is a valid audio file."

So I double checked my file is legit and it’s in the .wav format and I can play this file with the Windows Media player for example. For all I know its “legit”.

In the documentation I couldn’t find anything to this issue.
I tried also multiple demos with their recordings, and the results are the same.
I also tried the audo file formats .mp3 .flac and .ogg, but the results were the same.

Are there any more requirements for the audio file to be classified as "valid"?

Sidenote: When clicking on "Generate audio file" anyways the program will generate a .wav which is obviously silent, but also twice the size of the demo (while my recording is roughly the size of the demo) .
But clicking on the "Audio button in the playback bar" reveals the program still claims "no audio file was found for this demo" after it generated a silent .wav file.

Demo links

No response

Steps to reproduce

Generate a .wav file of your team communication with Audacity, I merge the single voices from every player (generated by TeamsSpeak) into one .wav file.

Try to use the 2D Viewer Audio Playback feature.

Expected behavior

I would expect that my .wav files work, or at least to get an error message that describes how to fix it.

How often does this bug happen?

Every time

Log file

No response

Environment information

Version: 3.14.2
OS: win32 x64 10.0.19045
Electron: 37.2.6
Chrome: 138.0.7204.185
Last database migrations:
v8 - 2025-08-21T22:47:17.686Z
v7 - 2025-04-04T14:04:11.828Z
v5 - 2024-10-01T22:29:04.899Z

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions