Results 1 to 2 of 2

Thread: MIDIs in a datafile

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2002
    Posts
    18

    MIDIs in a datafile

    I've been designing a game that uses datafiles to hold the game data (i.e. levels, images, etc). I also want to store MIDIs in there, but I'm not sure what the best way to do this would be.
    At very worst, I could simply dump the raw data into the file, and then when I needed to play it back I could dump this data to a temporary file and tell VB to play it from there. This seems rather wasteful though, so does anybody know of a way to load the MIDI directly from a datafile?

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    The way you've cited seems the best way to me. Midi Files are extremely small anyway, and you could delete it from the package file for the time it's out (and keep the position of where it was).
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width