Game Development Community

Question on sound/music

by Foestar · in Torque Game Engine Advanced · 03/07/2009 (9:01 am) · 3 replies

So I haven't tried putting in any music or sounds in my game yet but I was wondering if MIDI files were supported or if I would have to convert it. My buddy who is doing the music for my game owns FL 7 but prefers to use powertab since it's very simplified and he's used to it. But it can only export to MIDI files and when I convert it in FL it loses all sound. So, I was wondering if I could just use MIDI files for my game.

#1
03/08/2009 (6:19 am)
wow, fruity is now at 7? didnt know, anyway good question, I've also kinda neglected music and sounds.
#2
03/08/2009 (11:49 am)
Whoa, MIDI? People still use that? Hmm, I'm pretty sure that Torque doesn't play back MIDI files out of the box, you would need to add support for it to whatever sound API you're using in Torque.

You could simply record the MIDI file as a .wav file, then make any necessary edits, and finally export to .ogg if you're worried about memory usage for music.
#3
03/08/2009 (3:26 pm)
I second the outputting to wave files. First, you'd need some pretty good instruments alongside your game to sound the same. Second, those would eat a lot of space.

Use FLAC for the permanent storage of those recordings to save some space, and Vorbis in the game (both are Ogg stream formats).