Audio sounds wrong.
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version and features
```toml
bevy = { version = "0.19", default-features = false, features = [
"std",
"x11",
"bevy_audio",
"wav",
] }
```
## \[Optional\] Relevant system information
Linux Mint 22.1 Cinnamon
Cinnamon Version 6.4.8
## What you did
```rust
use bevy::prelude::*;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_systems(Startup, play_audio)
.run();
}
fn play_audio(asset_server: Res, mut commands: Commands) {
commands.spawn(AudioPlayer::new(asset_server.load("snd_menumove.wav")));
}
```
## What went wrong
The sound is different from what it sounds like in any other program capable of playing audio.
## Additional information
The issue persists across multiple formats. I only know of two sounds that have this issue. Both of which come from Deltarune. (I was working on a fan game when I encountered this issue.)
https://github.com/user-attachments/assets/2ddec0b3-db54-4f59-b0f5-abc22e0ce648
I can't seem to upload these audio files, but they are `snd_menumove.wav` and `snd_select.wav` which can be obtained from https://sounds.spriters-resource.com/pc_computer/deltarune/asset/410858/.
Contributor guide
Research direction
Run the provided minimal play_audio entry point with Bevy 0.19 and the listed features on Linux Mint, using snd_menumove.wav and snd_select.wav from the linked asset source. Compare their playback with another audio program and document a reproducible difference; no repository file or test is identified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- audio-video-rtc, game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100