Some music related code/project...

Discussion in 'Game Development General Discussion' started by tomaitheous, Mar 9, 2009.

  1. tomaitheous

    tomaitheous Spirited Member

    Joined:
    Jun 29, 2007
    Messages:
    100
    Likes Received:
    0
    After decoding Air Zonk's music format, I wrote a player from scratch to play the song data - here . You can select the song # with the gamepad (left/right).

    The zip includes the source, but also a pre-assembled rom for those wishing not to get their hands dirty and such ;)

    And, no - there's nothing special about Air Zonk's engine. It's rather tame in comparison to some other sound engines.
     
  2. retro

    retro Resigned from mod duty 15 March 2018

    Joined:
    Mar 13, 2004
    Messages:
    10,354
    Likes Received:
    822
    Thanks for the share! :thumbsup:

    It might be worth mentioning what format this is for, though.....
     
  3. TmEE

    TmEE Peppy Member

    Joined:
    Aug 13, 2008
    Messages:
    362
    Likes Received:
    1
    This is pretty nice stuff :D

    Now I've got to kick myself in the ass so I could do the rewrite in my sound engine to get some certain effects to do few remakes of Air Zonk tunes on MD :)
     
  4. Jamtex

    Jamtex Adult Orientated Mahjong Connoisseur

    Joined:
    Feb 21, 2007
    Messages:
    5,472
    Likes Received:
    16
    Well of course it's Air Zonk for the Atari 2600.. :110:
     
  5. tomaitheous

    tomaitheous Spirited Member

    Joined:
    Jun 29, 2007
    Messages:
    100
    Likes Received:
    0
    But... I put a pic of a PC-Engine for the thread title :110:
    :icon_bigg

    I updated the player a bit. You can control the tempo now with the game pad (select enabled alt_tempo mode, up/down changes the speed). Fixed a few bugs too. Same download link.

    I'm almost finish with the document on how to create your own music with the MML style commands. There's no fancy interface or even a text to binary converter (yet), but the next best thing - a 'define data byte' string with equates to make the commands and notes more human readable. Oh, and a PCE rom to view the selectable waveforms you assign to channels (it is a Tiny Wavetable Synthesis audio system, afterall).

    I'll be integrating the player into HuC (C compiler for PCE) assembly LIB over the next week or so.
     
  6. retro

    retro Resigned from mod duty 15 March 2018

    Joined:
    Mar 13, 2004
    Messages:
    10,354
    Likes Received:
    822
    Haha, good point!
     
  7. tomaitheous

    tomaitheous Spirited Member

    Joined:
    Jun 29, 2007
    Messages:
    100
    Likes Received:
    0
    I've finished the player side for creating music/chiptunes - info and download here.

    There's a batch file to assemble everything for you, into a player rom. The assembler is provided in the zip file - no special directories needed. I've included a sample song - Air Zonk song. Air_zonk_song2.azl contains the channel waveforms (AirZonk.wf) and the six track files (with the .inc extension). mml.equ has the list of commands. Az_mml.txt has the explanation of the commands (albiet in a different format, but still understandable and relative). Air_Zonk_WF_view.pce is a waveform viewer for the .wf file I included. MML.asm is the interface to the music player. Near the end of the file, is the include for the song (.azl file).

    Sorry, there's no tracker. In order to make it more tracker friendly, I need to add some commands for 'objects' or instrument defines.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page