Offline
United States

Not sure what's going on but goattracker is being weird on linux. It either plays too fast or way too slow compared to how it's supposed to sound. Terminal output:

ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm.c:7905:(snd_pcm_recover) underrun occurred
Offline
Nomad's Land

What Linux is that, Gentoo? Are you running pulseaudio?

Offline

maybe change the buffer size/mixing rate?

command line:
/Bxx Set sound buffer length in milliseconds DEFAULT=100
/Mxx Set sound mixing rate DEFAULT=44100

Offline
Buenos Aires, Argentina

A buffer underrun occurs when the buffer size is too short for your PC speed. Try increasing the buffer size as 4mat suggested.

Offline
United States
irrlichtproject wrote:

What Linux is that, Gentoo? Are you running pulseaudio?

It is indeed gentoo and no I only have alsa.

4mat wrote:

maybe change the buffer size/mixing rate?

command line:
/Bxx Set sound buffer length in milliseconds DEFAULT=100
/Mxx Set sound mixing rate DEFAULT=44100

Alright I'll try that.

Offline
United States

So would that be

goattrk2 -B64 -M44100

?

Offline
Nomad's Land

No, no, you want to increase the buffer size, not decrease it!

Offline
France

Too fast playback is generally what I get when the pulseaudio sh*** it getting unstable (but hopefully for you, you don't use it). On the other hand, I don't remember getting slower playback. Is it very fast / very slow, or just a bit (like 10%) faster?

Are you sure you haven't messed up with the 1X / 2X option on the upper bar, on the right (between HR: and F12 = help). It will change the replay speed.

Last edited by garvalf (Apr 6, 2016 10:38 am)

Offline
United States

It seems to play right if I run goattracker as

goattrk2 -B100 -M44100

but doesn't look like it saves the settings if I don't run it with any options.

Last edited by IceWolf (Apr 6, 2016 4:13 pm)

Offline
Unsubscribe

just hide that command behind a shell script then and start the program using that!

Offline
United States

yeah that works

Offline
Nomad's Land

What's strange though is that 100ms/44100Hz is supposed to be the default setting afair. Oh teh mystery...