Resource icon

GameHero Midi-Player (Virtual Boy) 3/5/12

Hey everyone,

this is my first GameHero post release. As I already mentioned, I programmed a simple Midi-Player that plays all of the music in my game. I cleaned up the code and removed all of the game logics. Whats left is the basic midi player and some debug output. The zip file includes a binary as well as the complete source code.

The Midi-Player is pretty close to what HorvatM did with his Soviet Union 2011 sound engine, even though our projects are totally unrelated. Actually, our projects are that similar, that I was able to copy most of his introduction text to my project. However, there are major differences in how we handle timing of notes. It basically comes down to this:

- If you want to have sounds in your game you should go with the Soviet Union 2011 sound engine

- If you want to play music in the background you may want to use the GameHero Midi Player

The Midi2VB converter (which is going to be released soon) supports both projects, so the choice is yours.

Even tough both projects look similar, they work together very well. I attached a version of the SU Sound Engine that is able to play sounds as usual but also can use the GameHero MidiPlayer to play music in the background. Therefore, I basically changed nothing in both of our codes. I only used channel 5 for the Midi-Player to avoid interferences.

If someone finds time (not me) it would be a good idea to combine the strength of both systems.

Cheers
thunder


Ohhh... and I am not used to program c so don't wonder if my code sometimes looks strange (damn pointers).
General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Longer battery life cooler temps and faster! What's not to like lol (probably expensive as hell)
  • AncientBoi @ AncientBoi:
    [checks my dildo(s) batteries, coolant and lube] :O [promptly replaces them] :D
    +1
  • BigOnYa @ BigOnYa:
    Lol not even for sale yet to public, and already sold out. I'd like to get one but ill wait for the hype to calm down.
    +1
  • a_username_that_is_cool @ a_username_that_is_cool:
    I'm pretty sure I wasn't on GBAtemp at all yesterday, whenever I tried to go onto the website I got an unexpected database error
  • BigOnYa @ BigOnYa:
    We all teamed together and decided you needed a day off, so we blocked you.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    No one expects the database errors!!!
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Hey a thought occurred to me... If they are unexpected database errors, are there expected database errors?
    +1
  • K3Nv2 @ K3Nv2:
    @BigOnYa, that's just a pre-order term to make the product look better it's not sold out
    +1
  • K3Nv2 @ K3Nv2:
    Never expect a website to last 24/7 it's like section 8
  • BakerMan @ BakerMan:
    good afternoon fellas
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Gotten tag!
  • Psionic Roshambo @ Psionic Roshambo:
    Gutten lol
  • Psionic Roshambo @ Psionic Roshambo:
    Autocorrect isn't always correct
  • BakerMan @ BakerMan:
    however,sad news today, although idk if i can say it bc it relates to a rom site
  • BigOnYa @ BigOnYa:
    Rom or Ram site? Cause there's a big difference
  • BakerMan @ BakerMan:
    rom,like game files
  • BakerMan @ BakerMan:
    know what? to paraphrase sonic: "no GBAtemp rule in the universe is gonna stop me"
  • BakerMan @ BakerMan:
    vimm's lair had to remove a bunch of games because of nintendo, sega, and lego
  • BigOnYa @ BigOnYa:
    Got taken down? Another one bites the dust
  • BakerMan @ BakerMan:
    not taken down, but had to remove a bunch of games
  • K3Nv2 @ K3Nv2:
    Sirloin sounds good tonight
  • BakerMan @ BakerMan:
    yeah it does
    BakerMan @ BakerMan: yeah it does