AtariAge Forums: Music Starter using sdata - AtariAge Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Music Starter using sdata

User is online Random Terrain Icon
Posted Wed Nov 19, 2008 6:19 AM

    • Controlled Randomness

      Replay Value

      Nonlinear


  • Icon
  • Visual batari Basic User
  • PM this member
  • View blog
  • View gallery
  • Posts: 17,304
  • Joined: 23-April 01
  • Location: North Carolina (USA)
Music Starter using sdata is my adapted version of code posted in the Ballblazer thread:

http://www.atariage....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:
Attached File  music_starter_2008y_11m_19d_0632t.bas (4.03K)
Number of downloads: 131


I 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.
0

User is offline jrok Icon
Posted Wed Nov 19, 2008 6:15 PM


  • Icon
  • Dragonstomper
  • PM this member
  • View blog
  • Posts: 905
  • Joined: 27-August 08
  • Location: NYC

View PostRandom Terrain, on Wed Nov 19, 2008 7:19 AM, said:

Music Starter using sdata is my adapted version of code posted in the Ballblazer thread:

http://www.atariage....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:
Attachment music_st...9d_0632t.bas


I 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.


Hey this is pretty cool! Thanks!
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users