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
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @K3Nv2, Polly is still around from what I've heard.
  • K3Nv2 @ K3Nv2:
    @SylverReZ, is Pollys alt I knew it
  • BigOnYa @ BigOnYa:
    Yea I see him every once whi!e , incognito
  • SylverReZ @ SylverReZ:
    @K3Nv2, I'm not him. Keep looking.
    +1
  • K3Nv2 @ K3Nv2:
    Still don't know why he left unless someone really hurt his feelings
  • K3Nv2 @ K3Nv2:
    Don't know why people get so emotional online just get over it ffs
    +2
  • BigOnYa @ BigOnYa:
    He was the ass of gbatemp, everyone knocked on him, I honestly felt bad, even though I was guilty myself, but he egged it all on himself,
  • BigOnYa @ BigOnYa:
    But he still here, but under dif name, he pm me sometimes still even.
  • K3Nv2 @ K3Nv2:
    It's like they think we'll be in their bed pissing on it the next day
  • BigOnYa @ BigOnYa:
    I feel like gbatemp should make t-shirts or memorabilia to remember the lost ones. I bet the Polly shirts would sell out quick.
  • K3Nv2 @ K3Nv2:
    Nah that could actually bring lawsuits
  • K3Nv2 @ K3Nv2:
    Tempsuits
  • BigOnYa @ BigOnYa:
    PollySuits
  • BigOnYa @ BigOnYa:
    Your correct, Somebody would be guilty and there would be riots, then they storm the gbatemp capitol,
  • K3Nv2 @ K3Nv2:
    Online or not there are still certain rights that judges would have no issue handing out a warrant over
  • K3Nv2 @ K3Nv2:
    Just look at Kim dotcom
  • BigOnYa @ BigOnYa:
    Honestly I'm scared to, from you, but ok, lemme turn on vpn, virtual machine, private browser first
  • K3Nv2 @ K3Nv2:
    Remember that Alexa robot I gifted you
  • K3Nv2 @ K3Nv2:
    And that laptop Webcam you never tapped up
  • BigOnYa @ BigOnYa:
    That robot is here somewhere, I hear it moving around at night, but I haven't seen it for months.
  • BigOnYa @ BigOnYa:
    Oh that laptop I give to ancientboi, so you been watching him for months, and he's been watching you
  • K3Nv2 @ K3Nv2:
    Oh good more than enough material for the fbi
    +1
  • BigOnYa @ BigOnYa:
    Damn its 5 in morn, I gotta Go wake your mum and send her to work. Check ya later.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=m2KV8MHRJlQ