I basically created the individual sound effects (drums, bass, melody) with print("\a") and then created the music data using those sfx by poking some values into memory. (I found these values by creating the music the normal way and then peeking the memory)