Dark Bit Factory & Gravity
PROGRAMMING => Freebasic => Topic started by: smagin on June 05, 2008
-
Hi, everybody!
Here's a simple console-mode player for oldskool .rad adlib tunes. It uses ymf262 (OPL3) emulator from MAME project (though it's too much for it) and WinMM API for streaming audio. Some nice .rad tunes are attached (including a Castlevania tune remix converted to .rad by myself...)
Reality Adlib Tracker (RAD) can still be found, say, here: http://www.scene.org/file.php?file=%2Fmirrors%2Fhornet%2Fmusic%2Fprograms%2Ftrackers%2Fradv1_1a.zip&fileinfo
And it's still usable under DosBox emulator (http://www.dosbox.com)
If someone's interested, a replay library could be made fairly easy from this example...
PS: I need some reports concerning stability as there's much talk around the net about WinMM "deadlocks" when deinitializing. One actually occurred till I made some workarounds... So if the program exits without suspending, everything's fine.
PS2: Sources are included. I used FreeBasic 0.18.5 with no OO or other special features so earlier versions may work.
-
I've played most of these songs in the console song player you provided and it hasn't locked up here at all, in fact the songs play really really well :)
ANother thing is that it seems to be nice and small so it would be suitable for small intros :)
-
very nice, but does quite some aliasing.
-
Nice! and it works fine here