Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Ethan D on Wed 01/07/2009 12:24:27

Title: Playing MIDI files
Post by: Ethan D on Wed 01/07/2009 12:24:27
I cant seem to get any of my MIDI files music tracks playing.  I have some in mp3 format and those worked fine but now that I have them in MIDI they aren't working. I'm still doing it the same way its just not playing.  

I have the music saved as Music1.mid
and the code im using is PlayMusic(1);
so i cant figure out why it wont play
Title: Re: Playing MIDI files
Post by: Ishmael on Wed 01/07/2009 12:48:52
I'd suspect your MIDI volume is down to zero. Since it doesn't give errors I wouldn't doubt any problems with actually playing them per se.

Which operating system are you using?

In XP at least, open the system mixer, and if you can't see Software synthetisizer or MIDI synth or something like this in the list of sliders open properties and tick the box in front of it and click OK to see it. Also do you use WMP by chance? Some older version of it had a nasty habit of setting MIDI volume to 0 after playing MIDI files.

I can't say about Vista, but I suspect it's similiarly arranged.
Title: Re: Playing MIDI files
Post by: Ethan D on Wed 01/07/2009 12:56:02
I changed the volume in the mixer and it is working great now.

Thanks