How to play a MIDI File

Discussion in 'Questions (Windows Mobile)' started by Obelix, Apr 10, 2009.

  1. Obelix

    Obelix Member Licensed User

    Hi,

    i have write yesterday a little game (Slidy). The big part is finished, now comes the funny part. Make fun design and add music.

    But i found no solutions to play a midi-file. My PDA can play this files, can i run midi-files by basic4ppc, or have anybody a library?

    thanks and regards
    Obelix
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The FMOD library support midi files.
     
  3. Obelix

    Obelix Member Licensed User

    Hi Erel,

    now, ich include the fmod library and on Deskop it works, but on Device it plays no midi-files. MP3 Files play the application on device and on desktop.

    I use the command: fmod.play(path to file)

    i have add the FMODdevice.dll and the fmodce.dll (ARM4) to the application folder on device.

    Do you have a ideo?


    by
    Obelix
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    I've checked it too, and midi files are not supported on the device.
    I'm sorry but it is not clear from the documentation.
    You will need to convert the file to mp3 format.

    Edit: I've missed this readme...
     
  5. agraham

    agraham Expert Licensed User

    According to the FMOD READMECE.txt file in the FMOD 3.75 zip "FMOD supports mp2, mp3 and Ogg vorbis in this release." I tried a MIDI file on the device and it didn't work :(
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice