I want to hear drums on the VB I want to hear trumpets too. But I dare say whatever it is I think you’ve mastered it, as far as I can tell. I for one would like someone to study waveforms and make instruments I’m not too sure which instrument you have when you play your midi converter. However I do think we should all look at the second step. And it is a giant leap for all homebrewers. OK as much as a giant leap forward this is. Also, I’m not really good a listing to music and identifying single notes and stuff. The notes and timing seem to be right but the some of the notes seem to be too high (or too loud?).Īs I said before: I could come closer to the originals by fine-tuning the single tracks. The StarWars music (I thought Greg might need it) is a little bit off but the source material wasn’t that great either. I think the Zelda music comes pretty close to the original.
I attached a zip file with 3 demos to this post. Sounds simple but it is a pretty tedious process and I had to spent $100 on a tool I needed. I tested everything by converting NES music to midi files and then converting the midi files to my VB format. Everything else is fine-tuning by using the right waveforms, volumes, octaves and so on. I think implementation wise this is the best I can do. I also optimized the Midi-Converter a little bit but more on a UI level. I did some other small improvements as well. I knew I was doing something wrong there so I checked/fixed everything.
I went through the code of my music engine lately and tried to optimize everything a little bit. Ohhh… and I am not used to program c so don’t wonder if my code sometimes looks strange (damn pointers). If someone finds time (not me) it would be a good idea to combine the strength of both systems. I only used channel 5 for the Midi-Player to avoid interferences. Therefore, I basically changed nothing in both of our codes. 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. The Midi2VB converter (which is going to be released soon) supports both projects, so the choice is yours.Įven tough both projects look similar, they work together very well. – If you want to play music in the background you may want to use the GameHero Midi Player – If you want to have sounds in your game you should go with the Soviet Union 2011 sound engine However, there are major differences in how we handle timing of notes. Actually, our projects are that similar, that I was able to copy most of his introduction text to my project. The Midi-Player is pretty close to what HorvatM did with his Soviet Union 2011 sound engine, even though our projects are totally unrelated. The zip file includes a binary as well as the complete source code. Whats left is the basic midi player and some debug output. I cleaned up the code and removed all of the game logics. As I already mentioned, I programmed a simple Midi-Player that plays all of the music in my game.