Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > Gameboy VGM File Conversion?
2018-02-08 09:03
pmprog
Account closed

Registered: Nov 2005
Posts: 54
Gameboy VGM File Conversion?

I've got some VGM files for Gargoyles Quest from the Gameboy, and I found a tool that converts VGM to MIDI and spent some time trying to convert one of the tracks into GoatTracker. I'm really bad at using GoatTracker, and well, just music in general (Just listen to the two SIDs I've got listed next to my profile).

Going back to the MIDI conversion though, there seemed to be lots of odd notes that you don't "hear" in the tune (which didn't help my attempt to re-sequence it). I have looked at the Gameboy's audio system before, like I said, I don't really understand the audio generation side of things, but it doesn't sound like it's got any features the SID chip doesn't.

VGM files for Gameboy tunes just run at a clock rate setting Gameboy registers, pretty much in the same way the C64 sets SID registers (at least that's my understanding, I could be totally wrong). I was wondering if it would be possible to write something that read the register writes from the VGM and did a translation to SID register writes? or am I grossly oversimplifying it in my head?


http://gbdev.gg8.se/wiki/articles/Gameboy_sound_hardware
http://vgmrips.net/wiki/VGM_Specification
2018-02-08 16:26
Jammer

Registered: Nov 2002
Posts: 1289
Theoretically every conversion is possible ;) Just mind Gameboy has 4 channels hence you truncate the note data.
2018-02-08 16:39
chatGPZ

Registered: Dec 2001
Posts: 11111
also the noise channel is really different to the SID. and then there are custom waveforms too...
2018-02-08 19:19
4mat

Registered: May 2010
Posts: 63
I had a look at adding Gameboy to the player we used in "Fuji". (it does VGM format for the SN76489 chip, that in the end we didn't end up putting any songs in for hehe) You can probably get away with using a triangle wave for the 3rd channel on older games, but as it's really a waveform on hardware you'd need a nice sample buffer to cover a lot of different tracks accurately. VGMs are fairly easy to parse into a nice (smaller) format, there is a tool suite around called VGMTools (I think) which can convert files into 50/60 frame chunks, which makes it easier to write a converter as you know exactly when the next set of notes will play.
2018-02-08 22:41
GH

Registered: Sep 2014
Posts: 77
Stick to Midi conversion and spice things up
in Goattracker is what I would do :D
2018-02-09 14:46
pmprog
Account closed

Registered: Nov 2005
Posts: 54
Found SIDWizard which looks like it has some nice tools for converting MIDI files, so going to have a play with this first.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
zzarko
Guests online: 121
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Stinsen  (9.6)
4 Mutetus  (9.6)
5 Linus  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.061 sec.