MIDI problem

Started by Riklurt, Sat 26/02/2005 19:46:46

Previous topic - Next topic

Riklurt

Hello everyone. I'm making a little game over the upcoming holidays and I've run into a problem...

See, I've got access to quite a bunch of MIDI files and figured I'd include them in my game. However, it just - won't - work! I've put a file called MUSIC1.MID (and variations, like MUSIC0.MID, MUSIC1.MID, MUSIC0.MID, Music1.midi, Music0.midi, 1, 0, and a coupla others) but I still get no sound, either when scripting for sound or when typing in a number at the room startup. I'm on version 2.61, if it matters.

Anyone got any idea of what I'm doing wrong? Thanks in advance, Riklurt.

DoorKnobHandle

Sorry, I can't completely help you...

...but...

...where do you live that you have an upcoming holiday?

(To give this post a little sense) You have to name the midi files "MUSIC0.MID". I don't know why it shouldnt work. Is the midi file valid? Can you listen to it using a different player like winamp or windows media player? Do you have the volume turned up?

Pumaman

What command are you using to play the music?

For example, this:

PlayMusic(1);

will play a file called  MUSIC1.MID.

You must place the MIDI file in your game's folder, NOT in the Compiled folder.

SMF spam blocked by CleanTalk