It is currently Wed Oct 23, 2019 8:25 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Lizard music engine
PostPosted: Mon Jun 03, 2019 3:17 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 7608
Location: Canada
While I was working on the demo for my compression library, I did a little bit of cleanup and organization on the music engine I used for Lizard. Just in case someone feels they need yet another NES music engine, here it is:

https://github.com/bbbradsmith/huffmunch/tree/master/danger/music

Notes:
  • ca65 (cc65) and python 3 prerequisite
  • Subset of Famitracker
    • Volume column supported
    • No DPCM
    • No Hi-Pitch macros (but regular pitch works)
    • Tempo fixed at 150 (use Speed instead)
    • Bxx for looping
    • D00 for variable pattern length
    • F0x for variable speed
    • No other effects supported
  • Sound effects on square 1 and/or noise channel
  • 22 bytes ZP
  • 105 bytes other RAM
  • 2152 bytes of code and tables
  • ~1800 cycles per frame

I might eventually move it to its own repository but I'd want to make a dedicated demo/test first.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: 8bitMicroGuy and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group