All Audio imported is garbled
Asked Answered
C

6

0

I'm using Godot 3.3 (and tested in Godot 4.0 Beta 10), and I'm using AudioStreamPlayer nodes that are a child of root nodes. This is what I want to use and can play in other audio programs

And this is what is played in Godot, in editor and when exported

I'm exporting using Cakewalk, these are my export settings, in case there's a problem with the export.

I am currently on Windows 10 version 19044, and I am uploading MP3 and WAV files. Can anyone explain what's wrong with my audio? All audio I import sounds like this. I'm happy to give more information is necessary.

Comyns answered 3/1, 2023 at 3:36 Comment(0)
B
0

That's very strange, have you tried exporting the files and then exporting them again from a different audio software like Ocenaudio? I haven't had any problems like this with Godot myself. Might be worth doing just to see if it's software specific.

Borrow answered 3/1, 2023 at 19:21 Comment(0)
A
0

I think that's this bug if the sample rate for the audio is different than the sample rate set in Windows. For example 44K versus 48K or whatever.

Can't recall if this is fixed or what to do about it since you won't know the settings the users have.

https://github.com/godotengine/godot/issues/23544

Argybargy answered 3/1, 2023 at 20:9 Comment(0)
C
0

Borrow

Tried importing to audacity and exporting, same thing.

Argybargy

I tried setting everything in windows to 44.1khz and 48khz, didn't help. Additionally, doesn't this imply that even if I get it to sound right on my computer, it may still sound garbled on someone else's computer?

Comyns answered 4/1, 2023 at 3:33 Comment(0)
A
0

I haven't had a problem with audio. You can try OGG but I've used MP3 and WAV without issue.

Argybargy answered 4/1, 2023 at 5:44 Comment(0)
C
0

Solved it. To all future people 4 years down the road who might have a similar problem, if your audio device (headphones for instance) acts as two separate devices, switch to the other one. The one my system defaults to has a sound channel of 1 while the other (and all other devices) has 2 sound channels, and everything sounded normal on all the other devices.

Thanks for your help cybereality.

Comyns answered 5/1, 2023 at 3:8 Comment(0)
A
0

Oh good you figured it out. I had that problem with my Bluetooth headphones, I should have mentioned it. Not with Godot, but in general.

You have to disable Hands-Free Link in Windows or the audio quality is very poor. This affects some games like Doom Eternal and Forza Horizon.

Argybargy answered 5/1, 2023 at 4:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.