Welcome to the TIATracker module for batari Basic and 7800basic allowing you to play TIATracker music in your Atari console games.
TIATracker is a tool created by Kylearan for making Atari VCS music on the PC and a new sound routine for the VCS. It features ADSR envelopes, up to 7 melodic and 15 percussion instruments, customizable pitch guides for optimizing the number of in-tune notes, a size-optimized and configurable replayer routine and much more.
More information is available on the AtariAge Forum
For a full example of incorporating your TIATracker music into your source check the following depending on your platform:
- batari Basic - TIATrackerPlayer.bas
- 7800basic - TIATrackerPlayer.78b
Currently only one track per game can be added.
The following outlines how to add the TIATracker module to your source and incorporate your music. If you are having issues refer to the example for assistance.
-
Copy the tiatracker folder into the root of your source folder
-
Copy the content of file tiatracker/tiatracker_variables.bas into your variable definitions of your source.
-
Add the following to your source (either at the bottom of your file or bank depending on your requirements):
rem include the tiatracker source
asm
include "tiatracker/tiatracker.asm"
end
- In the initalisation of your screen add the following to initialise the tracker:
rem initialise tiatracker
gosub tiatrackerinit
- In your screen loop, after the drawscreen call add the following:
rem play track
gosub tiatrackerplay
-
Create your music or get someone to do the hard work!
-
Select File > Export track data to dasm... from the menu. On the Save As dialog locate your tiatracker/track folder in your batari Basic game folder, enter a filename of 'track' and click the Save button to export your music.
-
In file tiatracker/track/track_variables.asm remove the Permanent and Temporary variables from the file (otherwise you will receive a compilation error). Note: This will need to be done each time you export your data.
The following enhancements and changes have been made to the TIATracker module:
- Update tracker source to work with 7800basic
- Added example source for 7800basic
- Fixed in issue where the tiatracker source include could not be inserted anywhere except at the end of the code (or bank 6 for DPC+) due to Unresolved Symbol List compilation errors in batari Basic (via dasm).
- Initial release