messmerd / dmf2mod

Deflemask Game Boy DMF to ProTracker MOD converter

Home Page:https://messmerd.github.io/dmf2mod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generated data

messmerd opened this issue · comments

Information about a module which is determined through examining its data but isn't explicitly provided as part of the module format's specs is what I am referring to as "generated data".

Examples of generated data may include:

  • The highest and lowest notes of a channel
  • Loopback point
  • The per-channel state of a module at any given point: Whether a note is playing, channel volume, panning, the current duty cycle/wavetable/sample/instrument, which effects are active, etc.
  • ...

A common interface should be created for retrieving this information from any module, which would increase the ease of implementing support for new modules and cut down on duplicate code in the future. First I need to first determine which types of generated data are broadly useful when converting from one module format to another. Ideally, all modules would be responsible for their own generated data so that someone writing support for a new module does not need to know anything about how the module they are converting from works.