3-channel sample-based music tracker for Pico-8 .
Screenshot:
Download all p8 files from src and put in the same directory, then load 'algotracker.p8' in Pico-8.
The left side of the screen shows the SONG, which has lines of 3 hex numbers, each correponding to a TRACK.
The right side shows a TRACK, which contains music data: pitch, instrument, volume, and 2 parameters.
- Pitch values are entered as hexadecimal numbers in the blue column.
- Instrument type is entered as a number 0-5 in the green column. Type 0 means sample playback.
- Volume is a hex number 0-F
- The two note parameters are entered as two digits 0-F. For the sample instrument type, the first digit indicates the sample index.
Press '?' for help.
Help screen:
New sound banks can be created using Ruby scripts provided in atrk-smpbank.
AlgoTracker replayer is included at the end of the source, search for 'algotracker replayer'.
------------------------------
-- algotracker replayer
-- ====================
-- 2021-11-08 08:01
-- by nameless algorithm
-- namelessalgorithm.com
--
-- how to use in your cart:
--
-- create song 'atrk-song.p8'
-- using algotracker
-- place next to your cart
-- along with
-- 'atrk-smpbank.p8'
--
-- copy all functions with the
-- mu_ prefix and call:
--
-- function _init()
-- mu_init()
-- mu_load("atrk-song.p8")
-- mu_play()
-- end
--
-- function _update60()
-- mu_update();
-- end
--
-- relevant for animation:
--
-- mu.chx.vol <- channel power
-- if mu.chx.ins != -1:
-- mu.chx.fra <- note freq
--
------------------------------
function mu_init()
...