Page 2 of 2
Posted: Fri Oct 10, 2003 6:31 pm
by Kale
Pure Basic supports MIDI?
Yes, use:
Code: Select all
LoadMovie(0, "song.mid")
PlayMovie(0, WindowID())
The song file used in this game is a *.xm file i believe, which can be played using the Module lib (Midas11.dll or BassMod.dll) or converted to a MXM module and embedded!

Posted: Fri Oct 10, 2003 8:24 pm
by DriakTravo

Ahh.. Thank you all so very much for all of your support!

I have decided to use OGG sound for my game because it sounds good with a small size.

Posted: Fri Oct 10, 2003 8:55 pm
by Num3
DriakTravo wrote:
Ahh.. Thank you all so very much for all of your support!

I have decided to use OGG sound for my game because it sounds good with a small size.

Please remember PureBasic does not support OGG Streaming yet...
Use the OggPlugin just to play *small* sound effects!
Posted: Sat Oct 11, 2003 12:12 am
by DriakTravo
hmm, is that why it is only playing part of the music file... Aww... looks like it is back to a large, uncompressed wav file to me.

Thanks you for telling me this.

What about mci strings
Posted: Thu Oct 23, 2003 2:02 am
by MisterDr
mci$="open Mjuza.mid type sequencer alias mymidi"
mciSendString_(mci$,Return$,0,0)
mci$="play mymidi"
mciSendString_(mci$,Return$,0,0)