[major] musical glitch and crushes @ mp3 music

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

[major] musical glitch and crushes @ mp3 music

Post by tangar »

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/GameGlaz — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz
C. Blue
Developer
Posts: 388
Joined: Sun Dec 13, 2009 6:28 pm

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

Post by C. Blue »

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: 1652
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

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

Post by tangar »

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/GameGlaz — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz
User avatar
tokariew
Posts: 373
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

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

Post by tokariew »

ohh, it all known bug in nearly all cheap mp3 player :D
just delete all tags and it will work…
img {
max-width: 100%;
}
https://tokariew.xyz
User avatar
tangar
Posts: 1652
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

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

Post by tangar »

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/GameGlaz — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz
User avatar
tokariew
Posts: 373
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

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

Post by tokariew »

foobar2k can in few diffrent ways delete all tags from multiple files at once…
img {
max-width: 100%;
}
https://tokariew.xyz
Post Reply