New games every week!
Intriguing Blog
6th January 2021
Had a play with some music code, today.

-=-=-


View on YouTube

I know this doesn't seem like much, but this here is a coded drumloop, running in the browser!!

The methodology is as such..
1. Load blank.xm into memory. Blank contains 64 empty patterns.
2. Edit the .xm whilst it's in memory, adding a drumloop into every one of the 64 patterns.
3. Play

And, as far as I can tell, it seems to be working.
I'll have to stress test it on other browsers, but .. I think it's functional enough for creating a new JMTrackr.

The next few steps are..
1. Get the string loader working to access the melody strings that I have on the Switch.
2. Use the melody strings to generate proper data to feed into the patterns.
3. Generate an entire tune within the space of approximately a single frame, and get it playing!!

...
A long way to go!!
Views 100, Upvotes 20  
Jmtrackr
New games every week!
Site credits : Jayenkai, one crazy fool who has far too much time on his hands.
(c) Jayenkai 2023 and onwards, RSS feed 79

Blog - Intriguing - AGameAWeek