[major] musical glitch and crushes @ mp3 music

Bug reports and discussion about bugs.
Post Reply
User avatar
tangar
Posts: 1420
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

[major] musical glitch and crushes @ mp3 music

Post by tangar » Sun Jun 26, 2016 1:05 pm

I've made musicpack and noticed some nasty stuff...

1) You could hear a music glitch when new melody starts there (0:58) when one melody (day) changing to the night:

https://youtu.be/AeFVbRzLgl0?t=58s

I've met it several times. Need to investigate why its doing so.. Have no idea yet.

Its seems its only in .mp3 format..

2) some .mp3 files make tomenet freeze and crush. Its very dangerous. You can't login back to your character after such crush (you need to remove this musicfile 1st). Thats why I converted everything in .ogg... Beware!

Example of mp3 file which crushes the game:
https://drive.google.com/open?id=0B2GAr ... TA2QUVJeFE

I have a lot of such files lol... At first they were 320kbps.. And they crushed. Then I've converted them into 160 kbps, but they still crush. No idea what to do.. The only way atm is to use .ogg format.
Tangar's tileset, addon, guides & maps: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GlazGame — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz

C. Blue
Developer
Posts: 329
Joined: Sun Dec 13, 2009 6:28 pm

Re: [major] musical glitch and crushes @ mp3 music

Post by C. Blue » Sun Jun 26, 2016 8:51 pm

We use the SDL_mixer library, it handles all the audio files. If this is a bug in SDL_mixer we won't be able to fix it.
I'm not sure about the specification of the SDL_mixer library regarding input bit rates.

User avatar
tangar
Posts: 1420
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: [major] musical glitch and crushes @ mp3 music

Post by tangar » Sun Jun 26, 2016 9:18 pm

Maybe report this glitch to devs of SDL_mixer library?

Still its ok if you use .ogg format. It sounds pretty the same :)
Tangar's tileset, addon, guides & maps: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GlazGame — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz

User avatar
tokariew
Posts: 341
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

Re: [major] musical glitch and crushes @ mp3 music

Post by tokariew » Tue Feb 06, 2018 8:48 pm

ohh, it all known bug in nearly all cheap mp3 player :D
just delete all tags and it will work…

User avatar
tangar
Posts: 1420
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: [major] musical glitch and crushes @ mp3 music

Post by tangar » Wed Feb 07, 2018 11:28 am

Cool idea, thanks! :D I hope it works...

Any ideas, are there programs which could strip all tags automatically from a lot of files?
Tangar's tileset, addon, guides & maps: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GlazGame — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz

User avatar
tokariew
Posts: 341
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

Re: [major] musical glitch and crushes @ mp3 music

Post by tokariew » Wed Feb 07, 2018 8:54 pm

foobar2k can in few diffrent ways delete all tags from multiple files at once…

Post Reply