Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - Extensible tracker for an 8-bit music engine?

Reply to topic
Author Message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14745
  • Location: London
Reply with quote
Extensible tracker for an 8-bit music engine?
Post Posted: Mon Jul 03, 2017 9:25 pm
I've disassembled a music engine from a game, and the data is very much in the form of a tracker (sequences of patterns, with note and effect events, including an instrument set).

Is there a tracker program which would allow me to specify the constraints and then get at the data in a way I might transform it to the necessary binary format? Or would I be better off trying to import/export a classic module format, and rely on users to stick to the constraints? It's particularly painful to try to convert the instruments, let alone edit them...
  View user's profile Send private message Visit poster's website
  • Joined: 22 Jan 2017
  • Posts: 1
Reply with quote
Post Posted: Tue Jul 04, 2017 3:02 pm
Maxim wrote

Is there a tracker program which would allow me to specify the constraints and then get at the data in a way I might transform it to the necessary binary format? Or would I be better off trying to import/export a classic module format, and rely on users to stick to the constraints? It's particularly painful to try to convert the instruments, let alone edit them...


What about DefleMask Tracker? The file-format (DMF) is documented on their website, and it already forces the constraints (perhaps too many? I don't know the instrument/voice format for the engine you disassembled) required.
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14745
  • Location: London
Reply with quote
Post Posted: Tue Jul 04, 2017 5:32 pm
I'm sure it's a superset of my constraints. I'll have a look.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14745
  • Location: London
Reply with quote
Post Posted: Wed Jul 05, 2017 8:01 am
It seems like it isn't, because it has one tracker channel per chip channel. It would be possible to export to it but not import.
  View user's profile Send private message Visit poster's website
  • Joined: 05 Sep 2013
  • Posts: 3828
  • Location: Stockholm, Sweden
Reply with quote
Post Posted: Wed Jul 05, 2017 8:57 am
is your format different from one tracker channel per chip channel? If so, it isn't exactly a tracker format...
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14745
  • Location: London
Reply with quote
Post Posted: Wed Jul 05, 2017 10:40 pm
It's three channels, but some instruments use the noise channel too (and the player code selects which one would win if two did so at once, although in practice that doesn't happen).
  View user's profile Send private message Visit poster's website
  • Joined: 05 Sep 2013
  • Posts: 3828
  • Location: Stockholm, Sweden
Reply with quote
Post Posted: Thu Jul 06, 2017 8:17 am
So if it doesn't happen, you could just turn your data into a DefleMask file... well, you then probably will have to code an exporter too.
  View user's profile Send private message Visit poster's website
  • Joined: 01 Aug 2012
  • Posts: 322
  • Location: Porto, Portugal
Reply with quote
Post Posted: Thu Jul 06, 2017 9:17 pm
my experience was mostly converting .vgm to VortexTracker .txt format, but i’m still struggling on the noise channel - http://vgmrips.net/forum/viewtopic.php?f=15&p=7305#p7305 - http://vgmrips.net/forum/viewtopic.php?t=2341&p=7369
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14745
  • Location: London
Reply with quote
Post Posted: Thu Jul 06, 2017 9:51 pm
My goal is to emit editable files and then reimport the results, so it could be as simple as emitting a module with the available instruments as samples and three channels. The issue would be that the instruments don't scale as samples, and the effects won't sound quite right either (volume changes and pitch bends). Once the module gets to sound too far from the engine, it becomes less useful to be in the tracker in the first place.

For now, I've made it work in the form of assembler data statements with lots of macros. I think I will leave it for a while and carry on with the rest of my disassembly. It's on Github if you care to go looking.
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!