Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / What's wrong with this music?
- - By lol_o2 Date 2016-04-03 21:20 Edited 2016-04-03 21:59
Gosu 0.10.6

This music: https://www.dropbox.com/s/rk8ni4w93zukq9g/YkY.ogg?dl=1
suddenly started to sound completely different when played with Gosu. I played it last time around Gosu 0.7 or 0.8 though, so I don't know when it got broken.

In case the issue happens only to me, the music plays like 2/3 times slower than it should, or it just sounds so.
I tried re-exporting it with Audacity and converting to Wave and back to ogg with Format Factory and it didn't help.

Any ideas here?

EDIT:
Might be worth to mention that it was .xm (or .it) originally.
Parent - - By jlnr (dev) Date 2016-04-04 08:57 Edited 2016-04-04 09:14
Hrm, this might be related to Gosu switching to stb_vorbis instead of libogg/libvorbis in Gosu 0.10.x. I'll open a GitHub issue. Does the WAV version sound right?

Edit: https://github.com/gosu/gosu/issues/322
Parent - - By lol_o2 Date 2016-04-04 11:43
WAV is not only 40 times bigger, it also sounds the same.
Parent - - By jlnr (dev) Date 2016-04-04 11:58
You mean, it is also broken? Okay, that is good insofar as stb_vorbis is probably not the problem.

I wonder if Gosu stubbornly assumes 22 kHz audio, but your file is 48 kHz or so? Can you try to export it with a lower kHz frequency? I don't have Audacity handy right now.
Parent - By lol_o2 Date 2016-04-04 14:00
I exported it with lower frequency and it indeed works now. I used 22kHz.
Up Topic Gosu / Gosu Exchange / What's wrong with this music?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill