PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

loomcd - minor sound problem - bug?

michel-at-pocketscumm · 09 Feb 2003, 17:38 UTC
I really enjoy your program, it kicks ass on my Ipaq 3950(XScale 400MHz)!!
All works perfectly, except the sound in loom. I ripped the audio track off my cd, converted it to 48kbit/s, 22.05 kHz, named it Track1.mp3, as i read in another thread.
All worked like a charm, but when i play, it plays every sound a bit too long, e.g. if you spell a spell, you hear the next tone(not only 4 tones, but 5). Or at the end of a sentence, you hear the beginning of the next sequence of the audio track (and you definitely shouldn't hear that).
It does not affect the playability of the game.

Is this a known bug, or is it just me having this problem? I read the threads about loom, spent a whole day searching for a solution. It seems to me like a bug in the mp3-player, but i am not sure.

Thanx in advance, and i am looking forward to play Monkey Island 1 on my Pocket PC.

Michel Weber
(weber_michel at yahoo.com)

P.S.: I set the value of SoundThreadPriority to 2-4, but that didn't help either. Any clue? I converted the wav file with the LAME encoder (WinLame).
michel-at-pocketscumm · 09 Feb 2003, 17:57 UTC — more info
i forgot to mention what version i am running:

Video device: GAPI 565
- version official 0.3.0b

(pocket pc 2002 - WinCe 3.0)
if I remember well, a bad sampling rate can create this problem - are you sure it's set to 22050 Hz ?
michel-at-pocketscumm · 10 Feb 2003, 21:51 UTC
Yep, double checked it, rebuilt it several times, with different options on/off
- nogap
- fully compliant to iso standard
- etc.

But with no luck, sometimes it only got worse :-(.
If I should put up the file on a server, please e-mail me privately (weber_michel at yahoo.com).

Output of WinLame:
Input: WAV (Microsoft), Signed 16 bit PCM, 44100 Hz, 2 channels
Sample Container: Input: 16 bit, 2 channels, sample rate 44100 Hz, Output: 16 bit
Output: MPEG-MPEG-2 Layer 3, 22050 Hz, Mono, CBR 32 kbps
This may not be the solution....but maybe it is!

If you check my 'SirDave's PocketScumm Mini-Manual' above, you'll notice that for some reason, the kbps that you create your Mp3 file at can affect the speed of the voice so that 128kbps makes the voice too slow. I notice that you are compressing as low as 48-32kbps. I would try 64kbps and see if that works.
I think that the "mono" part is the key - the mixer always assume it's dealing with stereo samples
michel-at-pocketscumm · 11 Feb 2003, 16:34 UTC
Ok, i solved the problem, thanx!
I just followed SirDave's PocketScumm manual, and it worked!

http://forums.pocketmatrix.com/viewtopic.php?t=8606

I am not totally sure what exactly the problem was, because i converted the .wav-file even at 64kb/s, mono and stereo(with WinLame).
I think the problem arised because i first of all ripped it to the HD (with CDex)at 44100 Hz (.wav) and then tried to convert it with WinLame at 22050 Hz(.mp3).
Either the .wav file was somehow not precise enough(corrupted??), or WinLame srcewed it up, or even me ;-).
But that is just a guess ;-).

Thanx to you all, and keep up the great work!