[solved] Music pack -> mp3 speed problem

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

[solved] Music pack -> mp3 speed problem

Post by tangar »

I wanna create my sound pack. I've changed files and it works:

Bree = "cities/rogue.mp3"

But in-game this soundtrack sound like 150% speed, not like it has to sound when I listen in in mediaplayer or in other game.

In .cfg file:
Supported music formats are WAVE, MOD (includes S3M, IT, XM), MIDI, OGG, MP3.
it seems mp3 doesn't sound correct :( .wav works good.
Last edited by tangar on Mon Mar 21, 2016 1:25 pm, edited 2 times in total.
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
mikaelh
Developer
Posts: 217
Joined: Sun Dec 13, 2009 3:18 pm

Re: Music pack -> mp3 speed problem

Post by mikaelh »

Sounds like this could be a sample rate issue. The client assumes that the sampling rate for all audio files is 44.1 kHz.
User avatar
tangar
Posts: 1652
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: Music pack -> mp3 speed problem

Post by tangar »

Its seems so :) Another track with 44 works. Then I'll need to convert all music to 44.

Thanks!
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
Post Reply