123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|644|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> playmidi.dll

Mon, 26 May 2008, 18:21
realtime
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 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.

I put the file on my web, since geocities doesn't allow direct downloading so you need to visit this page

https://www.geocities.com/simple_gartne/playmidi.htm

-=-=-
me blog: fork-garden
Tue, 27 May 2008, 02:37
Afr0
You should post your projects in the 'Showcase' section next time. Not only is it appropriate, but it will also allow your project to be accessible by other users for much longer!

Edit: On the good side - I'm impressed! What did you write this in? C++?

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!
Sat, 07 Jun 2008, 19:08
realtime
play midi source is released

It's written in delphi 6

please visit my web



-=-=-
me blog: fork-garden