Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WAV files do not play sound. #489

Closed
a2aaron opened this issue Oct 14, 2018 · 8 comments
Closed

WAV files do not play sound. #489

a2aaron opened this issue Oct 14, 2018 · 8 comments

Comments

@a2aaron
Copy link
Contributor

a2aaron commented Oct 14, 2018

It appears that .wav files do not play sound, despite seemingly load correctly. ogg files do play correctly however.

@icefoxen
Copy link
Contributor

Can you provide an example of a .wav file that doesn't work?

Thanks.

@icefoxen
Copy link
Contributor

Is there some way you can provide a wav file that doesn't work? All the ones I've produced work fine on my machines.

@a2aaron
Copy link
Contributor Author

a2aaron commented Oct 27, 2018

Apologies on getting this back so late. I believe that 24-bit integer and 32-bit float encoded WAV files do not play properly. None of these will play in ggez however 16-bit int encoded WAV files do play.

The files were generated via either LMMS or Audacity and all of these files play in all of the music players I could test (Windows Music, Firefox, importing to Audacity, etc)

resources.zip

@a2aaron
Copy link
Contributor Author

a2aaron commented Oct 27, 2018

Upon further investigation, I think this is actually a bug in Rodio. Gonna close this and open one there.

@a2aaron a2aaron closed this as completed Oct 27, 2018
@icefoxen
Copy link
Contributor

Rodio will probably tell you it's a bug in hound, which is the crate that does the actual wav decoding. Good luck though!

@icefoxen
Copy link
Contributor

...I do have to ask though, why are you bothering with wav instead of flac if you want lossless audio?

@a2aaron
Copy link
Contributor Author

a2aaron commented Oct 28, 2018

The main reason is that wav and ogg are the only export options in LMMS (I am using it for music and sfx purposes), and I wanted to just directly export without going through Audacity. I don't actually need lossless audio for my project.

@icefoxen
Copy link
Contributor

Fair enough, I was just wondering. If it helps, ogg should work fine afaik.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants