Instead of using the code below, try the Music and Sound Editor that comes with Visual batari Basic. Create music and sound effects using data or sdtata. You can play around with the data and test it as many times as you want with your favorite emulator. The Music and Sound Editor makes the whole process faster and easier.
Music Starter using sdata is my adapted version of code posted in the Ballblazer thread:
http://www.atariage.com/forums/index.php?s...t&p=1615280
The 256-byte limitation is removed when using sdata. You can fill a whole 4k bank with music if you want. The volume/control/frequency data is in the same order as what you see in Tone Toy 2008 to make it easier for me since I use Tone Toy 2008 to hunt for sounds.
Format:
v,c,f (voice 0)
v,c,f (voice 1)
d
Explanation:
v - volume (0 to 15)
c - control [a.k.a. tone, voice, and distortion] (0 to 15)
f - frequency (0 to 31)
d - duration
I added a bunch of default data in case you're like me and like to have a guide:
0,0,0 0,0,0 1 0,0,0 0,0,0 1 0,0,0 0,0,0 1
Here's the .bas file:
music_starter_2008y_11m_19d_0632t.bas 4.03K
204 downloadsI haven't had time to make any tunes with it yet, but I'll post a few in the future. Feel free to post your own tunes. I'm thinking about trying things like the Doctor Who theme from the Tom Baker years and Darth Vader's theme from Star Wars.
Edited by Random Terrain, Wed Jun 15, 2011 11:26 AM.















