YOU ARE HERE:Home\Playmidi |
PLAYMIDI.DLL FOR BLITZBASIC
I always have trouble playing midi in my games that are created by blitz,
especially blitz3d. So far I always use mp3 for background music which is quite
larger in size.
The MIDI music is only heard on some computers, but not on mine.
That is why I create this playmidi.dll.
With playmidi.dll, now I can play midi in my game. You can use this dll too if
you have the same problem like me.
I only try it on my computer, I don't know if it will work on others.
To use playmidi.dll, first you need to download and extract all the file into
'USERLIBS' directory.
There are four commands available:
play_music%(file_name$) |
Load and play a midi file |
pause_music%() |
pause music |
resume_music%() |
resume music (don't work well) |
free_music%() |
clear midi from memory |
You can only play one midi at a time. Usually
you'll need to play one midi at a time for background music.
Use free_music() before you play another midi.
Sometimes it needs time for midi to load.
I only test this dll with my computer. I don't guarantee anything that it will
work on yours.
resume_music() function don't work well on my
computer.
Download Playmidi.Dll
Download Playmidi Source Code (Delphi 6)