working music tracker for haiku ?

Forum thread started by farvardin on Tue, 2009-09-29 17:18


do you know a music tracker I could use on haiku? (for mod, it, xm and such). Schism tracker is supposed to be compilable but I got errors when trying this, and milky tracker has a binary but while I can start it, when loading a tracker and playing it, nothing is ever played (the cursor is not moving at all)


Re: working music tracker for haiku ?

I've compiled last milkytracker version just this afternoon. It compiles with gcc 2.95 after modifying a pair of lines. It loads songs but can not play them, at console output it claims unexpected sound buffer size. I'm afraid this could be a kind of SDL bug. I have no other Haiku system to test :\

Re: working music tracker for haiku ?

where did you get the source code? I can no longer connect to their website

About the sdl error, I have:
SDL: Invalid buffer size: 1248 (should be 4992),

could it be possible to modify this without recompiling the app?

Re: working music tracker for haiku ?

Same problem for me. Tried on real hardware (ac97) and vmware. Buffer size is 1/4 of what it should be. I got the source from that web, but seems to be down since last weekend. I've hacked the code to ignore this warning and fill the buffer, but plays quite fast, 4X I guess, so maybe it is real there is a problem with requested buffer. Need some time to track the problem.

Re: working music tracker for haiku ?

I discovered you can change the buffer size on the config options of milkytracker.

Each time the buffer size is different from the buffer expected by a ratio of 4:

SDL: Invalid buffer size: 1608 (should be 6432), skipping..

Maybe forcing the buffer size to be 4 times bigger may solve the problem? (and explain why the speed is 4 times faster when you disable the conditional test)

I tried to compile milkytracker myself, using the code from the Debian repos (

I had to comment this in PPOpenPanel_SDL.cpp:

// this is no longer needed
delete dialog;

fileName = ((result == ReturnCodeOK) ? pathEntry : "");

and the same in the PPSavePanel... code.