shithub: pokecrystal

Download patch

ref: fb9cbe7d1e8ae9062b4ae2b58028402686ea83d5
parent: 24c058bc0af611f0fb8da5286dc08ae1837b131c
parent: cbf14612eae2c2f0d45d22d750b056456f5db6c7
author: Rangi <35663410+Rangi42@users.noreply.github.com>
date: Wed Feb 5 13:51:20 EST 2020

Merge pull request #650 from pret/audio-macros

Update audio macros and arguments

--- a/audio/cries.asm
+++ b/audio/cries.asm
@@ -1,2045 +1,2113 @@
 Cry_Marill:
-	musicheader 3, 5, Cry_Marill_Ch5
-	musicheader 1, 6, Cry_Marill_Ch6
-	musicheader 1, 8, Cry_Marill_Ch8
+	channel_count 3
+	channel 5, Cry_Marill_Ch5
+	channel 6, Cry_Marill_Ch6
+	channel 8, Cry_Marill_Ch8
 
 Cry_Togepi:
-	musicheader 2, 5, Cry_Togepi_Ch5
-	musicheader 1, 6, Cry_Togepi_Ch6
+	channel_count 2
+	channel 5, Cry_Togepi_Ch5
+	channel 6, Cry_Togepi_Ch6
 
 Cry_Togetic:
-	musicheader 2, 5, Cry_Togetic_Ch5
-	musicheader 1, 6, Cry_Togetic_Ch6
+	channel_count 2
+	channel 5, Cry_Togetic_Ch5
+	channel 6, Cry_Togetic_Ch6
 
 Cry_Spinarak:
-	musicheader 3, 5, Cry_Spinarak_Ch5
-	musicheader 1, 6, Cry_Spinarak_Ch6
-	musicheader 1, 8, Cry_Spinarak_Ch8
+	channel_count 3
+	channel 5, Cry_Spinarak_Ch5
+	channel 6, Cry_Spinarak_Ch6
+	channel 8, Cry_Spinarak_Ch8
 
 Cry_Raikou:
-	musicheader 3, 5, Cry_Raikou_Ch5
-	musicheader 1, 6, Cry_Raikou_Ch6
-	musicheader 1, 8, Cry_Raikou_Ch8
+	channel_count 3
+	channel 5, Cry_Raikou_Ch5
+	channel 6, Cry_Raikou_Ch6
+	channel 8, Cry_Raikou_Ch8
 
 Cry_Hoothoot:
-	musicheader 3, 5, Cry_Hoothoot_Ch5
-	musicheader 1, 6, Cry_Hoothoot_Ch6
-	musicheader 1, 8, Cry_Hoothoot_Ch8
+	channel_count 3
+	channel 5, Cry_Hoothoot_Ch5
+	channel 6, Cry_Hoothoot_Ch6
+	channel 8, Cry_Hoothoot_Ch8
 
 Cry_Sentret:
-	musicheader 2, 5, Cry_Sentret_Ch5
-	musicheader 1, 6, Cry_Sentret_Ch6
+	channel_count 2
+	channel 5, Cry_Sentret_Ch5
+	channel 6, Cry_Sentret_Ch6
 
 Cry_Slowking:
-	musicheader 3, 5, Cry_Slowking_Ch5
-	musicheader 1, 6, Cry_Slowking_Ch6
-	musicheader 1, 8, Cry_Slowking_Ch8
+	channel_count 3
+	channel 5, Cry_Slowking_Ch5
+	channel 6, Cry_Slowking_Ch6
+	channel 8, Cry_Slowking_Ch8
 
 Cry_Mareep:
-	musicheader 2, 5, Cry_Mareep_Ch5
-	musicheader 1, 6, Cry_Mareep_Ch6
+	channel_count 2
+	channel 5, Cry_Mareep_Ch5
+	channel 6, Cry_Mareep_Ch6
 
 Cry_Cyndaquil:
-	musicheader 3, 5, Cry_Cyndaquil_Ch5
-	musicheader 1, 6, Cry_Cyndaquil_Ch6
-	musicheader 1, 8, Cry_Cyndaquil_Ch8
+	channel_count 3
+	channel 5, Cry_Cyndaquil_Ch5
+	channel 6, Cry_Cyndaquil_Ch6
+	channel 8, Cry_Cyndaquil_Ch8
 
 Cry_Chikorita:
-	musicheader 3, 5, Cry_Chikorita_Ch5
-	musicheader 1, 6, Cry_Chikorita_Ch6
-	musicheader 1, 8, Cry_Chikorita_Ch8
+	channel_count 3
+	channel 5, Cry_Chikorita_Ch5
+	channel 6, Cry_Chikorita_Ch6
+	channel 8, Cry_Chikorita_Ch8
 
 Cry_Gligar:
-	musicheader 2, 5, Cry_Gligar_Ch5
-	musicheader 1, 8, Cry_Gligar_Ch8
+	channel_count 2
+	channel 5, Cry_Gligar_Ch5
+	channel 8, Cry_Gligar_Ch8
 
 Cry_Girafarig:
-	musicheader 3, 5, Cry_Girafarig_Ch5
-	musicheader 1, 6, Cry_Girafarig_Ch6
-	musicheader 1, 8, Cry_Girafarig_Ch8
+	channel_count 3
+	channel 5, Cry_Girafarig_Ch5
+	channel 6, Cry_Girafarig_Ch6
+	channel 8, Cry_Girafarig_Ch8
 
 Cry_Slugma:
-	musicheader 2, 5, Cry_Slugma_Ch5
-	musicheader 1, 8, Cry_Slugma_Ch8
+	channel_count 2
+	channel 5, Cry_Slugma_Ch5
+	channel 8, Cry_Slugma_Ch8
 
 Cry_Ledyba:
-	musicheader 3, 5, Cry_Ledyba_Ch5
-	musicheader 1, 6, Cry_Ledyba_Ch6
-	musicheader 1, 8, Cry_Ledyba_Ch8
+	channel_count 3
+	channel 5, Cry_Ledyba_Ch5
+	channel 6, Cry_Ledyba_Ch6
+	channel 8, Cry_Ledyba_Ch8
 
 Cry_Wooper:
-	musicheader 3, 5, Cry_Wooper_Ch5
-	musicheader 1, 6, Cry_Wooper_Ch6
-	musicheader 1, 8, Cry_Wooper_Ch8
+	channel_count 3
+	channel 5, Cry_Wooper_Ch5
+	channel 6, Cry_Wooper_Ch6
+	channel 8, Cry_Wooper_Ch8
 
 Cry_Donphan:
-	musicheader 3, 5, Cry_Donphan_Ch5
-	musicheader 1, 6, Cry_Donphan_Ch6
-	musicheader 1, 8, Cry_Donphan_Ch8
+	channel_count 3
+	channel 5, Cry_Donphan_Ch5
+	channel 6, Cry_Donphan_Ch6
+	channel 8, Cry_Donphan_Ch8
 
 Cry_Typhlosion:
-	musicheader 3, 5, Cry_Typhlosion_Ch5
-	musicheader 1, 6, Cry_Typhlosion_Ch6
-	musicheader 1, 8, Cry_Typhlosion_Ch8
+	channel_count 3
+	channel 5, Cry_Typhlosion_Ch5
+	channel 6, Cry_Typhlosion_Ch6
+	channel 8, Cry_Typhlosion_Ch8
 
 Cry_Natu:
-	musicheader 3, 5, Cry_Natu_Ch5
-	musicheader 1, 6, Cry_Natu_Ch6
-	musicheader 1, 8, Cry_Natu_Ch8
+	channel_count 3
+	channel 5, Cry_Natu_Ch5
+	channel 6, Cry_Natu_Ch6
+	channel 8, Cry_Natu_Ch8
 
 Cry_Teddiursa:
-	musicheader 3, 5, Cry_Teddiursa_Ch5
-	musicheader 1, 6, Cry_Teddiursa_Ch6
-	musicheader 1, 8, Cry_Teddiursa_Ch8
+	channel_count 3
+	channel 5, Cry_Teddiursa_Ch5
+	channel 6, Cry_Teddiursa_Ch6
+	channel 8, Cry_Teddiursa_Ch8
 
 Cry_Sunflora:
-	musicheader 3, 5, Cry_Sunflora_Ch5
-	musicheader 1, 6, Cry_Sunflora_Ch6
-	musicheader 1, 8, Cry_Sunflora_Ch8
+	channel_count 3
+	channel 5, Cry_Sunflora_Ch5
+	channel 6, Cry_Sunflora_Ch6
+	channel 8, Cry_Sunflora_Ch8
 
 Cry_Ampharos:
-	musicheader 3, 5, Cry_Ampharos_Ch5
-	musicheader 1, 6, Cry_Ampharos_Ch6
-	musicheader 1, 8, Cry_Ampharos_Ch8
+	channel_count 3
+	channel 5, Cry_Ampharos_Ch5
+	channel 6, Cry_Ampharos_Ch6
+	channel 8, Cry_Ampharos_Ch8
 
 Cry_Totodile:
-	musicheader 3, 5, Cry_Totodile_Ch5
-	musicheader 1, 6, Cry_Totodile_Ch6
-	musicheader 1, 8, Cry_Totodile_Ch8
+	channel_count 3
+	channel 5, Cry_Totodile_Ch5
+	channel 6, Cry_Totodile_Ch6
+	channel 8, Cry_Totodile_Ch8
 
 Cry_Cleffa:
-	musicheader 3, 5, Cry_Cleffa_Ch5
-	musicheader 1, 6, Cry_Cleffa_Ch6
-	musicheader 1, 8, Cry_Cleffa_Ch8
+	channel_count 3
+	channel 5, Cry_Cleffa_Ch5
+	channel 6, Cry_Cleffa_Ch6
+	channel 8, Cry_Cleffa_Ch8
 
 Cry_Pichu:
-	musicheader 3, 5, Cry_Pichu_Ch5
-	musicheader 1, 6, Cry_Pichu_Ch6
-	musicheader 1, 8, Cry_Pichu_Ch8
+	channel_count 3
+	channel 5, Cry_Pichu_Ch5
+	channel 6, Cry_Pichu_Ch6
+	channel 8, Cry_Pichu_Ch8
 
 Cry_Aipom:
-	musicheader 3, 5, Cry_Aipom_Ch5
-	musicheader 1, 6, Cry_Aipom_Ch6
-	musicheader 1, 8, Cry_Aipom_Ch8
+	channel_count 3
+	channel 5, Cry_Aipom_Ch5
+	channel 6, Cry_Aipom_Ch6
+	channel 8, Cry_Aipom_Ch8
 
 Cry_Dunsparce:
-	musicheader 3, 5, Cry_Dunsparce_Ch5
-	musicheader 1, 6, Cry_Dunsparce_Ch6
-	musicheader 1, 8, Cry_Dunsparce_Ch8
+	channel_count 3
+	channel 5, Cry_Dunsparce_Ch5
+	channel 6, Cry_Dunsparce_Ch6
+	channel 8, Cry_Dunsparce_Ch8
 
 Cry_Magcargo:
-	musicheader 3, 5, Cry_Magcargo_Ch5
-	musicheader 1, 6, Cry_Magcargo_Ch6
-	musicheader 1, 8, Cry_Magcargo_Ch8
+	channel_count 3
+	channel 5, Cry_Magcargo_Ch5
+	channel 6, Cry_Magcargo_Ch6
+	channel 8, Cry_Magcargo_Ch8
 
 Cry_Entei:
-	musicheader 3, 5, Cry_Entei_Ch5
-	musicheader 1, 6, Cry_Entei_Ch6
-	musicheader 1, 8, Cry_Entei_Ch8
+	channel_count 3
+	channel 5, Cry_Entei_Ch5
+	channel 6, Cry_Entei_Ch6
+	channel 8, Cry_Entei_Ch8
 
 Cry_Mantine:
-	musicheader 3, 5, Cry_Mantine_Ch5
-	musicheader 1, 6, Cry_Mantine_Ch6
-	musicheader 1, 8, Cry_Mantine_Ch8
+	channel_count 3
+	channel 5, Cry_Mantine_Ch5
+	channel 6, Cry_Mantine_Ch6
+	channel 8, Cry_Mantine_Ch8
 
 Cry_Entei_Ch5:
-	soundinput $ff
-	sound_duty 3, 0, 2, 1
-	sound __,  2, $f8, $05f8
-	sound __,  9, $9f, $04d8
-	sound __,  7, $f8, $05c4
-	sound C_,  5, $f2, $0574
-	soundinput $88
-	endchannel
+	pitch_sweep 15, -7
+	duty_cycle_pattern 1, 2, 0, 3
+	square_note 1, 15, 8, 1528
+	square_note 8, 9, -7, 1240
+	square_note 6, 15, 8, 1476
+	square_note 20, 15, 2, 1396
+	pitch_sweep 8, 8
+	sound_ret
 
 Cry_Entei_Ch6:
-	sound_duty 3, 0, 3, 0
-	sound __,  2, $c8, $0640
-	sound __,  7, $ff, $0668
-	sound __,  8, $a8, $0534
-	sound C_,  5, $a2, $04a4
-	endchannel
+	duty_cycle_pattern 0, 3, 0, 3
+	square_note 1, 12, 8, 1600
+	square_note 6, 15, -7, 1640
+	square_note 7, 10, 8, 1332
+	square_note 20, 10, 2, 1188
+	sound_ret
 
 Cry_Entei_Ch8:
-	noise __, 11, $d6, $6a
-	noise __,  7, $bc, $6c
-	noise __,  7, $e2, $5c
-	noise C#,  1, $b4, $6c
-	endchannel
+	noise_note 10, 13, 6, 106
+	noise_note 6, 11, -4, 108
+	noise_note 6, 14, 2, 92
+	noise_note 32, 11, 4, 108
+	sound_ret
 
 Cry_Magcargo_Ch5:
-	sound_duty 0, 1, 0, 3
-	sound __,  5, $af, $0720
-	sound __,  3, $f8, $071c
-	sound __,  3, $f8, $0718
-	sound __,  3, $f8, $0708
-	sound __,  3, $f8, $070e
-	sound __, 13, $c8, $0712
-	sound __,  5, $91, $070e
-	endchannel
+	duty_cycle_pattern 3, 0, 1, 0
+	square_note 4, 10, -7, 1824
+	square_note 2, 15, 8, 1820
+	square_note 2, 15, 8, 1816
+	square_note 2, 15, 8, 1800
+	square_note 2, 15, 8, 1806
+	square_note 12, 12, 8, 1810
+	square_note 4, 9, 1, 1806
+	sound_ret
 
 Cry_Magcargo_Ch6:
-	sound_duty 2, 2, 0, 0
-	sound __,  2, $b8, $0710
-	sound __,  4, $d8, $072c
-	sound __,  5, $d8, $0665
-	sound __,  2, $b8, $0656
-	sound __,  2, $d8, $065c
-	sound __, 13, $f8, $0760
-	sound __,  5, $c1, $0750
-	endchannel
+	duty_cycle_pattern 0, 0, 2, 2
+	square_note 1, 11, 8, 1808
+	square_note 3, 13, 8, 1836
+	square_note 4, 13, 8, 1637
+	square_note 1, 11, 8, 1622
+	square_note 1, 13, 8, 1628
+	square_note 12, 15, 8, 1888
+	square_note 4, 12, 1, 1872
+	sound_ret
 
 Cry_Magcargo_Ch8:
-	noise __,  3, $e8, $3b
-.loop
-	noise __,  2, $f1, $4e
-	loopchannel 5, .loop
-	noise __,  3, $d8, $3f
-	noise C_,  5, $c2, $5f
-	endchannel
+	noise_note 2, 14, 8, 59
+Cry_Magcargo_branch_f2ef5:
+	noise_note 1, 15, 1, 78
+	sound_loop 5, Cry_Magcargo_branch_f2ef5
+	noise_note 2, 13, 8, 63
+	noise_note 20, 12, 2, 95
+	sound_ret
 
 Cry_Dunsparce_Ch5:
-	sound_duty 2, 0, 2, 0
-	sound __,  2, $f8, $05b0
-	sound __,  2, $f8, $04b4
-	sound __,  2, $f8, $05b8
-	sound __,  4, $f8, $05c0
-	sound __,  9, $c8, $0490
-	sound __,  9, $c8, $0480
-	soundinput $fe
-	sound C_,  1, $c3, $0490
-	soundinput $88
-	endchannel
+	duty_cycle_pattern 0, 2, 0, 2
+	square_note 1, 15, 8, 1456
+	square_note 1, 15, 8, 1204
+	square_note 1, 15, 8, 1464
+	square_note 3, 15, 8, 1472
+	square_note 8, 12, 8, 1168
+	square_note 8, 12, 8, 1152
+	pitch_sweep 15, -6
+	square_note 16, 12, 3, 1168
+	pitch_sweep 8, 8
+	sound_ret
 
 Cry_Dunsparce_Ch6:
-	sound_duty 2, 0, 2, 0
-	sound __,  9, $b8, $04c8
-	sound C#,  1, $b5, $0410
-	endchannel
+	duty_cycle_pattern 0, 2, 0, 2
+	square_note 8, 11, 8, 1224
+	square_note 32, 11, 5, 1040
+	sound_ret
 
 Cry_Dunsparce_Ch8:
-	noise __,  4, $ff, $4b
-	noise __,  4, $ef, $4c
-	noise C#,  1, $b5, $5f
-	endchannel
+	noise_note 3, 15, -7, 75
+	noise_note 3, 14, -7, 76
+	noise_note 32, 11, 5, 95
+	sound_ret
 
 Cry_Slowking_Ch5:
-	sound_duty 3, 0, 3, 0
-	sound __,  3, $f1, $0550
-	sound __,  3, $f1, $0530
-	sound __,  3, $f1, $0510
-	sound __,  3, $f2, $0650
-	sound __,  3, $f2, $0640
-	sound __,  3, $f2, $0630
-	sound C_,  1, $f2, $0550
-	endchannel
+	duty_cycle_pattern 0, 3, 0, 3
+	square_note 2, 15, 1, 1360
+	square_note 2, 15, 1, 1328
+	square_note 2, 15, 1, 1296
+	square_note 2, 15, 2, 1616
+	square_note 2, 15, 2, 1600
+	square_note 2, 15, 2, 1584
+	square_note 16, 15, 2, 1360
+	sound_ret
 
 Cry_Slowking_Ch6:
-	sound_duty 2, 0, 3, 3
-	sound __,  5, $e1, $0620
-	sound __,  6, $e2, $0500
-	sound __,  7, $e1, $0620
-	sound __,  3, $e1, $0520
-	sound C_,  1, $e2, $0500
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 2
+	square_note 4, 14, 1, 1568
+	square_note 5, 14, 2, 1280
+	square_note 6, 14, 1, 1568
+	square_note 2, 14, 1, 1312
+	square_note 16, 14, 2, 1280
+	sound_ret
 
 Cry_Slowking_Ch8:
-	noise __,  3, $8a, $5d
-	noise __,  3, $9a, $4c
-	noise __,  6, $9a, $5d
-	noise __,  3, $9a, $4d
-	noise __,  3, $9a, $4b
-	noise __,  3, $9a, $4d
-	noise __,  3, $9a, $5f
-	noise C_,  1, $b2, $6f
-	endchannel
+	noise_note 2, 8, -2, 93
+	noise_note 2, 9, -2, 76
+	noise_note 5, 9, -2, 93
+	noise_note 2, 9, -2, 77
+	noise_note 2, 9, -2, 75
+	noise_note 2, 9, -2, 77
+	noise_note 2, 9, -2, 95
+	noise_note 16, 11, 2, 111
+	sound_ret
 
 Cry_Pichu_Ch5:
-	dutycycle $0
-	soundinput $f7
-	sound __,  3, $f8, $078d
-	sound __,  3, $f8, $0791
-	soundinput $ff
-	sound __,  3, $f8, $07ad
-	soundinput $88
-	sound __,  3, $f8, $07b4
-	soundinput $f7
-	sound __,  3, $f8, $07b8
-	soundinput $88
-	endchannel
+	duty_cycle 0
+	pitch_sweep 15, 7
+	square_note 2, 15, 8, 1933
+	square_note 2, 15, 8, 1937
+	pitch_sweep 15, -7
+	square_note 2, 15, 8, 1965
+	pitch_sweep 8, 8
+	square_note 2, 15, 8, 1972
+	pitch_sweep 15, 7
+	square_note 2, 15, 8, 1976
+	pitch_sweep 8, 8
+	sound_ret
 
 Cry_Pichu_Ch6:
-	sound_duty 0, 0, 1, 0
-	sound __,  3, $c8, $076d
-	sound __,  3, $c8, $0771
-	sound __,  3, $c8, $078d
-	sound __,  3, $c8, $0794
-	sound __,  3, $c8, $0798
-	endchannel
+	duty_cycle_pattern 0, 1, 0, 0
+	square_note 2, 12, 8, 1901
+	square_note 2, 12, 8, 1905
+	square_note 2, 12, 8, 1933
+	square_note 2, 12, 8, 1940
+	square_note 2, 12, 8, 1944
+	sound_ret
 
 Cry_Pichu_Ch8:
-	noise __,  3, $b8, $1
-	noise __,  3, $b8, $19
-	noise __,  3, $c8, $18
-	noise __,  3, $b8, $10
-	noise __,  9, $c2, $18
-	endchannel
+	noise_note 2, 11, 8, 1
+	noise_note 2, 11, 8, 25
+	noise_note 2, 12, 8, 24
+	noise_note 2, 11, 8, 16
+	noise_note 8, 12, 2, 24
+	sound_ret
 
 Cry_Marill_Ch5:
-	sound_duty 2, 0, 2, 0
-	sound __,  3, $88, $06d8
-	sound __,  9, $e2, $06e0
-	sound __,  3, $61, $06e5
-	sound __,  3, $e8, $06c0
-	sound __,  3, $e8, $06b8
-	sound __,  3, $d8, $06b0
-	sound __,  9, $c1, $06aa
-	endchannel
+	duty_cycle_pattern 0, 2, 0, 2
+	square_note 2, 8, 8, 1752
+	square_note 8, 14, 2, 1760
+	square_note 2, 6, 1, 1765
+	square_note 2, 14, 8, 1728
+	square_note 2, 14, 8, 1720
+	square_note 2, 13, 8, 1712
+	square_note 8, 12, 1, 1706
+	sound_ret
 
 Cry_Marill_Ch6:
-	sound_duty 3, 0, 2, 1
-	sound __,  3, $68, $06b1
-	sound __,  6, $c1, $06b9
-	sound __,  6, $99, $0760
-	sound __,  3, $b8, $068c
-	sound __,  3, $a8, $0684
-	sound __, 11, $92, $067b
-	endchannel
+	duty_cycle_pattern 1, 2, 0, 3
+	square_note 2, 6, 8, 1713
+	square_note 5, 12, 1, 1721
+	square_note 5, 9, -1, 1888
+	square_note 2, 11, 8, 1676
+	square_note 2, 10, 8, 1668
+	square_note 10, 9, 2, 1659
+	sound_ret
 
 Cry_Marill_Ch8:
-	noise __,  2, $99, $6c
-	noise __,  2, $92, $5c
-	noise __, 11, $62, $4c
-	noise __,  3, $68, $6a
-	noise __,  3, $68, $6b
-	noise __, 11, $62, $6c
-	endchannel
+	noise_note 1, 9, -1, 108
+	noise_note 1, 9, 2, 92
+	noise_note 10, 6, 2, 76
+	noise_note 2, 6, 8, 106
+	noise_note 2, 6, 8, 107
+	noise_note 10, 6, 2, 108
+	sound_ret
 
 Cry_Togepi_Ch5:
-	tone $0002
+	pitch_offset 2
 Cry_Togepi_Ch6:
 Cry_Togetic_branch_f3022:
-	sound_duty 2, 0, 1, 1
-	sound __,  5, $f1, $0796
-	sound __,  5, $f1, $072d
-	sound __,  8, $0, 0
-	sound C_,  1, $f1, $07a7
-	endchannel
+	duty_cycle_pattern 1, 1, 0, 2
+	square_note 4, 15, 1, 1942
+	square_note 4, 15, 1, 1837
+	square_note 7, 0, 0, 0
+	square_note 16, 15, 1, 1959
+	sound_ret
 
 Cry_Togetic_Ch5:
-	tone $0002
+	pitch_offset 2
 Cry_Togetic_Ch6:
-	callchannel Cry_Togetic_branch_f3022
-	loopchannel 2, Cry_Togetic_Ch6
-	sound __, 15, $0, 0
-	sound __,  9, $f2, $07c2
-	endchannel
+	sound_call Cry_Togetic_branch_f3022
+	sound_loop 2, Cry_Togetic_Ch6
+	square_note 14, 0, 0, 0
+	square_note 8, 15, 2, 1986
+	sound_ret
 
 Cry_Spinarak_Ch5:
-	dutycycle $1
-	sound __,  4, $2c, $07c4
-	sound __,  2, $0, $0001
-	sound __,  6, $59, $07b9
-	sound __,  7, $b4, $07bb
-	endchannel
+	duty_cycle 1
+	square_note 3, 2, -4, 1988
+	square_note 1, 0, 0, 1
+	square_note 5, 5, -1, 1977
+	square_note 6, 11, 4, 1979
+	sound_ret
 
 Cry_Spinarak_Ch6:
-	sound_duty 2, 2, 2, 0
-	sound __,  4, $2c, $07c7
-	sound __,  2, $0, 0
-	sound __,  6, $59, $07be
-	sound __,  7, $b4, $07bd
-	endchannel
+	duty_cycle_pattern 0, 2, 2, 2
+	square_note 3, 2, -4, 1991
+	square_note 1, 0, 0, 0
+	square_note 5, 5, -1, 1982
+	square_note 6, 11, 4, 1981
+	sound_ret
 
 Cry_Spinarak_Ch8:
-	noise __,  4, $92, $10
-	noise __,  2, $39, $0
-	noise __,  6, $69, $10
-	noise __,  7, $93, $0
-	endchannel
+	noise_note 3, 9, 2, 16
+	noise_note 1, 3, -1, 0
+	noise_note 5, 6, -1, 16
+	noise_note 6, 9, 3, 0
+	sound_ret
 
 Cry_Raikou_Ch5:
-	sound_duty 0, 2, 3, 3
-	sound __,  3, $f1, $04b0
-	sound __,  3, $f7, $0590
-	sound __,  9, $f8, $0510
-	sound __,  4, $f2, $06c0
-	sound __,  4, $f8, $06ba
-	sound __,  4, $f2, $06b0
-	sound C_,  1, $f2, $0690
-	endchannel
+	duty_cycle_pattern 3, 3, 2, 0
+	square_note 2, 15, 1, 1200
+	square_note 2, 15, 7, 1424
+	square_note 8, 15, 8, 1296
+	square_note 3, 15, 2, 1728
+	square_note 3, 15, 8, 1722
+	square_note 3, 15, 2, 1712
+	square_note 16, 15, 2, 1680
+	sound_ret
 
 Cry_Raikou_Ch6:
-	sound_duty 2, 0, 3, 3
-	sound __,  3, $f1, $0720
-	sound __,  3, $e1, $0650
-	sound __,  5, $f1, $0750
-	sound __,  5, $d1, $03a0
-	sound __,  4, $f1, $0670
-	sound __,  4, $e1, $0680
-	sound __,  4, $f2, $0690
-	sound C_,  1, $e2, $06a0
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 2
+	square_note 2, 15, 1, 1824
+	square_note 2, 14, 1, 1616
+	square_note 4, 15, 1, 1872
+	square_note 4, 13, 1, 928
+	square_note 3, 15, 1, 1648
+	square_note 3, 14, 1, 1664
+	square_note 3, 15, 2, 1680
+	square_note 16, 14, 2, 1696
+	sound_ret
 
 Cry_Raikou_Ch8:
-	noise __,  3, $89, $2e
-	noise __,  3, $99, $1f
-	noise __,  5, $89, $4e
-	noise __,  5, $89, $7b
-	noise __,  4, $d8, $4b
-	noise __,  4, $e7, $4c
-	noise __,  4, $ec, $4d
-	noise C_,  1, $d2, $4f
-	endchannel
+	noise_note 2, 8, -1, 46
+	noise_note 2, 9, -1, 31
+	noise_note 4, 8, -1, 78
+	noise_note 4, 8, -1, 123
+	noise_note 3, 13, 8, 75
+	noise_note 3, 14, 7, 76
+	noise_note 3, 14, -4, 77
+	noise_note 16, 13, 2, 79
+	sound_ret
 
 Cry_Hoothoot_Ch5:
-	sound_duty 2, 1, 2, 1
-	sound __,  5, $78, $0650
-	sound __,  5, $f8, $0660
-	sound __,  5, $f8, $065c
-	sound __,  2, $f8, $067c
-	sound __,  5, $f8, $0680
-	sound __,  5, $f8, $067c
-	sound __,  5, $f8, $0678
-	sound __,  5, $f1, $0674
-	endchannel
+	duty_cycle_pattern 1, 2, 1, 2
+	square_note 4, 7, 8, 1616
+	square_note 4, 15, 8, 1632
+	square_note 4, 15, 8, 1628
+	square_note 1, 15, 8, 1660
+	square_note 4, 15, 8, 1664
+	square_note 4, 15, 8, 1660
+	square_note 4, 15, 8, 1656
+	square_note 4, 15, 1, 1652
+	sound_ret
 
 Cry_Hoothoot_Ch6:
-	sound_duty 2, 0, 2, 0
-.loop1
-	sound __,  3, $a1, $0600
-	loopchannel 3, .loop1
-.loop2
-	sound __,  3, $a1, $0630
-	loopchannel 4, .loop2
-	sound __,  5, $a2, $0634
-	sound __,  5, $91, $0638
-	endchannel
+	duty_cycle_pattern 0, 2, 0, 2
+Cry_Hoothoot_branch_f30fb:
+	square_note 2, 10, 1, 1536
+	sound_loop 3, Cry_Hoothoot_branch_f30fb
+Cry_Hoothoot_branch_f3103:
+	square_note 2, 10, 1, 1584
+	sound_loop 4, Cry_Hoothoot_branch_f3103
+	square_note 4, 10, 2, 1588
+	square_note 4, 9, 1, 1592
+	sound_ret
 
 Cry_Hoothoot_Ch8:
-	noise __,  2, $68, $36
-	noise C_,  1, $88, $6a
-	noise __,  2, $98, $5e
-	noise C_,  1, $a7, $6e
-	endchannel
+	noise_note 1, 6, 8, 54
+	noise_note 16, 8, 8, 106
+	noise_note 1, 9, 8, 94
+	noise_note 16, 10, 7, 110
+	sound_ret
 
 Cry_Sentret_Ch5:
-	tone $0020
-	dutycycle $0
-	jumpchannel Cry_Sentret_branch_f312b
+	pitch_offset 32
+	duty_cycle 0
+	sound_jump Cry_Sentret_branch_f312b
 
 Cry_Sentret_Ch6:
-	sound_duty 3, 2, 1, 0
+	duty_cycle_pattern 0, 1, 2, 3
 Cry_Sentret_branch_f312b:
-	sound __,  9, $39, $072d
-	sound __,  9, $f1, $0720
-	endchannel
+	square_note 8, 3, -1, 1837
+	square_note 8, 15, 1, 1824
+	sound_ret
 
 Cry_Sentret_Ch8:
-	noise __,  9, $3b, $0
-	noise __,  9, $92, $0
-	endchannel
+	noise_note 8, 3, -3, 0
+	noise_note 8, 9, 2, 0
+	sound_ret
 
 Cry_Mareep_Ch5:
-	tone $0020
-	dutycycle $0
-	jumpchannel Cry_Mareep_branch_f3145
+	pitch_offset 32
+	duty_cycle 0
+	sound_jump Cry_Mareep_branch_f3145
 
 Cry_Mareep_Ch6:
-	sound_duty 1, 0, 0, 0
+	duty_cycle_pattern 0, 0, 0, 1
 Cry_Mareep_branch_f3145:
 Cry_Gligar_branch_f3145:
-	sound __,  5, $3a, $073d
-	sound __,  7, $f8, $0762
-	sound __,  7, $f8, $0760
-	sound __,  7, $f1, $075e
-	endchannel
+	square_note 4, 3, -2, 1853
+	square_note 6, 15, 8, 1890
+	square_note 6, 15, 8, 1888
+	square_note 6, 15, 1, 1886
+	sound_ret
 
 Cry_Cyndaquil_Ch5:
-	tone $0020
+	pitch_offset 32
 Cry_Cyndaquil_Ch6:
-	dutycycle $2
-	sound __,  9, $2f, $0107
-.loop1
-	sound __,  1, $e1, $0483
-	sound __,  1, $51, $044e
-	loopchannel 4, .loop1
-.loop2
-	sound __,  1, $e1, $03da
-	sound __,  2, $51, $0312
-	loopchannel 4, .loop2
-	endchannel
+	duty_cycle 2
+	square_note 8, 2, -7, 263
+Cry_Cyndaquil_branch_f315f:
+	square_note 0, 14, 1, 1155
+	square_note 0, 5, 1, 1102
+	sound_loop 4, Cry_Cyndaquil_branch_f315f
+Cry_Cyndaquil_branch_f316b:
+	square_note 0, 14, 1, 986
+	square_note 1, 5, 1, 786
+	sound_loop 4, Cry_Cyndaquil_branch_f316b
+	sound_ret
 
-Cry_Cyndaquil_Ch8:
 Cry_Gligar_Ch8:
-	noise __,  9, $3f, $52
-	noise C#,  1, $93, $4f
-	endchannel
+Cry_Cyndaquil_Ch8:
+	noise_note 8, 3, -7, 82
+	noise_note 32, 9, 3, 79
+	sound_ret
 
 Cry_Chikorita_Ch5:
-	tone $0020
+	pitch_offset 32
 Cry_Chikorita_Ch6:
-	sound_duty 1, 0, 2, 0
-	sound __,  3, $c8, $0641
-	sound __,  3, $48, $0641
-	sound __,  7, $f8, $0790
-	sound __,  5, $f8, $078e
-	sound __,  5, $f1, $078b
-	endchannel
+	duty_cycle_pattern 0, 2, 0, 1
+	square_note 2, 12, 8, 1601
+	square_note 2, 4, 8, 1601
+	square_note 6, 15, 8, 1936
+	square_note 4, 15, 8, 1934
+	square_note 4, 15, 1, 1931
+	sound_ret
 
 Cry_Chikorita_Ch8:
-	noise __,  5, $91, $10
-	noise __,  9, $94, $3
-	endchannel
+	noise_note 4, 9, 1, 16
+	noise_note 8, 9, 4, 3
+	sound_ret
 
 Cry_Gligar_Ch5:
-	sound_duty 2, 0, 2, 2
-	jumpchannel Cry_Gligar_branch_f3145
+	duty_cycle_pattern 2, 2, 0, 2
+	sound_jump Cry_Gligar_branch_f3145
 
 Cry_Girafarig_Ch5:
-	dutycycle $1
-	tone $0004
-	jumpchannel Cry_Girafarig_branch_f31af
+	duty_cycle 1
+	pitch_offset 4
+	sound_jump Cry_Girafarig_branch_f31af
 
 Cry_Girafarig_Ch6:
-	sound_duty 1, 0, 0, 1
+	duty_cycle_pattern 1, 0, 0, 1
 Cry_Girafarig_branch_f31af:
-	sound __,  5, $68, $0758
-	sound __,  3, $e8, $0760
-	sound __,  3, $e8, $0767
-	sound __,  3, $e8, $076c
-	sound __,  8, $f1, $0767
-	endchannel
+	square_note 4, 6, 8, 1880
+	square_note 2, 14, 8, 1888
+	square_note 2, 14, 8, 1895
+	square_note 2, 14, 8, 1900
+	square_note 7, 15, 1, 1895
+	sound_ret
 
 Cry_Girafarig_Ch8:
-	noise __,  5, $29, $0
-	noise __,  3, $39, $1
-	noise __,  3, $49, $2
-	noise __,  3, $59, $1
-	noise __,  8, $41, $0
-	endchannel
+	noise_note 4, 2, -1, 0
+	noise_note 2, 3, -1, 1
+	noise_note 2, 4, -1, 2
+	noise_note 2, 5, -1, 1
+	noise_note 7, 4, 1, 0
+	sound_ret
 
 Cry_Slugma_Ch5:
-	sound_duty 1, 0, 1, 2
-	sound __, 13, $f2, $07a6
-	sound __,  5, $f8, $07b0
-	sound __,  5, $e8, $03b0
-	sound __,  7, $f8, $03a0
-	sound __,  9, $e1, $0290
-	endchannel
+	duty_cycle_pattern 2, 1, 0, 1
+	square_note 12, 15, 2, 1958
+	square_note 4, 15, 8, 1968
+	square_note 4, 14, 8, 944
+	square_note 6, 15, 8, 928
+	square_note 8, 14, 1, 656
+	sound_ret
 
 Cry_Slugma_Ch8:
-	noise __, 13, $b2, $50
-	noise __,  9, $a8, $60
-	noise __,  7, $a8, $5b
-	noise __,  9, $a1, $5c
-	endchannel
+	noise_note 12, 11, 2, 80
+	noise_note 8, 10, 8, 96
+	noise_note 6, 10, 8, 91
+	noise_note 8, 10, 1, 92
+	sound_ret
 
 Cry_Ledyba_Ch5:
-	tone $0002
-	dutycycle $2
-	jumpchannel Cry_Ledyba_branch_f3202
+	pitch_offset 2
+	duty_cycle 2
+	sound_jump Cry_Ledyba_branch_f3202
 
 Cry_Ledyba_Ch6:
-	sound_duty 1, 0, 0, 0
+	duty_cycle_pattern 0, 0, 0, 1
 Cry_Ledyba_branch_f3202:
-	sound __,  4, $f8, $0791
-	sound __,  4, $d8, $078d
-	sound __,  3, $0, 0
-	sound __,  2, $78, $06c1
-	sound __,  2, $f8, $0741
-	sound __,  5, $e1, $0751
-	endchannel
+	square_note 3, 15, 8, 1937
+	square_note 3, 13, 8, 1933
+	square_note 2, 0, 0, 0
+	square_note 1, 7, 8, 1729
+	square_note 1, 15, 8, 1857
+	square_note 4, 14, 1, 1873
+	sound_ret
 
 Cry_Ledyba_Ch8:
-	noise __,  4, $59, $21
-	noise __,  4, $81, $0
-	noise __,  3, $20, $0
-	noise __,  2, $80, $21
-	noise __,  2, $80, $10
-	noise __,  5, $87, $0
-	endchannel
+	noise_note 3, 5, -1, 33
+	noise_note 3, 8, 1, 0
+	noise_note 2, 2, 0, 0
+	noise_note 1, 8, 0, 33
+	noise_note 1, 8, 0, 16
+	noise_note 4, 8, 7, 0
+	sound_ret
 
 Cry_Wooper_Ch5:
 Cry_Donphan_Ch5:
-	dutycycle $2
-	sound __,  3, $99, $0718
-	sound __,  5, $ab, $0722
-	sound __,  9, $ab, $0734
-	sound __,  5, $d6, $0716
-	sound __,  9, $d1, $0712
-	sound __,  9, $0, 0
-	endchannel
+	duty_cycle 2
+	square_note 2, 9, -1, 1816
+	square_note 4, 10, -3, 1826
+	square_note 8, 10, -3, 1844
+	square_note 4, 13, 6, 1814
+	square_note 8, 13, 1, 1810
+	square_note 8, 0, 0, 0
+	sound_ret
 
 Cry_Wooper_Ch6:
 Cry_Donphan_Ch6:
-	sound_duty 3, 1, 0, 0
-	sound __,  3, $b9, $0738
-	sound __,  5, $cb, $0742
-	sound __,  9, $cb, $0754
-	sound __,  5, $f6, $0736
-	sound __,  9, $f1, $0732
-	sound __,  9, $0, 0
-	endchannel
+	duty_cycle_pattern 0, 0, 1, 3
+	square_note 2, 11, -1, 1848
+	square_note 4, 12, -3, 1858
+	square_note 8, 12, -3, 1876
+	square_note 4, 15, 6, 1846
+	square_note 8, 15, 1, 1842
+	square_note 8, 0, 0, 0
+	sound_ret
 
 Cry_Wooper_Ch8:
-	noise __,  3, $5b, $4
-	noise __,  5, $68, $13
-	noise __,  9, $68, $20
-	noise __,  5, $68, $13
-	noise C_,  1, $51, $4
-	endchannel
+	noise_note 2, 5, -3, 4
+	noise_note 4, 6, 8, 19
+	noise_note 8, 6, 8, 32
+	noise_note 4, 6, 8, 19
+	noise_note 16, 5, 1, 4
+	sound_ret
 
 Cry_Donphan_Ch8:
-	noise __,  3, $8b, $59
-	noise __,  5, $a8, $6a
-	noise __,  9, $a8, $70
-	noise __,  5, $a8, $69
-	noise C_,  1, $92, $6c
-	endchannel
+	noise_note 2, 8, -3, 89
+	noise_note 4, 10, 8, 106
+	noise_note 8, 10, 8, 112
+	noise_note 4, 10, 8, 105
+	noise_note 16, 9, 2, 108
+	sound_ret
 
-Cry_Typhlosion_Ch5:
 Cry_Teddiursa_Ch5:
-	sound_duty 2, 0, 1, 0
-.loop1
-	sound __,  4, $c1, $0791
-	loopchannel 3, .loop1
-.loop2
-	sound __,  4, $d1, $04b1
-	loopchannel 6, .loop2
-.loop3
-	sound __,  2, $d1, $0491
-	sound __,  2, $b1, $0451
-	loopchannel 6, .loop3
-.loop4
-	sound __,  2, $a3, $0471
-	sound __,  2, $81, $0441
-	loopchannel 6, .loop4
-.loop5
-	sound __,  2, $41, $0421
-	sound __,  2, $21, $0401
-	loopchannel 4, .loop5
-	endchannel
+Cry_Typhlosion_Ch5:
+	duty_cycle_pattern 0, 1, 0, 2
+Cry_Teddiursa_branch_f3286:
+	square_note 3, 12, 1, 1937
+	sound_loop 3, Cry_Teddiursa_branch_f3286
+Cry_Teddiursa_branch_f328e:
+	square_note 3, 13, 1, 1201
+	sound_loop 6, Cry_Teddiursa_branch_f328e
+Cry_Teddiursa_branch_f3296:
+	square_note 1, 13, 1, 1169
+	square_note 1, 11, 1, 1105
+	sound_loop 6, Cry_Teddiursa_branch_f3296
+Cry_Teddiursa_branch_f32a2:
+	square_note 1, 10, 3, 1137
+	square_note 1, 8, 1, 1089
+	sound_loop 6, Cry_Teddiursa_branch_f32a2
+Cry_Teddiursa_branch_f32ae:
+	square_note 1, 4, 1, 1057
+	square_note 1, 2, 1, 1025
+	sound_loop 4, Cry_Teddiursa_branch_f32ae
+	sound_ret
 
-Cry_Typhlosion_Ch6:
 Cry_Teddiursa_Ch6:
-	sound_duty 0, 2, 3, 1
-	sound __,  9, $99, $0740
-	sound __,  9, $79, $0746
-	sound C_,  1, $f6, $078d
-	sound __,  9, $f8, $0791
-	sound __,  9, $f8, $078d
-	sound __,  9, $f8, $0787
-	sound C_,  9, $e2, $0783
-	endchannel
+Cry_Typhlosion_Ch6:
+	duty_cycle_pattern 1, 3, 2, 0
+	square_note 8, 9, -1, 1856
+	square_note 8, 7, -1, 1862
+	square_note 16, 15, 6, 1933
+	square_note 8, 15, 8, 1937
+	square_note 8, 15, 8, 1933
+	square_note 8, 15, 8, 1927
+	square_note 24, 14, 2, 1923
+	sound_ret
 
 Cry_Typhlosion_Ch8:
-	noise C_,  1, $a6, $16
-	noise C_,  9, $98, $3d
-	noise C#,  1, $98, $5c
-	noise C#,  1, $75, $5f
-	endchannel
+	noise_note 16, 10, 6, 22
+	noise_note 24, 9, 8, 61
+	noise_note 32, 9, 8, 92
+	noise_note 32, 7, 5, 95
+	sound_ret
 
 Cry_Natu_Ch5:
-	sound_duty 2, 3, 1, 3
+	duty_cycle_pattern 3, 1, 3, 2
 Cry_Mantine_branch_f32e9:
 Cry_Sunflora_branch_f32e9:
-	sound __,  5, $f8, $07b1
-	sound __,  5, $f8, $07b0
-	sound __,  5, $48, $07af
+	square_note 4, 15, 8, 1969
+	square_note 4, 15, 8, 1968
+	square_note 4, 4, 8, 1967
 Cry_Mantine_branch_f32f5:
-	sound __,  5, $f8, $07b2
-	sound __,  5, $f8, $07b3
-	sound __,  5, $48, $07b4
-	endchannel
+	square_note 4, 15, 8, 1970
+	square_note 4, 15, 8, 1971
+	square_note 4, 4, 8, 1972
+	sound_ret
 
-Cry_Mantine_branch_f3302:
 Cry_Natu_Ch6:
 Cry_Sunflora_Ch6:
-	sound_duty 2, 0, 3, 3
-	sound __,  5, $f8, $07b2
-	sound __,  5, $f8, $07b1
-	sound __,  5, $28, $07b0
+Cry_Mantine_branch_f3302:
+	duty_cycle_pattern 3, 3, 0, 2
+	square_note 4, 15, 8, 1970
+	square_note 4, 15, 8, 1969
+	square_note 4, 2, 8, 1968
 Cry_Mantine_branch_f3310:
-	sound __,  5, $f8, $07b4
-	sound __,  5, $f8, $07b6
-	sound __,  5, $48, $07b8
-	endchannel
+	square_note 4, 15, 8, 1972
+	square_note 4, 15, 8, 1974
+	square_note 4, 4, 8, 1976
+	sound_ret
 
-Cry_Mantine_branch_f331d:
 Cry_Natu_Ch8:
 Cry_Sunflora_Ch8:
-	noise __,  5, $88, $5
-	noise __,  5, $88, $4
-	noise __,  5, $38, $3
+Cry_Mantine_branch_f331d:
+	noise_note 4, 8, 8, 5
+	noise_note 4, 8, 8, 4
+	noise_note 4, 3, 8, 3
 Cry_Mantine_branch_f3326:
-	noise __,  5, $88, $5
-	noise __,  5, $88, $4
-	noise __,  5, $87, $4
-	endchannel
+	noise_note 4, 8, 8, 5
+	noise_note 4, 8, 8, 4
+	noise_note 4, 8, 7, 4
+	sound_ret
 
 Cry_Teddiursa_Ch8:
-	noise __,  9, $a6, $3a
-	noise __,  9, $a1, $5a
-	endchannel
+	noise_note 8, 10, 6, 58
+	noise_note 8, 10, 1, 90
+	sound_ret
 
 Cry_Sunflora_Ch5:
-	dutycycle $0
-	jumpchannel Cry_Sunflora_branch_f32e9
+	duty_cycle 0
+	sound_jump Cry_Sunflora_branch_f32e9
 
 Cry_Mantine_Ch5:
-	dutycycle $0
-	callchannel Cry_Mantine_branch_f32e9
-	callchannel Cry_Mantine_branch_f32f5
-	endchannel
+	duty_cycle 0
+	sound_call Cry_Mantine_branch_f32e9
+	sound_call Cry_Mantine_branch_f32f5
+	sound_ret
 
 Cry_Mantine_Ch6:
-	callchannel Cry_Mantine_branch_f3302
-	callchannel Cry_Mantine_branch_f3310
-	endchannel
+	sound_call Cry_Mantine_branch_f3302
+	sound_call Cry_Mantine_branch_f3310
+	sound_ret
 
 Cry_Mantine_Ch8:
-	callchannel Cry_Mantine_branch_f331d
-	callchannel Cry_Mantine_branch_f3326
-	endchannel
+	sound_call Cry_Mantine_branch_f331d
+	sound_call Cry_Mantine_branch_f3326
+	sound_ret
 
 Cry_Ampharos_Ch5:
-	sound_duty 2, 3, 1, 3
-.loop
-	sound __,  2, $c1, $0520
-	sound __,  2, $a1, $0420
-	loopchannel 4, .loop
-	dutycycle $0
-	sound __,  5, $78, $0760
-	sound __,  5, $78, $0730
-	sound C_,  9, $c2, $0420
-	endchannel
+	duty_cycle_pattern 3, 1, 3, 2
+Cry_Ampharos_branch_f3355:
+	square_note 1, 12, 1, 1312
+	square_note 1, 10, 1, 1056
+	sound_loop 4, Cry_Ampharos_branch_f3355
+	duty_cycle 0
+	square_note 4, 7, 8, 1888
+	square_note 4, 7, 8, 1840
+	square_note 24, 12, 2, 1056
+	sound_ret
 
 Cry_Ampharos_Ch6:
-	sound_duty 2, 0, 3, 0
-	sound __,  9, $f8, $0700
-	sound __,  8, $f8, $0720
-	sound __,  5, $f8, $0790
-	sound __,  5, $f8, $0760
-	sound C_,  9, $f2, $0730
-	endchannel
+	duty_cycle_pattern 0, 3, 0, 2
+	square_note 8, 15, 8, 1792
+	square_note 7, 15, 8, 1824
+	square_note 4, 15, 8, 1936
+	square_note 4, 15, 8, 1888
+	square_note 24, 15, 2, 1840
+	sound_ret
 
 Cry_Ampharos_Ch8:
-	noise __,  5, $88, $6d
-	noise __,  5, $d8, $68
-	noise __,  8, $c8, $69
-	noise __,  5, $98, $3a
-	noise __,  5, $98, $3c
-	noise C_,  9, $d2, $5b
-	endchannel
+	noise_note 4, 8, 8, 109
+	noise_note 4, 13, 8, 104
+	noise_note 7, 12, 8, 105
+	noise_note 4, 9, 8, 58
+	noise_note 4, 9, 8, 60
+	noise_note 24, 13, 2, 91
+	sound_ret
 
 Cry_Totodile_Ch5:
-	sound_duty 2, 0, 3, 0
-	sound __,  9, $f8, $0330
-	sound __,  9, $f8, $0340
-	sound __,  9, $c8, $07b2
-	sound __,  9, $b8, $07b3
-	sound C#,  1, $b2, $07b4
-	endchannel
+	duty_cycle_pattern 0, 3, 0, 2
+	square_note 8, 15, 8, 816
+	square_note 8, 15, 8, 832
+	square_note 8, 12, 8, 1970
+	square_note 8, 11, 8, 1971
+	square_note 32, 11, 2, 1972
+	sound_ret
 
 Cry_Totodile_Ch6:
-	sound_duty 2, 0, 1, 0
-	sound __,  9, $e8, $0320
-	sound __,  9, $e8, $0328
-	sound __,  9, $98, $0780
-	sound __,  9, $88, $0782
-	sound C#,  1, $72, $0784
-	endchannel
+	duty_cycle_pattern 0, 1, 0, 2
+	square_note 8, 14, 8, 800
+	square_note 8, 14, 8, 808
+	square_note 8, 9, 8, 1920
+	square_note 8, 8, 8, 1922
+	square_note 32, 7, 2, 1924
+	sound_ret
 
 Cry_Totodile_Ch8:
-	noise __,  3, $be, $49
-	noise __,  6, $be, $3a
-	noise __,  3, $be, $29
-	noise C#,  9, $d3, $6e
-	endchannel
+	noise_note 2, 11, -6, 73
+	noise_note 5, 11, -6, 58
+	noise_note 2, 11, -6, 41
+	noise_note 40, 13, 3, 110
+	sound_ret
 
 Cry_Cleffa_Ch5:
-	sound_duty 1, 2, 3, 0
-	soundinput $ff
-	sound __,  3, $f8, $0720
-	sound __,  3, $f8, $0727
-	sound __,  3, $f8, $0780
-	soundinput $88
-	sound __,  3, $f8, $0779
-	sound __,  5, $f8, $0740
-	sound __,  5, $f8, $073c
-	soundinput $ff
-	sound __,  9, $f1, $0737
-	soundinput $88
-	endchannel
+	duty_cycle_pattern 0, 3, 2, 1
+	pitch_sweep 15, -7
+	square_note 2, 15, 8, 1824
+	square_note 2, 15, 8, 1831
+	square_note 2, 15, 8, 1920
+	pitch_sweep 8, 8
+	square_note 2, 15, 8, 1913
+	square_note 4, 15, 8, 1856
+	square_note 4, 15, 8, 1852
+	pitch_sweep 15, -7
+	square_note 8, 15, 1, 1847
+	pitch_sweep 8, 8
+	sound_ret
 
 Cry_Cleffa_Ch6:
-	sound_duty 2, 0, 2, 0
-	sound __,  7, $b2, $071e
-	sound __,  6, $92, $0779
-	sound __,  5, $82, $073e
-	sound __,  9, $a1, $0735
-	endchannel
+	duty_cycle_pattern 0, 2, 0, 2
+	square_note 6, 11, 2, 1822
+	square_note 5, 9, 2, 1913
+	square_note 4, 8, 2, 1854
+	square_note 8, 10, 1, 1845
+	sound_ret
 
 Cry_Cleffa_Ch8:
-	noise __,  3, $64, $7f
-	noise __,  3, $84, $7d
-	noise __,  3, $a4, $6f
-	noise __,  3, $64, $6c
-	noise __,  3, $94, $6f
-	noise __,  3, $61, $6b
-	endchannel
+	noise_note 2, 6, 4, 127
+	noise_note 2, 8, 4, 125
+	noise_note 2, 10, 4, 111
+	noise_note 2, 6, 4, 108
+	noise_note 2, 9, 4, 111
+	noise_note 2, 6, 1, 107
+	sound_ret
 
 Cry_Aipom_Ch5:
-	sound_duty 2, 0, 1, 3
-	sound __,  4, $f8, $06b0
-	sound __,  2, $f8, $06a5
-	sound __,  2, $f8, $069d
-	sound __,  8, $f1, $068a
-	sound __,  4, $f8, $0736
-	sound __,  4, $f8, $0720
-	sound C_,  5, $f2, $070e
-	endchannel
+	duty_cycle_pattern 3, 1, 0, 2
+	square_note 3, 15, 8, 1712
+	square_note 1, 15, 8, 1701
+	square_note 1, 15, 8, 1693
+	square_note 7, 15, 1, 1674
+	square_note 3, 15, 8, 1846
+	square_note 3, 15, 8, 1824
+	square_note 20, 15, 2, 1806
+	sound_ret
 
 Cry_Aipom_Ch6:
-	sound_duty 3, 1, 2, 0
-.loop1
-	sound __,  2, $f1, $07b4
-	loopchannel 8, .loop1
-.loop2
-	sound __,  2, $c1, $0790
-	loopchannel 3, .loop2
-.loop3
-	sound __,  2, $b1, $078d
-	loopchannel 2, .loop3
-	sound C_,  1, $92, $0795
-	endchannel
+	duty_cycle_pattern 0, 2, 1, 3
+Cry_Aipom_branch_f3443:
+	square_note 1, 15, 1, 1972
+	sound_loop 8, Cry_Aipom_branch_f3443
+Cry_Aipom_branch_f344b:
+	square_note 1, 12, 1, 1936
+	sound_loop 3, Cry_Aipom_branch_f344b
+Cry_Aipom_branch_f3453:
+	square_note 1, 11, 1, 1933
+	sound_loop 2, Cry_Aipom_branch_f3453
+	square_note 16, 9, 2, 1941
+	sound_ret
 
 Cry_Aipom_Ch8:
-	noise __,  1, $f1, $28
-	loopchannel 4, Cry_Aipom_Ch8
-	noise __,  1, $91, $49
-	noise __,  2, $a8, $4a
-	noise __,  1, $e1, $4b
-	noise __,  6, $d2, $4f
-	noise __,  4, $c2, $4e
-	noise __,  4, $b2, $4d
-	noise C_,  5, $a3, $4c
-	endchannel
+	noise_note 0, 15, 1, 40
+	sound_loop 4, Cry_Aipom_Ch8
+	noise_note 0, 9, 1, 73
+	noise_note 1, 10, 8, 74
+	noise_note 0, 14, 1, 75
+	noise_note 5, 13, 2, 79
+	noise_note 3, 12, 2, 78
+	noise_note 3, 11, 2, 77
+	noise_note 20, 10, 3, 76
+	sound_ret
 
 Cry_Nidoran_M:
-	musicheader 3, 5, Cry_Nidoran_M_Ch5
-	musicheader 1, 6, Cry_Nidoran_M_Ch6
-	musicheader 1, 8, Cry_Nidoran_M_Ch8
+	channel_count 3
+	channel 5, Cry_Nidoran_M_Ch5
+	channel 6, Cry_Nidoran_M_Ch6
+	channel 8, Cry_Nidoran_M_Ch8
 
 Cry_Nidoran_F:
-	musicheader 3, 5, Cry_Nidoran_F_Ch5
-	musicheader 1, 6, Cry_Nidoran_F_Ch6
-	musicheader 1, 8, Cry_Nidoran_F_Ch8
+	channel_count 3
+	channel 5, Cry_Nidoran_F_Ch5
+	channel 6, Cry_Nidoran_F_Ch6
+	channel 8, Cry_Nidoran_F_Ch8
 
 Cry_Slowpoke:
-	musicheader 3, 5, Cry_Slowpoke_Ch5
-	musicheader 1, 6, Cry_Slowpoke_Ch6
-	musicheader 1, 8, Cry_Slowpoke_Ch8
+	channel_count 3
+	channel 5, Cry_Slowpoke_Ch5
+	channel 6, Cry_Slowpoke_Ch6
+	channel 8, Cry_Slowpoke_Ch8
 
 Cry_Kangaskhan:
-	musicheader 3, 5, Cry_Kangaskhan_Ch5
-	musicheader 1, 6, Cry_Kangaskhan_Ch6
-	musicheader 1, 8, Cry_Kangaskhan_Ch8
+	channel_count 3
+	channel 5, Cry_Kangaskhan_Ch5
+	channel 6, Cry_Kangaskhan_Ch6
+	channel 8, Cry_Kangaskhan_Ch8
 
 Cry_Charmander:
-	musicheader 3, 5, Cry_Charmander_Ch5
-	musicheader 1, 6, Cry_Charmander_Ch6
-	musicheader 1, 8, Cry_Charmander_Ch8
+	channel_count 3
+	channel 5, Cry_Charmander_Ch5
+	channel 6, Cry_Charmander_Ch6
+	channel 8, Cry_Charmander_Ch8
 
 Cry_Grimer:
-	musicheader 3, 5, Cry_Grimer_Ch5
-	musicheader 1, 6, Cry_Grimer_Ch6
-	musicheader 1, 8, Cry_Grimer_Ch8
+	channel_count 3
+	channel 5, Cry_Grimer_Ch5
+	channel 6, Cry_Grimer_Ch6
+	channel 8, Cry_Grimer_Ch8
 
 Cry_Voltorb:
-	musicheader 3, 5, Cry_Voltorb_Ch5
-	musicheader 1, 6, Cry_Voltorb_Ch6
-	musicheader 1, 8, Cry_Voltorb_Ch8
+	channel_count 3
+	channel 5, Cry_Voltorb_Ch5
+	channel 6, Cry_Voltorb_Ch6
+	channel 8, Cry_Voltorb_Ch8
 
 Cry_Muk:
-	musicheader 3, 5, Cry_Muk_Ch5
-	musicheader 1, 6, Cry_Muk_Ch6
-	musicheader 1, 8, Cry_Muk_Ch8
+	channel_count 3
+	channel 5, Cry_Muk_Ch5
+	channel 6, Cry_Muk_Ch6
+	channel 8, Cry_Muk_Ch8
 
 Cry_Oddish:
-	musicheader 3, 5, Cry_Oddish_Ch5
-	musicheader 1, 6, Cry_Oddish_Ch6
-	musicheader 1, 8, Cry_Oddish_Ch8
+	channel_count 3
+	channel 5, Cry_Oddish_Ch5
+	channel 6, Cry_Oddish_Ch6
+	channel 8, Cry_Oddish_Ch8
 
 Cry_Raichu:
-	musicheader 3, 5, Cry_Raichu_Ch5
-	musicheader 1, 6, Cry_Raichu_Ch6
-	musicheader 1, 8, Cry_Raichu_Ch8
+	channel_count 3
+	channel 5, Cry_Raichu_Ch5
+	channel 6, Cry_Raichu_Ch6
+	channel 8, Cry_Raichu_Ch8
 
 Cry_Nidoqueen:
-	musicheader 3, 5, Cry_Nidoqueen_Ch5
-	musicheader 1, 6, Cry_Nidoqueen_Ch6
-	musicheader 1, 8, Cry_Nidoqueen_Ch8
+	channel_count 3
+	channel 5, Cry_Nidoqueen_Ch5
+	channel 6, Cry_Nidoqueen_Ch6
+	channel 8, Cry_Nidoqueen_Ch8
 
 Cry_Diglett:
-	musicheader 3, 5, Cry_Diglett_Ch5
-	musicheader 1, 6, Cry_Diglett_Ch6
-	musicheader 1, 8, Cry_Diglett_Ch8
+	channel_count 3
+	channel 5, Cry_Diglett_Ch5
+	channel 6, Cry_Diglett_Ch6
+	channel 8, Cry_Diglett_Ch8
 
 Cry_Seel:
-	musicheader 3, 5, Cry_Seel_Ch5
-	musicheader 1, 6, Cry_Seel_Ch6
-	musicheader 1, 8, Cry_Seel_Ch8
+	channel_count 3
+	channel 5, Cry_Seel_Ch5
+	channel 6, Cry_Seel_Ch6
+	channel 8, Cry_Seel_Ch8
 
 Cry_Drowzee:
-	musicheader 3, 5, Cry_Drowzee_Ch5
-	musicheader 1, 6, Cry_Drowzee_Ch6
-	musicheader 1, 8, Cry_Drowzee_Ch8
+	channel_count 3
+	channel 5, Cry_Drowzee_Ch5
+	channel 6, Cry_Drowzee_Ch6
+	channel 8, Cry_Drowzee_Ch8
 
 Cry_Pidgey:
-	musicheader 3, 5, Cry_Pidgey_Ch5
-	musicheader 1, 6, Cry_Pidgey_Ch6
-	musicheader 1, 8, Cry_Pidgey_Ch8
+	channel_count 3
+	channel 5, Cry_Pidgey_Ch5
+	channel 6, Cry_Pidgey_Ch6
+	channel 8, Cry_Pidgey_Ch8
 
 Cry_Bulbasaur:
-	musicheader 3, 5, Cry_Bulbasaur_Ch5
-	musicheader 1, 6, Cry_Bulbasaur_Ch6
-	musicheader 1, 8, Cry_Bulbasaur_Ch8
+	channel_count 3
+	channel 5, Cry_Bulbasaur_Ch5
+	channel 6, Cry_Bulbasaur_Ch6
+	channel 8, Cry_Bulbasaur_Ch8
 
 Cry_Spearow:
-	musicheader 3, 5, Cry_Spearow_Ch5
-	musicheader 1, 6, Cry_Spearow_Ch6
-	musicheader 1, 8, Cry_Spearow_Ch8
+	channel_count 3
+	channel 5, Cry_Spearow_Ch5
+	channel 6, Cry_Spearow_Ch6
+	channel 8, Cry_Spearow_Ch8
 
 Cry_Rhydon:
-	musicheader 3, 5, Cry_Rhydon_Ch5
-	musicheader 1, 6, Cry_Rhydon_Ch6
-	musicheader 1, 8, Cry_Rhydon_Ch8
+	channel_count 3
+	channel 5, Cry_Rhydon_Ch5
+	channel 6, Cry_Rhydon_Ch6
+	channel 8, Cry_Rhydon_Ch8
 
 Cry_Golem:
-	musicheader 3, 5, Cry_Golem_Ch5
-	musicheader 1, 6, Cry_Golem_Ch6
-	musicheader 1, 8, Cry_Golem_Ch8
+	channel_count 3
+	channel 5, Cry_Golem_Ch5
+	channel 6, Cry_Golem_Ch6
+	channel 8, Cry_Golem_Ch8
 
 Cry_Blastoise:
-	musicheader 3, 5, Cry_Blastoise_Ch5
-	musicheader 1, 6, Cry_Blastoise_Ch6
-	musicheader 1, 8, Cry_Blastoise_Ch8
+	channel_count 3
+	channel 5, Cry_Blastoise_Ch5
+	channel 6, Cry_Blastoise_Ch6
+	channel 8, Cry_Blastoise_Ch8
 
 Cry_Pidgeotto:
-	musicheader 3, 5, Cry_Pidgeotto_Ch5
-	musicheader 1, 6, Cry_Pidgeotto_Ch6
-	musicheader 1, 8, Cry_Pidgeotto_Ch8
+	channel_count 3
+	channel 5, Cry_Pidgeotto_Ch5
+	channel 6, Cry_Pidgeotto_Ch6
+	channel 8, Cry_Pidgeotto_Ch8
 
 Cry_Weedle:
-	musicheader 3, 5, Cry_Weedle_Ch5
-	musicheader 1, 6, Cry_Weedle_Ch6
-	musicheader 1, 8, Cry_Weedle_Ch8
+	channel_count 3
+	channel 5, Cry_Weedle_Ch5
+	channel 6, Cry_Weedle_Ch6
+	channel 8, Cry_Weedle_Ch8
 
 Cry_Caterpie:
-	musicheader 3, 5, Cry_Caterpie_Ch5
-	musicheader 1, 6, Cry_Caterpie_Ch6
-	musicheader 1, 8, Cry_Caterpie_Ch8
+	channel_count 3
+	channel 5, Cry_Caterpie_Ch5
+	channel 6, Cry_Caterpie_Ch6
+	channel 8, Cry_Caterpie_Ch8
 
 Cry_Ekans:
-	musicheader 3, 5, Cry_Ekans_Ch5
-	musicheader 1, 6, Cry_Ekans_Ch6
-	musicheader 1, 8, Cry_Ekans_Ch8
+	channel_count 3
+	channel 5, Cry_Ekans_Ch5
+	channel 6, Cry_Ekans_Ch6
+	channel 8, Cry_Ekans_Ch8
 
 Cry_Fearow:
-	musicheader 3, 5, Cry_Fearow_Ch5
-	musicheader 1, 6, Cry_Fearow_Ch6
-	musicheader 1, 8, Cry_Fearow_Ch8
+	channel_count 3
+	channel 5, Cry_Fearow_Ch5
+	channel 6, Cry_Fearow_Ch6
+	channel 8, Cry_Fearow_Ch8
 
 Cry_Clefairy:
-	musicheader 3, 5, Cry_Clefairy_Ch5
-	musicheader 1, 6, Cry_Clefairy_Ch6
-	musicheader 1, 8, Cry_Clefairy_Ch8
+	channel_count 3
+	channel 5, Cry_Clefairy_Ch5
+	channel 6, Cry_Clefairy_Ch6
+	channel 8, Cry_Clefairy_Ch8
 
 Cry_Venonat:
-	musicheader 3, 5, Cry_Venonat_Ch5
-	musicheader 1, 6, Cry_Venonat_Ch6
-	musicheader 1, 8, Cry_Venonat_Ch8
+	channel_count 3
+	channel 5, Cry_Venonat_Ch5
+	channel 6, Cry_Venonat_Ch6
+	channel 8, Cry_Venonat_Ch8
 
 Cry_Lapras:
-	musicheader 3, 5, Cry_Lapras_Ch5
-	musicheader 1, 6, Cry_Lapras_Ch6
-	musicheader 1, 8, Cry_Lapras_Ch8
+	channel_count 3
+	channel 5, Cry_Lapras_Ch5
+	channel 6, Cry_Lapras_Ch6
+	channel 8, Cry_Lapras_Ch8
 
 Cry_Metapod:
-	musicheader 3, 5, Cry_Metapod_Ch5
-	musicheader 1, 6, Cry_Metapod_Ch6
-	musicheader 1, 8, Cry_Metapod_Ch8
+	channel_count 3
+	channel 5, Cry_Metapod_Ch5
+	channel 6, Cry_Metapod_Ch6
+	channel 8, Cry_Metapod_Ch8
 
 Cry_Squirtle:
-	musicheader 3, 5, Cry_Squirtle_Ch5
-	musicheader 1, 6, Cry_Squirtle_Ch6
-	musicheader 1, 8, Cry_Squirtle_Ch8
+	channel_count 3
+	channel 5, Cry_Squirtle_Ch5
+	channel 6, Cry_Squirtle_Ch6
+	channel 8, Cry_Squirtle_Ch8
 
 Cry_Paras:
-	musicheader 3, 5, Cry_Paras_Ch5
-	musicheader 1, 6, Cry_Paras_Ch6
-	musicheader 1, 8, Cry_Paras_Ch8
+	channel_count 3
+	channel 5, Cry_Paras_Ch5
+	channel 6, Cry_Paras_Ch6
+	channel 8, Cry_Paras_Ch8
 
 Cry_Growlithe:
-	musicheader 3, 5, Cry_Growlithe_Ch5
-	musicheader 1, 6, Cry_Growlithe_Ch6
-	musicheader 1, 8, Cry_Growlithe_Ch8
+	channel_count 3
+	channel 5, Cry_Growlithe_Ch5
+	channel 6, Cry_Growlithe_Ch6
+	channel 8, Cry_Growlithe_Ch8
 
 Cry_Krabby:
-	musicheader 3, 5, Cry_Krabby_Ch5
-	musicheader 1, 6, Cry_Krabby_Ch6
-	musicheader 1, 8, Cry_Krabby_Ch8
+	channel_count 3
+	channel 5, Cry_Krabby_Ch5
+	channel 6, Cry_Krabby_Ch6
+	channel 8, Cry_Krabby_Ch8
 
 Cry_Psyduck:
-	musicheader 3, 5, Cry_Psyduck_Ch5
-	musicheader 1, 6, Cry_Psyduck_Ch6
-	musicheader 1, 8, Cry_Psyduck_Ch8
+	channel_count 3
+	channel 5, Cry_Psyduck_Ch5
+	channel 6, Cry_Psyduck_Ch6
+	channel 8, Cry_Psyduck_Ch8
 
 Cry_Rattata:
-	musicheader 3, 5, Cry_Rattata_Ch5
-	musicheader 1, 6, Cry_Rattata_Ch6
-	musicheader 1, 8, Cry_Rattata_Ch8
+	channel_count 3
+	channel 5, Cry_Rattata_Ch5
+	channel 6, Cry_Rattata_Ch6
+	channel 8, Cry_Rattata_Ch8
 
 Cry_Vileplume:
-	musicheader 3, 5, Cry_Vileplume_Ch5
-	musicheader 1, 6, Cry_Vileplume_Ch6
-	musicheader 1, 8, Cry_Vileplume_Ch8
+	channel_count 3
+	channel 5, Cry_Vileplume_Ch5
+	channel 6, Cry_Vileplume_Ch6
+	channel 8, Cry_Vileplume_Ch8
 
 Cry_Vulpix:
-	musicheader 3, 5, Cry_Vulpix_Ch5
-	musicheader 1, 6, Cry_Vulpix_Ch6
-	musicheader 1, 8, Cry_Vulpix_Ch8
+	channel_count 3
+	channel 5, Cry_Vulpix_Ch5
+	channel 6, Cry_Vulpix_Ch6
+	channel 8, Cry_Vulpix_Ch8
 
 Cry_Weepinbell:
-	musicheader 3, 5, Cry_Weepinbell_Ch5
-	musicheader 1, 6, Cry_Weepinbell_Ch6
-	musicheader 1, 8, Cry_Weepinbell_Ch8
+	channel_count 3
+	channel 5, Cry_Weepinbell_Ch5
+	channel 6, Cry_Weepinbell_Ch6
+	channel 8, Cry_Weepinbell_Ch8
 
-Unused_Cry_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __, 16, $e0, $0780
-	sound __, 16, $f0, $0784
-	sound __, 16, $c3, $05e0
-	sound __, 16, $c4, $0600
-	sound __, 11, $6c, $0780
-	sound __,  9, $71, $0784
-	endchannel
+Cry_Unused_Ch5:
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 15, 14, 0, 1920
+	square_note 15, 15, 0, 1924
+	square_note 15, 12, 3, 1504
+	square_note 15, 12, 4, 1536
+	square_note 10, 6, -4, 1920
+	square_note 8, 7, 1, 1924
+	sound_ret
 
-Unused_Cry_Ch6:
-	sound_duty 1, 1, 0, 0
-	sound __, 16, $a0, $0741
-	sound __, 16, $b0, $0743
-	sound __, 16, $93, $05b1
-	sound __, 16, $94, $05c1
-	sound __, 11, $4c, $0741
-	sound __,  9, $31, $0746
-	endchannel
+Cry_Unused_Ch6:
+	duty_cycle_pattern 0, 0, 1, 1
+	square_note 15, 10, 0, 1857
+	square_note 15, 11, 0, 1859
+	square_note 15, 9, 3, 1457
+	square_note 15, 9, 4, 1473
+	square_note 10, 4, -4, 1857
+	square_note 8, 3, 1, 1862
+	sound_ret
 
-Unused_Cry_Ch8:
-	noise __,  3, $f2, $4c
-	noise __,  7, $e0, $3a
-	noise __, 16, $d0, $3a
-	noise __,  9, $d0, $2c
-	noise __,  7, $e6, $4c
-	noise __, 13, $7d, $4c
-	noise __, 16, $d3, $4c
-	endchannel
+Cry_Unused_Ch8:
+	noise_note 2, 15, 2, 76
+	noise_note 6, 14, 0, 58
+	noise_note 15, 13, 0, 58
+	noise_note 8, 13, 0, 44
+	noise_note 6, 14, 6, 76
+	noise_note 12, 7, -5, 76
+	noise_note 15, 13, 3, 76
+	sound_ret
 
 Cry_Raichu_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __, 16, $f7, $07a0
-	sound __,  7, $e6, $07a3
-	sound __, 11, $f4, $07a0
-	sound_duty 1, 1, 2, 2
-	sound __, 11, $f6, $07d8
-	sound __,  5, $e3, $07d7
-	sound __, 16, $f2, $07d8
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 15, 15, 7, 1952
+	square_note 6, 14, 6, 1955
+	square_note 10, 15, 4, 1952
+	duty_cycle_pattern 2, 2, 1, 1
+	square_note 10, 15, 6, 2008
+	square_note 4, 14, 3, 2007
+	square_note 15, 15, 2, 2008
+	sound_ret
 
 Cry_Raichu_Ch6:
-	sound_duty 1, 1, 0, 0
-	sound __,  3, $8, 0
-	sound __, 16, $a7, $06a1
-	sound __,  7, $86, $06a2
-	sound __, 11, $74, $06a1
-	sound_duty 3, 3, 1, 1
-	sound __, 11, $76, $06d6
-	sound __,  5, $83, $06d9
-	sound __, 16, $a2, $06d7
-	endchannel
+	duty_cycle_pattern 0, 0, 1, 1
+	square_note 2, 0, 8, 0
+	square_note 15, 10, 7, 1697
+	square_note 6, 8, 6, 1698
+	square_note 10, 7, 4, 1697
+	duty_cycle_pattern 1, 1, 3, 3
+	square_note 10, 7, 6, 1750
+	square_note 4, 8, 3, 1753
+	square_note 15, 10, 2, 1751
+	sound_ret
 
 Cry_Raichu_Ch8:
-	noise __,  3, $f2, $3c
-	noise __,  9, $e4, $3e
-	noise __, 16, $d7, $3c
-	noise __,  7, $c5, $3b
-	noise __,  7, $e4, $3d
-	noise __,  9, $b6, $3c
-	noise __,  7, $d4, $3d
-	noise __,  9, $c1, $3b
-	endchannel
+	noise_note 2, 15, 2, 60
+	noise_note 8, 14, 4, 62
+	noise_note 15, 13, 7, 60
+	noise_note 6, 12, 5, 59
+	noise_note 6, 14, 4, 61
+	noise_note 8, 11, 6, 60
+	noise_note 6, 13, 4, 61
+	noise_note 8, 12, 1, 59
+	sound_ret
 
 Cry_Vileplume_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __, 16, $f7, $07c0
-	sound __,  7, $e4, $07c1
-	sound __, 11, $f6, $07c0
-	sound __,  5, $d3, $07c2
-	sound __,  9, $c1, $07c0
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 15, 15, 7, 1984
+	square_note 6, 14, 4, 1985
+	square_note 10, 15, 6, 1984
+	square_note 4, 13, 3, 1986
+	square_note 8, 12, 1, 1984
+	sound_ret
 
 Cry_Vileplume_Ch6:
-	sound_duty 3, 3, 1, 1
-	sound __, 16, $97, $0781
-	sound __,  7, $84, $0780
-	sound __, 11, $96, $0781
-	sound __, 16, $83, $0781
-	endchannel
+	duty_cycle_pattern 1, 1, 3, 3
+	square_note 15, 9, 7, 1921
+	square_note 6, 8, 4, 1920
+	square_note 10, 9, 6, 1921
+	square_note 15, 8, 3, 1921
+	sound_ret
 
 Cry_Vileplume_Ch8:
-	noise __,  4, $f2, $3c
-	noise __, 14, $e6, $2c
-	noise __, 16, $d7, $3c
-	noise __,  9, $c1, $2c
-	endchannel
+	noise_note 3, 15, 2, 60
+	noise_note 13, 14, 6, 44
+	noise_note 15, 13, 7, 60
+	noise_note 8, 12, 1, 44
+	sound_ret
 
 Cry_Vulpix_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __, 16, $f7, $0680
-	sound __, 11, $e6, $0684
-	sound __, 16, $d7, $0690
-	sound __,  9, $d5, $0690
-	sound __,  7, $c4, $0688
-	sound __,  6, $d3, $0670
-	sound __,  5, $d3, $0660
-	sound __,  9, $c1, $0640
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 15, 15, 7, 1664
+	square_note 10, 14, 6, 1668
+	square_note 15, 13, 7, 1680
+	square_note 8, 13, 5, 1680
+	square_note 6, 12, 4, 1672
+	square_note 5, 13, 3, 1648
+	square_note 4, 13, 3, 1632
+	square_note 8, 12, 1, 1600
+	sound_ret
 
 Cry_Vulpix_Ch6:
-	sound_duty 1, 1, 0, 0
-	sound __, 16, $b7, $0641
-	sound __, 11, $96, $0642
-	sound __, 16, $a7, $0651
-	sound __,  9, $a5, $0651
-	sound __,  7, $94, $0647
-	sound __,  6, $a3, $0631
-	sound __,  5, $93, $0622
-	sound __,  9, $71, $0601
-	endchannel
+	duty_cycle_pattern 0, 0, 1, 1
+	square_note 15, 11, 7, 1601
+	square_note 10, 9, 6, 1602
+	square_note 15, 10, 7, 1617
+	square_note 8, 10, 5, 1617
+	square_note 6, 9, 4, 1607
+	square_note 5, 10, 3, 1585
+	square_note 4, 9, 3, 1570
+	square_note 8, 7, 1, 1537
+	sound_ret
 
 Cry_Vulpix_Ch8:
-	noise __, 16, $e4, $3c
-	noise __, 11, $c7, $4c
-	noise __, 11, $c7, $3c
-	noise __, 13, $b7, $4c
-	noise __, 16, $a2, $5c
-	endchannel
+	noise_note 15, 14, 4, 60
+	noise_note 10, 12, 7, 76
+	noise_note 10, 12, 7, 60
+	noise_note 12, 11, 7, 76
+	noise_note 15, 10, 2, 92
+	sound_ret
 
 Cry_Rhydon_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __,  7, $f7, $07a0
-	sound __,  9, $e6, $07a4
-	sound __,  5, $d6, $07a0
-	sound __, 16, $d3, $0720
-	sound __,  9, $c3, $0723
-	sound __,  3, $c2, $0728
-	sound __,  9, $b1, $0730
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 6, 15, 7, 1952
+	square_note 8, 14, 6, 1956
+	square_note 4, 13, 6, 1952
+	square_note 15, 13, 3, 1824
+	square_note 8, 12, 3, 1827
+	square_note 2, 12, 2, 1832
+	square_note 8, 11, 1, 1840
+	sound_ret
 
 Cry_Rhydon_Ch6:
-	sound_duty 2, 2, 0, 0
-	sound __,  5, $8, 0
-	sound __,  7, $a7, $0741
-	sound __,  9, $86, $0743
-	sound __,  5, $76, $0741
-	sound __, 14, $83, $06c2
-	sound __,  8, $73, $06c1
-	sound __,  4, $82, $06cc
-	sound __,  9, $71, $06d8
-	endchannel
+	duty_cycle_pattern 0, 0, 2, 2
+	square_note 4, 0, 8, 0
+	square_note 6, 10, 7, 1857
+	square_note 8, 8, 6, 1859
+	square_note 4, 7, 6, 1857
+	square_note 13, 8, 3, 1730
+	square_note 7, 7, 3, 1729
+	square_note 3, 8, 2, 1740
+	square_note 8, 7, 1, 1752
+	sound_ret
 
 Cry_Rhydon_Ch8:
-	noise __,  3, $f2, $4c
-	noise __,  7, $e6, $3a
-	noise __,  5, $d7, $3a
-	noise __,  7, $d6, $2c
-	noise __,  9, $e5, $3c
-	noise __, 13, $d2, $3d
-	noise __,  9, $d1, $2c
-	endchannel
+	noise_note 2, 15, 2, 76
+	noise_note 6, 14, 6, 58
+	noise_note 4, 13, 7, 58
+	noise_note 6, 13, 6, 44
+	noise_note 8, 14, 5, 60
+	noise_note 12, 13, 2, 61
+	noise_note 8, 13, 1, 44
+	sound_ret
 
 Cry_Weepinbell_Ch5:
-	sound_duty 1, 1, 2, 2
-	sound __,  7, $f4, $0740
-	sound __, 16, $e3, $0730
-	sound __,  5, $f4, $0740
-	sound __,  6, $b3, $0748
-	sound __,  9, $d1, $0750
-	endchannel
+	duty_cycle_pattern 2, 2, 1, 1
+	square_note 6, 15, 4, 1856
+	square_note 15, 14, 3, 1840
+	square_note 4, 15, 4, 1856
+	square_note 5, 11, 3, 1864
+	square_note 8, 13, 1, 1872
+	sound_ret
 
 Cry_Weepinbell_Ch6:
-	sound_duty 3, 1, 3, 1
-	sound __,  7, $c3, $0712
-	sound __, 16, $b3, $0704
-	sound __,  4, $c3, $0712
-	sound __,  5, $c3, $0721
-	sound __,  9, $b1, $0732
-	endchannel
+	duty_cycle_pattern 1, 3, 1, 3
+	square_note 6, 12, 3, 1810
+	square_note 15, 11, 3, 1796
+	square_note 3, 12, 3, 1810
+	square_note 4, 12, 3, 1825
+	square_note 8, 11, 1, 1842
+	sound_ret
 
 Cry_Weepinbell_Ch8:
-	noise __,  9, $d6, $2c
-	noise __, 13, $c6, $3c
-	noise __, 11, $b6, $2c
-	noise __,  9, $91, $1c
-	endchannel
+	noise_note 8, 13, 6, 44
+	noise_note 12, 12, 6, 60
+	noise_note 10, 11, 6, 44
+	noise_note 8, 9, 1, 28
+	sound_ret
 
 Cry_Kangaskhan_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __,  5, $f7, $0608
-	sound __,  7, $e6, $0600
-	sound __,  7, $d7, $05f0
-	sound __,  7, $c4, $05e0
-	sound __,  6, $d3, $05c0
-	sound __,  5, $d3, $05a0
-	sound __,  9, $e1, $0580
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 4, 15, 7, 1544
+	square_note 6, 14, 6, 1536
+	square_note 6, 13, 7, 1520
+	square_note 6, 12, 4, 1504
+	square_note 5, 13, 3, 1472
+	square_note 4, 13, 3, 1440
+	square_note 8, 14, 1, 1408
+	sound_ret
 
 Cry_Kangaskhan_Ch6:
-	sound_duty 2, 2, 0, 0
-	sound __,  5, $c7, $0504
-	sound __,  7, $a6, $0502
-	sound __,  7, $97, $04f1
-	sound __,  5, $b4, $04e1
-	sound __,  6, $a3, $04c2
-	sound __,  5, $b3, $04a3
-	sound __,  9, $c1, $0482
-	endchannel
+	duty_cycle_pattern 0, 0, 2, 2
+	square_note 4, 12, 7, 1284
+	square_note 6, 10, 6, 1282
+	square_note 6, 9, 7, 1265
+	square_note 4, 11, 4, 1249
+	square_note 5, 10, 3, 1218
+	square_note 4, 11, 3, 1187
+	square_note 8, 12, 1, 1154
+	sound_ret
 
 Cry_Kangaskhan_Ch8:
-	noise __, 13, $e4, $4c
-	noise __, 11, $c7, $5c
-	noise __, 13, $b6, $4c
-	noise __, 16, $a2, $5c
-	endchannel
+	noise_note 12, 14, 4, 76
+	noise_note 10, 12, 7, 92
+	noise_note 12, 11, 6, 76
+	noise_note 15, 10, 2, 92
+	sound_ret
 
 Cry_Bulbasaur_Ch5:
-	sound_duty 1, 0, 3, 3
-	sound __,  5, $f7, $07c0
-	sound __, 13, $e6, $07c2
-	sound __,  7, $b5, $0680
-	sound __,  5, $c4, $0670
-	sound __,  5, $b5, $0660
-	sound __,  9, $c1, $0640
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 1
+	square_note 4, 15, 7, 1984
+	square_note 12, 14, 6, 1986
+	square_note 6, 11, 5, 1664
+	square_note 4, 12, 4, 1648
+	square_note 4, 11, 5, 1632
+	square_note 8, 12, 1, 1600
+	sound_ret
 
 Cry_Bulbasaur_Ch6:
-	sound_duty 0, 3, 0, 3
-	sound __,  4, $c7, $0781
-	sound __, 13, $b6, $0780
-	sound __,  7, $a5, $0641
-	sound __,  5, $c4, $0632
-	sound __,  7, $b5, $0621
-	sound __,  9, $a1, $0602
-	endchannel
+	duty_cycle_pattern 3, 0, 3, 0
+	square_note 3, 12, 7, 1921
+	square_note 12, 11, 6, 1920
+	square_note 6, 10, 5, 1601
+	square_note 4, 12, 4, 1586
+	square_note 6, 11, 5, 1569
+	square_note 8, 10, 1, 1538
+	sound_ret
 
 Cry_Bulbasaur_Ch8:
-	noise __,  4, $e4, $3c
-	noise __, 13, $d6, $2c
-	noise __,  5, $e4, $3c
-	noise __,  9, $b7, $5c
-	noise __, 16, $c2, $5d
-	endchannel
+	noise_note 3, 14, 4, 60
+	noise_note 12, 13, 6, 44
+	noise_note 4, 14, 4, 60
+	noise_note 8, 11, 7, 92
+	noise_note 15, 12, 2, 93
+	sound_ret
 
 Cry_Spearow_Ch5:
-	sound_duty 1, 2, 0, 3
-	sound __,  9, $f7, $0680
-	sound __,  3, $f7, $0660
-	sound __,  2, $e7, $0640
-	sound __,  2, $e7, $0620
-	sound __, 16, $d1, $0600
-	sound __,  5, $c7, $0740
-	sound __,  5, $a7, $0730
-	sound __, 16, $91, $0720
-	endchannel
+	duty_cycle_pattern 3, 0, 2, 1
+	square_note 8, 15, 7, 1664
+	square_note 2, 15, 7, 1632
+	square_note 1, 14, 7, 1600
+	square_note 1, 14, 7, 1568
+	square_note 15, 13, 1, 1536
+	square_note 4, 12, 7, 1856
+	square_note 4, 10, 7, 1840
+	square_note 15, 9, 1, 1824
+	sound_ret
 
 Cry_Spearow_Ch6:
-	sound_duty 1, 2, 3, 1
-	sound __, 11, $e7, $0682
-	sound __,  3, $e7, $0662
-	sound __,  2, $d7, $0642
-	sound __,  2, $d7, $0622
-	sound __, 16, $c1, $0602
-	sound __,  5, $b7, $0742
-	sound __,  3, $97, $0732
-	sound __, 16, $81, $0722
-	endchannel
+	duty_cycle_pattern 1, 3, 2, 1
+	square_note 10, 14, 7, 1666
+	square_note 2, 14, 7, 1634
+	square_note 1, 13, 7, 1602
+	square_note 1, 13, 7, 1570
+	square_note 15, 12, 1, 1538
+	square_note 4, 11, 7, 1858
+	square_note 2, 9, 7, 1842
+	square_note 15, 8, 1, 1826
+	sound_ret
 
 Cry_Spearow_Ch8:
-	noise __,  5, $74, $21
-	noise __,  5, $74, $10
-	noise __,  5, $71, $20
-	endchannel
+	noise_note 4, 7, 4, 33
+	noise_note 4, 7, 4, 16
+	noise_note 4, 7, 1, 32
+	sound_ret
 
 Cry_Nidoran_M_Ch5:
-	sound_duty 1, 1, 3, 3
-	sound __,  5, $f3, $0718
-	sound __, 16, $e5, $0798
-	sound __,  9, $91, $0758
-	endchannel
+	duty_cycle_pattern 3, 3, 1, 1
+	square_note 4, 15, 3, 1816
+	square_note 15, 14, 5, 1944
+	square_note 8, 9, 1, 1880
+	sound_ret
 
 Cry_Nidoran_M_Ch6:
-	sound_duty 0, 0, 2, 2
-	sound __,  6, $b3, $0708
-	sound __, 16, $c5, $0788
-	sound __,  9, $71, $0748
-	endchannel
+	duty_cycle_pattern 2, 2, 0, 0
+	square_note 5, 11, 3, 1800
+	square_note 15, 12, 5, 1928
+	square_note 8, 7, 1, 1864
+	sound_ret
 
 Cry_Nidoran_M_Ch8:
-	noise __,  4, $a1, $1c
-	noise __, 15, $94, $2c
-	noise __,  9, $81, $1c
-	endchannel
+	noise_note 3, 10, 1, 28
+	noise_note 14, 9, 4, 44
+	noise_note 8, 8, 1, 28
+	sound_ret
 
 Cry_Pidgey_Ch5:
-	sound_duty 1, 1, 2, 2
-	sound __,  5, $e1, $0700
-	sound __,  5, $f2, $0780
-	sound __,  3, $92, $0740
-	sound __,  9, $e1, $0600
-	endchannel
+	duty_cycle_pattern 2, 2, 1, 1
+	square_note 4, 14, 1, 1792
+	square_note 4, 15, 2, 1920
+	square_note 2, 9, 2, 1856
+	square_note 8, 14, 1, 1536
+	sound_ret
 
 Cry_Pidgey_Ch6:
-	sound_duty 2, 2, 0, 0
-	sound __,  5, $b1, $06e1
-	sound __,  4, $c2, $06e1
-	sound __,  4, $62, $0681
-	sound __,  9, $b1, $05e1
-	endchannel
+	duty_cycle_pattern 0, 0, 2, 2
+	square_note 4, 11, 1, 1761
+	square_note 3, 12, 2, 1761
+	square_note 3, 6, 2, 1665
+	square_note 8, 11, 1, 1505
+	sound_ret
 
 Cry_Pidgey_Ch8:
-	noise __,  3, $61, $32
-	noise __,  3, $61, $21
-	noise __,  9, $61, $11
-	endchannel
+	noise_note 2, 6, 1, 50
+	noise_note 2, 6, 1, 33
+	noise_note 8, 6, 1, 17
+	sound_ret
 
 Cry_Voltorb_Ch5:
-	sound_duty 2, 2, 3, 3
-	sound __,  7, $83, $0247
-	sound __, 16, $62, $0226
-	sound __,  5, $52, $0245
-	sound __, 10, $63, $0206
-	sound __, 16, $82, $0225
-	sound __, 16, $42, $0207
+	duty_cycle_pattern 3, 3, 2, 2
+	square_note 6, 8, 3, 583
+	square_note 15, 6, 2, 550
+	square_note 4, 5, 2, 581
+	square_note 9, 6, 3, 518
+	square_note 15, 8, 2, 549
+	square_note 15, 4, 2, 519
 Cry_Voltorb_Ch6:
-	endchannel
+	sound_ret
 
 Cry_Voltorb_Ch8:
-	noise __,  9, $d4, $8c
-	noise __,  5, $e2, $9c
-	noise __, 16, $c6, $8c
-	noise __,  9, $e4, $ac
-	noise __, 16, $d7, $9c
-	noise __, 16, $f2, $ac
-	endchannel
+	noise_note 8, 13, 4, 140
+	noise_note 4, 14, 2, 156
+	noise_note 15, 12, 6, 140
+	noise_note 8, 14, 4, 172
+	noise_note 15, 13, 7, 156
+	noise_note 15, 15, 2, 172
+	sound_ret
 
 Cry_Muk_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __,  5, $f3, $06e0
-	sound __, 16, $e4, $0640
-	sound __,  9, $c1, $0620
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 4, 15, 3, 1760
+	square_note 15, 14, 4, 1600
+	square_note 8, 12, 1, 1568
+	sound_ret
 
 Cry_Muk_Ch6:
-	sound_duty 2, 2, 0, 0
-	sound __,  4, $c3, $0683
-	sound __, 15, $b4, $0602
-	sound __,  9, $a1, $0601
-	endchannel
+	duty_cycle_pattern 0, 0, 2, 2
+	square_note 3, 12, 3, 1667
+	square_note 14, 11, 4, 1538
+	square_note 8, 10, 1, 1537
+	sound_ret
 
 Cry_Muk_Ch8:
-	noise __,  5, $d3, $5c
-	noise __, 16, $e6, $4c
-	noise __,  9, $b1, $5c
-	endchannel
+	noise_note 4, 13, 3, 92
+	noise_note 15, 14, 6, 76
+	noise_note 8, 11, 1, 92
+	sound_ret
 
 Cry_Grimer_Ch5:
-	sound_duty 2, 2, 0, 0
-	sound __,  7, $e2, $0500
-	sound __,  7, $e3, $0580
-	sound __,  7, $d3, $0570
-	sound __,  9, $a1, $0560
-	endchannel
+	duty_cycle_pattern 0, 0, 2, 2
+	square_note 6, 14, 2, 1280
+	square_note 6, 14, 3, 1408
+	square_note 6, 13, 3, 1392
+	square_note 8, 10, 1, 1376
+	sound_ret
 
 Cry_Grimer_Ch6:
-	sound_duty 1, 1, 3, 3
-	sound __,  7, $e2, $0482
-	sound __,  7, $d3, $0501
-	sound __,  7, $b2, $04e2
-	sound __,  9, $81, $04c1
+	duty_cycle_pattern 3, 3, 1, 1
+	square_note 6, 14, 2, 1154
+	square_note 6, 13, 3, 1281
+	square_note 6, 11, 2, 1250
+	square_note 8, 8, 1, 1217
 Cry_Grimer_Ch8:
-	endchannel
+	sound_ret
 
 Cry_Diglett_Ch5:
-	sound_duty 0, 3, 0, 3
-	sound __,  5, $f1, $0700
-	sound __,  5, $e1, $0780
-	sound __,  5, $d1, $0740
-	sound __,  5, $e1, $0740
-	sound __,  5, $f1, $0780
-	sound __,  5, $d1, $0700
-	sound __,  5, $f1, $0701
-	sound __,  5, $d1, $0782
-	sound __,  5, $c1, $0742
-	sound __,  9, $b1, $0741
-	endchannel
+	duty_cycle_pattern 3, 0, 3, 0
+	square_note 4, 15, 1, 1792
+	square_note 4, 14, 1, 1920
+	square_note 4, 13, 1, 1856
+	square_note 4, 14, 1, 1856
+	square_note 4, 15, 1, 1920
+	square_note 4, 13, 1, 1792
+	square_note 4, 15, 1, 1793
+	square_note 4, 13, 1, 1922
+	square_note 4, 12, 1, 1858
+	square_note 8, 11, 1, 1857
+	sound_ret
 
 Cry_Diglett_Ch6:
-	sound_duty 0, 1, 0, 1
-	sound __, 13, $8, 0
-	sound __,  5, $f1, $0701
-	sound __,  5, $e1, $0782
-	sound __,  5, $d1, $0741
-	sound __,  5, $e1, $0741
-	sound __,  5, $f1, $0782
-	sound __,  9, $d1, $0701
-	endchannel
+	duty_cycle_pattern 1, 0, 1, 0
+	square_note 12, 0, 8, 0
+	square_note 4, 15, 1, 1793
+	square_note 4, 14, 1, 1922
+	square_note 4, 13, 1, 1857
+	square_note 4, 14, 1, 1857
+	square_note 4, 15, 1, 1922
+	square_note 8, 13, 1, 1793
+	sound_ret
 
 Cry_Diglett_Ch8:
-	noise __, 16, $8, $0
-	noise __,  5, $8, $0
-	noise __,  5, $d1, $4c
-	noise __,  5, $b1, $2c
-	noise __,  5, $d1, $3c
-	noise __,  5, $b1, $3c
-	noise __,  5, $c1, $2c
-	noise __,  9, $a1, $4c
-	endchannel
+	noise_note 15, 0, 8, 0
+	noise_note 4, 0, 8, 0
+	noise_note 4, 13, 1, 76
+	noise_note 4, 11, 1, 44
+	noise_note 4, 13, 1, 60
+	noise_note 4, 11, 1, 60
+	noise_note 4, 12, 1, 44
+	noise_note 8, 10, 1, 76
+	sound_ret
 
 Cry_Seel_Ch5:
-	sound_duty 0, 3, 0, 3
-	sound __,  9, $f5, $0600
-	sound __,  3, $d2, $0638
-	sound __,  3, $c2, $0630
-	sound __,  3, $c2, $0628
-	sound __,  3, $b2, $0620
-	sound __,  3, $b2, $0610
-	sound __,  3, $a2, $0618
-	sound __,  3, $b2, $0610
-	sound __,  9, $c1, $0620
-	endchannel
+	duty_cycle_pattern 3, 0, 3, 0
+	square_note 8, 15, 5, 1536
+	square_note 2, 13, 2, 1592
+	square_note 2, 12, 2, 1584
+	square_note 2, 12, 2, 1576
+	square_note 2, 11, 2, 1568
+	square_note 2, 11, 2, 1552
+	square_note 2, 10, 2, 1560
+	square_note 2, 11, 2, 1552
+	square_note 8, 12, 1, 1568
+	sound_ret
 
 Cry_Seel_Ch6:
-	sound_duty 0, 1, 0, 1
-	sound __, 13, $c3, $05c0
-	sound __,  4, $b1, $05f9
-	sound __,  3, $a1, $05f1
-	sound __,  3, $a1, $05e9
-	sound __,  3, $91, $05e1
-	sound __,  3, $91, $05d9
-	sound __,  3, $81, $05d1
-	sound __,  3, $91, $05d9
-	sound __,  9, $91, $05e1
+	duty_cycle_pattern 1, 0, 1, 0
+	square_note 12, 12, 3, 1472
+	square_note 3, 11, 1, 1529
+	square_note 2, 10, 1, 1521
+	square_note 2, 10, 1, 1513
+	square_note 2, 9, 1, 1505
+	square_note 2, 9, 1, 1497
+	square_note 2, 8, 1, 1489
+	square_note 2, 9, 1, 1497
+	square_note 8, 9, 1, 1505
 Cry_Seel_Ch8:
-	endchannel
+	sound_ret
 
 Cry_Slowpoke_Ch5:
-	sound_duty 0, 0, 0, 0
-	sound __,  9, $f5, $0480
-	sound __,  3, $e1, $05e0
-	sound __,  9, $d1, $05dc
-	endchannel
+	duty_cycle_pattern 0, 0, 0, 0
+	square_note 8, 15, 5, 1152
+	square_note 2, 14, 1, 1504
+	square_note 8, 13, 1, 1500
+	sound_ret
 
 Cry_Slowpoke_Ch6:
-	sound_duty 1, 1, 2, 2
-	sound __,  8, $95, $0441
-	sound __,  3, $81, $0521
-	sound __,  9, $61, $051a
+	duty_cycle_pattern 2, 2, 1, 1
+	square_note 7, 9, 5, 1089
+	square_note 2, 8, 1, 1313
+	square_note 8, 6, 1, 1306
 Cry_Slowpoke_Ch8:
-	endchannel
+	sound_ret
 
 Cry_Drowzee_Ch5:
-	sound_duty 0, 2, 0, 2
-	sound __,  6, $f2, $0650
-	sound __, 10, $d1, $0660
-	sound __,  6, $e2, $0612
-	sound __, 10, $c1, $0622
-	sound __,  6, $f2, $0610
-	sound __,  7, $d1, $0620
-	loopchannel 2, Cry_Drowzee_Ch5
-	endchannel
+	duty_cycle_pattern 2, 0, 2, 0
+	square_note 5, 15, 2, 1616
+	square_note 9, 13, 1, 1632
+	square_note 5, 14, 2, 1554
+	square_note 9, 12, 1, 1570
+	square_note 5, 15, 2, 1552
+	square_note 6, 13, 1, 1568
+	sound_loop 2, Cry_Drowzee_Ch5
+	sound_ret
 
 Cry_Drowzee_Ch6:
-	sound_duty 0, 0, 0, 1
-	sound __,  5, $8, 0
-	sound __,  6, $f2, $0651
-	sound __, 10, $d1, $0661
-	sound __,  6, $e2, $0614
-	sound __,  9, $c1, $0624
-	sound __,  6, $f2, $0611
-	sound __, 13, $d1, $0621
-	sound __,  6, $e2, $0614
-	sound __,  9, $c1, $0624
-	sound __,  6, $f2, $0611
-	sound __,  5, $d1, $0621
-	endchannel
+	duty_cycle_pattern 1, 0, 0, 0
+	square_note 4, 0, 8, 0
+	square_note 5, 15, 2, 1617
+	square_note 9, 13, 1, 1633
+	square_note 5, 14, 2, 1556
+	square_note 8, 12, 1, 1572
+	square_note 5, 15, 2, 1553
+	square_note 12, 13, 1, 1569
+	square_note 5, 14, 2, 1556
+	square_note 8, 12, 1, 1572
+	square_note 5, 15, 2, 1553
+	square_note 4, 13, 1, 1569
+	sound_ret
 
 Cry_Drowzee_Ch8:
-	noise __,  7, $d2, $1c
-	noise __, 10, $b1, $2c
-	noise __,  9, $c2, $2c
-	noise __, 10, $b1, $3c
-	noise __,  7, $c2, $2c
-	noise __, 10, $a2, $3c
-	noise __,  8, $c2, $2c
-	noise __,  6, $a1, $3c
-	noise __, 10, $c2, $2c
-	noise __,  5, $a1, $3c
-	endchannel
+	noise_note 6, 13, 2, 28
+	noise_note 9, 11, 1, 44
+	noise_note 8, 12, 2, 44
+	noise_note 9, 11, 1, 60
+	noise_note 6, 12, 2, 44
+	noise_note 9, 10, 2, 60
+	noise_note 7, 12, 2, 44
+	noise_note 5, 10, 1, 60
+	noise_note 9, 12, 2, 44
+	noise_note 4, 10, 1, 60
+	sound_ret
 
 Cry_Nidoran_F_Ch5:
-	sound_duty 0, 0, 2, 2
-	sound __,  5, $f3, $0600
-	sound __,  9, $d5, $0760
-	sound __,  4, $e2, $0720
-	sound __,  9, $d1, $0710
-	endchannel
+	duty_cycle_pattern 2, 2, 0, 0
+	square_note 4, 15, 3, 1536
+	square_note 8, 13, 5, 1888
+	square_note 3, 14, 2, 1824
+	square_note 8, 13, 1, 1808
+	sound_ret
 
 Cry_Nidoran_F_Ch6:
-	sound_duty 2, 2, 1, 1
-	sound __,  6, $b3, $06f1
-	sound __,  8, $c5, $0752
-	sound __,  4, $a2, $0711
-	sound __,  9, $b1, $0601
-	endchannel
+	duty_cycle_pattern 1, 1, 2, 2
+	square_note 5, 11, 3, 1777
+	square_note 7, 12, 5, 1874
+	square_note 3, 10, 2, 1809
+	square_note 8, 11, 1, 1537
+	sound_ret
 
 Cry_Nidoran_F_Ch8:
-	noise __,  4, $a2, $3c
-	noise __, 13, $94, $2c
-	noise __,  4, $82, $1c
-	noise __,  9, $71, $2c
-	endchannel
+	noise_note 3, 10, 2, 60
+	noise_note 12, 9, 4, 44
+	noise_note 3, 8, 2, 28
+	noise_note 8, 7, 1, 44
+	sound_ret
 
 Cry_Nidoqueen_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __,  9, $f7, $06e0
-	sound __,  7, $e6, $06e5
-	sound __,  4, $f4, $06e0
-	sound __,  4, $f6, $06d0
-	sound __,  4, $e3, $06c0
-	sound __,  5, $f2, $06b0
-	sound __, 16, $a2, $06c8
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 8, 15, 7, 1760
+	square_note 6, 14, 6, 1765
+	square_note 3, 15, 4, 1760
+	square_note 3, 15, 6, 1744
+	square_note 3, 14, 3, 1728
+	square_note 4, 15, 2, 1712
+	square_note 15, 10, 2, 1736
+	sound_ret
 
 Cry_Nidoqueen_Ch6:
-	sound_duty 1, 1, 0, 0
-	sound __,  4, $8, 0
-	sound __,  9, $a7, $06a1
-	sound __,  7, $86, $06a3
-	sound __,  4, $74, $06a1
-	sound __,  4, $76, $0691
-	sound __,  4, $83, $0682
-	sound __,  5, $a2, $0671
-	sound __, 16, $72, $0689
-	endchannel
+	duty_cycle_pattern 0, 0, 1, 1
+	square_note 3, 0, 8, 0
+	square_note 8, 10, 7, 1697
+	square_note 6, 8, 6, 1699
+	square_note 3, 7, 4, 1697
+	square_note 3, 7, 6, 1681
+	square_note 3, 8, 3, 1666
+	square_note 4, 10, 2, 1649
+	square_note 15, 7, 2, 1673
+	sound_ret
 
 Cry_Nidoqueen_Ch8:
-	noise __,  3, $f2, $3c
-	noise __,  9, $e4, $3e
-	noise __,  9, $d7, $3c
-	noise __,  6, $c5, $3b
-	noise __,  4, $d4, $2c
-	noise __,  3, $b6, $3c
-	noise __,  4, $a4, $2c
-	noise __,  9, $91, $3c
-	endchannel
+	noise_note 2, 15, 2, 60
+	noise_note 8, 14, 4, 62
+	noise_note 8, 13, 7, 60
+	noise_note 5, 12, 5, 59
+	noise_note 3, 13, 4, 44
+	noise_note 2, 11, 6, 60
+	noise_note 3, 10, 4, 44
+	noise_note 8, 9, 1, 60
+	sound_ret
 
 Cry_Oddish_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __, 16, $f6, $0565
-	sound __, 11, $e4, $057c
-	sound __,  4, $c2, $055c
-	sound __, 16, $b2, $053c
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 15, 15, 6, 1381
+	square_note 10, 14, 4, 1404
+	square_note 3, 12, 2, 1372
+	square_note 15, 11, 2, 1340
+	sound_ret
 
 Cry_Oddish_Ch6:
-	sound_duty 2, 2, 1, 1
-	sound __, 15, $d6, $0503
-	sound __, 10, $b4, $051b
-	sound __,  5, $92, $04fa
-	sound __, 16, $a2, $04db
-	endchannel
+	duty_cycle_pattern 1, 1, 2, 2
+	square_note 14, 13, 6, 1283
+	square_note 9, 11, 4, 1307
+	square_note 4, 9, 2, 1274
+	square_note 15, 10, 2, 1243
+	sound_ret
 
 Cry_Oddish_Ch8:
-	noise __, 13, $e6, $4c
-	noise __, 12, $d7, $5c
-	noise __, 16, $c2, $4c
-	endchannel
+	noise_note 12, 14, 6, 76
+	noise_note 11, 13, 7, 92
+	noise_note 15, 12, 2, 76
+	sound_ret
 
 Cry_Charmander_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __,  5, $f7, $06a0
-	sound __,  9, $e6, $06a4
-	sound __,  5, $d6, $06a0
-	sound __, 13, $d3, $0620
-	sound __,  9, $c3, $0624
-	sound __,  5, $c2, $0620
-	sound __,  9, $b1, $0610
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 4, 15, 7, 1696
+	square_note 8, 14, 6, 1700
+	square_note 4, 13, 6, 1696
+	square_note 12, 13, 3, 1568
+	square_note 8, 12, 3, 1572
+	square_note 4, 12, 2, 1568
+	square_note 8, 11, 1, 1552
+	sound_ret
 
 Cry_Charmander_Ch6:
-	sound_duty 2, 2, 1, 1
-	sound __,  5, $e7, $0601
-	sound __,  9, $d6, $0603
-	sound __,  5, $c6, $0601
-	sound __, 13, $c3, $0581
-	sound __,  9, $b3, $0583
-	sound __,  5, $b2, $0582
-	sound __,  9, $a1, $0571
-	endchannel
+	duty_cycle_pattern 1, 1, 2, 2
+	square_note 4, 14, 7, 1537
+	square_note 8, 13, 6, 1539
+	square_note 4, 12, 6, 1537
+	square_note 12, 12, 3, 1409
+	square_note 8, 11, 3, 1411
+	square_note 4, 11, 2, 1410
+	square_note 8, 10, 1, 1393
+	sound_ret
 
 Cry_Charmander_Ch8:
-	noise __,  8, $d6, $5c
-	noise __,  9, $e6, $4c
-	noise __,  5, $d4, $5c
-	noise __,  5, $d4, $4c
-	noise __,  8, $c3, $4c
-	noise __,  9, $a1, $5c
-	endchannel
+	noise_note 7, 13, 6, 92
+	noise_note 8, 14, 6, 76
+	noise_note 4, 13, 4, 92
+	noise_note 4, 13, 4, 76
+	noise_note 7, 12, 3, 76
+	noise_note 8, 10, 1, 92
+	sound_ret
 
 Cry_Clefairy_Ch5:
-	sound_duty 3, 2, 1, 0
-	sound __,  8, $d2, $0740
-	sound __, 16, $e5, $0760
-	sound C_,  9, $c1, $0730
-	endchannel
+	duty_cycle_pattern 0, 1, 2, 3
+	square_note 7, 13, 2, 1856
+	square_note 15, 14, 5, 1888
+	square_note 24, 12, 1, 1840
+	sound_ret
 
 Cry_Clefairy_Ch6:
-	sound_duty 1, 0, 0, 2
-	sound __,  3, $c2, $0701
-	sound __,  5, $c2, $0708
-	sound __, 16, $d7, $0741
-	sound C_,  9, $a2, $0701
+	duty_cycle_pattern 2, 0, 0, 1
+	square_note 2, 12, 2, 1793
+	square_note 4, 12, 2, 1800
+	square_note 15, 13, 7, 1857
+	square_note 24, 10, 2, 1793
 Cry_Clefairy_Ch8:
-	endchannel
+	sound_ret
 
 Cry_Caterpie_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __, 16, $d7, $0780
-	sound __,  5, $e6, $07a0
-	sound __, 16, $d2, $0740
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 15, 13, 7, 1920
+	square_note 4, 14, 6, 1952
+	square_note 15, 13, 2, 1856
+	sound_ret
 
 Cry_Caterpie_Ch6:
-	sound_duty 2, 2, 1, 1
-	sound __, 16, $c7, $0753
-	sound __,  6, $b6, $0772
-	sound __, 16, $c2, $0711
-	endchannel
+	duty_cycle_pattern 1, 1, 2, 2
+	square_note 15, 12, 7, 1875
+	square_note 5, 11, 6, 1906
+	square_note 15, 12, 2, 1809
+	sound_ret
 
 Cry_Caterpie_Ch8:
-	noise __, 14, $f6, $4c
-	noise __,  5, $e6, $3c
-	noise __, 16, $f2, $4c
-	endchannel
+	noise_note 13, 15, 6, 76
+	noise_note 4, 14, 6, 60
+	noise_note 15, 15, 2, 76
+	sound_ret
 
 Cry_Lapras_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __,  7, $f7, $06c0
-	sound __, 16, $e7, $0700
-	sound __,  5, $f4, $06f0
-	sound __,  5, $e4, $06e0
-	sound __,  9, $d1, $06d0
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 6, 15, 7, 1728
+	square_note 15, 14, 7, 1792
+	square_note 4, 15, 4, 1776
+	square_note 4, 14, 4, 1760
+	square_note 8, 13, 1, 1744
+	sound_ret
 
 Cry_Lapras_Ch6:
-	sound_duty 2, 2, 0, 0
-	sound __,  8, $e6, $0681
-	sound __, 15, $d5, $06c1
-	sound __,  5, $c4, $06b1
-	sound __,  5, $d4, $06a1
-	sound __,  9, $c1, $0691
-	endchannel
+	duty_cycle_pattern 0, 0, 2, 2
+	square_note 7, 14, 6, 1665
+	square_note 14, 13, 5, 1729
+	square_note 4, 12, 4, 1713
+	square_note 4, 13, 4, 1697
+	square_note 8, 12, 1, 1681
+	sound_ret
 
 Cry_Lapras_Ch8:
-	noise __, 11, $a6, $3c
-	noise __, 15, $94, $2c
-	noise __,  6, $a3, $3c
-	noise __,  9, $91, $2c
-	endchannel
+	noise_note 10, 10, 6, 60
+	noise_note 14, 9, 4, 44
+	noise_note 5, 10, 3, 60
+	noise_note 8, 9, 1, 44
+	sound_ret
 
 Cry_Golem_Ch5:
-	sound_duty 1, 1, 2, 2
-	sound __, 13, $f2, $0440
-	sound __, 16, $e3, $04a0
-	sound __,  5, $d2, $0490
-	sound __,  9, $d1, $0480
-	endchannel
+	duty_cycle_pattern 2, 2, 1, 1
+	square_note 12, 15, 2, 1088
+	square_note 15, 14, 3, 1184
+	square_note 4, 13, 2, 1168
+	square_note 8, 13, 1, 1152
+	sound_ret
 
 Cry_Golem_Ch6:
-	sound_duty 2, 3, 2, 3
-	sound __, 12, $d2, $0438
-	sound __, 15, $c6, $0498
-	sound __,  4, $b2, $0488
-	sound __,  9, $b1, $0478
-	endchannel
+	duty_cycle_pattern 3, 2, 3, 2
+	square_note 11, 13, 2, 1080
+	square_note 14, 12, 6, 1176
+	square_note 3, 11, 2, 1160
+	square_note 8, 11, 1, 1144
+	sound_ret
 
 Cry_Golem_Ch8:
-	noise __, 11, $e6, $6c
-	noise __, 16, $d2, $5c
-	noise __,  4, $c2, $6c
-	noise __,  9, $d1, $5c
-	endchannel
+	noise_note 10, 14, 6, 108
+	noise_note 15, 13, 2, 92
+	noise_note 3, 12, 2, 108
+	noise_note 8, 13, 1, 92
+	sound_ret
 
 Cry_Blastoise_Ch5:
-	sound_duty 3, 0, 3, 0
-	sound __, 16, $f6, $05c0
-	sound __,  9, $e3, $05bc
-	sound __,  7, $d2, $05d0
-	sound __,  7, $b2, $05e0
-	sound __,  7, $c2, $05f0
-	sound __,  9, $b1, $0600
-	endchannel
+	duty_cycle_pattern 0, 3, 0, 3
+	square_note 15, 15, 6, 1472
+	square_note 8, 14, 3, 1468
+	square_note 6, 13, 2, 1488
+	square_note 6, 11, 2, 1504
+	square_note 6, 12, 2, 1520
+	square_note 8, 11, 1, 1536
+	sound_ret
 
 Cry_Blastoise_Ch6:
-	sound_duty 1, 2, 1, 2
-	sound __, 15, $c6, $04b1
-	sound __,  8, $c3, $04ad
-	sound __,  6, $b2, $04c1
-	sound __,  9, $92, $04d1
-	sound __,  7, $a2, $04e1
-	sound __,  9, $91, $04f1
-	endchannel
+	duty_cycle_pattern 2, 1, 2, 1
+	square_note 14, 12, 6, 1201
+	square_note 7, 12, 3, 1197
+	square_note 5, 11, 2, 1217
+	square_note 8, 9, 2, 1233
+	square_note 6, 10, 2, 1249
+	square_note 8, 9, 1, 1265
+	sound_ret
 
 Cry_Blastoise_Ch8:
-	noise __, 11, $e6, $5c
-	noise __, 11, $d6, $6c
-	noise __,  5, $c2, $4c
-	noise __,  7, $d3, $5c
-	noise __,  9, $b3, $4c
-	noise __,  9, $a1, $5c
-	endchannel
+	noise_note 10, 14, 6, 92
+	noise_note 10, 13, 6, 108
+	noise_note 4, 12, 2, 76
+	noise_note 6, 13, 3, 92
+	noise_note 8, 11, 3, 76
+	noise_note 8, 10, 1, 92
+	sound_ret
 
 Cry_Pidgeotto_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __,  9, $e4, $0790
-	sound __, 16, $f5, $07c0
-	sound __,  9, $d1, $07d8
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 8, 14, 4, 1936
+	square_note 15, 15, 5, 1984
+	square_note 8, 13, 1, 2008
+	sound_ret
 
 Cry_Pidgeotto_Ch6:
-	sound_duty 1, 1, 2, 2
-	sound __, 11, $c4, $0771
-	sound __, 16, $b6, $07a2
-	sound __,  9, $a1, $07b7
-	endchannel
+	duty_cycle_pattern 2, 2, 1, 1
+	square_note 10, 12, 4, 1905
+	square_note 15, 11, 6, 1954
+	square_note 8, 10, 1, 1975
+	sound_ret
 
 Cry_Pidgeotto_Ch8:
-	noise __,  9, $e4, $4c
-	noise __, 15, $c4, $3c
-	noise __,  9, $d1, $2c
-	endchannel
+	noise_note 8, 14, 4, 76
+	noise_note 14, 12, 4, 60
+	noise_note 8, 13, 1, 44
+	sound_ret
 
 Cry_Paras_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __,  7, $f2, $0600
-	sound __,  7, $e2, $0640
-	sound __,  7, $d2, $0680
-	sound __,  7, $e2, $06c0
-	sound __,  7, $d2, $0700
-	sound __,  7, $c2, $0740
-	sound __,  7, $b2, $0780
-	sound __,  9, $a1, $07c0
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 6, 15, 2, 1536
+	square_note 6, 14, 2, 1600
+	square_note 6, 13, 2, 1664
+	square_note 6, 14, 2, 1728
+	square_note 6, 13, 2, 1792
+	square_note 6, 12, 2, 1856
+	square_note 6, 11, 2, 1920
+	square_note 8, 10, 1, 1984
+	sound_ret
 
 Cry_Paras_Ch6:
-	sound_duty 1, 0, 1, 0
-	sound __,  4, $8, $0001
-	sound __,  7, $c2, $05c1
-	sound __,  7, $b2, $0602
-	sound __,  7, $a2, $0641
-	sound __,  7, $b2, $0682
-	sound __,  7, $a2, $06c2
-	sound __,  7, $92, $0701
-	sound __,  7, $a2, $0742
-	sound __,  9, $81, $0781
-	endchannel
+	duty_cycle_pattern 0, 1, 0, 1
+	square_note 3, 0, 8, 1
+	square_note 6, 12, 2, 1473
+	square_note 6, 11, 2, 1538
+	square_note 6, 10, 2, 1601
+	square_note 6, 11, 2, 1666
+	square_note 6, 10, 2, 1730
+	square_note 6, 9, 2, 1793
+	square_note 6, 10, 2, 1858
+	square_note 8, 8, 1, 1921
+	sound_ret
 
 Cry_Paras_Ch8:
-	noise __,  7, $8, $1
-	noise __,  6, $e2, $5c
-	noise __,  6, $c2, $4c
-	noise __,  6, $d2, $3c
-	noise __,  6, $b2, $2c
-	noise __,  6, $c2, $1c
-	noise __,  6, $a2, $1b
-	noise __,  6, $92, $1a
-	noise __,  9, $81, $18
-	endchannel
+	noise_note 6, 0, 8, 1
+	noise_note 5, 14, 2, 92
+	noise_note 5, 12, 2, 76
+	noise_note 5, 13, 2, 60
+	noise_note 5, 11, 2, 44
+	noise_note 5, 12, 2, 28
+	noise_note 5, 10, 2, 27
+	noise_note 5, 9, 2, 26
+	noise_note 8, 8, 1, 24
+	sound_ret
 
 Cry_Weedle_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __,  5, $f3, $0780
-	sound __, 16, $e7, $0700
-	sound __,  9, $d3, $0710
-	sound __,  5, $c2, $0700
-	sound __,  5, $d2, $06f0
-	sound __,  9, $c1, $06e0
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 4, 15, 3, 1920
+	square_note 15, 14, 7, 1792
+	square_note 8, 13, 3, 1808
+	square_note 4, 12, 2, 1792
+	square_note 4, 13, 2, 1776
+	square_note 8, 12, 1, 1760
+	sound_ret
 
 Cry_Weedle_Ch6:
-	sound_duty 2, 2, 1, 1
-	sound __,  7, $c3, $0701
-	sound __, 15, $b7, $0681
-	sound __,  8, $b3, $0692
-	sound __,  4, $a2, $0681
-	sound __,  5, $b2, $0672
-	sound __,  9, $a1, $0661
-	endchannel
+	duty_cycle_pattern 1, 1, 2, 2
+	square_note 6, 12, 3, 1793
+	square_note 14, 11, 7, 1665
+	square_note 7, 11, 3, 1682
+	square_note 3, 10, 2, 1665
+	square_note 4, 11, 2, 1650
+	square_note 8, 10, 1, 1633
+	sound_ret
 
 Cry_Weedle_Ch8:
-	noise __,  7, $e3, $5c
-	noise __, 15, $d6, $4c
-	noise __,  7, $c6, $3c
-	noise __,  4, $b3, $4c
-	noise __,  4, $a2, $5c
-	noise __,  9, $b1, $6c
-	endchannel
+	noise_note 6, 14, 3, 92
+	noise_note 14, 13, 6, 76
+	noise_note 6, 12, 6, 60
+	noise_note 3, 11, 3, 76
+	noise_note 3, 10, 2, 92
+	noise_note 8, 11, 1, 108
+	sound_ret
 
 Cry_Ekans_Ch5:
-	sound_duty 3, 3, 0, 0
-	sound __, 16, $f7, $0500
-	sound __, 16, $e7, $0508
-	sound __,  9, $b4, $0480
-	sound __, 16, $a2, $0460
-	endchannel
+	duty_cycle_pattern 0, 0, 3, 3
+	square_note 15, 15, 7, 1280
+	square_note 15, 14, 7, 1288
+	square_note 8, 11, 4, 1152
+	square_note 15, 10, 2, 1120
+	sound_ret
 
 Cry_Ekans_Ch6:
-	sound_duty 0, 1, 0, 1
-	sound __, 15, $d7, $0481
-	sound __, 15, $c7, $0489
-	sound __, 11, $b4, $0401
-	sound __, 16, $c2, $03e1
-	endchannel
+	duty_cycle_pattern 1, 0, 1, 0
+	square_note 14, 13, 7, 1153
+	square_note 14, 12, 7, 1161
+	square_note 10, 11, 4, 1025
+	square_note 15, 12, 2, 993
+	sound_ret
 
 Cry_Ekans_Ch8:
-	noise __, 15, $f7, $7c
-	noise __, 13, $f6, $6c
-	noise __, 10, $e4, $7c
-	noise __, 16, $e2, $6c
-	endchannel
+	noise_note 14, 15, 7, 124
+	noise_note 12, 15, 6, 108
+	noise_note 9, 14, 4, 124
+	noise_note 15, 14, 2, 108
+	sound_ret
 
 Cry_Metapod_Ch5:
-	sound_duty 1, 1, 3, 3
-	sound __,  8, $d6, $07e1
-	sound __,  7, $c6, $07e2
-	sound __, 10, $d6, $07e1
-	sound __,  8, $c6, $07e0
-	sound __,  6, $b6, $07e2
-	sound __,  8, $c6, $07e1
-	sound __,  7, $b6, $07e0
-	sound __,  9, $a1, $07df
-	endchannel
+	duty_cycle_pattern 3, 3, 1, 1
+	square_note 7, 13, 6, 2017
+	square_note 6, 12, 6, 2018
+	square_note 9, 13, 6, 2017
+	square_note 7, 12, 6, 2016
+	square_note 5, 11, 6, 2018
+	square_note 7, 12, 6, 2017
+	square_note 6, 11, 6, 2016
+	square_note 8, 10, 1, 2015
+	sound_ret
 
 Cry_Metapod_Ch6:
-	sound_duty 0, 1, 0, 1
-	sound __,  7, $c3, $07c9
-	sound __,  7, $b3, $07c7
-	sound __, 11, $c4, $07c3
-	sound __,  9, $b4, $07c7
-	sound __,  7, $c3, $07c9
-	sound __, 16, $a2, $07c5
-	endchannel
+	duty_cycle_pattern 1, 0, 1, 0
+	square_note 6, 12, 3, 1993
+	square_note 6, 11, 3, 1991
+	square_note 10, 12, 4, 1987
+	square_note 8, 11, 4, 1991
+	square_note 6, 12, 3, 1993
+	square_note 15, 10, 2, 1989
+	sound_ret
 
 Cry_Metapod_Ch8:
-	noise __, 14, $19, $7c
-	noise __, 14, $f7, $8c
-	noise __, 13, $d6, $7c
-	noise __,  9, $c4, $6c
-	noise __, 16, $b3, $5c
-	endchannel
+	noise_note 13, 1, -1, 124
+	noise_note 13, 15, 7, 140
+	noise_note 12, 13, 6, 124
+	noise_note 8, 12, 4, 108
+	noise_note 15, 11, 3, 92
+	sound_ret
 
 Cry_Venonat_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __,  7, $f7, $0740
-	sound __, 13, $e6, $0744
-	sound __,  7, $d5, $0750
-	sound __,  5, $c3, $0760
-	sound __,  4, $c3, $0780
-	sound __,  9, $d1, $07a0
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 6, 15, 7, 1856
+	square_note 12, 14, 6, 1860
+	square_note 6, 13, 5, 1872
+	square_note 4, 12, 3, 1888
+	square_note 3, 12, 3, 1920
+	square_note 8, 13, 1, 1952
+	sound_ret
 
 Cry_Venonat_Ch6:
-	sound_duty 2, 2, 0, 0
-	sound __,  7, $c7, $0701
-	sound __, 12, $b6, $0702
-	sound __,  7, $a5, $0711
-	sound __,  5, $93, $0721
-	sound __,  4, $a3, $0741
-	sound __,  9, $91, $0762
-	endchannel
+	duty_cycle_pattern 0, 0, 2, 2
+	square_note 6, 12, 7, 1793
+	square_note 11, 11, 6, 1794
+	square_note 6, 10, 5, 1809
+	square_note 4, 9, 3, 1825
+	square_note 3, 10, 3, 1857
+	square_note 8, 9, 1, 1890
+	sound_ret
 
 Cry_Venonat_Ch8:
-	noise __,  4, $e2, $3c
-	noise __,  9, $d6, $4c
-	noise __,  6, $d4, $3c
-	noise __, 13, $c7, $4c
-	noise __,  3, $e2, $3c
-	noise __,  9, $d1, $2c
-	endchannel
+	noise_note 3, 14, 2, 60
+	noise_note 8, 13, 6, 76
+	noise_note 5, 13, 4, 60
+	noise_note 12, 12, 7, 76
+	noise_note 2, 14, 2, 60
+	noise_note 8, 13, 1, 44
+	sound_ret
 
 Cry_Squirtle_Ch5:
-	sound_duty 0, 1, 3, 3
-	sound __, 16, $f0, $0705
-	sound __, 11, $e0, $0700
-	sound __,  7, $b4, $0710
-	sound __,  5, $d3, $0700
-	sound __,  7, $b2, $0620
-	sound __,  9, $a1, $0624
-	endchannel
+	duty_cycle_pattern 3, 3, 1, 0
+	square_note 15, 15, 0, 1797
+	square_note 10, 14, 0, 1792
+	square_note 6, 11, 4, 1808
+	square_note 4, 13, 3, 1792
+	square_note 6, 11, 2, 1568
+	square_note 8, 10, 1, 1572
+	sound_ret
 
 Cry_Squirtle_Ch6:
-	sound_duty 2, 0, 2, 0
-	sound __, 16, $b0, $06c3
-	sound __, 11, $a0, $06c1
-	sound __,  7, $84, $06d2
-	sound __,  5, $93, $06c1
-	sound __,  7, $82, $05e1
-	sound __,  9, $61, $05e8
-	endchannel
+	duty_cycle_pattern 0, 2, 0, 2
+	square_note 15, 11, 0, 1731
+	square_note 10, 10, 0, 1729
+	square_note 6, 8, 4, 1746
+	square_note 4, 9, 3, 1729
+	square_note 6, 8, 2, 1505
+	square_note 8, 6, 1, 1512
+	sound_ret
 
 Cry_Squirtle_Ch8:
-	noise __,  7, $e6, $4c
-	noise __, 16, $d6, $3c
-	noise __, 11, $c5, $4a
-	noise __,  2, $b2, $5b
-	noise __, 16, $c2, $4c
-	endchannel
+	noise_note 6, 14, 6, 76
+	noise_note 15, 13, 6, 60
+	noise_note 10, 12, 5, 74
+	noise_note 1, 11, 2, 91
+	noise_note 15, 12, 2, 76
+	sound_ret
 
 Cry_Fearow_Ch5:
-	sound_duty 0, 0, 1, 1
-	sound __, 11, $f5, $0680
-	sound __,  4, $e2, $06a0
-	sound __,  4, $f2, $06c0
-	sound __,  4, $e2, $06e0
-	sound __,  4, $d2, $0700
-	sound __,  4, $c2, $06e0
-	sound __,  4, $d2, $06c0
-	sound __,  9, $c1, $06a0
-	endchannel
+	duty_cycle_pattern 1, 1, 0, 0
+	square_note 10, 15, 5, 1664
+	square_note 3, 14, 2, 1696
+	square_note 3, 15, 2, 1728
+	square_note 3, 14, 2, 1760
+	square_note 3, 13, 2, 1792
+	square_note 3, 12, 2, 1760
+	square_note 3, 13, 2, 1728
+	square_note 8, 12, 1, 1696
+	sound_ret
 
 Cry_Fearow_Ch6:
-	sound_duty 3, 3, 0, 0
-	sound __, 10, $d5, $0631
-	sound __,  4, $d2, $0652
-	sound __,  4, $e2, $0671
-	sound __,  4, $b2, $0691
-	sound __,  4, $c2, $06b2
-	sound __,  4, $b2, $0691
-	sound __,  4, $c2, $0671
-	sound __,  9, $b1, $0651
-	endchannel
+	duty_cycle_pattern 0, 0, 3, 3
+	square_note 9, 13, 5, 1585
+	square_note 3, 13, 2, 1618
+	square_note 3, 14, 2, 1649
+	square_note 3, 11, 2, 1681
+	square_note 3, 12, 2, 1714
+	square_note 3, 11, 2, 1681
+	square_note 3, 12, 2, 1649
+	square_note 8, 11, 1, 1617
+	sound_ret
 
 Cry_Fearow_Ch8:
-	noise __,  7, $e3, $4c
-	noise __,  5, $c3, $3c
-	noise __,  6, $d4, $3c
-	noise __,  5, $c4, $2c
-	noise __,  7, $b4, $3c
-	noise __,  9, $c1, $2c
-	endchannel
+	noise_note 6, 14, 3, 76
+	noise_note 4, 12, 3, 60
+	noise_note 5, 13, 4, 60
+	noise_note 4, 12, 4, 44
+	noise_note 6, 11, 4, 60
+	noise_note 8, 12, 1, 44
+	sound_ret
 
 Cry_Growlithe_Ch5:
-	sound_duty 1, 1, 2, 2
-	sound __,  4, $f4, $0641
-	sound __, 14, $d6, $0721
-	sound __,  9, $f4, $0719
-	sound __,  9, $c1, $071a
-	endchannel
+	duty_cycle_pattern 2, 2, 1, 1
+	square_note 3, 15, 4, 1601
+	square_note 13, 13, 6, 1825
+	square_note 8, 15, 4, 1817
+	square_note 8, 12, 1, 1818
+	sound_ret
 
 Cry_Growlithe_Ch6:
-	sound_duty 0, 3, 0, 3
-	sound __,  5, $f4, $0580
-	sound __, 15, $e6, $06e0
-	sound __,  9, $d5, $06d8
-	sound __,  9, $d1, $06dc
-	endchannel
+	duty_cycle_pattern 3, 0, 3, 0
+	square_note 4, 15, 4, 1408
+	square_note 14, 14, 6, 1760
+	square_note 8, 13, 5, 1752
+	square_note 8, 13, 1, 1756
+	sound_ret
 
 Cry_Growlithe_Ch8:
-	noise __,  6, $c4, $46
-	noise __, 14, $a5, $44
-	noise __,  9, $c4, $45
-	noise __,  9, $b1, $44
-	endchannel
+	noise_note 5, 12, 4, 70
+	noise_note 13, 10, 5, 68
+	noise_note 8, 12, 4, 69
+	noise_note 8, 11, 1, 68
+	sound_ret
 
 Cry_Krabby_Ch5:
-	sound_duty 0, 0, 3, 3
-	sound __, 14, $f1, $0511
-	sound __, 14, $e1, $0515
-	sound __, 14, $e1, $0511
-	sound __,  9, $d1, $0511
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 0
+	square_note 13, 15, 1, 1297
+	square_note 13, 14, 1, 1301
+	square_note 13, 14, 1, 1297
+	square_note 8, 13, 1, 1297
+	sound_ret
 
 Cry_Krabby_Ch6:
-	sound_duty 1, 1, 1, 0
-	sound __, 13, $e1, $050c
-	sound __, 13, $d1, $0510
-	sound __, 15, $c1, $050c
-	sound __,  9, $c1, $050a
-	endchannel
+	duty_cycle_pattern 0, 1, 1, 1
+	square_note 12, 14, 1, 1292
+	square_note 12, 13, 1, 1296
+	square_note 14, 12, 1, 1292
+	square_note 8, 12, 1, 1290
+	sound_ret
 
 Cry_Krabby_Ch8:
-	noise __, 15, $f2, $65
-	noise __, 14, $e2, $55
-	noise __, 15, $d2, $56
-	noise __,  9, $d1, $66
-	endchannel
+	noise_note 14, 15, 2, 101
+	noise_note 13, 14, 2, 85
+	noise_note 14, 13, 2, 86
+	noise_note 8, 13, 1, 102
+	sound_ret
 
 Cry_Psyduck_Ch5:
-	sound_duty 3, 2, 1, 0
-	sound __,  4, $f3, $0564
-	sound __,  3, $e2, $0544
-	sound __,  6, $d1, $0522
-	sound __,  3, $b2, $0484
-	sound __,  9, $d1, $04a2
-	sound __,  4, $f3, $0524
-	sound __,  5, $e4, $04e4
-	sound __,  9, $d1, $0502
-	endchannel
+	duty_cycle_pattern 0, 1, 2, 3
+	square_note 3, 15, 3, 1380
+	square_note 2, 14, 2, 1348
+	square_note 5, 13, 1, 1314
+	square_note 2, 11, 2, 1156
+	square_note 8, 13, 1, 1186
+	square_note 3, 15, 3, 1316
+	square_note 4, 14, 4, 1252
+	square_note 8, 13, 1, 1282
+	sound_ret
 
 Cry_Psyduck_Ch6:
-	sound_duty 0, 3, 0, 3
-	sound __,  4, $d3, $0560
-	sound __,  3, $c2, $0540
-	sound __,  6, $c1, $0520
-	sound __,  3, $92, $0480
-	sound __,  9, $c1, $04a0
-	sound __,  4, $d3, $0520
-	sound __,  4, $c4, $04e0
-	sound __,  9, $c1, $0500
+	duty_cycle_pattern 3, 0, 3, 0
+	square_note 3, 13, 3, 1376
+	square_note 2, 12, 2, 1344
+	square_note 5, 12, 1, 1312
+	square_note 2, 9, 2, 1152
+	square_note 8, 12, 1, 1184
+	square_note 3, 13, 3, 1312
+	square_note 3, 12, 4, 1248
+	square_note 8, 12, 1, 1280
 Cry_Psyduck_Ch8:
-	endchannel
+	sound_ret
 
 Cry_Rattata_Ch5:
-	sound_duty 1, 0, 1, 0
-	sound __,  3, $3d, $0381
-	sound __,  8, $f5, $0601
-	sound __,  2, $c2, $0481
-	sound __,  9, $91, $0381
-	endchannel
+	duty_cycle_pattern 0, 1, 0, 1
+	square_note 2, 3, -5, 897
+	square_note 7, 15, 5, 1537
+	square_note 1, 12, 2, 1153
+	square_note 8, 9, 1, 897
+	sound_ret
 
 Cry_Rattata_Ch6:
-	sound_duty 2, 3, 2, 3
-	sound __,  3, $3e, $05b0
-	sound __,  8, $d5, $075d
-	sound __,  2, $b2, $06b0
-	sound __,  9, $61, $05b0
-	endchannel
+	duty_cycle_pattern 3, 2, 3, 2
+	square_note 2, 3, -6, 1456
+	square_note 7, 13, 5, 1885
+	square_note 1, 11, 2, 1712
+	square_note 8, 6, 1, 1456
+	sound_ret
 
 Cry_Rattata_Ch8:
-	noise __,  3, $92, $49
-	noise __,  8, $b5, $29
-	noise __,  2, $a2, $39
-	noise __,  9, $91, $49
-	endchannel
+	noise_note 2, 9, 2, 73
+	noise_note 7, 11, 5, 41
+	noise_note 1, 10, 2, 57
+	noise_note 8, 9, 1, 73
+	sound_ret
--- a/audio/drumkits.asm
+++ b/audio/drumkits.asm
@@ -7,19 +7,19 @@
 	dw Drumkit5
 
 Drumkit0:
-	dw Drum00    ; rest
-	dw Snare1    ; c
-	dw Snare2    ; c#
-	dw Snare3    ; d
-	dw Snare4    ; d#
-	dw Drum05    ; e
-	dw Triangle1 ; f
-	dw Triangle2 ; f#
-	dw HiHat1    ; g
-	dw Snare5    ; g#
-	dw Snare6    ; a
-	dw Snare7    ; a#
-	dw HiHat2    ; b
+	dw Drum00
+	dw Snare1
+	dw Snare2
+	dw Snare3
+	dw Snare4
+	dw Drum05
+	dw Triangle1
+	dw Triangle2
+	dw HiHat1
+	dw Snare5
+	dw Snare6
+	dw Snare7
+	dw HiHat2
 Drumkit1:
 	dw Drum00
 	dw HiHat1
@@ -92,170 +92,169 @@
 	dw Kick2
 
 Drum00:
-; unused
-	noise C#,  1, $11, $00
-	endchannel
+	noise_note 32, 1, 1, 0
+	sound_ret
 
 Snare1:
-	noise C#,  1, $c1, $33
-	endchannel
+	noise_note 32, 12, 1, 51
+	sound_ret
 
 Snare2:
-	noise C#,  1, $b1, $33
-	endchannel
+	noise_note 32, 11, 1, 51
+	sound_ret
 
 Snare3:
-	noise C#,  1, $a1, $33
-	endchannel
+	noise_note 32, 10, 1, 51
+	sound_ret
 
 Snare4:
-	noise C#,  1, $81, $33
-	endchannel
+	noise_note 32, 8, 1, 51
+	sound_ret
 
 Drum05:
-	noise C#,  8, $84, $37
-	noise C#,  7, $84, $36
-	noise C#,  6, $83, $35
-	noise C#,  5, $83, $34
-	noise C#,  4, $82, $33
-	noise C#,  3, $81, $32
-	endchannel
+	noise_note 39, 8, 4, 55
+	noise_note 38, 8, 4, 54
+	noise_note 37, 8, 3, 53
+	noise_note 36, 8, 3, 52
+	noise_note 35, 8, 2, 51
+	noise_note 34, 8, 1, 50
+	sound_ret
 
 Triangle1:
-	noise C#,  1, $51, $2a
-	endchannel
+	noise_note 32, 5, 1, 42
+	sound_ret
 
 Triangle2:
-	noise C#,  2, $41, $2b
-	noise C#,  1, $61, $2a
-	endchannel
+	noise_note 33, 4, 1, 43
+	noise_note 32, 6, 1, 42
+	sound_ret
 
 HiHat1:
-	noise C#,  1, $81, $10
-	endchannel
+	noise_note 32, 8, 1, 16
+	sound_ret
 
 Snare5:
-	noise C#,  1, $82, $23
-	endchannel
+	noise_note 32, 8, 2, 35
+	sound_ret
 
 Snare6:
-	noise C#,  1, $82, $25
-	endchannel
+	noise_note 32, 8, 2, 37
+	sound_ret
 
 Snare7:
-	noise C#,  1, $82, $26
-	endchannel
+	noise_note 32, 8, 2, 38
+	sound_ret
 
 HiHat2:
-	noise C#,  1, $a1, $10
-	endchannel
+	noise_note 32, 10, 1, 16
+	sound_ret
 
 HiHat3:
-	noise C#,  1, $a2, $11
-	endchannel
+	noise_note 32, 10, 2, 17
+	sound_ret
 
 Snare8:
-	noise C#,  1, $a2, $50
-	endchannel
+	noise_note 32, 10, 2, 80
+	sound_ret
 
 Triangle3:
-	noise C#,  1, $a1, $18
-	noise C#,  1, $31, $33
-	endchannel
+	noise_note 32, 10, 1, 24
+	noise_note 32, 3, 1, 51
+	sound_ret
 
 Triangle4:
-	noise C#,  3, $91, $28
-	noise C#,  1, $71, $18
-	endchannel
+	noise_note 34, 9, 1, 40
+	noise_note 32, 7, 1, 24
+	sound_ret
 
 Snare9:
-	noise C#,  1, $91, $22
-	endchannel
+	noise_note 32, 9, 1, 34
+	sound_ret
 
 Snare10:
-	noise C#,  1, $71, $22
-	endchannel
+	noise_note 32, 7, 1, 34
+	sound_ret
 
 Snare11:
-	noise C#,  1, $61, $22
-	endchannel
+	noise_note 32, 6, 1, 34
+	sound_ret
 
 Drum20:
-	noise C#,  1, $11, $11
-	endchannel
+	noise_note 32, 1, 1, 17
+	sound_ret
 
 Drum21:
-	endchannel
+	sound_ret
 
 Snare12:
-	noise C#,  1, $91, $33
-	endchannel
+	noise_note 32, 9, 1, 51
+	sound_ret
 
 Snare13:
-	noise C#,  1, $51, $32
-	endchannel
+	noise_note 32, 5, 1, 50
+	sound_ret
 
 Snare14:
-	noise C#,  1, $81, $31
-	endchannel
+	noise_note 32, 8, 1, 49
+	sound_ret
 
 Kick1:
-	noise C#,  1, $88, $6b
-	noise C#,  1, $71, $00
-	endchannel
+	noise_note 32, 8, 8, 107
+	noise_note 32, 7, 1, 0
+	sound_ret
 
 Triangle5:
-	noise D_,  1, $91, $18
-	endchannel
+	noise_note 48, 9, 1, 24
+	sound_ret
 
 Drum27:
-	noise C#,  8, $92, $10
-	endchannel
+	noise_note 39, 9, 2, 16
+	sound_ret
 
 Drum28:
-	noise D_,  4, $91, $00
-	noise D_,  4, $11, $00
-	endchannel
+	noise_note 51, 9, 1, 0
+	noise_note 51, 1, 1, 0
+	sound_ret
 
 Drum29:
-	noise D_,  4, $91, $11
-	noise D_,  4, $11, $00
-	endchannel
+	noise_note 51, 9, 1, 17
+	noise_note 51, 1, 1, 0
+	sound_ret
 
 Crash1:
-	noise D_,  4, $88, $15
-	noise C#,  1, $65, $12
-	endchannel
+	noise_note 51, 8, 8, 21
+	noise_note 32, 6, 5, 18
+	sound_ret
 
 Drum31:
-	noise D_,  4, $51, $21
-	noise D_,  4, $11, $11
-	endchannel
+	noise_note 51, 5, 1, 33
+	noise_note 51, 1, 1, 17
+	sound_ret
 
 Drum32:
-	noise D_,  4, $51, $50
-	noise D_,  4, $11, $11
-	endchannel
+	noise_note 51, 5, 1, 80
+	noise_note 51, 1, 1, 17
+	sound_ret
 
 Drum33:
-	noise C#,  1, $a1, $31
-	endchannel
+	noise_note 32, 10, 1, 49
+	sound_ret
 
 Crash2:
-	noise C#,  1, $84, $12
-	endchannel
+	noise_note 32, 8, 4, 18
+	sound_ret
 
 Drum35:
-	noise D_,  4, $81, $00
-	noise D_,  4, $11, $00
-	endchannel
+	noise_note 51, 8, 1, 0
+	noise_note 51, 1, 1, 0
+	sound_ret
 
 Drum36:
-	noise D_,  4, $81, $21
-	noise D_,  4, $11, $11
-	endchannel
+	noise_note 51, 8, 1, 33
+	noise_note 51, 1, 1, 17
+	sound_ret
 
 Kick2:
-	noise C#,  1, $a8, $6b
-	noise C#,  1, $71, $00
-	endchannel
+	noise_note 32, 10, 8, 107
+	noise_note 32, 7, 1, 0
+	sound_ret
--- a/audio/engine.asm
+++ b/audio/engine.asm
@@ -116,19 +116,19 @@
 	; turn vibrato off for now
 	ld hl, CHANNEL_FLAGS2
 	add hl, bc
-	res SOUND_PITCH_WHEEL, [hl]
+	res SOUND_PITCH_SLIDE, [hl]
 	; get next note
 	call ParseMusic
 .continue_sound_update
-	call ApplyPitchWheel
+	call ApplyPitchSlide
 	; duty cycle
 	ld hl, CHANNEL_DUTY_CYCLE
 	add hl, bc
 	ld a, [hli]
 	ld [wCurTrackDuty], a
-	; intensity
+	; volume envelope
 	ld a, [hli]
-	ld [wCurTrackIntensity], a
+	ld [wCurTrackVolumeEnvelope], a
 	; frequency
 	ld a, [hli]
 	ld [wCurTrackFrequency], a
@@ -240,12 +240,12 @@
 .Channel5:
 	ld hl, CHANNEL_NOTE_FLAGS
 	add hl, bc
-	bit NOTE_UNKN_3, [hl]
-	jr z, .asm_e8159
+	bit NOTE_PITCH_SWEEP, [hl]
+	jr z, .noPitchSweep
 	;
-	ld a, [wSoundInput]
+	ld a, [wPitchSweep]
 	ldh [rNR10], a
-.asm_e8159
+.noPitchSweep
 	bit NOTE_REST, [hl] ; rest
 	jr nz, .ch1rest
 	bit NOTE_NOISE_SAMPLING, [hl]
@@ -296,7 +296,7 @@
 	ld a, $3f ; sound length
 	or [hl]
 	ldh [rNR11], a
-	ld a, [wCurTrackIntensity]
+	ld a, [wCurTrackVolumeEnvelope]
 	ldh [rNR12], a
 	ld a, [wCurTrackFrequency]
 	ldh [rNR13], a
@@ -356,7 +356,7 @@
 	ld a, $3f ; sound length
 	or [hl]
 	ldh [rNR21], a
-	ld a, [wCurTrackIntensity]
+	ld a, [wCurTrackVolumeEnvelope]
 	ldh [rNR22], a
 	ld a, [wCurTrackFrequency]
 	ldh [rNR23], a
@@ -414,7 +414,7 @@
 
 .asm_e8268
 	push hl
-	ld a, [wCurTrackIntensity]
+	ld a, [wCurTrackVolumeEnvelope]
 	and $f ; only 0-9 are valid
 	ld l, a
 	ld h, 0
@@ -460,7 +460,7 @@
 	ld a, [hli]
 	ldh [rWave_f], a
 	pop hl
-	ld a, [wCurTrackIntensity]
+	ld a, [wCurTrackVolumeEnvelope]
 	and $f0
 	sla a
 	ldh [rNR32], a
@@ -492,7 +492,7 @@
 .asm_e82d4
 	ld a, $3f ; sound length
 	ldh [rNR41], a
-	ld a, [wCurTrackIntensity]
+	ld a, [wCurTrackVolumeEnvelope]
 	ldh [rNR42], a
 	ld a, [wCurTrackFrequency]
 	ldh [rNR43], a
@@ -706,10 +706,10 @@
 	ret
 
 LoadNote:
-	; wait for pitch wheel to finish
+	; wait for pitch slide to finish
 	ld hl, CHANNEL_FLAGS2
 	add hl, bc
-	bit SOUND_PITCH_WHEEL, [hl]
+	bit SOUND_PITCH_SLIDE, [hl]
 	ret z
 	; get note duration
 	ld hl, CHANNEL_NOTE_DURATION
@@ -727,8 +727,8 @@
 	ld e, [hl]
 	inc hl
 	ld d, [hl]
-	; get direction of pitch wheel
-	ld hl, CHANNEL_PITCH_WHEEL_TARGET
+	; get direction of pitch slide
+	ld hl, CHANNEL_PITCH_SLIDE_TARGET
 	add hl, bc
 	ld a, e
 	sub [hl]
@@ -736,13 +736,13 @@
 	ld a, d
 	sbc 0
 	ld d, a
-	ld hl, CHANNEL_PITCH_WHEEL_TARGET + 1
+	ld hl, CHANNEL_PITCH_SLIDE_TARGET + 1
 	add hl, bc
 	sub [hl]
 	jr nc, .greater_than
 	ld hl, CHANNEL_FLAGS3
 	add hl, bc
-	set SOUND_PITCH_WHEEL_DIR, [hl]
+	set SOUND_PITCH_SLIDE_DIR, [hl]
 	; get frequency
 	ld hl, CHANNEL_FREQUENCY
 	add hl, bc
@@ -750,7 +750,7 @@
 	inc hl
 	ld d, [hl]
 	; ????
-	ld hl, CHANNEL_PITCH_WHEEL_TARGET
+	ld hl, CHANNEL_PITCH_SLIDE_TARGET
 	add hl, bc
 	ld a, [hl]
 	sub e
@@ -759,7 +759,7 @@
 	sbc 0
 	ld d, a
 	; ????
-	ld hl, CHANNEL_PITCH_WHEEL_TARGET + 1
+	ld hl, CHANNEL_PITCH_SLIDE_TARGET + 1
 	add hl, bc
 	ld a, [hl]
 	sub d
@@ -769,7 +769,7 @@
 .greater_than
 	ld hl, CHANNEL_FLAGS3
 	add hl, bc
-	res SOUND_PITCH_WHEEL_DIR, [hl]
+	res SOUND_PITCH_SLIDE_DIR, [hl]
 	; get frequency
 	ld hl, CHANNEL_FREQUENCY
 	add hl, bc
@@ -776,8 +776,8 @@
 	ld e, [hl]
 	inc hl
 	ld d, [hl]
-	; get distance from pitch wheel target
-	ld hl, CHANNEL_PITCH_WHEEL_TARGET
+	; get distance from pitch slide target
+	ld hl, CHANNEL_PITCH_SLIDE_TARGET
 	add hl, bc
 	ld a, e
 	sub [hl]
@@ -785,7 +785,7 @@
 	ld a, d
 	sbc 0
 	ld d, a
-	ld hl, CHANNEL_PITCH_WHEEL_TARGET + 1
+	ld hl, CHANNEL_PITCH_SLIDE_TARGET + 1
 	add hl, bc
 	sub [hl]
 	ld d, a
@@ -813,10 +813,10 @@
 	add [hl]
 	ld d, b ; quotient
 	pop bc
-	ld hl, CHANNEL_PITCH_WHEEL_AMOUNT
+	ld hl, CHANNEL_PITCH_SLIDE_AMOUNT
 	add hl, bc
 	ld [hl], d ; quotient
-	ld hl, CHANNEL_PITCH_WHEEL_AMOUNT_FRACTION
+	ld hl, CHANNEL_PITCH_SLIDE_AMOUNT_FRACTION
 	add hl, bc
 	ld [hl], a ; remainder
 	ld hl, CHANNEL_FIELD25
@@ -829,9 +829,9 @@
 ; handle duty, cry pitch, and vibrato
 	ld hl, CHANNEL_FLAGS2
 	add hl, bc
-	bit SOUND_DUTY, [hl] ; duty
+	bit SOUND_DUTY_LOOP, [hl] ; duty cycle looping
 	jr z, .next
-	ld hl, CHANNEL_SFX_DUTY_LOOP
+	ld hl, CHANNEL_DUTY_CYCLE_PATTERN
 	add hl, bc
 	ld a, [hl]
 	rlca
@@ -845,9 +845,9 @@
 .next
 	ld hl, CHANNEL_FLAGS2
 	add hl, bc
-	bit SOUND_CRY_PITCH, [hl]
+	bit SOUND_PITCH_OFFSET, [hl]
 	jr z, .vibrato
-	ld hl, CHANNEL_CRY_PITCH
+	ld hl, CHANNEL_PITCH_OFFSET
 	add hl, bc
 	ld e, [hl]
 	inc hl
@@ -942,11 +942,11 @@
 .quit
 	ret
 
-ApplyPitchWheel:
-	; quit if pitch wheel inactive
+ApplyPitchSlide:
+	; quit if pitch slide inactive
 	ld hl, CHANNEL_FLAGS2
 	add hl, bc
-	bit SOUND_PITCH_WHEEL, [hl]
+	bit SOUND_PITCH_SLIDE, [hl]
 	ret z
 	; de = Frequency
 	ld hl, CHANNEL_FREQUENCY
@@ -954,13 +954,13 @@
 	ld e, [hl]
 	inc hl
 	ld d, [hl]
-	; check whether pitch wheel is going up or down
+	; check whether pitch slide is going up or down
 	ld hl, CHANNEL_FLAGS3
 	add hl, bc
-	bit SOUND_PITCH_WHEEL_DIR, [hl]
+	bit SOUND_PITCH_SLIDE_DIR, [hl]
 	jr z, .decreasing
-	; frequency += [Channel*PitchWheelAmount]
-	ld hl, CHANNEL_PITCH_WHEEL_AMOUNT
+	; frequency += [Channel*PitchSlideAmount]
+	ld hl, CHANNEL_PITCH_SLIDE_AMOUNT
 	add hl, bc
 	ld l, [hl]
 	ld h, 0
@@ -967,9 +967,9 @@
 	add hl, de
 	ld d, h
 	ld e, l
-	; [Channel*Field25] += [Channel*PitchWheelAmountFraction]
+	; [Channel*Field25] += [Channel*PitchSlideAmountFraction]
 	; if rollover: Frequency += 1
-	ld hl, CHANNEL_PITCH_WHEEL_AMOUNT_FRACTION
+	ld hl, CHANNEL_PITCH_SLIDE_AMOUNT_FRACTION
 	add hl, bc
 	ld a, [hl]
 	ld hl, CHANNEL_FIELD25
@@ -982,26 +982,26 @@
 	ld a, 0
 	adc d
 	ld d, a
-	; Compare the dw at [Channel*PitchWheelTarget] to de.
+	; Compare the dw at [Channel*PitchSlideTarget] to de.
 	; If frequency is greater, we're finished.
 	; Otherwise, load the frequency and set two flags.
-	ld hl, CHANNEL_PITCH_WHEEL_TARGET + 1
+	ld hl, CHANNEL_PITCH_SLIDE_TARGET + 1
 	add hl, bc
 	ld a, [hl]
 	cp d
-	jp c, .finished_pitch_wheel
-	jr nz, .continue_pitch_wheel
-	ld hl, CHANNEL_PITCH_WHEEL_TARGET
+	jp c, .finished_pitch_slide
+	jr nz, .continue_pitch_slide
+	ld hl, CHANNEL_PITCH_SLIDE_TARGET
 	add hl, bc
 	ld a, [hl]
 	cp e
-	jp c, .finished_pitch_wheel
-	jr .continue_pitch_wheel
+	jp c, .finished_pitch_slide
+	jr .continue_pitch_slide
 
 .decreasing
-	; frequency -= [Channel*PitchWheelAmount]
+	; frequency -= [Channel*PitchSlideAmount]
 	ld a, e
-	ld hl, CHANNEL_PITCH_WHEEL_AMOUNT
+	ld hl, CHANNEL_PITCH_SLIDE_AMOUNT
 	add hl, bc
 	ld e, [hl]
 	sub e
@@ -1011,7 +1011,7 @@
 	ld d, a
 	; [Channel*Field25] *= 2
 	; if rollover: Frequency -= 1
-	ld hl, CHANNEL_PITCH_WHEEL_AMOUNT_FRACTION
+	ld hl, CHANNEL_PITCH_SLIDE_AMOUNT_FRACTION
 	add hl, bc
 	ld a, [hl]
 	add a
@@ -1022,30 +1022,30 @@
 	ld a, d
 	sbc 0
 	ld d, a
-	; Compare the dw at [Channel*PitchWheelTarget] to de.
+	; Compare the dw at [Channel*PitchSlideTarget] to de.
 	; If frequency is lower, we're finished.
 	; Otherwise, load the frequency and set two flags.
-	ld hl, CHANNEL_PITCH_WHEEL_TARGET + 1
+	ld hl, CHANNEL_PITCH_SLIDE_TARGET + 1
 	add hl, bc
 	ld a, d
 	cp [hl]
-	jr c, .finished_pitch_wheel
-	jr nz, .continue_pitch_wheel
-	ld hl, CHANNEL_PITCH_WHEEL_TARGET
+	jr c, .finished_pitch_slide
+	jr nz, .continue_pitch_slide
+	ld hl, CHANNEL_PITCH_SLIDE_TARGET
 	add hl, bc
 	ld a, e
 	cp [hl]
-	jr nc, .continue_pitch_wheel
-.finished_pitch_wheel
+	jr nc, .continue_pitch_slide
+.finished_pitch_slide
 	ld hl, CHANNEL_FLAGS2
 	add hl, bc
-	res SOUND_PITCH_WHEEL, [hl]
+	res SOUND_PITCH_SLIDE, [hl]
 	ld hl, CHANNEL_FLAGS3
 	add hl, bc
-	res SOUND_PITCH_WHEEL_DIR, [hl]
+	res SOUND_PITCH_SLIDE_DIR, [hl]
 	ret
 
-.continue_pitch_wheel
+.continue_pitch_slide
 	ld hl, CHANNEL_FREQUENCY
 	add hl, bc
 	ld [hl], e
@@ -1088,7 +1088,7 @@
 ;	[wx] [yy] [zz]
 ;	w: ? either 2 or 3
 ;	x: duration
-;	zz: intensity
+;	zz: volume envelope
 ;       yy: frequency
 
 	; de = [wNoiseSampleAddress]
@@ -1105,7 +1105,7 @@
 	ld a, [de]
 	inc de
 
-	cp endchannel_cmd
+	cp sound_ret_cmd
 	jr z, .quit
 
 	and $f
@@ -1113,7 +1113,7 @@
 	ld [wNoiseSampleDelay], a
 	ld a, [de]
 	inc de
-	ld [wCurTrackIntensity], a
+	ld [wCurTrackVolumeEnvelope], a
 	ld a, [de]
 	inc de
 	ld [wCurTrackFrequency], a
@@ -1136,8 +1136,8 @@
 ParseMusic:
 ; parses until a note is read or the song is ended
 	call GetMusicByte ; store next byte in a
-	cp endchannel_cmd
-	jr z, .endchannel
+	cp sound_ret_cmd
+	jr z, .sound_ret
 	cp FIRST_MUSIC_CMD
 	jr c, .readnote
 	; then it's a command
@@ -1196,7 +1196,7 @@
 	set NOTE_REST, [hl] ; Rest
 	ret
 
-.endchannel
+.sound_ret
 ; $ff is reached in music data
 	ld hl, CHANNEL_FLAGS1
 	add hl, bc
@@ -1247,10 +1247,10 @@
 	cp CHAN5
 	ret nz
 	xor a
-	ld hl, wChannel6CryPitch
+	ld hl, wChannel6PitchOffset
 	ld [hli], a
 	ld [hl], a
-	ld hl, wChannel8CryPitch
+	ld hl, wChannel8PitchOffset
 	ld [hli], a
 	ld [hl], a
 	ld a, [wLastVolume]
@@ -1268,9 +1268,9 @@
 	; update note duration
 	ld a, [wCurMusicByte]
 	call SetNoteDuration ; top nybble doesnt matter?
-	; update intensity from next param
+	; update volume envelope from next param
 	call GetMusicByte
-	ld hl, CHANNEL_INTENSITY
+	ld hl, CHANNEL_VOLUME_ENVELOPE
 	add hl, bc
 	ld [hl], a
 	; update lo frequency from next param
@@ -1373,24 +1373,24 @@
 	dw Music_Octave3 ; octave 3
 	dw Music_Octave2 ; octave 2
 	dw Music_Octave1 ; octave 1
-	dw Music_NoteType ; note length + intensity
-	dw Music_ForceOctave ; set starting octave
+	dw Music_NoteType ; note length + volume envelope
+	dw Music_Transpose ; transpose
 	dw Music_Tempo ; tempo
 	dw Music_DutyCycle ; duty cycle
-	dw Music_Intensity ; intensity
-	dw Music_SoundStatus ; update sound status
-	dw Music_SoundDuty ; sfx duty
+	dw Music_VolumeEnvelope ; volume envelope
+	dw Music_PitchSweep ; update pitch sweep
+	dw Music_DutyCyclePattern ; duty cycle pattern
 	dw Music_ToggleSFX ; sound on/off
-	dw Music_SlidePitchTo ; pitch wheel
+	dw Music_PitchSlide ; pitch slide
 	dw Music_Vibrato ; vibrato
 	dw MusicE2 ; unused
 	dw Music_ToggleNoise ; music noise sampling
-	dw Music_Panning ; force panning
+	dw Music_ForceStereoPanning ; force stereo panning
 	dw Music_Volume ; volume
-	dw Music_Tone ; tone
+	dw Music_PitchOffset ; pitch offset
 	dw MusicE7 ; unused
 	dw MusicE8 ; unused
-	dw Music_TempoRelative ; global tempo
+	dw Music_TempoRelative ; tempo adjust
 	dw Music_RestartChannel ; restart current channel from header
 	dw Music_NewSong ; new song
 	dw Music_SFXPriorityOn ; sfx priority on
@@ -1407,12 +1407,12 @@
 	dw MusicF7 ; nothing
 	dw MusicF8 ; nothing
 	dw MusicF9 ; unused
-	dw Music_SetCondition ; setcondition
+	dw Music_SetCondition ; set condition
 	dw Music_JumpIf ; jumpif
-	dw Music_JumpChannel ; jump
-	dw Music_LoopChannel ; loop
-	dw Music_CallChannel ; call
-	dw Music_EndChannel ; return
+	dw Music_Jump ; jump
+	dw Music_Loop ; loop
+	dw Music_Call ; call
+	dw Music_Ret ; return
 
 MusicF1:
 MusicF2:
@@ -1424,7 +1424,7 @@
 MusicF8:
 	ret
 
-Music_EndChannel:
+Music_Ret:
 ; called when $ff is encountered w/ subroutine flag set
 ; end music stream
 ; return to caller of the subroutine
@@ -1445,7 +1445,7 @@
 	ld [hl], d
 	ret
 
-Music_CallChannel:
+Music_Call:
 ; call music stream (subroutine)
 ; parameters: ll hh ; pointer to subroutine
 	; get pointer from next 2 bytes
@@ -1478,7 +1478,7 @@
 	set SOUND_SUBROUTINE, [hl]
 	ret
 
-Music_JumpChannel:
+Music_Jump:
 ; jump
 ; parameters: ll hh ; pointer
 	; get pointer from next 2 bytes
@@ -1493,7 +1493,7 @@
 	ld [hl], d
 	ret
 
-Music_LoopChannel:
+Music_Loop:
 ; loops xx - 1 times
 ; 	00: infinite
 ; params: 3
@@ -1740,8 +1740,8 @@
 	ld [hl], a
 	ret
 
-Music_SlidePitchTo:
-; set the target for pitch wheel
+Music_PitchSlide:
+; set the target for pitch slide
 ; params: 2
 ; note duration
 ; target note
@@ -1760,24 +1760,25 @@
 	and $f
 	ld d, a
 	call GetFrequency
-	ld hl, CHANNEL_PITCH_WHEEL_TARGET
+	ld hl, CHANNEL_PITCH_SLIDE_TARGET
 	add hl, bc
 	ld [hl], e
-	ld hl, CHANNEL_PITCH_WHEEL_TARGET + 1
+	ld hl, CHANNEL_PITCH_SLIDE_TARGET + 1
 	add hl, bc
 	ld [hl], d
 	ld hl, CHANNEL_FLAGS2
 	add hl, bc
-	set SOUND_PITCH_WHEEL, [hl]
+	set SOUND_PITCH_SLIDE, [hl]
 	ret
 
-Music_Tone:
+Music_PitchOffset:
 ; tone
 ; params: 1 (dw)
+; offset to add to each note frequency
 	ld hl, CHANNEL_FLAGS2
 	add hl, bc
-	set SOUND_CRY_PITCH, [hl]
-	ld hl, CHANNEL_CRY_PITCH + 1
+	set SOUND_PITCH_OFFSET, [hl]
+	ld hl, CHANNEL_PITCH_OFFSET + 1
 	add hl, bc
 	call GetMusicByte
 	ld [hld], a
@@ -1797,17 +1798,17 @@
 	ld [hl], a
 	ret
 
-Music_SoundDuty:
+Music_DutyCyclePattern:
 ; sequence of 4 duty cycles to be looped
 ; params: 1 (4 2-bit duty cycle arguments)
 	ld hl, CHANNEL_FLAGS2
 	add hl, bc
-	set SOUND_DUTY, [hl] ; duty cycle
+	set SOUND_DUTY_LOOP, [hl] ; duty cycle looping
 	; sound duty sequence
 	call GetMusicByte
 	rrca
 	rrca
-	ld hl, CHANNEL_SFX_DUTY_LOOP
+	ld hl, CHANNEL_DUTY_CYCLE_PATTERN
 	add hl, bc
 	ld [hl], a
 	; update duty cycle
@@ -1889,7 +1890,7 @@
 Music_NoteType:
 ; note length
 ;	# frames per 16th note
-; intensity: see Music_Intensity
+; volume envelope: see Music_VolumeEnvelope
 ; params: 2
 	; note length
 	call GetMusicByte
@@ -1900,18 +1901,18 @@
 	maskbits NUM_MUSIC_CHANS
 	cp CHAN4
 	ret z
-	; intensity
-	call Music_Intensity
+	; volume envelope
+	call Music_VolumeEnvelope
 	ret
 
-Music_SoundStatus:
-; update sound status
+Music_PitchSweep:
+; update pitch sweep
 ; params: 1
 	call GetMusicByte
-	ld [wSoundInput], a
+	ld [wPitchSweep], a
 	ld hl, CHANNEL_NOTE_FLAGS
 	add hl, bc
-	set NOTE_UNKN_3, [hl]
+	set NOTE_PITCH_SWEEP, [hl]
 	ret
 
 Music_DutyCycle:
@@ -1926,13 +1927,13 @@
 	ld [hl], a
 	ret
 
-Music_Intensity:
-; intensity
+Music_VolumeEnvelope:
+; volume envelope
 ; params: 1
-;	hi: pressure
-;   lo: velocity
+;	hi: volume
+;   lo: fade
 	call GetMusicByte
-	ld hl, CHANNEL_INTENSITY
+	ld hl, CHANNEL_VOLUME_ENVELOPE
 	add hl, bc
 	ld [hl], a
 	ret
@@ -1964,12 +1965,12 @@
 	ld [hl], a
 	ret
 
-Music_ForceOctave:
+Music_Transpose:
 ; set starting octave
 ; this forces all notes up by the starting octave
 ; params: 1
 	call GetMusicByte
-	ld hl, CHANNEL_PITCH_OFFSET
+	ld hl, CHANNEL_TRANSPOSITION
 	add hl, bc
 	ld [hl], a
 	ret
@@ -1980,12 +1981,12 @@
 	; stereo on?
 	ld a, [wOptions]
 	bit STEREO, a
-	jr nz, Music_Panning
+	jr nz, Music_ForceStereoPanning
 	; skip param
 	call GetMusicByte
 	ret
 
-Music_Panning:
+Music_ForceStereoPanning:
 ; force panning
 ; params: 1
 	call SetLRTracks
@@ -2141,7 +2142,7 @@
 
 ; get octave
 	; get starting octave
-	ld hl, CHANNEL_PITCH_OFFSET
+	ld hl, CHANNEL_TRANSPOSITION
 	add hl, bc
 	ld a, [hl]
 	swap a ; hi nybble
@@ -2150,7 +2151,7 @@
 	add d
 	push af ; we'll use this later
 	; get starting octave
-	ld hl, CHANNEL_PITCH_OFFSET
+	ld hl, CHANNEL_TRANSPOSITION
 	add hl, bc
 	ld a, [hl]
 	and $f ; lo nybble
@@ -2402,9 +2403,9 @@
 
 	ld hl, CHANNEL_FLAGS2
 	add hl, bc
-	set SOUND_CRY_PITCH, [hl]
+	set SOUND_PITCH_OFFSET, [hl]
 
-	ld hl, CHANNEL_CRY_PITCH
+	ld hl, CHANNEL_PITCH_OFFSET
 	add hl, bc
 	ld a, [wCryPitch]
 	ld [hli], a
@@ -2484,8 +2485,8 @@
 	ld a, $80
 	ldh [rNR14], a ; restart sound (freq hi = 0)
 	xor a
-	ld [wSoundInput], a ; global sound off
-	ldh [rNR10], a ; sweep = 0
+	ld [wPitchSweep], a ; pitch sweep off
+	ldh [rNR10], a ; pitch sweep off
 .ch6
 	ld hl, wChannel6Flags1
 	bit SOUND_CHANNEL_ON, [hl]
--- a/audio/music/aftertherivalfight.asm
+++ b/audio/music/aftertherivalfight.asm
@@ -1,64 +1,65 @@
 Music_AfterTheRivalFight:
-	musicheader 4, 1, Music_AfterTheRivalFight_Ch1
-	musicheader 1, 2, Music_AfterTheRivalFight_Ch2
-	musicheader 1, 3, Music_AfterTheRivalFight_Ch3
-	musicheader 1, 4, Music_AfterTheRivalFight_Ch4
+	channel_count 4
+	channel 1, Music_AfterTheRivalFight_Ch1
+	channel 2, Music_AfterTheRivalFight_Ch2
+	channel 3, Music_AfterTheRivalFight_Ch3
+	channel 4, Music_AfterTheRivalFight_Ch4
 
 Music_AfterTheRivalFight_Ch1:
 	tempo 112
-	volume $77
-	dutycycle $0
-	tone $0001
-	vibrato $8, $14
-	stereopanning $f0
-	notetype $c, $b2
+	volume 7, 7
+	duty_cycle 0
+	pitch_offset 1
+	vibrato 8, 1, 4
+	stereo_panning TRUE, FALSE
+	note_type 12, 11, 2
 	octave 2
 	note G#, 4
 	note G#, 4
-	intensity $82
+	volume_envelope 8, 2
 	octave 3
 	note G#, 2
 	note G#, 2
 	note G#, 2
 	note G#, 2
-	loopchannel 0, Music_LookRival_Ch1.mainloop
+	sound_loop 0, Music_LookRival_Ch1.mainloop
 
 Music_AfterTheRivalFight_Ch2:
-	dutycycle $1
-	vibrato $6, $35
-	stereopanning $f
-	notetype $c, $c2
+	duty_cycle 1
+	vibrato 6, 3, 5
+	stereo_panning FALSE, TRUE
+	note_type 12, 12, 2
 	octave 4
 	note G#, 4
 	note G#, 4
-	intensity $a2
+	volume_envelope 10, 2
 	note G#, 2
 	note G#, 2
 	note G#, 2
 	note G#, 2
-	loopchannel 0, Music_LookRival_Ch2.mainloop
+	sound_loop 0, Music_LookRival_Ch2.mainloop
 
 Music_AfterTheRivalFight_Ch3:
-	notetype $c, $28
+	note_type 12, 2, 8
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note G#, 2
 	note F#, 2
 	note F_, 2
 	note D#, 2
-	loopchannel 0, Music_LookRival_Ch3.mainloop
+	sound_loop 0, Music_LookRival_Ch3.mainloop
 
 Music_AfterTheRivalFight_Ch4:
-	togglenoise $3
-	stereopanning $f
-	notetype $c
-	note D_, 4
-	note D_, 4
-	note D#, 2
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	loopchannel 0, Music_LookRival_Ch4.mainloop
+	toggle_noise 3
+	stereo_panning FALSE, TRUE
+	drum_speed 12
+	drum_note 3, 4
+	drum_note 3, 4
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	sound_loop 0, Music_LookRival_Ch4.mainloop
--- a/audio/music/azaleatown.asm
+++ b/audio/music/azaleatown.asm
@@ -1,53 +1,54 @@
 Music_AzaleaTown:
-	musicheader 4, 1, Music_AzaleaTown_Ch1
-	musicheader 1, 2, Music_AzaleaTown_Ch2
-	musicheader 1, 3, Music_AzaleaTown_Ch3
-	musicheader 1, 4, Music_AzaleaTown_Ch4
+	channel_count 4
+	channel 1, Music_AzaleaTown_Ch1
+	channel 2, Music_AzaleaTown_Ch2
+	channel 3, Music_AzaleaTown_Ch3
+	channel 4, Music_AzaleaTown_Ch4
 
 Music_AzaleaTown_Ch1:
 	tempo 160
-	volume $77
-	dutycycle $2
-	stereopanning $f
-	notetype $c, $a1
-	note __, 2
+	volume 7, 7
+	duty_cycle 2
+	stereo_panning FALSE, TRUE
+	note_type 12, 10, 1
+	rest 2
 .introloop:
-	intensity $a1
+	volume_envelope 10, 1
 	octave 3
 	note F_, 2
-	intensity $61
+	volume_envelope 6, 1
 	note F_, 2
 	note F_, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note F_, 2
-	intensity $61
+	volume_envelope 6, 1
 	note F_, 2
 	note F_, 2
 	note F_, 2
 	note F_, 2
-	loopchannel 2, .introloop
+	sound_loop 2, .introloop
 .mainloop:
-	callchannel .sub1
-	stereopanning $f0
-	intensity $a4
+	sound_call .sub1
+	stereo_panning TRUE, FALSE
+	volume_envelope 10, 4
 	note G#, 2
 	note A#, 1
-	note __, 3
+	rest 3
 	octave 4
 	note C_, 4
-	notetype $6, $a4
+	note_type 6, 10, 4
 	note G_, 1
 	note G#, 3
 	note F#, 4
 	note D#, 2
-	note __, 2
-	stereopanning $f
-	callchannel .sub1
-	stereopanning $f0
-	notetype $6, $a4
+	rest 2
+	stereo_panning FALSE, TRUE
+	sound_call .sub1
+	stereo_panning TRUE, FALSE
+	note_type 6, 10, 4
 	note D#, 4
 	note C_, 4
-	note __, 3
+	rest 3
 	note B_, 1
 	octave 4
 	note C_, 12
@@ -54,35 +55,35 @@
 	octave 3
 	note A#, 4
 	note F#, 4
-	stereopanning $f
-	callchannel .sub2
-	intensity $a3
+	stereo_panning FALSE, TRUE
+	sound_call .sub2
+	volume_envelope 10, 3
 	note A#, 4
 	octave 4
 	note C#, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
-	intensity $a1
+	rest 2
+	volume_envelope 10, 1
 	octave 3
 	note C#, 4
 	note A_, 2
-	note __, 14
-	callchannel .sub2
-	intensity $a3
+	rest 14
+	sound_call .sub2
+	volume_envelope 10, 3
 	octave 4
 	note C_, 1
 	note C#, 3
 	note F_, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
-	intensity $a1
+	rest 2
+	volume_envelope 10, 1
 	octave 3
 	note G_, 4
 	note A#, 4
 	note G_, 8
-	intensity $a2
+	volume_envelope 10, 2
 	note A#, 4
 	octave 4
 	note C#, 4
@@ -91,7 +92,7 @@
 	note F#, 4
 	note C#, 8
 	note F#, 4
-	note __, 4
+	rest 4
 	note A#, 4
 	octave 4
 	note C#, 4
@@ -99,9 +100,9 @@
 	note A#, 4
 	note G_, 4
 	note C#, 4
-	note __, 4
+	rest 4
 	note G_, 4
-	note __, 4
+	rest 4
 	octave 4
 	note C#, 4
 	note D#, 4
@@ -112,210 +113,210 @@
 	note C#, 4
 	octave 2
 	note G#, 4
-	note __, 8
-	notetype $c, $2f
+	rest 8
+	note_type 12, 2, -7
 	octave 3
 	note G#, 14
-	note __, 2
-	loopchannel 0, .mainloop
+	rest 2
+	sound_loop 0, .mainloop
 
 .sub1:
-	notetype $c, $a1
+	note_type 12, 10, 1
 	octave 4
 	note F_, 2
-	intensity $61
+	volume_envelope 6, 1
 	note F_, 2
 	note F_, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note D#, 2
-	intensity $61
+	volume_envelope 6, 1
 	note D#, 2
 	note D#, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note F_, 2
-	intensity $61
+	volume_envelope 6, 1
 	note F_, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note A#, 2
-	intensity $61
+	volume_envelope 6, 1
 	note A#, 2
 	note A#, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note G#, 2
-	intensity $61
+	volume_envelope 6, 1
 	note G#, 2
 	note G#, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note A_, 2
-	intensity $61
+	volume_envelope 6, 1
 	note A_, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note C_, 2
-	intensity $61
+	volume_envelope 6, 1
 	note C_, 2
 	note C_, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note C#, 2
-	intensity $61
+	volume_envelope 6, 1
 	note C#, 2
 	note C#, 2
 	note C#, 2
 	note C#, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note D#, 2
-	intensity $61
+	volume_envelope 6, 1
 	note D#, 2
 	note D#, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note C#, 2
-	intensity $61
+	volume_envelope 6, 1
 	note C#, 2
 	note C#, 2
 	note C#, 2
-	note __, 2
-	intensity $a1
+	rest 2
+	volume_envelope 10, 1
 	octave 3
 	note F_, 2
-	intensity $61
+	volume_envelope 6, 1
 	note F_, 2
 	note F_, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note F#, 2
-	intensity $61
+	volume_envelope 6, 1
 	note F#, 2
 	note F#, 2
 	note F#, 2
 	note F#, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note F_, 2
-	intensity $61
+	volume_envelope 6, 1
 	note F_, 2
 	note F_, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note D#, 2
-	intensity $61
+	volume_envelope 6, 1
 	note D#, 2
 	note D#, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note C#, 2
-	intensity $61
+	volume_envelope 6, 1
 	note C#, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note C_, 2
-	intensity $61
+	volume_envelope 6, 1
 	note C_, 2
 	note C_, 2
-	intensity $a1
+	volume_envelope 10, 1
 	octave 2
 	note A#, 2
-	intensity $61
+	volume_envelope 6, 1
 	note A#, 2
 	note A#, 2
-	intensity $a1
+	volume_envelope 10, 1
 	octave 3
 	note C#, 2
-	intensity $61
+	volume_envelope 6, 1
 	note C#, 2
-	endchannel
+	sound_ret
 
 .sub2:
-	intensity $61
+	volume_envelope 6, 1
 	note G#, 8
 	note G#, 8
-	intensity $81
+	volume_envelope 8, 1
 	note A_, 8
-	intensity $a1
+	volume_envelope 10, 1
 	note A_, 8
-	endchannel
+	sound_ret
 
 Music_AzaleaTown_Ch2:
-	vibrato $12, $23
-	dutycycle $2
-	stereopanning $f0
-	notetype $c, $62
-	note __, 1
+	vibrato 18, 2, 3
+	duty_cycle 2
+	stereo_panning TRUE, FALSE
+	note_type 12, 6, 2
+	rest 1
 	octave 4
 	note D_, 1
-	intensity $b1
+	volume_envelope 11, 1
 	note D#, 2
-	intensity $71
+	volume_envelope 7, 1
 	note D#, 2
 	note D#, 2
-	intensity $b1
+	volume_envelope 11, 1
 	note C#, 2
-	intensity $71
+	volume_envelope 7, 1
 	note C#, 2
 	note C#, 2
-	intensity $51
+	volume_envelope 5, 1
 	note C#, 2
 	note C#, 2
-	intensity $b1
+	volume_envelope 11, 1
 	note C_, 2
-	intensity $71
+	volume_envelope 7, 1
 	note C_, 2
 	note C_, 2
-	intensity $b1
+	volume_envelope 11, 1
 	note C#, 2
-	intensity $71
+	volume_envelope 7, 1
 	note C#, 2
 	note C#, 2
-	notetype $6, $b4
+	note_type 6, 11, 4
 	note F_, 7
-	dutycycle $1
+	duty_cycle 1
 	octave 5
 	note C_, 1
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note C#, 4
 	note C_, 2
 	note C#, 1
-	note __, 3
-	notetype $6, $b4
+	rest 3
+	note_type 6, 11, 4
 	note D#, 11
-	note __, 8
-	dutycycle $1
+	rest 8
+	duty_cycle 1
 	octave 5
 	note C_, 1
-	callchannel .sub1
-	note __, 2
+	sound_call .sub1
+	rest 2
 	note C#, 2
 	note C_, 2
 	octave 3
 	note G#, 2
-	notetype $6, $b4
-	note __, 3
+	note_type 6, 11, 4
+	rest 3
 	octave 4
 	note G_, 1
 	note G#, 12
 	note F#, 4
 	note F_, 4
-	dutycycle $0
+	duty_cycle 0
 	note D_, 1
 	note D#, 3
 	note C#, 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note G#, 4
-	note __, 4
+	rest 4
 	note F#, 4
-	note __, 4
+	rest 4
 	note F_, 4
 	note D#, 4
 	note F_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note C#, 8
-	note __, 12
+	rest 12
 	note D_, 1
 	note D#, 3
 	note C#, 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note G#, 4
-	note __, 4
+	rest 4
 	note A_, 4
-	note __, 4
+	rest 4
 	octave 5
 	note C_, 4
 	octave 4
@@ -323,331 +324,331 @@
 	octave 5
 	note C_, 3
 	note C#, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 4
-	note __, 4
+	rest 4
 	note D#, 4
-	note __, 4
+	rest 4
 	note C#, 4
-	dutycycle $2
+	duty_cycle 2
 	note F_, 4
 	note D#, 4
 	note C#, 4
 	note F_, 4
-	note __, 4
+	rest 4
 	note D#, 4
-	note __, 4
+	rest 4
 	note C#, 4
 	note F_, 4
 	note D#, 4
 	note C#, 4
 	note F_, 4
-	note __, 4
+	rest 4
 	note A#, 4
-	note __, 4
+	rest 4
 	octave 5
 	note C_, 4
-	notetype $c, $b7
+	note_type 12, 11, 7
 	octave 4
 	note G#, 12
 	note D#, 4
-	intensity $1f
+	volume_envelope 1, -7
 	note C_, 14
-	notetype $6, $b4
-	dutycycle $1
+	note_type 6, 11, 4
+	duty_cycle 1
 	note G#, 2
 	octave 5
 	note C_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note C#, 4
 	octave 4
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 5
 	note C_, 2
-	note __, 2
+	rest 2
 	note C#, 8
 	note D#, 8
 	note F_, 2
-	note __, 1
+	rest 1
 	note G_, 1
 	note G#, 12
 	note F_, 2
-	note __, 6
+	rest 6
 	note D#, 8
 	note F_, 2
-	note __, 1
+	rest 1
 	note C_, 1
-	notetype $c, $a8
-	vibrato $0, $0
+	note_type 12, 10, 8
+	vibrato 0, 0, 0
 	note C#, 8
-	intensity $a7
-	vibrato $12, $23
+	volume_envelope 10, 7
+	vibrato 18, 2, 3
 	note C#, 16
-	note __, 4
-	intensity $b4
-	dutycycle $2
+	rest 4
+	volume_envelope 11, 4
+	duty_cycle 2
 	octave 3
 	note A#, 2
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note F#, 8
-	note __, 2
+	rest 2
 	note F#, 2
 	note F_, 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note C#, 6
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 4
 	note C#, 1
-	notetype $6, $b4
-	note __, 1
+	note_type 6, 11, 4
+	rest 1
 	note D_, 1
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note D#, 12
-	intensity $b4
-	endchannel
+	volume_envelope 11, 4
+	sound_ret
 
 Music_AzaleaTown_Ch3:
-	stereopanning $ff
-	vibrato $6, $26
-	notetype $c, $25
+	stereo_panning TRUE, TRUE
+	vibrato 6, 2, 6
+	note_type 12, 2, 5
 	octave 2
 	note G#, 1
 	octave 3
 	note C_, 1
 	note C#, 1
-	note __, 5
+	rest 5
 	note C#, 1
-	note __, 3
+	rest 3
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 4
 	octave 3
 	note C#, 1
-	note __, 5
+	rest 5
 	note C#, 1
-	note __, 3
+	rest 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note G#, 4
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note G#, 4
 	note D#, 2
-	callchannel .sub1
+	sound_call .sub1
 	note G#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	callchannel .sub2
+	sound_call .sub2
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note F_, 2
 	octave 3
 	note A_, 4
 	octave 4
 	note C#, 1
-	note __, 3
+	rest 3
 	note F_, 1
-	note __, 1
-	callchannel .sub2
+	rest 1
+	sound_call .sub2
 	octave 2
 	note A#, 2
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note D#, 2
 	octave 2
 	note A#, 2
 	octave 3
 	note D#, 1
-	note __, 3
+	rest 3
 	note G_, 2
 	octave 2
 	note F#, 1
-	note __, 5
+	rest 5
 	note F#, 1
 	note F#, 1
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note F_, 1
 	note F#, 1
 	note G_, 1
-	note __, 5
+	rest 5
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note F#, 1
 	note G_, 1
 	note G#, 1
-	note __, 5
+	rest 5
 	note G#, 1
 	note G#, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note F#, 1
 	note G_, 1
 	note G#, 1
-	note __, 5
+	rest 5
 	note G#, 1
 	note G#, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 1
 	octave 3
 	note C_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note C#, 1
-	note __, 5
+	rest 5
 	note C#, 1
-	note __, 3
+	rest 3
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 4
 	octave 3
 	note F_, 1
-	note __, 5
+	rest 5
 	note F_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 4
 	note A_, 2
-	intensity $15
+	volume_envelope 1, 5
 	note A#, 1
-	note __, 1
-	intensity $25
+	rest 1
+	volume_envelope 2, 5
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 4
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 4
 	note A#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G_, 6
-	note __, 4
+	rest 4
 	note F#, 1
-	note __, 5
+	rest 5
 	note F#, 1
-	note __, 3
+	rest 3
 	note F#, 1
-	note __, 1
+	rest 1
 	note C#, 4
 	note G_, 1
-	note __, 5
+	rest 5
 	note G_, 1
-	note __, 3
+	rest 3
 	note C#, 4
 	note G_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 5
+	rest 5
 	note G#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note C#, 4
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 5
+	rest 5
 	note G#, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub2:
-	intensity $35
+	volume_envelope 3, 5
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
-	intensity $25
+	rest 1
+	volume_envelope 2, 5
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 Music_AzaleaTown_Ch4:
-	togglenoise $3
-	notetype $c
-	note F_, 2
+	toggle_noise 3
+	drum_speed 12
+	drum_note 6, 2
 .mainloop:
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note D#, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note D#, 2
-	note D_, 2
-	note G_, 1
-	note G_, 1
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note D#, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note D#, 2
-	note D_, 2
-	note F#, 2
-	loopchannel 0, .mainloop
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 0, .mainloop
--- a/audio/music/battletowerlobby.asm
+++ b/audio/music/battletowerlobby.asm
@@ -1,22 +1,23 @@
 Music_BattleTowerLobby:
-	musicheader 4, 1, Music_BattleTowerLobby_Ch1
-	musicheader 1, 2, Music_BattleTowerLobby_Ch2
-	musicheader 1, 3, Music_BattleTowerLobby_Ch3
-	musicheader 1, 4, Music_BattleTowerLobby_Ch4
+	channel_count 4
+	channel 1, Music_BattleTowerLobby_Ch1
+	channel 2, Music_BattleTowerLobby_Ch2
+	channel 3, Music_BattleTowerLobby_Ch3
+	channel 4, Music_BattleTowerLobby_Ch4
 
 Music_BattleTowerLobby_Ch1:
 	tempo 152
-	volume $77
-	dutycycle $3
-	tone $0001
-	vibrato $8, $22
-	stereopanning $f0
-	notetype $c, $72
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
+	vibrato 8, 2, 2
+	stereo_panning TRUE, FALSE
+	note_type 12, 7, 2
 .mainloop:
-	notetype $c, $72
+	note_type 12, 7, 2
 	octave 3
 	note G#, 2
-	notetype $c, $73
+	note_type 12, 7, 3
 	octave 2
 	note B_, 2
 	octave 3
@@ -28,9 +29,9 @@
 	octave 3
 	note E_, 2
 	note G#, 2
-	notetype $c, $72
+	note_type 12, 7, 2
 	note F#, 2
-	notetype $c, $73
+	note_type 12, 7, 3
 	octave 2
 	note B_, 2
 	octave 3
@@ -42,9 +43,9 @@
 	octave 3
 	note D#, 2
 	note F#, 2
-	notetype $c, $72
+	note_type 12, 7, 2
 	note G#, 2
-	notetype $c, $73
+	note_type 12, 7, 3
 	octave 2
 	note B_, 2
 	octave 3
@@ -57,9 +58,9 @@
 	note B_, 2
 	octave 4
 	note E_, 2
-	notetype $c, $72
+	note_type 12, 7, 2
 	note F#, 3
-	notetype $c, $73
+	note_type 12, 7, 3
 	note D_, 1
 	note E_, 2
 	octave 3
@@ -68,9 +69,9 @@
 	note E_, 2
 	note G#, 2
 	note B_, 2
-	notetype $c, $72
+	note_type 12, 7, 2
 	note C#, 2
-	notetype $c, $73
+	note_type 12, 7, 3
 	note D#, 2
 	note E_, 2
 	note C#, 1
@@ -77,11 +78,11 @@
 	octave 2
 	note B_, 1
 	note A_, 4
-	notetype $c, $62
+	note_type 12, 6, 2
 	note A_, 4
-	notetype $c, $72
+	note_type 12, 7, 2
 	note B_, 2
-	notetype $c, $73
+	note_type 12, 7, 3
 	octave 3
 	note C#, 2
 	note D#, 2
@@ -88,12 +89,12 @@
 	note E_, 1
 	note F#, 1
 	note G#, 4
-	notetype $c, $62
+	note_type 12, 6, 2
 	octave 2
 	note G#, 4
-	notetype $c, $72
+	note_type 12, 7, 2
 	note A_, 2
-	notetype $c, $73
+	note_type 12, 7, 3
 	note B_, 2
 	octave 3
 	note C#, 2
@@ -103,26 +104,26 @@
 	note E_, 2
 	note F#, 2
 	note A_, 2
-	notetype $c, $72
+	note_type 12, 7, 2
 	note B_, 2
-	notetype $c, $73
+	note_type 12, 7, 3
 	note B_, 4
 	note A_, 1
 	note G#, 1
-	notetype $c, $72
+	note_type 12, 7, 2
 	note F#, 4
-	notetype $c, $75
+	note_type 12, 7, 5
 	octave 2
 	note B_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_BattleTowerLobby_Ch2:
-	dutycycle $2
-	vibrato $10, $34
-	stereopanning $f
-	notetype $c, $82
+	duty_cycle 2
+	vibrato 16, 3, 4
+	stereo_panning FALSE, TRUE
+	note_type 12, 8, 2
 .mainloop:
-	notetype $c, $82
+	note_type 12, 8, 2
 	octave 4
 	note E_, 2
 	note E_, 4
@@ -137,11 +138,11 @@
 	note E_, 1
 	octave 3
 	note B_, 4
-	notetype $c, $65
+	note_type 12, 6, 5
 	note F#, 4
 	octave 2
 	note B_, 4
-	notetype $c, $82
+	note_type 12, 8, 2
 	octave 4
 	note E_, 2
 	note E_, 4
@@ -154,44 +155,44 @@
 	note G#, 2
 	note A_, 3
 	note F#, 1
-	notetype $c, $87
+	note_type 12, 8, 7
 	note G#, 12
-	notetype $c, $82
+	note_type 12, 8, 2
 	octave 3
 	note A_, 2
-	notetype $c, $84
+	note_type 12, 8, 4
 	note A_, 4
 	note F#, 1
 	note G#, 1
 	note A_, 4
-	notetype $c, $82
+	note_type 12, 8, 2
 	note C#, 4
 	octave 4
 	note G#, 2
-	notetype $c, $84
+	note_type 12, 8, 4
 	note G#, 4
 	note F#, 1
 	note G#, 1
 	note E_, 4
-	notetype $c, $82
+	note_type 12, 8, 2
 	octave 3
 	note E_, 4
 	octave 4
 	note F#, 2
-	notetype $c, $84
+	note_type 12, 8, 4
 	note F#, 4
 	note A_, 1
 	note G#, 1
 	note A_, 4
 	note D_, 4
-	notetype $c, $82
+	note_type 12, 8, 2
 	note E_, 2
-	notetype $c, $84
+	note_type 12, 8, 4
 	note E_, 4
 	note F#, 1
 	note E_, 1
 	note D#, 4
-	notetype $c, $73
+	note_type 12, 7, 3
 	octave 3
 	note D#, 1
 	note F#, 1
@@ -198,52 +199,52 @@
 	note B_, 1
 	octave 4
 	note D#, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_BattleTowerLobby_Ch3:
-	notetype $c, $11
+	note_type 12, 1, 1
 .mainloop:
 	octave 2
 	note B_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	octave 2
 	note B_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note D#, 2
 	octave 2
 	note B_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	octave 2
 	note A_, 2
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
 	note B_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	octave 2
 	note A_, 2
@@ -258,7 +259,7 @@
 	octave 3
 	note C#, 2
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 2
 	octave 3
@@ -272,7 +273,7 @@
 	note B_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	octave 2
 	note F#, 2
@@ -294,15 +295,15 @@
 	note E_, 2
 	note D#, 2
 	note F#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_BattleTowerLobby_Ch4:
-	togglenoise $0
+	toggle_noise 0
 .mainloop:
-	notetype $c
-	note __, 2
-	note F_, 4
-	note F_, 4
-	note F_, 2
-	note F_, 4
-	loopchannel 0, .mainloop
+	drum_speed 12
+	rest 2
+	drum_note 6, 4
+	drum_note 6, 4
+	drum_note 6, 2
+	drum_note 6, 4
+	sound_loop 0, .mainloop
--- a/audio/music/battletowertheme.asm
+++ b/audio/music/battletowertheme.asm
@@ -1,32 +1,33 @@
 Music_BattleTowerTheme:
-	musicheader 4, 1, Music_BattleTowerTheme_Ch1
-	musicheader 1, 2, Music_BattleTowerTheme_Ch2
-	musicheader 1, 3, Music_BattleTowerTheme_Ch3
-	musicheader 1, 4, Music_BattleTowerTheme_Ch4
+	channel_count 4
+	channel 1, Music_BattleTowerTheme_Ch1
+	channel 2, Music_BattleTowerTheme_Ch2
+	channel 3, Music_BattleTowerTheme_Ch3
+	channel 4, Music_BattleTowerTheme_Ch4
 
 Music_BattleTowerTheme_Ch1:
 	tempo 141
-	volume $77
-	tone $0001
-	vibrato $12, $34
-	stereopanning $f
-	notetype $6, $94
+	volume 7, 7
+	pitch_offset 1
+	vibrato 18, 3, 4
+	stereo_panning FALSE, TRUE
+	note_type 6, 9, 4
 .mainloop:
-	note __, 16
-	note __, 16
-	note __, 12
-	note __, 12
-	dutycycle $2
+	rest 16
+	rest 16
+	rest 12
+	rest 12
+	duty_cycle 2
 	octave 3
 	note C_, 2
 	note E_, 2
 	note G_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note G_, 2
-	note __, 2
+	rest 2
 	note C_, 4
-	note __, 4
-	intensity $92
+	rest 4
+	volume_envelope 9, 2
 	note G_, 2
 	note F_, 2
 	note C_, 2
@@ -39,13 +40,13 @@
 	octave 3
 	note G_, 2
 	note E_, 2
-	callchannel .sub1
+	sound_call .sub1
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A#, 4
-	note __, 4
-	intensity $92
+	rest 4
+	volume_envelope 9, 2
 	octave 3
 	note G_, 2
 	note D#, 2
@@ -59,9 +60,9 @@
 	octave 3
 	note A_, 2
 	note F_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note D_, 2
-	note __, 2
+	rest 2
 	note E_, 4
 	note F_, 4
 	note G_, 2
@@ -71,7 +72,7 @@
 	note A#, 8
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	note D_, 4
 	note E_, 4
 	note F_, 2
@@ -80,7 +81,7 @@
 	octave 2
 	note A_, 8
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 4
 	note D_, 4
@@ -92,17 +93,17 @@
 	note A#, 4
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note F_, 4
-	note __, 4
+	rest 4
 	octave 2
 	note A_, 2
 	octave 3
 	note C_, 2
 	note E_, 4
-	note __, 4
-	dutycycle $3
+	rest 4
+	duty_cycle 3
 	note C_, 2
 	note E_, 2
 	note G_, 4
@@ -171,95 +172,95 @@
 	note D#, 4
 	note C#, 4
 	note F_, 4
-	intensity $94
+	volume_envelope 9, 4
 	octave 4
 	note C_, 4
 	octave 3
 	note E_, 6
-	note __, 2
+	rest 2
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 4
-	note __, 12
-	loopchannel 0, .mainloop
+	rest 12
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $94
+	volume_envelope 9, 4
 	note A_, 2
-	note __, 2
+	rest 2
 	note C_, 4
-	note __, 4
+	rest 4
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note C_, 4
 	note F_, 4
-	note __, 4
+	rest 4
 	note A_, 4
-	endchannel
+	sound_ret
 
 Music_BattleTowerTheme_Ch2:
-	vibrato $12, $34
+	vibrato 18, 3, 4
 .mainloop:
-	dutycycle $3
-	notetype $6, $b8
+	duty_cycle 3
+	note_type 6, 11, 8
 	octave 3
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 4
-	note __, 4
+	rest 4
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 4
 	octave 3
 	note F_, 4
-	note __, 4
+	rest 4
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 4
-	note __, 4
-	tone $0001
+	rest 4
+	pitch_offset 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 4
-	note __, 4
-	tone 0
-	intensity $b7
+	rest 4
+	pitch_offset 0
+	volume_envelope 11, 7
 	note G_, 2
 	octave 4
 	note C_, 2
 	note E_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note A#, 4
-	note __, 2
+	rest 2
 	note F_, 2
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note C_, 12
-	notetype $6, $b7
-	callchannel .sub1
-	notetype $c, $b7
+	note_type 6, 11, 7
+	sound_call .sub1
+	note_type 12, 11, 7
 	note A#, 2
-	note __, 1
+	rest 1
 	note G_, 1
 	note A_, 12
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note G_, 1
 	note A_, 1
@@ -266,13 +267,13 @@
 	note A#, 4
 	note D_, 4
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 4
 	note G_, 1
 	note A_, 1
 	note F_, 8
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 4
 	note A#, 1
 	note A_, 1
@@ -279,13 +280,13 @@
 	note A#, 4
 	note D#, 4
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 4
 	note G_, 1
 	note F_, 1
 	note E_, 8
-	stereopanning $f0
-	dutycycle $2
+	stereo_panning TRUE, FALSE
+	duty_cycle 2
 	note F_, 6
 	note A_, 1
 	note A#, 1
@@ -327,25 +328,25 @@
 	note F_, 2
 	note G#, 2
 	note G_, 5
-	note __, 1
-	notetype $6, $b7
+	rest 1
+	note_type 6, 11, 7
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 4
-	note __, 4
-	stereopanning $ff
-	dutycycle $3
+	rest 4
+	stereo_panning TRUE, TRUE
+	duty_cycle 3
 	octave 3
 	note C_, 2
 	note D_, 2
 	note E_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note F_, 2
-	note __, 2
+	rest 2
 	note F_, 8
 	note C_, 2
 	note F_, 2
@@ -354,121 +355,121 @@
 	octave 4
 	note A#, 4
 	note A_, 4
-	endchannel
+	sound_ret
 
 Music_BattleTowerTheme_Ch3:
-	vibrato $12, $34
-	notetype $6, $16
+	vibrato 18, 3, 4
+	note_type 6, 1, 6
 .mainloop:
-	stereopanning $ff
-	callchannel .sub1
+	stereo_panning TRUE, TRUE
+	sound_call .sub1
 	note C_, 2
-	note __, 2
+	rest 2
 	note F_, 4
-	note __, 4
+	rest 4
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 4
-	note __, 4
-	stereopanning $f0
+	rest 4
+	stereo_panning TRUE, FALSE
 	note C_, 8
-	callchannel .sub1
+	sound_call .sub1
 	note C_, 2
-	note __, 2
+	rest 2
 	note F_, 4
-	note __, 4
+	rest 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 4
 	note C_, 4
-	note __, 4
+	rest 4
 	note C_, 2
-	note __, 2
-	callchannel .sub1
+	rest 2
+	sound_call .sub1
 	octave 2
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D#, 4
-	note __, 4
+	rest 4
 	octave 2
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 4
 	note F_, 4
-	note __, 4
+	rest 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 2
 	octave 2
 	note A#, 2
-	note __, 2
+	rest 2
 	note A#, 4
 	note F_, 4
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 2
 	octave 2
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	note F_, 8
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 4
 	octave 2
 	note F_, 4
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	note F_, 8
 	note D#, 2
-	note __, 2
+	rest 2
 	note D#, 4
 	octave 2
 	note G_, 4
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D#, 8
 	note F_, 2
-	note __, 2
+	rest 2
 	note C_, 4
-	note __, 4
+	rest 4
 	note C_, 2
 	octave 2
 	note F_, 2
 	note G_, 4
-	note __, 4
-	stereopanning $ff
+	rest 4
+	stereo_panning TRUE, TRUE
 	note G_, 2
 	octave 3
 	note C_, 2
@@ -476,22 +477,22 @@
 	note F_, 4
 	note C_, 8
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note A_, 4
 	note C_, 6
-	note __, 2
+	rest 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 4
 	note D_, 8
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note A_, 4
 	note F_, 4
@@ -499,21 +500,21 @@
 	note F_, 4
 	note C#, 8
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note F_, 8
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note C_, 4
 	note F_, 8
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note G_, 4
 	note C_, 4
 	note D_, 4
@@ -521,21 +522,21 @@
 	note F_, 4
 	note C_, 8
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note A_, 4
 	note C_, 8
 	note F_, 2
-	note __, 2
+	rest 2
 	note F_, 4
 	octave 2
 	note A#, 8
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	octave 2
 	note A#, 4
@@ -547,9 +548,9 @@
 	note G#, 8
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note G#, 4
 	octave 2
 	note G#, 8
@@ -558,128 +559,128 @@
 	note C_, 4
 	note G_, 8
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note G_, 4
-	note __, 12
-	loopchannel 0, .mainloop
+	rest 12
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	note F_, 4
-	note __, 4
+	rest 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 4
 	note C_, 4
-	note __, 4
+	rest 4
 	note C_, 2
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
 Music_BattleTowerTheme_Ch4:
-	togglenoise $3
-	notetype $c
+	toggle_noise 3
+	drum_speed 12
 .mainloop:
-	callchannel .sub1
-	note D_, 2
-	note D_, 4
-	note D_, 1
-	note D_, 1
-	note D_, 4
-	note D_, 1
-	note C#, 1
-	note D_, 1
-	note C#, 1
+	sound_call .sub1
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 4
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 2, 1
 .loop1:
-	callchannel .sub1
-	callchannel .sub2
-	loopchannel 2, .loop1
-	callchannel .sub3
-	callchannel .sub2
-	callchannel .sub3
-	note D_, 2
-	note D_, 4
-	note D_, 1
-	note D_, 1
-	note D_, 8
+	sound_call .sub1
+	sound_call .sub2
+	sound_loop 2, .loop1
+	sound_call .sub3
+	sound_call .sub2
+	sound_call .sub3
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 8
 .loop2:
-	callchannel .sub4
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note C#, 1
-	note D_, 1
-	note C#, 1
-	loopchannel 3, .loop2
-	callchannel .sub4
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	note D_, 4
-	note D_, 1
-	note C#, 1
-	note D_, 1
-	note C#, 1
-	loopchannel 0, .mainloop
+	sound_call .sub4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	sound_loop 3, .loop2
+	sound_call .sub4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 4
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	sound_loop 0, .mainloop
 
 .sub1:
-	note D_, 2
-	note D_, 4
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 4
-	note D_, 1
-	note D_, 1
-	endchannel
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_ret
 
 .sub2:
-	note D_, 2
-	note D_, 4
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note C#, 1
-	note D_, 1
-	note C#, 1
-	endchannel
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	sound_ret
 
 .sub3:
-	note D_, 2
-	note D_, 4
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	endchannel
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_ret
 
 .sub4:
-	note D_, 2
-	note C#, 2
-	note D_, 2
-	note D_, 1
-	note C#, 1
-	note D_, 2
-	note C#, 2
-	note D_, 2
-	note D_, 1
-	note C#, 1
-	endchannel
+	drum_note 3, 2
+	drum_note 2, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 3, 2
+	drum_note 2, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 2, 1
+	sound_ret
--- a/audio/music/bicycle.asm
+++ b/audio/music/bicycle.asm
@@ -1,30 +1,31 @@
 Music_Bicycle:
-	musicheader 4, 1, Music_Bicycle_Ch1
-	musicheader 1, 2, Music_Bicycle_Ch2
-	musicheader 1, 3, Music_Bicycle_Ch3
-	musicheader 1, 4, Music_Bicycle_Ch4
+	channel_count 4
+	channel 1, Music_Bicycle_Ch1
+	channel 2, Music_Bicycle_Ch2
+	channel 3, Music_Bicycle_Ch3
+	channel 4, Music_Bicycle_Ch4
 
 Music_Bicycle_Ch1:
 	tempo 140
-	volume $77
-	dutycycle $3
-	tone $0001
-	stereopanning $f
-	vibrato $8, $15
-	notetype $c, $b4
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
+	stereo_panning FALSE, TRUE
+	vibrato 8, 1, 5
+	note_type 12, 11, 4
 	octave 3
 	note B_, 6
 	note A_, 6
 	note G_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note A_, 6
-	intensity $b6
+	volume_envelope 11, 6
 	note A_, 8
-	intensity $b2
+	volume_envelope 11, 2
 	note F#, 2
 .mainloop:
-	stereopanning $f
-	intensity $b2
+	stereo_panning FALSE, TRUE
+	volume_envelope 11, 2
 	note G_, 2
 	note G_, 2
 	note E_, 2
@@ -90,9 +91,9 @@
 	note F#, 2
 	note G_, 2
 	note F#, 2
-	intensity $82
+	volume_envelope 8, 2
 	note F#, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note A_, 2
 	note G_, 2
 	note F#, 2
@@ -99,8 +100,8 @@
 	note G_, 2
 	note G#, 2
 	note A_, 2
-	stereopanning $f0
-	intensity $b6
+	stereo_panning TRUE, FALSE
+	volume_envelope 11, 6
 	note B_, 4
 	note G_, 4
 	octave 4
@@ -167,19 +168,19 @@
 	note G_, 2
 	note G#, 2
 	note A_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_Bicycle_Ch2:
-	dutycycle $2
-	vibrato $10, $24
-	stereopanning $f0
-	notetype $c, $c6
+	duty_cycle 2
+	vibrato 16, 2, 4
+	stereo_panning TRUE, FALSE
+	note_type 12, 12, 6
 	octave 4
 	note D_, 6
 	note C_, 6
 	octave 3
 	note B_, 4
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note D_, 2
 	note D_, 1
@@ -188,31 +189,31 @@
 	note D_, 1
 	note E_, 1
 	note D_, 2
-	intensity $c3
+	volume_envelope 12, 3
 	note C_, 2
 	octave 3
 	note B_, 2
 	note A_, 2
 .mainloop:
-	stereopanning $ff
-	dutycycle $2
-	intensity $c3
+	stereo_panning TRUE, TRUE
+	duty_cycle 2
+	volume_envelope 12, 3
 	octave 3
 	note B_, 4
 	note G_, 4
 	note A_, 4
 	note F#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note G_, 2
 	note F#, 2
 	note E_, 2
 	note F#, 2
-	intensity $c5
+	volume_envelope 12, 5
 	note D_, 8
-	intensity $c4
+	volume_envelope 12, 4
 	note E_, 4
 	note G_, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note E_, 2
 	note B_, 2
 	note A_, 2
@@ -221,24 +222,24 @@
 	note G_, 2
 	note A_, 2
 	note G_, 2
-	intensity $c5
+	volume_envelope 12, 5
 	note F#, 8
-	intensity $c3
+	volume_envelope 12, 3
 	note B_, 4
 	note G_, 4
 	note A_, 4
 	note F#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note G_, 2
 	note F#, 2
 	note E_, 2
 	note F#, 2
-	intensity $c5
+	volume_envelope 12, 5
 	note D_, 8
-	intensity $c4
+	volume_envelope 12, 4
 	note E_, 4
 	note G_, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note E_, 2
 	octave 4
 	note E_, 2
@@ -250,27 +251,27 @@
 	note C_, 2
 	note D_, 2
 	note E_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note F#, 8
-	stereopanning $f
-	callchannel .sub1
+	stereo_panning FALSE, TRUE
+	sound_call .sub1
 	note F#, 4
-	intensity $c3
+	volume_envelope 12, 3
 	note A_, 2
 	note D_, 2
 	note E_, 2
 	note F_, 2
 	note F#, 4
-	intensity $c7
-	callchannel .sub1
+	volume_envelope 12, 7
+	sound_call .sub1
 	note F#, 4
-	intensity $c3
+	volume_envelope 12, 3
 	note A_, 2
 	note B_, 2
 	note A_, 2
 	note G_, 2
 	note F#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note G_, 6
@@ -282,11 +283,11 @@
 	note E_, 6
 	note G_, 6
 	note E_, 4
-	endchannel
+	sound_ret
 
 Music_Bicycle_Ch3:
-	notetype $c, $14
-	note __, 16
+	note_type 12, 1, 4
+	rest 16
 	octave 3
 	note A_, 2
 	octave 4
@@ -300,215 +301,215 @@
 	note D_, 2
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	callchannel .sub1
+	rest 1
+	sound_call .sub1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 .loop1:
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
-	loopchannel 2, .loop1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 2, .loop1
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 Music_Bicycle_Ch4:
-	togglenoise $0
-	notetype $c
-	note __, 16
-	note __, 16
+	toggle_noise 0
+	drum_speed 12
+	rest 16
+	rest 16
 .mainloop:
-	note __, 2
+	rest 2
 .loop1:
-	stereopanning $f0
-	note F_, 4
-	loopchannel 12, .loop1
-	note F_, 4
-	note F_, 4
-	stereopanning $ff
-	note F_, 2
-	note F_, 2
-	note F_, 2
-	loopchannel 0, .mainloop
+	stereo_panning TRUE, FALSE
+	drum_note 6, 4
+	sound_loop 12, .loop1
+	drum_note 6, 4
+	drum_note 6, 4
+	stereo_panning TRUE, TRUE
+	drum_note 6, 2
+	drum_note 6, 2
+	drum_note 6, 2
+	sound_loop 0, .mainloop
--- a/audio/music/buenaspassword.asm
+++ b/audio/music/buenaspassword.asm
@@ -1,71 +1,72 @@
 Music_BuenasPassword:
-	musicheader 4, 1, Music_BuenasPassword_Ch1
-	musicheader 1, 2, Music_BuenasPassword_Ch2
-	musicheader 1, 3, Music_BuenasPassword_Ch3
-	musicheader 1, 4, Music_BuenasPassword_Ch4
+	channel_count 4
+	channel 1, Music_BuenasPassword_Ch1
+	channel 2, Music_BuenasPassword_Ch2
+	channel 3, Music_BuenasPassword_Ch3
+	channel 4, Music_BuenasPassword_Ch4
 
 Music_BuenasPassword_Ch1:
 	tempo 136
-	volume $77
-	tone $0001
-	notetype $c, $b3
-	note __, 8
+	volume 7, 7
+	pitch_offset 1
+	note_type 12, 11, 3
+	rest 8
 .mainloop:
-	stereopanning $ff
-	note __, 16
-	note __, 16
-	dutycycle $3
-	notetype $6, $97
-	stereopanning $f
+	stereo_panning TRUE, TRUE
+	rest 16
+	rest 16
+	duty_cycle 3
+	note_type 6, 9, 7
+	stereo_panning FALSE, TRUE
 	octave 4
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	note G#, 2
-	note __, 10
-	note __, 10
-	stereopanning $f0
+	rest 10
+	rest 10
+	stereo_panning TRUE, FALSE
 	note C#, 2
 	note F_, 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	note G#, 2
-	note __, 12
-	dutycycle $2
-	callchannel .sub1
-	stereopanning $ff
-	callchannel Music_BuenasPassword_Ch2.sub3
-	callchannel .sub2
-	callchannel .sub1
-	stereopanning $ff
-	callchannel Music_BuenasPassword_Ch2.sub3
-	callchannel .sub2
-	callchannel .sub1
-	dutycycle $1
+	rest 12
+	duty_cycle 2
+	sound_call .sub1
+	stereo_panning TRUE, TRUE
+	sound_call Music_BuenasPassword_Ch2.sub3
+	sound_call .sub2
+	sound_call .sub1
+	stereo_panning TRUE, TRUE
+	sound_call Music_BuenasPassword_Ch2.sub3
+	sound_call .sub2
+	sound_call .sub1
+	duty_cycle 1
 	note C#, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 1
+	rest 1
 	note G#, 2
-	note __, 1
+	rest 1
 	note A#, 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
 	note G#, 2
 	note B_, 2
@@ -88,140 +89,140 @@
 	note D#, 1
 	note G_, 3
 	note B_, 2
-	note __, 2
+	rest 2
 	note A#, 2
-	note __, 2
+	rest 2
 	note G#, 2
-	note __, 1
+	rest 1
 	note F#, 2
-	note __, 1
+	rest 1
 	note D#, 2
 	note C#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note C#, 2
-	note __, 2
+	rest 2
 	note G#, 2
 	octave 4
 	note C#, 2
 	note F_, 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G#, 1
 	note F#, 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
 	note G#, 3
 	note F#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G#, 1
 	note D#, 2
 	note F#, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
 
 .sub1:
-	stereopanning $f
-	notetype $6, $84
+	stereo_panning FALSE, TRUE
+	note_type 6, 8, 4
 	octave 4
 	note D#, 2
-	intensity $71
+	volume_envelope 7, 1
 	note C#, 1
 	note C_, 1
-	intensity $51
+	volume_envelope 5, 1
 	octave 3
 	note A#, 1
 	note G#, 1
-	intensity $31
+	volume_envelope 3, 1
 	note G_, 1
 	note F_, 1
-	intensity $11
+	volume_envelope 1, 1
 	note D#, 1
 	note C#, 1
 	note C_, 1
-	note __, 1
-	notetype $c, $84
-	endchannel
+	rest 1
+	note_type 12, 8, 4
+	sound_ret
 
 .sub2:
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
 Music_BuenasPassword_Ch2:
-	vibrato $12, $34
-	dutycycle $2
-	notetype $c, $a5
-	note __, 7
+	vibrato 18, 3, 4
+	duty_cycle 2
+	note_type 12, 10, 5
+	rest 7
 	octave 3
 	note F#, 1
 .mainloop:
-	stereopanning $ff
-	callchannel .sub3
-	callchannel .sub1
-	stereopanning $ff
-	callchannel .sub2
+	stereo_panning TRUE, TRUE
+	sound_call .sub3
+	sound_call .sub1
+	stereo_panning TRUE, TRUE
+	sound_call .sub2
 	octave 3
 	note B_, 2
 	note A#, 2
 	note B_, 2
 	note G#, 16
-	callchannel .sub1
-	stereopanning $ff
-	callchannel .sub2
+	sound_call .sub1
+	stereo_panning TRUE, TRUE
+	sound_call .sub2
 	note B_, 2
 	note A#, 2
 	note B_, 2
 	note G#, 16
-	callchannel .sub1
+	sound_call .sub1
 	note F#, 2
-	note __, 2
+	rest 2
 	note G#, 2
-	note __, 2
+	rest 2
 	note A#, 2
-	note __, 1
+	rest 1
 	note B_, 2
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note D#, 2
-	note __, 2
+	rest 2
 	note G#, 2
 	note F#, 2
 	note G#, 2
@@ -235,23 +236,23 @@
 	note C#, 1
 	note D#, 8
 	note F#, 2
-	note __, 2
+	rest 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 1
+	rest 1
 	note C#, 2
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 2
 	note F_, 2
@@ -260,101 +261,101 @@
 	note A#, 1
 	note B_, 1
 	note G#, 10
-	intensity $84
+	volume_envelope 8, 4
 	octave 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	intensity $a5
-	loopchannel 0, .mainloop
+	rest 1
+	volume_envelope 10, 5
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 2
-	stereopanning $f0
+	rest 2
+	stereo_panning TRUE, FALSE
 	octave 4
 	note G#, 1
-	notetype $6, $81
+	note_type 6, 8, 1
 	note G_, 1
 	note F_, 1
-	intensity $71
+	volume_envelope 7, 1
 	note D#, 1
 	note C#, 1
-	intensity $61
+	volume_envelope 6, 1
 	note C_, 1
 	octave 3
 	note A#, 1
-	intensity $41
+	volume_envelope 4, 1
 	note G#, 1
-	intensity $21
+	volume_envelope 2, 1
 	note G_, 1
 	note F_, 1
-	note __, 1
-	notetype $c, $a5
-	endchannel
+	rest 1
+	note_type 12, 10, 5
+	sound_ret
 
 .sub2:
 	octave 4
 	note G#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note F_, 2
-	note __, 1
+	rest 1
 	note D#, 2
-	note __, 1
+	rest 1
 	note C#, 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note D#, 2
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
 .sub3:
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
 	note G#, 3
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
 	note G#, 2
@@ -361,36 +362,36 @@
 	octave 3
 	note F#, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
 	note G#, 3
-	endchannel
+	sound_ret
 
 Music_BuenasPassword_Ch3:
-	notetype $c, $14
-	note __, 8
+	note_type 12, 1, 4
+	rest 8
 .mainloop:
 .loop1:
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 1
 	octave 3
@@ -397,107 +398,107 @@
 	note D#, 2
 	octave 2
 	note G#, 1
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note G#, 4
-	loopchannel 3, .loop1
+	sound_loop 3, .loop1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 1
 	octave 2
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 1
 	octave 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note A#, 2
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note F#, 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note B_, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 2
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 2
 	octave 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G#, 2
 	note A#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G_, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 2
 	octave 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note G_, 2
-	callchannel .sub2
+	sound_call .sub2
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note F_, 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note G#, 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F_, 2
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 2
-	callchannel .sub2
+	sound_call .sub2
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note B_, 1
 	note G#, 2
 	octave 3
@@ -504,22 +505,22 @@
 	note D#, 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 1
 	octave 3
@@ -528,106 +529,106 @@
 	note G#, 1
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note C#, 1
 	note F_, 2
 	note C#, 1
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note B_, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note B_, 2
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 2
-	endchannel
+	sound_ret
 
 Music_BuenasPassword_Ch4:
-	togglenoise $3
-	notetype $c
-	note D#, 2
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
+	toggle_noise 3
+	drum_speed 12
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
 .mainloop:
 .loop1:
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	loopchannel 4, .loop1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	stereopanning $ff
-	note D#, 2
-	stereopanning $f0
-	note G_, 2
-	stereopanning $ff
-	note D_, 2
-	stereopanning $f
-	note G_, 1
-	note G_, 1
-	stereopanning $f0
-	note G_, 2
-	stereopanning $ff
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_loop 4, .loop1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	stereo_panning TRUE, TRUE
+	drum_note 4, 2
+	stereo_panning TRUE, FALSE
+	drum_note 8, 2
+	stereo_panning TRUE, TRUE
+	drum_note 3, 2
+	stereo_panning FALSE, TRUE
+	drum_note 8, 1
+	drum_note 8, 1
+	stereo_panning TRUE, FALSE
+	drum_note 8, 2
+	stereo_panning TRUE, TRUE
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_loop 0, .mainloop
 
 .sub1:
-	stereopanning $ff
-	note D#, 2
-	stereopanning $f0
-	note G_, 2
-	stereopanning $ff
-	note D_, 2
-	stereopanning $f
-	note G_, 1
-	note G_, 1
-	stereopanning $f0
-	note G_, 2
-	stereopanning $ff
-	note D#, 2
-	note D_, 2
-	stereopanning $f
-	note G_, 2
-	endchannel
+	stereo_panning TRUE, TRUE
+	drum_note 4, 2
+	stereo_panning TRUE, FALSE
+	drum_note 8, 2
+	stereo_panning TRUE, TRUE
+	drum_note 3, 2
+	stereo_panning FALSE, TRUE
+	drum_note 8, 1
+	drum_note 8, 1
+	stereo_panning TRUE, FALSE
+	drum_note 8, 2
+	stereo_panning TRUE, TRUE
+	drum_note 4, 2
+	drum_note 3, 2
+	stereo_panning FALSE, TRUE
+	drum_note 8, 2
+	sound_ret
 
 .sub2:
-	stereopanning $ff
-	note D#, 2
-	stereopanning $f0
-	note G_, 2
-	stereopanning $ff
-	note D_, 2
-	stereopanning $f
-	note G_, 1
-	note G_, 1
-	stereopanning $f0
-	note G_, 2
-	stereopanning $ff
-	note D#, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	endchannel
+	stereo_panning TRUE, TRUE
+	drum_note 4, 2
+	stereo_panning TRUE, FALSE
+	drum_note 8, 2
+	stereo_panning TRUE, TRUE
+	drum_note 3, 2
+	stereo_panning FALSE, TRUE
+	drum_note 8, 1
+	drum_note 8, 1
+	stereo_panning TRUE, FALSE
+	drum_note 8, 2
+	stereo_panning TRUE, TRUE
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_ret
--- a/audio/music/bugcatchingcontest.asm
+++ b/audio/music/bugcatchingcontest.asm
@@ -1,55 +1,56 @@
 Music_BugCatchingContest:
-	musicheader 4, 1, Music_BugCatchingContest_Ch1
-	musicheader 1, 2, Music_BugCatchingContest_Ch2
-	musicheader 1, 3, Music_BugCatchingContest_Ch3
-	musicheader 1, 4, Music_BugCatchingContest_Ch4
+	channel_count 4
+	channel 1, Music_BugCatchingContest_Ch1
+	channel 2, Music_BugCatchingContest_Ch2
+	channel 3, Music_BugCatchingContest_Ch3
+	channel 4, Music_BugCatchingContest_Ch4
 
 Music_BugCatchingContest_Ch1:
 	tempo 144
-	volume $77
-	stereopanning $f
-	vibrato $8, $24
-	dutycycle $2
-	notetype $c, $b7
-	note __, 8
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	vibrato 8, 2, 4
+	duty_cycle 2
+	note_type 12, 11, 7
+	rest 8
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 3
-	note __, 1
+	rest 1
 	note C#, 1
 	note C#, 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 3
-	note __, 1
+	rest 1
 	note D_, 1
 	note D_, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 3
-	note __, 1
+	rest 1
 	note D#, 1
 	note D#, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 3
-	note __, 1
+	rest 1
 	note E_, 1
 	note E_, 1
 .mainloop:
-	notetype $c, $b1
+	note_type 12, 11, 1
 .loop1:
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	loopchannel 4, .loop1
+	sound_loop 4, .loop1
 .loop2:
-	note __, 2
+	rest 2
 	note B_, 2
-	loopchannel 8, .loop2
-	intensity $b4
-	dutycycle $1
+	sound_loop 8, .loop2
+	volume_envelope 11, 4
+	duty_cycle 1
 	octave 3
 	note B_, 6
 	note A_, 1
@@ -58,21 +59,21 @@
 	octave 4
 	note D_, 1
 	note E_, 1
-	intensity $b1
-	dutycycle $2
+	volume_envelope 11, 1
+	duty_cycle 2
 .loop3:
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	loopchannel 4, .loop3
-	note __, 2
+	sound_loop 4, .loop3
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	notetype $6, $b7
+	note_type 6, 11, 7
 	octave 4
 	note E_, 4
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
 	octave 4
@@ -81,31 +82,31 @@
 	note B_, 8
 	octave 5
 	note E_, 8
-	intensity $b1
-	note __, 4
+	volume_envelope 11, 1
+	rest 4
 	octave 2
 	note B_, 4
-	note __, 4
+	rest 4
 	octave 3
 	note E_, 4
-	note __, 4
+	rest 4
 	note E_, 4
 .loop4:
-	note __, 4
+	rest 4
 	octave 2
 	note A_, 4
-	loopchannel 3, .loop4
-	intensity $a7
+	sound_loop 3, .loop4
+	volume_envelope 10, 7
 	octave 4
 	note F#, 4
 	note A_, 4
-	note __, 4
+	rest 4
 	octave 3
 	note G_, 2
 	note B_, 2
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 2
 	note G_, 2
@@ -119,13 +120,13 @@
 	note G_, 1
 	note A_, 1
 	note G_, 8
-	note __, 4
+	rest 4
 	octave 3
 	note F#, 2
 	note A_, 2
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 2
 	note F#, 2
@@ -140,19 +141,19 @@
 	note G_, 1
 	note F#, 8
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 2
 	note G_, 2
 	octave 4
 	note G_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	octave 3
 	note B_, 2
 	octave 4
 	note B_, 2
-	note __, 2
+	rest 2
 	note G#, 2
 	note D_, 2
 	octave 3
@@ -162,170 +163,170 @@
 	note G#, 2
 	note B_, 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 6
-	note __, 2
+	rest 2
 	note C#, 2
 	note C#, 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 6
-	note __, 2
+	rest 2
 	note D_, 2
 	note D_, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note D#, 6
-	note __, 2
+	rest 2
 	note D#, 2
 	note D#, 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 6
-	note __, 2
+	rest 2
 	note E_, 2
 	note E_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_BugCatchingContest_Ch2:
-	stereopanning $f0
-	vibrato $8, $23
-	dutycycle $1
-	notetype $c, $c7
-	note __, 8
+	stereo_panning TRUE, FALSE
+	vibrato 8, 2, 3
+	duty_cycle 1
+	note_type 12, 12, 7
+	rest 8
 .loop5:
 	octave 4
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 3
-	note __, 1
+	rest 1
 	note A_, 1
 	note A_, 1
-	loopchannel 4, .loop5
+	sound_loop 4, .loop5
 .mainloop:
-	dutycycle $0
-	callchannel .sub1
+	duty_cycle 0
+	sound_call .sub1
 	octave 2
 	note E_, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note B_, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note E_, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 2
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 2
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note E_, 2
 	octave 3
 	note E_, 1
-	note __, 1
-	callchannel .sub1
+	rest 1
+	sound_call .sub1
 	octave 2
 	note E_, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note B_, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 2
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note E_, 2
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note D_, 2
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note A_, 2
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note B_, 2
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note D#, 2
 	octave 3
 	note A_, 1
-	note __, 1
-	dutycycle $0
-	note __, 2
+	rest 1
+	duty_cycle 0
+	rest 2
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	note C#, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note B_, 8
-	note __, 2
+	rest 2
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	note C#, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A_, 8
-	note __, 2
+	rest 2
 	octave 5
 	note D_, 4
 	note F#, 2
 	note E_, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note C#, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 3
+	rest 3
 	note E_, 10
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 10
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
@@ -332,79 +333,79 @@
 	note D_, 2
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note A_, 2
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note B_, 2
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note C#, 2
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note E_, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note B_, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note C#, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note D#, 2
 	octave 3
 	note G_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 Music_BugCatchingContest_Ch3:
-	stereopanning $ff
-	vibrato $10, $23
-	notetype $c, $14
-	note __, 8
+	stereo_panning TRUE, TRUE
+	vibrato 16, 2, 3
+	note_type 12, 1, 4
+	rest 8
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 3
-	note __, 1
+	rest 1
 	note A_, 1
 	note A_, 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 3
-	note __, 1
+	rest 1
 	note B_, 1
 	note B_, 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 3
-	note __, 1
+	rest 1
 	note C_, 1
 	note C_, 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 3
-	note __, 1
+	rest 1
 	note C#, 1
 	note C#, 1
 .mainloop:
-	notetype $c, $14
+	note_type 12, 1, 4
 	note F#, 5
-	note __, 1
+	rest 1
 	note F#, 1
 	note G_, 1
 	note A_, 4
@@ -411,14 +412,14 @@
 	octave 5
 	note D_, 4
 	note C#, 2
-	intensity $10
+	volume_envelope 1, 0
 	note E_, 1
 	note G_, 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
 	note E_, 1
-	notetype $6, $20
+	note_type 6, 2, 0
 	octave 6
 	note E_, 1
 	note F#, 1
@@ -429,21 +430,21 @@
 	note E_, 1
 	note F#, 1
 	note E_, 8
-	intensity $14
+	volume_envelope 1, 4
 	octave 4
 	note E_, 10
-	note __, 2
+	rest 2
 	note E_, 2
 	note F#, 2
 	note G_, 8
 	octave 5
 	note C#, 8
-	note __, 4
-	intensity $10
+	rest 4
+	volume_envelope 1, 0
 	note E_, 2
 	note G_, 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	note C_, 2
 	octave 6
@@ -456,17 +457,17 @@
 	note C#, 1
 	note D_, 1
 	note C#, 8
-	intensity $15
+	volume_envelope 1, 5
 	octave 5
 	note F#, 4
-	note __, 4
+	rest 4
 	note G_, 4
-	note __, 4
+	rest 4
 	note A_, 4
-	note __, 4
+	rest 4
 	octave 6
 	note D_, 4
-	note __, 4
+	rest 4
 	note C#, 12
 	octave 5
 	note B_, 2
@@ -474,11 +475,11 @@
 	note C#, 2
 	octave 5
 	note B_, 4
-	note __, 4
+	rest 4
 	octave 6
 	note G_, 4
 	note F#, 4
-	note __, 4
+	rest 4
 	octave 5
 	note G_, 4
 	note A_, 4
@@ -492,11 +493,11 @@
 	octave 6
 	note C#, 2
 	note D_, 4
-	note __, 8
+	rest 8
 	octave 5
 	note B_, 4
 	note A_, 4
-	note __, 1
+	rest 1
 	note D#, 1
 	note F#, 1
 	note A_, 1
@@ -504,165 +505,165 @@
 	note C_, 8
 	octave 3
 	note G_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note F#, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note G#, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 6
-	note __, 2
+	rest 2
 	note A_, 2
 	note A_, 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 6
-	note __, 2
+	rest 2
 	note B_, 2
 	note B_, 2
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 6
-	note __, 2
+	rest 2
 	note C_, 2
 	note C_, 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 6
-	note __, 2
+	rest 2
 	note C#, 2
 	note C#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_BugCatchingContest_Ch4:
-	togglenoise $4
-	notetype $6
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note E_, 2
-	note E_, 2
-	callchannel Music_BugCatchingContest_Ch4.sub1
+	toggle_noise 4
+	drum_speed 6
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 5, 2
+	drum_note 5, 2
+	sound_call Music_BugCatchingContest_Ch4.sub1
 .mainloop:
 .loop1:
-	note D_, 4
-	note D_, 4
-	note D_, 2
-	note C#, 2
-	note D_, 2
-	note C#, 2
-	note D_, 4
-	note D_, 4
-	note D_, 2
-	note C#, 2
-	note D_, 2
-	note C#, 2
-	note D_, 4
-	note D_, 4
-	note D_, 2
-	note C#, 2
-	note D_, 2
-	note C#, 2
-	note D_, 4
-	note D_, 4
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	loopchannel 5, .loop1
-	note D_, 4
-	note D_, 4
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note D_, 4
-	note D_, 4
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	callchannel .sub1
-	loopchannel 0, .mainloop
+	drum_note 3, 4
+	drum_note 3, 4
+	drum_note 3, 2
+	drum_note 2, 2
+	drum_note 3, 2
+	drum_note 2, 2
+	drum_note 3, 4
+	drum_note 3, 4
+	drum_note 3, 2
+	drum_note 2, 2
+	drum_note 3, 2
+	drum_note 2, 2
+	drum_note 3, 4
+	drum_note 3, 4
+	drum_note 3, 2
+	drum_note 2, 2
+	drum_note 3, 2
+	drum_note 2, 2
+	drum_note 3, 4
+	drum_note 3, 4
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	sound_loop 5, .loop1
+	drum_note 3, 4
+	drum_note 3, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 3, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	sound_call .sub1
+	sound_loop 0, .mainloop
 
 .sub1:
-	note D_, 4
-	note B_, 8
-	note D_, 2
-	note D_, 2
-	note D_, 4
-	note B_, 8
-	note D_, 2
-	note D_, 2
-	note D_, 4
-	note B_, 8
-	note D_, 2
-	note D_, 2
-	note D_, 4
-	note B_, 8
-	note D_, 2
-	note D_, 2
-	endchannel
+	drum_note 3, 4
+	drum_note 12, 8
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 12, 8
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 12, 8
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 12, 8
+	drum_note 3, 2
+	drum_note 3, 2
+	sound_ret
--- a/audio/music/burnedtower.asm
+++ b/audio/music/burnedtower.asm
@@ -1,137 +1,138 @@
 Music_BurnedTower:
-	musicheader 4, 1, Music_BurnedTower_Ch1
-	musicheader 1, 2, Music_BurnedTower_Ch2
-	musicheader 1, 3, Music_BurnedTower_Ch3
-	musicheader 1, 4, Music_BurnedTower_Ch4
+	channel_count 4
+	channel 1, Music_BurnedTower_Ch1
+	channel 2, Music_BurnedTower_Ch2
+	channel 3, Music_BurnedTower_Ch3
+	channel 4, Music_BurnedTower_Ch4
 
 Music_BurnedTower_Ch1:
 	tempo 168
-	volume $77
-	dutycycle $1
-	tone $0004
-	vibrato $8, $45
-	stereopanning $f0
-	notetype $c, $91
-	note __, 2
+	volume 7, 7
+	duty_cycle 1
+	pitch_offset 4
+	vibrato 8, 4, 5
+	stereo_panning TRUE, FALSE
+	note_type 12, 9, 1
+	rest 2
 	octave 2
 	note A_, 4
 	note A_, 4
 	note A_, 2
-	intensity $80
+	volume_envelope 8, 0
 	octave 3
 	note D#, 6
-	intensity $91
+	volume_envelope 9, 1
 	note D_, 4
 	note D_, 4
 	note D_, 2
-	intensity $80
+	volume_envelope 8, 0
 	note C#, 6
 .loop1:
-	intensity $91
+	volume_envelope 9, 1
 	octave 2
 	note A_, 4
 	note A_, 4
 	note A_, 2
-	intensity $80
+	volume_envelope 8, 0
 	note A#, 6
-	loopchannel 2, .loop1
+	sound_loop 2, .loop1
 	tempo 150
 .mainloop:
-	intensity $b1
+	volume_envelope 11, 1
 	octave 2
 	note A_, 4
 	note A_, 4
 	note A_, 2
-	intensity $a0
+	volume_envelope 10, 0
 	octave 3
 	note D#, 6
-	intensity $b1
+	volume_envelope 11, 1
 	note D_, 4
 	note D_, 4
 	note D_, 2
-	intensity $a0
+	volume_envelope 10, 0
 	note C#, 6
-	intensity $b1
+	volume_envelope 11, 1
 	octave 2
 	note A_, 4
 	note A_, 4
 	note A_, 2
-	intensity $a0
+	volume_envelope 10, 0
 	note A#, 6
-	intensity $b1
+	volume_envelope 11, 1
 	note A_, 4
 	note A_, 4
 	note A_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note A#, 16
 	note A#, 16
 	note A#, 16
 	note G#, 6
-	intensity $b1
+	volume_envelope 11, 1
 	note A_, 4
 	note A_, 4
 	note A_, 2
-	intensity $a0
+	volume_envelope 10, 0
 	note A#, 6
-	intensity $b1
+	volume_envelope 11, 1
 	note B_, 4
 	note B_, 4
 	note B_, 2
-	intensity $a0
+	volume_envelope 10, 0
 	octave 3
 	note F_, 6
-	intensity $b1
+	volume_envelope 11, 1
 	note E_, 4
 	note E_, 4
 	note E_, 2
-	intensity $a0
+	volume_envelope 10, 0
 	note D#, 6
 .loop2:
-	intensity $b1
+	volume_envelope 11, 1
 	octave 2
 	note B_, 4
 	note B_, 4
 	note B_, 2
-	intensity $a0
+	volume_envelope 10, 0
 	octave 3
 	note C_, 6
-	loopchannel 2, .loop2
-	loopchannel 0, .mainloop
+	sound_loop 2, .loop2
+	sound_loop 0, .mainloop
 
 Music_BurnedTower_Ch2:
-	dutycycle $2
-	vibrato $20, $82
-	tone $0002
-	notetype $c, $70
-	callchannel .sub1
-	intensity $c5
+	duty_cycle 2
+	vibrato 32, 8, 2
+	pitch_offset 2
+	note_type 12, 7, 0
+	sound_call .sub1
+	volume_envelope 12, 5
 .mainloop:
-	callchannel .sub1
-	intensity $c1
-	dutycycle $3
-	note __, 2
+	sound_call .sub1
+	volume_envelope 12, 1
+	duty_cycle 3
+	rest 2
 	octave 2
 	note A_, 4
 	note A_, 4
 	note A_, 2
-	intensity $b0
+	volume_envelope 11, 0
 	octave 3
 	note D#, 6
-	intensity $c1
+	volume_envelope 12, 1
 	note D_, 4
 	note D_, 4
 	note D_, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note C#, 6
-	intensity $c1
+	volume_envelope 12, 1
 	octave 2
 	note A_, 4
 	note A_, 4
 	note A_, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note A#, 4
-	intensity $c1
-	intensity $c2
+	volume_envelope 12, 1
+	volume_envelope 12, 2
 	octave 3
 	note A_, 1
 	note G_, 1
@@ -138,15 +139,15 @@
 	note A_, 1
 	octave 4
 	note C_, 1
-	vibrato $0, $0
-	intensity $3d
+	vibrato 0, 0, 0
+	volume_envelope 3, -5
 	note E_, 8
-	vibrato $20, $83
-	intensity $b0
+	vibrato 32, 8, 3
+	volume_envelope 11, 0
 	octave 2
 	note G_, 4
-	dutycycle $2
-	intensity $b0
+	duty_cycle 2
+	volume_envelope 11, 0
 	octave 3
 	note F#, 4
 	note E_, 2
@@ -165,9 +166,9 @@
 	note F#, 2
 	note G_, 4
 	note E_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note F#, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
@@ -189,15 +190,15 @@
 	note F_, 4
 	note D_, 4
 	note E_, 16
-	endchannel
+	sound_ret
 
 Music_BurnedTower_Ch3:
-	stereopanning $f
-	notetype $c, $14
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 12
+	stereo_panning FALSE, TRUE
+	note_type 12, 1, 4
+	rest 16
+	rest 16
+	rest 16
+	rest 12
 	octave 3
 	note D#, 4
 .mainloop:
@@ -206,9 +207,9 @@
 	note A_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	note F_, 4
 	octave 2
@@ -215,20 +216,20 @@
 	note A_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	note D#, 4
-	loopchannel 4, .loop1
+	sound_loop 4, .loop1
 .loop2:
 	octave 2
 	note B_, 2
 	octave 3
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note G_, 4
 	octave 2
@@ -235,26 +236,26 @@
 	note B_, 2
 	octave 3
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note F_, 4
-	loopchannel 2, .loop2
-	loopchannel 0, .mainloop
+	sound_loop 2, .loop2
+	sound_loop 0, .mainloop
 
 Music_BurnedTower_Ch4:
-	togglenoise $0
-	notetype $c
+	toggle_noise 0
+	drum_speed 12
 .loop1:
-	note __, 16
-	loopchannel 4, .loop1
-	note __, 2
+	rest 16
+	sound_loop 4, .loop1
+	rest 2
 .mainloop:
-	stereopanning $f0
-	note G_, 2
-	note G#, 2
-	note G_, 4
-	note G#, 2
-	note G_, 4
-	loopchannel 0, .mainloop
+	stereo_panning TRUE, FALSE
+	drum_note 8, 2
+	drum_note 9, 2
+	drum_note 8, 4
+	drum_note 9, 2
+	drum_note 8, 4
+	sound_loop 0, .mainloop
--- a/audio/music/celadoncity.asm
+++ b/audio/music/celadoncity.asm
@@ -1,24 +1,25 @@
 Music_CeladonCity:
-	musicheader 3, 1, Music_CeladonCity_Ch1
-	musicheader 1, 2, Music_CeladonCity_Ch2
-	musicheader 1, 3, Music_CeladonCity_Ch3
+	channel_count 3
+	channel 1, Music_CeladonCity_Ch1
+	channel 2, Music_CeladonCity_Ch2
+	channel 3, Music_CeladonCity_Ch3
 
 Music_CeladonCity_Ch1:
 	tempo 146
-	volume $77
-	tone $0001
+	volume 7, 7
+	pitch_offset 1
 .mainloop:
-	stereopanning $f
-	notetype $c, $a6
+	stereo_panning FALSE, TRUE
+	note_type 12, 10, 6
 	octave 3
 	note A_, 7
-	intensity $a1
+	volume_envelope 10, 1
 	note G#, 1
 	note A_, 1
 	note D_, 3
 	note E_, 2
 	note F#, 2
-	callchannel .sub1
+	sound_call .sub1
 .loop1:
 	note D_, 2
 	note F#, 1
@@ -27,7 +28,7 @@
 	note F#, 1
 	note A_, 1
 	note F#, 1
-	loopchannel 3, .loop1
+	sound_loop 3, .loop1
 	note D_, 2
 	note G_, 1
 	note B_, 1
@@ -37,7 +38,7 @@
 	octave 3
 	note B_, 1
 	note G_, 1
-	callchannel .sub1
+	sound_call .sub1
 	note D_, 1
 	note C#, 1
 	note D_, 1
@@ -51,8 +52,8 @@
 	note F#, 2
 	note E_, 2
 	note F#, 16
-	callchannel .sub2
-	callchannel .sub3
+	sound_call .sub2
+	sound_call .sub3
 	octave 2
 	note B_, 2
 	note A#, 1
@@ -72,8 +73,8 @@
 	octave 3
 	note B_, 1
 	note A_, 1
-	callchannel .sub2
-	callchannel .sub3
+	sound_call .sub2
+	sound_call .sub3
 	note D_, 2
 	note C#, 1
 	note D_, 1
@@ -82,7 +83,7 @@
 	note A_, 1
 	note G_, 1
 	note A_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 .sub1loop1:
@@ -93,7 +94,7 @@
 	note G_, 1
 	note B_, 1
 	note G_, 1
-	loopchannel 3, .sub1loop1
+	sound_loop 3, .sub1loop1
 	note D_, 2
 	note F#, 1
 	note A_, 1
@@ -103,7 +104,7 @@
 	note D_, 1
 	octave 3
 	note A_, 1
-	endchannel
+	sound_ret
 
 .sub2:
 .sub2loop1
@@ -112,7 +113,7 @@
 	note B_, 1
 	octave 3
 	note D_, 1
-	loopchannel 4, .sub2loop1
+	sound_loop 4, .sub2loop1
 	note C_, 2
 	octave 2
 	note B_, 1
@@ -132,7 +133,7 @@
 	note D_, 1
 	octave 3
 	note B_, 1
-	endchannel
+	sound_ret
 
 .sub3:
 .sub3loop1:
@@ -139,14 +140,14 @@
 	note D_, 2
 	note F#, 1
 	note A_, 1
-	loopchannel 4, .sub3loop1
-	endchannel
+	sound_loop 4, .sub3loop1
+	sound_ret
 
 Music_CeladonCity_Ch2:
-	vibrato $12, $34
-	dutycycle $2
-	stereopanning $f0
-	notetype $c, $b7
+	vibrato 18, 3, 4
+	duty_cycle 2
+	stereo_panning TRUE, FALSE
+	note_type 12, 11, 7
 	octave 4
 	note D_, 1
 	note C#, 1
@@ -158,7 +159,7 @@
 	note G_, 1
 	note A_, 8
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note A_, 4
 	note F#, 4
 	note A_, 2
@@ -171,8 +172,8 @@
 	note B_, 2
 	note G_, 4
 	note B_, 4
-	callchannel .sub1
-	intensity $c1
+	sound_call .sub1
+	volume_envelope 12, 1
 	note A_, 2
 	note G_, 2
 	note F#, 2
@@ -186,13 +187,13 @@
 	note E_, 1
 	note F#, 1
 	note A_, 1
-	intensity $b3
+	volume_envelope 11, 3
 	octave 5
 	note D_, 6
-	intensity $a2
+	volume_envelope 10, 2
 	octave 1
 	note F#, 2
-	callchannel .sub2
+	sound_call .sub2
 	octave 1
 	note G_, 3
 	note B_, 1
@@ -202,7 +203,7 @@
 	octave 1
 	note A_, 6
 	note F#, 2
-	callchannel .sub2
+	sound_call .sub2
 	octave 1
 	note A_, 3
 	octave 2
@@ -209,16 +210,16 @@
 	note D_, 1
 	note A_, 4
 	note D_, 6
-	intensity $97
+	volume_envelope 9, 7
 	octave 4
 	note F#, 1
 	note A_, 1
 	octave 5
 	note D_, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 4
 	note B_, 4
 	note G_, 4
@@ -233,7 +234,7 @@
 	octave 4
 	note B_, 2
 	note A_, 8
-	endchannel
+	sound_ret
 
 .sub2:
 	note G_, 3
@@ -265,66 +266,66 @@
 	octave 2
 	note D_, 2
 	note F#, 4
-	endchannel
+	sound_ret
 
 Music_CeladonCity_Ch3:
-	vibrato $12, $24
+	vibrato 18, 2, 4
 .mainloop:
-	notetype $c, $25
+	note_type 12, 2, 5
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note D_, 8
-	callchannel .sub1
+	sound_call .sub1
 .loop1:
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 4
-	loopchannel 3, .loop1
+	sound_loop 3, .loop1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 3
 	octave 2
 	note F#, 1
-	callchannel .sub1
+	sound_call .sub1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 3
 	octave 2
 	note G#, 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note E_, 2
 	note C#, 2
 	note D_, 2
-	note __, 6
+	rest 6
 	octave 2
 	note A_, 2
-	note __, 6
-	intensity $10
-	callchannel .sub2
+	rest 6
+	volume_envelope 1, 0
+	sound_call .sub2
 	octave 5
 	note E_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note D_, 4
-	note __, 4
+	rest 4
 	note C_, 8
 	octave 4
 	note A_, 2
@@ -333,19 +334,19 @@
 	note C_, 2
 	note D_, 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	note E_, 2
 	note D_, 4
-	note __, 4
-	callchannel .sub2
+	rest 4
+	sound_call .sub2
 	octave 5
 	note E_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	note E_, 2
 	note D_, 4
-	note __, 4
+	rest 4
 	note C_, 8
 	note A_, 2
 	note G_, 2
@@ -356,27 +357,27 @@
 	note D_, 2
 	note E_, 2
 	note D_, 2
-	note __, 6
-	loopchannel 0, .mainloop
+	rest 6
+	sound_loop 0, .mainloop
 
 .sub1:
 .sub1loop1:
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 4
-	loopchannel 3, .sub1loop1
+	sound_loop 3, .sub1loop1
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note F#, 3
 	octave 2
 	note G#, 1
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 5
@@ -386,4 +387,4 @@
 	note B_, 2
 	note A_, 2
 	note B_, 2
-	endchannel
+	sound_ret
--- a/audio/music/championbattle.asm
+++ b/audio/music/championbattle.asm
@@ -1,72 +1,73 @@
 Music_ChampionBattle:
-	musicheader 3, 1, Music_ChampionBattle_Ch1
-	musicheader 1, 2, Music_ChampionBattle_Ch2
-	musicheader 1, 3, Music_ChampionBattle_Ch3
+	channel_count 3
+	channel 1, Music_ChampionBattle_Ch1
+	channel 2, Music_ChampionBattle_Ch2
+	channel 3, Music_ChampionBattle_Ch3
 
 Music_ChampionBattle_Ch1:
 	tempo 98
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $12, $15
-	notetype $c, $b2
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 18, 1, 5
+	note_type 12, 11, 2
 	octave 2
 	note A#, 8
 	note A#, 8
 	note A#, 8
 	note A#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 4
 .loop1:
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note D#, 4
-	loopchannel 2, .loop1
-	callchannel .sub1
+	sound_loop 2, .loop1
+	sound_call .sub1
 	octave 3
 	note E_, 4
 .loop2:
-	callchannel .sub2
-	loopchannel 3, .loop2
-	callchannel .sub3
+	sound_call .sub2
+	sound_loop 3, .loop2
+	sound_call .sub3
 .loop3:
-	callchannel .sub2
-	loopchannel 7, .loop3
-	callchannel .sub3
-	intensity $b2
+	sound_call .sub2
+	sound_loop 7, .loop3
+	sound_call .sub3
+	volume_envelope 11, 2
 	note A#, 2
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note D#, 4
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note A#, 2
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note E_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note A#, 2
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note F#, 4
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note A#, 2
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note G#, 4
-	intensity $a0
+	volume_envelope 10, 0
 	note A#, 8
 	octave 2
 	note A#, 8
 	octave 3
 	note B_, 12
-	intensity $b2
+	volume_envelope 11, 2
 	note A#, 1
 	note B_, 1
 	octave 4
@@ -73,52 +74,52 @@
 	note C_, 1
 	note C#, 1
 .mainloop:
-	callchannel .sub4
+	sound_call .sub4
 	note E_, 2
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F#, 4
 .loop4:
-	intensity $b2
+	volume_envelope 11, 2
 	note E_, 2
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 4
-	loopchannel 2, .loop4
-	intensity $b2
+	sound_loop 2, .loop4
+	volume_envelope 11, 2
 	note E_, 2
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 4
-	callchannel .sub4
+	sound_call .sub4
 	note E_, 2
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F#, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note E_, 2
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note E_, 2
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note E_, 2
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note E_, 4
-	callchannel .sub5
+	sound_call .sub5
 	note B_, 4
 	note G#, 4
-	callchannel .sub5
+	sound_call .sub5
 	octave 4
 	note D_, 4
 	note D_, 4
-	intensity $a0
+	volume_envelope 10, 0
 	octave 3
 	note A#, 8
 	octave 2
@@ -127,16 +128,16 @@
 	note F#, 8
 	octave 2
 	note F#, 8
-	intensity $60
+	volume_envelope 6, 0
 	note B_, 16
-	intensity $70
+	volume_envelope 7, 0
 	note B_, 16
-	intensity $80
+	volume_envelope 8, 0
 	octave 3
 	note C#, 16
-	intensity $a0
+	volume_envelope 10, 0
 	note D#, 16
-	intensity $b4
+	volume_envelope 11, 4
 	octave 4
 	note F#, 4
 	note F_, 4
@@ -156,59 +157,59 @@
 	note E_, 2
 	note F#, 4
 	note F#, 4
-	note __, 16
-	intensity $90
+	rest 16
+	volume_envelope 9, 0
 	octave 3
 	note F#, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note E_, 4
 	note E_, 4
-	intensity $90
+	volume_envelope 9, 0
 	note D#, 16
 	note C#, 16
 .loop5:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note A#, 2
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note D#, 4
-	loopchannel 4, .loop5
+	sound_loop 4, .loop5
 .loop6:
-	intensity $b2
+	volume_envelope 11, 2
 	note C_, 2
 	note C_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 4
-	loopchannel 2, .loop6
-	intensity $b2
+	sound_loop 2, .loop6
+	volume_envelope 11, 2
 	note C_, 2
 	note C_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F#, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note C_, 2
 	note C_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 4
-	callchannel .sub6
+	sound_call .sub6
 	octave 3
 	note D#, 2
 	note D#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 4
-	callchannel .sub6
+	sound_call .sub6
 	octave 3
 	note D#, 2
 	note D#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note D_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note A#, 2
 	note A#, 6
@@ -218,30 +219,30 @@
 	note A#, 6
 	note A#, 2
 	note A#, 2
-	intensity $b7
-	endchannel
+	volume_envelope 11, 7
+	sound_ret
 
 .sub2:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note A#, 2
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note D#, 4
-	endchannel
+	sound_ret
 
 .sub3:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note A#, 2
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 4
-	endchannel
+	sound_ret
 
 .sub4:
-	intensity $b5
+	volume_envelope 11, 5
 	octave 3
 	note D#, 2
 	note A#, 2
@@ -258,11 +259,11 @@
 	note G#, 2
 	note D#, 2
 	note G_, 2
-	intensity $b2
-	endchannel
+	volume_envelope 11, 2
+	sound_ret
 
 .sub5:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 3
 	note A#, 2
 	note A#, 4
@@ -271,75 +272,75 @@
 	note A#, 4
 	note A#, 4
 	note A#, 2
-	intensity $b7
-	endchannel
+	volume_envelope 11, 7
+	sound_ret
 
 .sub6:
-	intensity $b2
+	volume_envelope 11, 2
 	note D#, 2
 	note D#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note A#, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note D#, 2
 	note D#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note D#, 2
 	note D#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note C#, 4
-	intensity $b2
-	endchannel
+	volume_envelope 11, 2
+	sound_ret
 
 Music_ChampionBattle_Ch2:
-	dutycycle $3
-	vibrato $8, $36
-	tone $0001
-	notetype $c, $c2
+	duty_cycle 3
+	vibrato 8, 3, 6
+	pitch_offset 1
+	note_type 12, 12, 2
 	octave 3
 	note D#, 8
 	note D#, 8
 	note D#, 8
 	note D#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note D_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note A#, 4
-	callchannel .sub1
+	sound_call .sub1
 	note B_, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note C#, 4
-	callchannel .sub2
+	sound_call .sub2
 	note D_, 4
-	callchannel .sub2
+	sound_call .sub2
 	note F_, 4
-	callchannel .sub2
+	sound_call .sub2
 	note D_, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note B_, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C_, 4
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C#, 4
 	note D#, 8
@@ -347,10 +348,10 @@
 	note D#, 8
 	octave 4
 	note E_, 8
-	intensity $3c
+	volume_envelope 3, -4
 	note E_, 8
 .mainloop:
-	intensity $c5
+	volume_envelope 12, 5
 	note D#, 6
 	octave 3
 	note A#, 6
@@ -362,23 +363,23 @@
 	octave 3
 	note B_, 4
 	note A#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note B_, 8
 	octave 4
 	note E_, 8
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note G#, 2
 	note G#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note B_, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note G#, 2
 	note G#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C#, 4
-	intensity $c5
+	volume_envelope 12, 5
 	note D#, 6
 	octave 3
 	note A#, 6
@@ -391,19 +392,19 @@
 	note B_, 4
 	note A#, 2
 	note B_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note E_, 8
 	note G#, 8
 	note E_, 8
 	note B_, 8
-	callchannel .sub3
+	sound_call .sub3
 	note E_, 4
 	note E_, 4
-	callchannel .sub3
+	sound_call .sub3
 	note F#, 4
 	note F#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note D#, 8
 	octave 3
 	note D#, 8
@@ -411,12 +412,12 @@
 	note C#, 8
 	octave 3
 	note C#, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note D#, 16
 	note D#, 16
 	note F_, 16
 	note F#, 16
-	intensity $c4
+	volume_envelope 12, 4
 .loop1:
 	octave 5
 	note D#, 4
@@ -430,57 +431,57 @@
 	octave 4
 	note B_, 4
 	note B_, 4
-	loopchannel 2, .loop1
-	intensity $b0
+	sound_loop 2, .loop1
+	volume_envelope 11, 0
 	octave 3
 	note D#, 16
 	note B_, 16
 	note A#, 16
 	note G#, 16
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note B_, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A_, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note B_, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note D_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note D#, 8
 	note E_, 8
 	note F#, 8
@@ -489,10 +490,10 @@
 	note E_, 8
 	note F#, 8
 	note G#, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 6
 	note D#, 2
@@ -501,34 +502,34 @@
 	note D#, 6
 	note D#, 2
 	note D#, 2
-	intensity $c7
-	endchannel
+	volume_envelope 12, 7
+	sound_ret
 
 .sub2:
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note B_, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
-	intensity $c7
-	endchannel
+	volume_envelope 12, 7
+	sound_ret
 
 .sub3:
-	intensity $c1
+	volume_envelope 12, 1
 	note D#, 2
 	note D#, 4
 	note D#, 4
@@ -536,47 +537,47 @@
 	note D#, 4
 	note D#, 4
 	note D#, 2
-	intensity $c5
-	endchannel
+	volume_envelope 12, 5
+	sound_ret
 
 Music_ChampionBattle_Ch3:
-	notetype $c, $14
+	note_type 12, 1, 4
 .loop1:
 	octave 3
 	note D#, 1
-	note __, 7
-	loopchannel 3, .loop1
+	rest 7
+	sound_loop 3, .loop1
 	note D#, 1
-	note __, 3
+	rest 3
 	note E_, 4
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
 	note D_, 4
-	callchannel .sub2
+	sound_call .sub2
 	note A_, 4
-	callchannel .sub2
+	sound_call .sub2
 	note D_, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note B_, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 4
 	note D#, 8
@@ -593,11 +594,11 @@
 .loop2:
 	note D#, 2
 	note A#, 2
-	loopchannel 8, .loop2
+	sound_loop 8, .loop2
 .loop3:
 	note E_, 2
 	note B_, 2
-	loopchannel 5, .loop3
+	sound_loop 5, .loop3
 	note E_, 2
 	octave 4
 	note C_, 2
@@ -609,12 +610,12 @@
 .loop4:
 	note D#, 2
 	note A#, 2
-	loopchannel 8, .loop4
+	sound_loop 8, .loop4
 .loop5:
 	note E_, 2
 	note B_, 2
-	loopchannel 8, .loop5
-	callchannel .sub3
+	sound_loop 8, .loop5
+	sound_call .sub3
 	octave 3
 	note D#, 2
 	note E_, 2
@@ -625,7 +626,7 @@
 	note D_, 2
 	note C#, 2
 	note C_, 2
-	callchannel .sub3
+	sound_call .sub3
 	octave 3
 	note D#, 2
 	note A#, 2
@@ -644,8 +645,8 @@
 .loop6:
 	note D#, 2
 	note F#, 2
-	loopchannel 16, .loop6
-	callchannel .sub4
+	sound_loop 16, .loop6
+	sound_call .sub4
 	octave 3
 	note E_, 2
 	note B_, 2
@@ -658,44 +659,44 @@
 	octave 4
 	note D#, 2
 	note E_, 2
-	callchannel .sub4
+	sound_call .sub4
 .loop7:
 	octave 3
 	note E_, 2
 	note B_, 2
-	loopchannel 4, .loop7
+	sound_loop 4, .loop7
 .loop8:
 	note D#, 2
 	note A#, 2
-	loopchannel 5, .loop8
+	sound_loop 5, .loop8
 	note B_, 2
 	octave 4
 	note D#, 2
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 .loop9:
 	note E_, 2
 	note B_, 2
-	loopchannel 5, .loop9
+	sound_loop 5, .loop9
 	octave 4
 	note C#, 2
 	note E_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 .loop10:
 	note D#, 2
 	note G#, 2
-	loopchannel 8, .loop10
+	sound_loop 8, .loop10
 .loop11:
 	note D#, 2
 	note A#, 2
-	loopchannel 7, .loop11
+	sound_loop 7, .loop11
 	note B_, 2
 	note A#, 2
 .loop12:
@@ -705,49 +706,49 @@
 	octave 4
 	note D_, 2
 	note D#, 2
-	loopchannel 7, .loop12
+	sound_loop 7, .loop12
 	note C#, 2
 	octave 3
 	note B_, 2
 	note A#, 2
 	note G#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 .sub1loop1:
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 5
-	loopchannel 3, .sub1loop1
+	rest 5
+	sound_loop 3, .sub1loop1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note B_, 4
-	endchannel
+	sound_ret
 
 .sub2:
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note B_, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub3:
 	octave 3
@@ -760,7 +761,7 @@
 	note D_, 2
 	note C#, 2
 	note C_, 2
-	endchannel
+	sound_ret
 
 .sub4:
 	octave 3
@@ -773,4 +774,4 @@
 	octave 4
 	note D#, 2
 	note E_, 2
-	endchannel
+	sound_ret
--- a/audio/music/cherrygrovecity.asm
+++ b/audio/music/cherrygrovecity.asm
@@ -1,18 +1,19 @@
 Music_CherrygroveCity:
-	musicheader 4, 1, Music_CherrygroveCity_Ch1
-	musicheader 1, 2, Music_CherrygroveCity_Ch2
-	musicheader 1, 3, Music_CherrygroveCity_Ch3
-	musicheader 1, 4, Music_CherrygroveCity_Ch4
+	channel_count 4
+	channel 1, Music_CherrygroveCity_Ch1
+	channel 2, Music_CherrygroveCity_Ch2
+	channel 3, Music_CherrygroveCity_Ch3
+	channel 4, Music_CherrygroveCity_Ch4
 
 Music_CherrygroveCity_Ch1:
 	tempo 152
-	volume $77
-	dutycycle $3
-	tone $0001
-	vibrato $8, $15
-	stereopanning $f0
-	notetype $c, $b5
-	note __, 10
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
+	vibrato 8, 1, 5
+	stereo_panning TRUE, FALSE
+	note_type 12, 11, 5
+	rest 10
 	octave 3
 	note C_, 2
 	note D_, 2
@@ -48,7 +49,7 @@
 	note A_, 2
 	octave 3
 	note C_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 2
 	note A#, 6
 	octave 3
@@ -61,7 +62,7 @@
 	note A#, 6
 	octave 3
 	note D_, 6
-	intensity $b5
+	volume_envelope 11, 5
 	note A_, 4
 	note G_, 4
 	note E_, 4
@@ -90,13 +91,13 @@
 	note A_, 4
 	octave 3
 	note C_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_CherrygroveCity_Ch2:
-	dutycycle $3
-	vibrato $10, $36
-	stereopanning $f
-	notetype $c, $c3
+	duty_cycle 3
+	vibrato 16, 3, 6
+	stereo_panning FALSE, TRUE
+	note_type 12, 12, 3
 	octave 3
 	note C_, 2
 	note D_, 2
@@ -107,53 +108,53 @@
 	note A_, 2
 	note A#, 2
 .mainloop:
-	intensity $c6
+	volume_envelope 12, 6
 	octave 4
 	note C_, 6
 	note D_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note D_, 2
 	note C_, 2
 	octave 3
 	note A#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C_, 6
 	octave 3
 	note A_, 2
 	note F_, 8
-	intensity $c6
+	volume_envelope 12, 6
 	note A#, 6
 	octave 4
 	note C_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note C_, 2
 	octave 3
 	note A#, 2
 	note A_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 6
 	note G_, 2
 	note E_, 8
-	intensity $a0
+	volume_envelope 10, 0
 	note D_, 6
 	note F_, 6
 	octave 4
 	note D_, 4
 	note C_, 6
-	intensity $a5
+	volume_envelope 10, 5
 	octave 3
 	note A_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note F_, 8
-	intensity $a0
+	volume_envelope 10, 0
 	note D_, 6
 	note F_, 6
 	octave 4
 	note D_, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note C_, 16
-	intensity $b5
+	volume_envelope 11, 5
 	octave 3
 	note D_, 6
 	note F_, 6
@@ -166,15 +167,15 @@
 	note C#, 6
 	note F_, 6
 	note G_, 4
-	intensity $a0
+	volume_envelope 10, 0
 	note F_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note F_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_CherrygroveCity_Ch3:
-	notetype $c, $16
-	note __, 4
+	note_type 12, 1, 6
+	rest 4
 	octave 4
 	note C_, 2
 	octave 3
@@ -280,26 +281,26 @@
 	note A_, 2
 	note F_, 2
 	note A_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_CherrygroveCity_Ch4:
-	togglenoise $3
-	notetype $c
-	note __, 16
+	toggle_noise 3
+	drum_speed 12
+	rest 16
 .mainloop:
-	note C#, 2
-	note __, 2
-	note G_, 2
-	note C#, 2
-	note C#, 2
-	note F#, 2
-	note C#, 4
-	note C#, 2
-	note __, 2
-	note G_, 2
-	note C#, 1
-	note C#, 1
-	note F#, 4
-	note C#, 2
-	note G_, 2
-	loopchannel 0, .mainloop
+	drum_note 2, 2
+	rest 2
+	drum_note 8, 2
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 7, 2
+	drum_note 2, 4
+	drum_note 2, 2
+	rest 2
+	drum_note 8, 2
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 7, 4
+	drum_note 2, 2
+	drum_note 8, 2
+	sound_loop 0, .mainloop
--- a/audio/music/clair.asm
+++ b/audio/music/clair.asm
@@ -1,44 +1,45 @@
 Music_Clair:
-	musicheader 4, 1, Music_Clair_Ch1
-	musicheader 1, 2, Music_Clair_Ch2
-	musicheader 1, 3, Music_Clair_Ch3
-	musicheader 1, 4, Music_Clair_Ch4
+	channel_count 4
+	channel 1, Music_Clair_Ch1
+	channel 2, Music_Clair_Ch2
+	channel 3, Music_Clair_Ch3
+	channel 4, Music_Clair_Ch4
 
 Music_Clair_Ch1:
 	tempo 136
-	volume $77
-	tone $0001
-	vibrato $12, $34
-	stereopanning $f
-	notetype $c, $93
-	dutycycle $3
+	volume 7, 7
+	pitch_offset 1
+	vibrato 18, 3, 4
+	stereo_panning FALSE, TRUE
+	note_type 12, 9, 3
+	duty_cycle 3
 .loop1:
 	octave 4
 	note F_, 1
 	note F#, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
-	loopchannel 2, .loop1
+	rest 1
+	sound_loop 2, .loop1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	dutycycle $2
-	intensity $92
+	duty_cycle 2
+	volume_envelope 9, 2
 	octave 5
 	note F_, 1
 	note G_, 4
-	intensity $a7
-	dutycycle $3
+	volume_envelope 10, 7
+	duty_cycle 3
 	octave 3
 	note D#, 4
 	note F_, 4
 	note G_, 4
 .mainloop:
-	intensity $93
-	callchannel .sub1
+	volume_envelope 9, 3
+	sound_call .sub1
 	octave 2
 	note B_, 1
 	octave 3
@@ -52,7 +53,7 @@
 	octave 2
 	note A#, 1
 	note G_, 1
-	callchannel .sub1
+	sound_call .sub1
 	note D#, 1
 	note C#, 1
 	note D#, 2
@@ -64,13 +65,13 @@
 	note A#, 1
 	octave 5
 	note D#, 1
-	callchannel .sub2
-	dutycycle $3
+	sound_call .sub2
+	duty_cycle 3
 	note G#, 3
 	note F_, 2
-	note __, 1
+	rest 1
 	note A#, 4
-	dutycycle $2
+	duty_cycle 2
 	note D#, 1
 	note C#, 1
 	note D#, 1
@@ -78,14 +79,14 @@
 	note A#, 1
 	octave 5
 	note D#, 1
-	callchannel .sub2
-	dutycycle $3
+	sound_call .sub2
+	duty_cycle 3
 	note D#, 3
 	note C#, 2
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 4
-	dutycycle $2
+	duty_cycle 2
 	note G#, 1
 	note C#, 1
 	note D#, 1
@@ -93,17 +94,17 @@
 	note B_, 1
 	octave 4
 	note D#, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	dutycycle $3
-	stereopanning $ff
+	duty_cycle 3
+	stereo_panning TRUE, TRUE
 	octave 3
 	note B_, 1
-	note __, 2
+	rest 2
 	note G#, 5
-	dutycycle $2
-	stereopanning $f
+	duty_cycle 2
+	stereo_panning FALSE, TRUE
 	octave 2
 	note B_, 2
 	note G#, 1
@@ -110,25 +111,25 @@
 	note B_, 1
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
 	note F#, 1
 	note F_, 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note F_, 1
 	note C#, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub2:
 	octave 4
 	note F#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
 	note G#, 1
@@ -137,29 +138,29 @@
 	note B_, 1
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
 	note F#, 1
-	endchannel
+	sound_ret
 
 Music_Clair_Ch2:
-	dutycycle $3
-	vibrato $12, $34
-	notetype $6, $b7
+	duty_cycle 3
+	vibrato 18, 3, 4
+	note_type 6, 11, 7
 .loop1:
 	octave 3
 	note A#, 2
 	note B_, 2
 	note A#, 2
-	note __, 2
+	rest 2
 	note G#, 2
-	note __, 2
-	loopchannel 2, .loop1
+	rest 2
+	sound_loop 2, .loop1
 	note F_, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
-	intensity $82
+	rest 2
+	volume_envelope 8, 2
 	note D#, 2
 	note A#, 2
 	octave 4
@@ -166,7 +167,7 @@
 	note C#, 2
 	octave 3
 	note A#, 2
-	intensity $92
+	volume_envelope 9, 2
 	note G_, 2
 	octave 4
 	note C#, 2
@@ -173,24 +174,24 @@
 	note D#, 2
 	octave 3
 	note A#, 2
-	intensity $b2
+	volume_envelope 11, 2
 	octave 4
 	note C#, 2
 	note D#, 2
 	note G_, 2
 	note D#, 2
-	intensity $c2
+	volume_envelope 12, 2
 	note C#, 2
 	note D#, 2
 	note G_, 2
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note F#, 2
-	note __, 4
+	rest 4
 	note D#, 12
-	note __, 2
+	rest 2
 	note D#, 4
 	note C#, 4
 	octave 3
@@ -199,18 +200,18 @@
 	note B_, 6
 	octave 4
 	note C#, 4
-	note __, 2
+	rest 2
 	octave 3
 	note A#, 16
-	note __, 4
-	pitchoffset 0, CC
-	callchannel .sub1
-	pitchoffset 0, C_
+	rest 4
+	transpose 0, 12
+	sound_call .sub1
+	transpose 0, 0
 	octave 5
 	note F#, 2
-	note __, 4
+	rest 4
 	note D#, 12
-	note __, 2
+	rest 2
 	octave 4
 	note G#, 4
 	note A#, 4
@@ -220,17 +221,17 @@
 	note C#, 6
 	octave 4
 	note A#, 4
-	note __, 2
+	rest 2
 	note G#, 16
-	note __, 4
-	loopchannel 0, .mainloop
+	rest 4
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
 	note F#, 2
-	note __, 4
+	rest 4
 	note D#, 12
-	note __, 2
+	rest 2
 	octave 3
 	note G#, 4
 	note A#, 4
@@ -240,54 +241,54 @@
 	note C#, 6
 	octave 3
 	note B_, 4
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 16
-	note __, 4
-	endchannel
+	rest 4
+	sound_ret
 
 Music_Clair_Ch3:
-	notetype $c, $14
-	pitchoffset 0, CC
+	note_type 12, 1, 4
+	transpose 0, 12
 	octave 3
 	note C#, 2
-	note __, 4
+	rest 4
 	octave 2
 	note G#, 1
 	note B_, 1
 	octave 3
 	note C#, 2
-	note __, 4
+	rest 4
 	octave 2
 	note G#, 1
 	note B_, 1
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A#, 4
 	note G#, 4
 	note G_, 4
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	octave 2
 	note C#, 2
-	note __, 1
+	rest 1
 	note G#, 2
-	note __, 1
+	rest 1
 	note C#, 2
-	note __, 2
+	rest 2
 	note D#, 2
 	note A#, 2
 	note D#, 2
-	callchannel .sub1
+	sound_call .sub1
 	octave 2
 	note G#, 2
-	note __, 1
+	rest 1
 	note C#, 2
-	note __, 1
+	rest 1
 	note D#, 2
-	note __, 2
+	rest 2
 	note D#, 1
 	note C#, 1
 	note D#, 1
@@ -296,15 +297,15 @@
 	note A#, 1
 	octave 1
 	note G#, 2
-	note __, 1
+	rest 1
 	octave 2
 	note D#, 2
-	note __, 1
+	rest 1
 	octave 1
 	note G#, 2
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note G#, 1
 	octave 3
@@ -315,13 +316,13 @@
 	note G#, 2
 	octave 2
 	note C#, 2
-	note __, 1
+	rest 1
 	note G#, 2
-	note __, 1
+	rest 1
 	note C#, 2
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note D#, 1
 	octave 3
@@ -334,15 +335,15 @@
 	note D#, 1
 	octave 1
 	note G#, 2
-	note __, 1
+	rest 1
 	octave 2
 	note D#, 2
-	note __, 1
+	rest 1
 	octave 1
 	note G#, 2
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note G#, 1
 	octave 3
@@ -353,13 +354,13 @@
 	note G#, 2
 	octave 2
 	note D#, 2
-	note __, 1
+	rest 1
 	note G_, 2
-	note __, 1
+	rest 1
 	note G#, 2
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note G#, 1
 	octave 2
@@ -368,66 +369,66 @@
 	note G#, 1
 	octave 1
 	note G#, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 1
 	note G#, 2
-	note __, 1
+	rest 1
 	octave 2
 	note D#, 2
-	note __, 1
+	rest 1
 	octave 1
 	note G#, 2
-	note __, 2
+	rest 2
 	note G#, 2
 	octave 2
 	note D#, 2
 	octave 1
 	note G#, 2
-	endchannel
+	sound_ret
 
 Music_Clair_Ch4:
-	togglenoise $3
-	notetype $c
-	stereopanning $f0
-	note B_, 8
-	note B_, 8
-	note B_, 6
-	stereopanning $ff
-	note D#, 1
-	note D#, 1
-	note D_, 2
-	note D#, 1
-	note D#, 1
-	note D_, 2
-	note D_, 1
-	note D_, 1
+	toggle_noise 3
+	drum_speed 12
+	stereo_panning TRUE, FALSE
+	drum_note 12, 8
+	drum_note 12, 8
+	drum_note 12, 6
+	stereo_panning TRUE, TRUE
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
 .mainloop:
-	stereopanning $ff
-	callchannel .sub1
-	note G_, 1
-	stereopanning $ff
-	callchannel .sub1
-	note F#, 1
-	loopchannel 0, .mainloop
+	stereo_panning TRUE, TRUE
+	sound_call .sub1
+	drum_note 8, 1
+	stereo_panning TRUE, TRUE
+	sound_call .sub1
+	drum_note 7, 1
+	sound_loop 0, .mainloop
 
 .sub1:
-	note D#, 2
-	stereopanning $f0
-	note G_, 2
-	stereopanning $ff
-	note D_, 2
-	stereopanning $f0
-	note G_, 1
-	note G_, 1
-	note G_, 2
-	stereopanning $ff
-	note D#, 1
-	stereopanning $f0
-	note G_, 1
-	stereopanning $ff
-	note D_, 2
-	stereopanning $f0
-	note G_, 1
-	endchannel
+	drum_note 4, 2
+	stereo_panning TRUE, FALSE
+	drum_note 8, 2
+	stereo_panning TRUE, TRUE
+	drum_note 3, 2
+	stereo_panning TRUE, FALSE
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 2
+	stereo_panning TRUE, TRUE
+	drum_note 4, 1
+	stereo_panning TRUE, FALSE
+	drum_note 8, 1
+	stereo_panning TRUE, TRUE
+	drum_note 3, 2
+	stereo_panning TRUE, FALSE
+	drum_note 8, 1
+	sound_ret
--- a/audio/music/contestresults.asm
+++ b/audio/music/contestresults.asm
@@ -1,137 +1,138 @@
 Music_ContestResults:
-	musicheader 4, 1, Music_ContestResults_Ch1
-	musicheader 1, 2, Music_ContestResults_Ch2
-	musicheader 1, 3, Music_ContestResults_Ch3
-	musicheader 1, 4, Music_ContestResults_Ch4
+	channel_count 4
+	channel 1, Music_ContestResults_Ch1
+	channel 2, Music_ContestResults_Ch2
+	channel 3, Music_ContestResults_Ch3
+	channel 4, Music_ContestResults_Ch4
 
 Music_ContestResults_Ch1:
 	tempo 144
-	volume $77
-	notetype $c, $51
+	volume 7, 7
+	note_type 12, 5, 1
 .mainloop:
-	note __, 2
+	rest 2
 	octave 2
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 1
-	note __, 2
+	rest 1
+	rest 2
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 1
-	note __, 2
+	rest 1
+	rest 2
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 1
-	note __, 2
+	rest 1
+	rest 2
 	note B_, 1
-	note __, 3
+	rest 3
 	note A#, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
 
 Music_ContestResults_Ch2:
-	notetype $c, $61
+	note_type 12, 6, 1
 .mainloop:
 	octave 2
 	note C_, 2
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note G_, 2
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note A_, 2
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note B_, 2
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note D_, 2
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note A_, 2
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note B_, 2
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note C#, 2
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 .loop1:
 	octave 2
 	note D_, 2
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note A_, 2
 	octave 3
 	note F_, 1
-	note __, 1
-	loopchannel 2, .loop1
+	rest 1
+	sound_loop 2, .loop1
 	octave 2
 	note G_, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note D_, 2
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 2
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note D_, 2
 	octave 3
 	note D_, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
 
 Music_ContestResults_Ch3:
-	vibrato $8, $24
-	notetype $c, $23
+	vibrato 8, 2, 4
+	note_type 12, 2, 3
 .mainloop:
 	octave 4
 	note E_, 5
-	note __, 1
+	rest 1
 	note E_, 1
 	note F_, 1
 	note G_, 4
@@ -141,7 +142,7 @@
 	note B_, 8
 	note A_, 8
 	note D_, 5
-	note __, 1
+	rest 1
 	note D_, 1
 	note E_, 1
 	note F_, 4
@@ -148,26 +149,26 @@
 	note B_, 4
 	note A_, 8
 	note G_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_ContestResults_Ch4:
-	togglenoise $4
-	notetype $6
+	toggle_noise 4
+	drum_speed 6
 .mainloop:
-	note C#, 4
-	note C#, 4
-	note C#, 2
-	note C#, 2
-	note C#, 2
-	note C#, 2
-	note C#, 4
-	note C#, 4
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	loopchannel 0, .mainloop
+	drum_note 2, 4
+	drum_note 2, 4
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 2, 4
+	drum_note 2, 4
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	sound_loop 0, .mainloop
--- a/audio/music/credits.asm
+++ b/audio/music/credits.asm
@@ -1,18 +1,19 @@
 Music_Credits:
-	musicheader 4, 1, Music_Credits_Ch1
-	musicheader 1, 2, Music_Credits_Ch2
-	musicheader 1, 3, Music_Credits_Ch3
-	musicheader 1, 4, Music_Credits_Ch4
+	channel_count 4
+	channel 1, Music_Credits_Ch1
+	channel 2, Music_Credits_Ch2
+	channel 3, Music_Credits_Ch3
+	channel 4, Music_Credits_Ch4
 
 Music_Credits_Ch1:
 	tempo 139
-	volume $77
-	stereopanning $f
-	dutycycle $3
-	notetype $c, $2f
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	duty_cycle 3
+	note_type 12, 2, -7
 	octave 2
 	note G_, 16
-	notetype $6, $a7
+	note_type 6, 10, 7
 	octave 3
 	note B_, 12
 	note A#, 2
@@ -21,17 +22,17 @@
 	octave 4
 	note C_, 7
 	note D_, 8
-	callchannel .sub1
-	note __, 4
+	sound_call .sub1
+	rest 4
 	octave 3
 	note B_, 2
-	note __, 2
+	rest 2
 	note A_, 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note A_, 2
 	note B_, 2
-	intensity $96
+	volume_envelope 9, 6
 	note A_, 1
 	note G_, 1
 	octave 3
@@ -40,7 +41,7 @@
 	octave 2
 	note B_, 1
 	note A_, 1
-	intensity $94
+	volume_envelope 9, 4
 	note G_, 1
 	note F_, 1
 	note E_, 1
@@ -50,12 +51,12 @@
 	note B_, 1
 	note A_, 1
 	octave 3
-	note __, 1
-	intensity $a7
-	callchannel .sub1
-	callchannel .sub2
-	intensity $97
-	callchannel .sub3
+	rest 1
+	volume_envelope 10, 7
+	sound_call .sub1
+	sound_call .sub2
+	volume_envelope 9, 7
+	sound_call .sub3
 	octave 3
 	note B_, 2
 	octave 4
@@ -117,13 +118,13 @@
 	note C_, 2
 	octave 3
 	note B_, 2
-	callchannel .sub3
-	callchannel .sub4
+	sound_call .sub3
+	sound_call .sub4
 	note B_, 1
 	octave 4
 	note C_, 7
 	note D_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	octave 5
 	note E_, 2
 	note C#, 2
@@ -140,20 +141,20 @@
 	note D_, 7
 	note E_, 7
 	octave 3
-	note __, 1
-	pitchoffset 0, D_
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub3
-	callchannel .sub4
-	pitchoffset 0, C_
+	rest 1
+	transpose 0, 2
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub3
+	sound_call .sub4
+	transpose 0, 0
 	octave 3
 	note A_, 12
-	notetype $8, $a7
+	note_type 8, 10, 7
 	note D_, 1
 	note D_, 1
 	note D_, 1
-	callchannel .sub5
+	sound_call .sub5
 	octave 3
 	note B_, 6
 	note A_, 6
@@ -164,7 +165,7 @@
 	note A_, 6
 	octave 4
 	note C#, 6
-	callchannel .sub5
+	sound_call .sub5
 	tempo 143
 	octave 4
 	note D_, 6
@@ -179,22 +180,22 @@
 	note A_, 6
 	octave 5
 	note C#, 6
-	notetype $c, $a7
+	note_type 12, 10, 7
 .loop1:
 	octave 3
 	note A_, 1
 	octave 4
 	note D_, 1
-	loopchannel 6, .loop1
-	notetype $8, $a7
+	sound_loop 6, .loop1
+	note_type 8, 10, 7
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	tempo 153
-	notetype $c, $a7
+	note_type 12, 10, 7
 	octave 3
 	note C_, 1
 	note E_, 1
@@ -213,14 +214,14 @@
 	note C_, 1
 	note E_, 1
 	note G_, 1
-	notetype $8, $a7
+	note_type 8, 10, 7
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	notetype $c, $a7
+	rest 1
+	note_type 12, 10, 7
 	octave 3
 	note D_, 1
 	note F#, 1
@@ -234,51 +235,51 @@
 	note D_, 1
 	note E_, 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	notetype $8, $a7
+	rest 1
+	note_type 8, 10, 7
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	tempo 160
-	notetype $c, $a7
+	note_type 12, 10, 7
 	octave 2
 	note G_, 1
-	note __, 3
+	rest 3
 	note E_, 1
-	note __, 3
-	notetype $8, $a7
+	rest 3
+	note_type 8, 10, 7
 	octave 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
-	notetype $c, $a7
+	rest 1
+	note_type 12, 10, 7
 	octave 2
 	note D_, 1
-	note __, 7
-	intensity $c7
+	rest 7
+	volume_envelope 12, 7
 	octave 2
 	note D_, 16
-	intensity $b8
-	intensity $b7
-	note __, 16
-	note __, 16
-	note __, 16
-	endchannel
+	volume_envelope 11, 8
+	volume_envelope 11, 7
+	rest 16
+	rest 16
+	rest 16
+	sound_ret
 
 .sub1:
 	note C_, 16
@@ -290,17 +291,17 @@
 	note D_, 4
 	octave 3
 	note B_, 2
-	note __, 2
+	rest 2
 	note A#, 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note A#, 2
 	note B_, 4
 	note G_, 4
-	note __, 4
+	rest 4
 	octave 4
 	note D_, 4
-	note __, 4
+	rest 4
 	note E_, 4
 	octave 3
 	note A#, 4
@@ -312,12 +313,12 @@
 	note C_, 4
 	note D_, 4
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 2
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 2
 	octave 4
@@ -324,7 +325,7 @@
 	note C_, 4
 	octave 3
 	note A_, 4
-	note __, 4
+	rest 4
 	octave 4
 	note C_, 4
 	octave 3
@@ -335,7 +336,7 @@
 	note A_, 1
 	note A#, 7
 	note G#, 4
-	note __, 4
+	rest 4
 	octave 4
 	note C_, 4
 	octave 3
@@ -348,45 +349,45 @@
 	note C_, 4
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 6
 	note C_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub2:
 	octave 4
@@ -399,7 +400,7 @@
 	note D_, 4
 	note C_, 4
 	note D#, 4
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 3
@@ -498,7 +499,7 @@
 	note F_, 2
 	note C_, 2
 	note F_, 2
-	endchannel
+	sound_ret
 
 .sub4:
 	octave 3
@@ -541,10 +542,10 @@
 	note B_, 12
 	note A#, 2
 	note A_, 2
-	endchannel
+	sound_ret
 
 .sub5:
-	note __, 6
+	rest 6
 	octave 3
 	note D_, 6
 	note E_, 6
@@ -554,41 +555,41 @@
 	octave 4
 	note F#, 6
 	note C#, 6
-	endchannel
+	sound_ret
 
 Music_Credits_Ch2:
-	dutycycle $1
-	vibrato $14, $23
-	notetype $c, $2f
-	stereopanning $f0
+	duty_cycle 1
+	vibrato 20, 2, 3
+	note_type 12, 2, -7
+	stereo_panning TRUE, FALSE
 	octave 4
 	note G_, 16
-	intensity $c7
+	volume_envelope 12, 7
 	octave 5
 	note G_, 8
 	octave 3
 	note G_, 4
 	note F_, 4
-	notetype $6, $c7
-	callchannel .sub1
+	note_type 6, 12, 7
+	sound_call .sub1
 	octave 1
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 2
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	intensity $97
+	volume_envelope 9, 7
 	note F#, 1
 	note F_, 1
 	note E_, 1
@@ -595,10 +596,10 @@
 	note D#, 1
 	note D_, 1
 	note C#, 1
-	intensity $c7
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub3
+	volume_envelope 12, 7
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub3
 	octave 4
 	note B_, 1
 	octave 5
@@ -609,10 +610,10 @@
 	note B_, 4
 	note F#, 1
 	note G_, 15
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 5
 	note E_, 15
-	notetype $6, $c7
+	note_type 6, 12, 7
 	note G_, 1
 	note G#, 1
 	note A_, 2
@@ -626,7 +627,7 @@
 	octave 4
 	note A_, 2
 	note E_, 2
-	callchannel .sub3
+	sound_call .sub3
 	octave 4
 	note B_, 1
 	octave 5
@@ -635,7 +636,7 @@
 	note B_, 8
 	octave 5
 	note C_, 12
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note D_, 16
 	note G_, 8
 	octave 3
@@ -656,21 +657,21 @@
 	octave 3
 	note A_, 4
 	note G_, 4
-	notetype $6, $c7
-	pitchoffset 0, D_
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub3
-	pitchoffset 0, C_
+	note_type 6, 12, 7
+	transpose 0, 2
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub3
+	transpose 0, 0
 	octave 5
 	note C#, 1
 	note D_, 11
 	note C#, 8
 	note D_, 12
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note E_, 16
 	note A_, 14
-	notetype $8, $c7
+	note_type 8, 12, 7
 	octave 2
 	note D_, 1
 	note D_, 1
@@ -695,34 +696,34 @@
 	note E_, 6
 	octave 1
 	note D_, 3
-	note __, 3
+	rest 3
 	note D_, 3
-	note __, 3
+	rest 3
 	note D_, 3
-	note __, 3
+	rest 3
 	note D_, 3
-	note __, 3
+	rest 3
 	note F#, 3
-	note __, 3
+	rest 3
 	note F#, 3
-	note __, 3
+	rest 3
 	note F#, 3
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 2
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note F#, 2
 	octave 2
 	note F#, 1
-	note __, 1
+	rest 1
 .loop1:
 	octave 1
 	note G_, 2
 	octave 2
 	note G_, 1
-	note __, 1
-	loopchannel 4, .loop1
+	rest 1
+	sound_loop 4, .loop1
 	octave 1
 	note A_, 1
 	octave 2
@@ -748,164 +749,164 @@
 	note C#, 1
 	octave 5
 	note D_, 12
-	notetype $8, $c7
+	note_type 8, 12, 7
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
-	notetype $c, $c7
+	rest 1
+	note_type 12, 12, 7
 	note D_, 12
-	notetype $8, $c7
+	note_type 8, 12, 7
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note D_, 9
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 4
 	note F#, 1
 	note A_, 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
-	notetype $8, $c7
+	rest 1
+	note_type 8, 12, 7
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
-	notetype $c, $c7
+	rest 1
+	note_type 12, 12, 7
 	note C_, 1
-	note __, 3
+	rest 3
 	note C_, 1
-	note __, 3
-	notetype $8, $c7
+	rest 3
+	note_type 8, 12, 7
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
-	notetype $c, $c7
+	rest 1
+	note_type 12, 12, 7
 	note D_, 1
-	note __, 7
-	intensity $c8
-	intensity $c7
+	rest 7
+	volume_envelope 12, 8
+	volume_envelope 12, 7
 	octave 1
 	note D_, 16
-	intensity $c7
-	note __, 16
-	note __, 16
-	note __, 16
-	endchannel
+	volume_envelope 12, 7
+	rest 16
+	rest 16
+	rest 16
+	sound_ret
 
 .sub1:
 	octave 2
 	note C_, 4
-	intensity $b1
+	volume_envelope 11, 1
 	octave 5
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note G_, 2
-	note __, 2
-	intensity $c7
+	rest 2
+	volume_envelope 12, 7
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 4
-	note __, 12
+	rest 12
 	octave 1
 	note B_, 4
-	note __, 10
+	rest 10
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G_, 2
 	octave 1
 	note B_, 6
 	note A#, 4
-	intensity $b1
+	volume_envelope 11, 1
 	octave 5
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note E_, 2
-	note __, 2
-	intensity $c7
+	rest 2
+	volume_envelope 12, 7
 	octave 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 4
-	note __, 12
+	rest 12
 	note A_, 4
-	note __, 10
+	rest 10
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note F_, 2
 	octave 1
 	note A_, 6
 	note G#, 4
-	intensity $b1
+	volume_envelope 11, 1
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C_, 2
-	note __, 2
-	intensity $c7
+	rest 2
+	volume_envelope 12, 7
 	octave 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 4
-	note __, 12
+	rest 12
 	note G_, 4
-	note __, 10
+	rest 10
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note E_, 2
 	octave 1
 	note G_, 6
 	note F#, 4
-	note __, 2
+	rest 2
 	note F#, 2
 	note F#, 2
 	octave 2
@@ -922,18 +923,18 @@
 	note A_, 2
 	octave 3
 	note C_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 1
 	note G_, 4
-	note __, 4
+	rest 4
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G_, 12
 	note F#, 8
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 4
@@ -942,7 +943,7 @@
 	octave 5
 	note C_, 8
 	note E_, 8
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note D_, 16
 	octave 4
 	note G_, 4
@@ -951,7 +952,7 @@
 	octave 5
 	note D_, 4
 	note C_, 10
-	notetype $6, $c7
+	note_type 6, 12, 7
 	octave 4
 	note B_, 1
 	octave 5
@@ -960,21 +961,21 @@
 	note B_, 4
 	octave 5
 	note C_, 4
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 4
 	note A_, 10
-	notetype $6, $c7
+	note_type 6, 12, 7
 	note G#, 1
 	note A_, 3
 	note B_, 4
 	octave 5
 	note C_, 4
-	endchannel
+	sound_ret
 
 Music_Credits_Ch3:
-	vibrato $16, $23
-	notetype $c, $34
-	stereopanning $ff
+	vibrato 22, 2, 3
+	note_type 12, 3, 4
+	stereo_panning TRUE, TRUE
 	octave 6
 	note G_, 1
 	note D_, 1
@@ -987,7 +988,7 @@
 	note C_, 1
 	octave 5
 	note G_, 1
-	intensity $24
+	volume_envelope 2, 4
 	octave 6
 	note G_, 1
 	note D_, 1
@@ -994,7 +995,7 @@
 	note C_, 1
 	octave 5
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 6
 	note G_, 1
 	note D_, 1
@@ -1013,46 +1014,46 @@
 	note B_, 1
 	note G_, 1
 	note D_, 1
-	notetype $6, $14
+	note_type 6, 1, 4
 	note D#, 1
 	note E_, 7
 	note F_, 8
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note G_, 1
-	notetype $6, $14
-	intensity $24
+	note_type 6, 1, 4
+	volume_envelope 2, 4
 	note F_, 1
 	note E_, 1
-	intensity $14
+	volume_envelope 1, 4
 	note E_, 4
-	note __, 4
+	rest 4
 	note F_, 4
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub3
-	callchannel .sub4
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub3
+	sound_call .sub4
 	octave 2
 	note G_, 4
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 2
 	octave 3
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 2
 	octave 3
 	note G_, 2
@@ -1065,16 +1066,16 @@
 	note G_, 2
 	octave 2
 	note E_, 4
-	note __, 2
+	rest 2
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 2
 	octave 3
 	note E_, 2
@@ -1089,26 +1090,26 @@
 	note A_, 4
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G#, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G#, 2
 	note G_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G_, 2
 	note F#, 4
 	octave 3
 	note E_, 4
-	callchannel .sub3
-	callchannel .sub4
-	callchannel .sub5
+	sound_call .sub3
+	sound_call .sub4
+	sound_call .sub5
 	octave 5
 	note D#, 1
 	note E_, 7
@@ -1115,28 +1116,28 @@
 	note F_, 8
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 5
 	note F_, 1
 	note F#, 7
 	note G_, 8
-	pitchoffset 0, D_
-	callchannel .sub1
-	callchannel .sub2
-	pitchoffset 1, D_
-	callchannel .sub3
-	pitchoffset 0, D_
-	callchannel .sub4
-	callchannel .sub5
-	pitchoffset 0, C_
+	transpose 0, 2
+	sound_call .sub1
+	sound_call .sub2
+	transpose 1, 2
+	sound_call .sub3
+	transpose 0, 2
+	sound_call .sub4
+	sound_call .sub5
+	transpose 0, 0
 	octave 6
 	note C#, 2
 	octave 5
@@ -1145,18 +1146,18 @@
 	note C#, 2
 	note A_, 2
 	note E_, 2
-	notetype $8, $14
+	note_type 8, 1, 4
 	octave 2
 	note D_, 1
 	note D_, 1
 	note D_, 1
-	notetype $c, $14
+	note_type 12, 1, 4
 	note D_, 16
 	note F#, 16
 	note G_, 16
 	note G_, 8
 	note A_, 8
-	note __, 4
+	rest 4
 	octave 4
 	note F#, 4
 	note G_, 4
@@ -1175,7 +1176,7 @@
 	octave 6
 	note C#, 4
 	note E_, 4
-	intensity $15
+	volume_envelope 1, 5
 	octave 4
 	note D_, 6
 	note F#, 2
@@ -1188,45 +1189,45 @@
 	note B_, 1
 	note A#, 1
 	note A_, 8
-	intensity $14
+	volume_envelope 1, 4
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
-	notetype $8, $14
+	rest 1
+	note_type 8, 1, 4
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	notetype $c, $14
+	rest 1
+	note_type 12, 1, 4
 	octave 5
 	note G_, 1
-	note __, 3
+	rest 3
 	note E_, 1
-	note __, 3
-	notetype $8, $14
+	rest 3
+	note_type 8, 1, 4
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
-	notetype $c, $14
+	rest 1
+	note_type 12, 1, 4
 	note A_, 1
-	note __, 16
-	note __, 16
-	note __, 16
-	endchannel
+	rest 16
+	rest 16
+	rest 16
+	sound_ret
 
 .sub1:
 	note G_, 16
@@ -1238,14 +1239,14 @@
 	note B_, 4
 	octave 6
 	note C_, 4
-	notetype $c, $14
+	note_type 12, 1, 4
 	octave 5
 	note G_, 10
 	note E_, 2
-	note __, 2
+	rest 2
 	note F_, 2
 	note G_, 10
-	notetype $6, $14
+	note_type 6, 1, 4
 	note G#, 1
 	note A_, 7
 	note E_, 4
@@ -1252,11 +1253,11 @@
 	note G_, 12
 	note F_, 8
 	note D_, 4
-	note __, 4
+	rest 4
 	note E_, 4
-	notetype $c, $14
+	note_type 12, 1, 4
 	note F_, 10
-	notetype $6, $14
+	note_type 6, 1, 4
 	note F#, 1
 	note G_, 7
 	note F_, 4
@@ -1265,12 +1266,12 @@
 	note E_, 4
 	note B_, 12
 	note A_, 8
-	notetype $c, $14
+	note_type 12, 1, 4
 	note D_, 16
-	endchannel
+	sound_ret
 
 .sub2:
-	notetype $6, $14
+	note_type 6, 1, 4
 	note F#, 1
 	note G_, 3
 	octave 4
@@ -1279,14 +1280,14 @@
 	note D_, 4
 	note G_, 12
 	note G#, 8
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 3
 	note F_, 4
-	note __, 2
+	rest 2
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 2
 	octave 3
@@ -1294,9 +1295,9 @@
 	note F_, 2
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 2
 	octave 4
@@ -1304,9 +1305,9 @@
 	octave 3
 	note F_, 4
 	note G_, 4
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 2
 	octave 3
@@ -1314,9 +1315,9 @@
 	note G_, 2
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 2
 	octave 4
@@ -1324,23 +1325,23 @@
 	octave 3
 	note G_, 4
 	note E_, 4
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note B_, 2
 	note G_, 2
 	note E_, 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note G_, 2
 	note B_, 2
 	note E_, 4
 	note A_, 4
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 2
 	note C_, 2
@@ -1350,7 +1351,7 @@
 	note C_, 2
 	octave 3
 	note G#, 2
-	note __, 2
+	rest 2
 	note G#, 2
 	octave 4
 	note C_, 2
@@ -1358,21 +1359,21 @@
 	note C_, 2
 	octave 3
 	note G#, 2
-	endchannel
+	sound_ret
 
 .sub4:
 	octave 2
 	note F_, 4
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 2
 	octave 3
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 2
 	octave 3
 	note F_, 2
@@ -1383,21 +1384,21 @@
 	note C_, 2
 	note E_, 2
 	note F_, 2
-	endchannel
+	sound_ret
 
 .sub5:
 	octave 2
 	note F#, 4
-	note __, 2
+	rest 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	octave 3
 	note F#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	octave 3
 	note F#, 2
@@ -1425,250 +1426,250 @@
 	note B_, 2
 	note G_, 2
 	note D_, 2
-	endchannel
+	sound_ret
 
 Music_Credits_Ch4:
-	togglenoise $3
-	notetype $c
-	note G#, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G#, 1
-	note G_, 1
-	note B_, 2
-	note G#, 1
-	note G_, 1
-	note G#, 1
-	note G_, 1
-	note A#, 4
-	note A#, 4
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
+	toggle_noise 3
+	drum_speed 12
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 12, 2
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 11, 4
+	drum_note 11, 4
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
 .loop1:
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note G_, 1
-	note G_, 1
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note F#, 2
-	loopchannel 7, .loop1
-	note G#, 1
-	note G_, 1
-	note D_, 1
-	note G_, 1
-	note G_, 1
-	note D_, 1
-	note F#, 2
-	note D_, 1
-	note G_, 1
-	note D_, 1
-	note G_, 1
-	note C#, 1
-	note C#, 1
-	note D_, 1
-	note D_, 1
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 7, .loop1
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 7, 2
+	drum_note 3, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 8, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 3, 1
 .loop2:
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note G_, 1
-	note G_, 1
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note F#, 2
-	loopchannel 7, .loop2
-	note G#, 1
-	note G_, 1
-	note F#, 2
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note A#, 4
-	note C#, 4
-	note G#, 1
-	note G_, 1
-	note B_, 2
-	note G#, 1
-	note G_, 1
-	note B_, 2
-	note A#, 4
-	note A#, 4
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 7, .loop2
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 7, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 11, 4
+	drum_note 2, 4
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 12, 2
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 12, 2
+	drum_note 11, 4
+	drum_note 11, 4
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
 .loop3:
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note G_, 1
-	note G_, 1
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note F#, 2
-	loopchannel 7, .loop3
-	note G#, 1
-	note G_, 1
-	note F#, 2
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 7
-	notetype $8
-	note A#, 1
-	note A#, 1
-	note A#, 1
-	notetype $c
-	note B_, 16
-	note __, 16
-	note B_, 15
-	note __, 1
-	note B_, 8
-	note B_, 8
-	note B_, 16
-	note __, 16
-	note B_, 16
-	note B_, 8
-	note B_, 6
-	note D_, 1
-	note D_, 1
-	note B_, 12
-	notetype $8
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	notetype $c
-	note B_, 12
-	notetype $8
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note B_, 12
-	notetype $c
-	note D_, 1
-	note __, 1
-	note D_, 1
-	note __, 1
-	notetype $8
-	note C#, 2
-	note C#, 2
-	note D_, 2
-	notetype $c
-	note D_, 1
-	note __, 3
-	note D_, 1
-	note __, 3
-	notetype $8
-	note C#, 2
-	note C#, 2
-	note C#, 2
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	notetype $c
-	note D_, 1
-	note __, 7
-	note A#, 8
-	note __, 16
-	note __, 16
-	note __, 16
-	endchannel
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 7, .loop3
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 7, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 7
+	drum_speed 8
+	drum_note 11, 1
+	drum_note 11, 1
+	drum_note 11, 1
+	drum_speed 12
+	drum_note 12, 16
+	rest 16
+	drum_note 12, 15
+	rest 1
+	drum_note 12, 8
+	drum_note 12, 8
+	drum_note 12, 16
+	rest 16
+	drum_note 12, 16
+	drum_note 12, 8
+	drum_note 12, 6
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 12, 12
+	drum_speed 8
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_speed 12
+	drum_note 12, 12
+	drum_speed 8
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 12, 12
+	drum_speed 12
+	drum_note 3, 1
+	rest 1
+	drum_note 3, 1
+	rest 1
+	drum_speed 8
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 3, 2
+	drum_speed 12
+	drum_note 3, 1
+	rest 3
+	drum_note 3, 1
+	rest 3
+	drum_speed 8
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_speed 12
+	drum_note 3, 1
+	rest 7
+	drum_note 11, 8
+	rest 16
+	rest 16
+	rest 16
+	sound_ret
 
 .sub1:
-	note G#, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note D_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G#, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note D_, 1
-	note G_, 1
-	note F#, 2
-	endchannel
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 8, 1
+	drum_note 7, 2
+	sound_ret
 
 .sub2:
-	note G#, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note D_, 1
-	note G_, 1
-	note D_, 1
-	note G_, 1
-	note G#, 1
-	note G_, 1
-	note D_, 1
-	note G_, 1
-	note G#, 1
-	note D_, 1
-	note F#, 2
-	note D_, 1
-	note G_, 1
-	note D_, 1
-	note G_, 1
-	note D_, 1
-	note D_, 1
-	note A#, 1
-	note D_, 1
-	endchannel
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 8, 1
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 8, 1
+	drum_note 9, 1
+	drum_note 3, 1
+	drum_note 7, 2
+	drum_note 3, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 11, 1
+	drum_note 3, 1
+	sound_ret
--- a/audio/music/crystalopening.asm
+++ b/audio/music/crystalopening.asm
@@ -1,17 +1,18 @@
 Music_CrystalOpening:
-	musicheader 4, 1, Music_CrystalOpening_Ch1
-	musicheader 1, 2, Music_CrystalOpening_Ch2
-	musicheader 1, 3, Music_CrystalOpening_Ch3
-	musicheader 1, 4, Music_CrystalOpening_Ch4
+	channel_count 4
+	channel 1, Music_CrystalOpening_Ch1
+	channel 2, Music_CrystalOpening_Ch2
+	channel 3, Music_CrystalOpening_Ch3
+	channel 4, Music_CrystalOpening_Ch4
 
 Music_CrystalOpening_Ch1:
 	tempo 136
-	volume $77
-	tone $0002
-	vibrato $10, $34
-	dutycycle $3
-	stereopanning $f0
-	notetype $c, $92
+	volume 7, 7
+	pitch_offset 2
+	vibrato 16, 3, 4
+	duty_cycle 3
+	stereo_panning TRUE, FALSE
+	note_type 12, 9, 2
 	octave 2
 	note F#, 2
 	note F#, 4
@@ -24,7 +25,7 @@
 	note F#, 2
 	note F#, 2
 	note F#, 6
-	notetype $c, $b4
+	note_type 12, 11, 4
 	octave 2
 	note B_, 2
 	note F#, 2
@@ -111,20 +112,20 @@
 	note F#, 2
 	octave 4
 	note C_, 2
-	notetype $c, $a0
+	note_type 12, 10, 0
 	note D_, 8
 	note D_, 8
-	notetype $c, $a7
+	note_type 12, 10, 7
 	note D_, 8
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 2
 	note D_, 16
-	endchannel
+	sound_ret
 
 Music_CrystalOpening_Ch2:
-	notetype $c, $a2
-	dutycycle $3
-	vibrato $8, $44
+	note_type 12, 10, 2
+	duty_cycle 3
+	vibrato 8, 4, 4
 	octave 2
 	note B_, 2
 	note B_, 4
@@ -137,7 +138,7 @@
 	note B_, 2
 	note B_, 2
 	note B_, 2
-	notetype $c, $a2
+	note_type 12, 10, 2
 	octave 2
 	note E_, 1
 	note B_, 1
@@ -144,43 +145,43 @@
 	octave 3
 	note E_, 1
 	note F#, 1
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note E_, 8
 	note F#, 8
 	octave 2
 	note B_, 8
-	notetype $c, $b0
+	note_type 12, 11, 0
 	octave 3
 	note B_, 8
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note B_, 16
-	note __, 16
+	rest 16
 	note G_, 8
 	note A_, 8
 	note D_, 8
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 4
 	note D_, 8
-	notetype $c, $7c
+	note_type 12, 7, -4
 	note D_, 8
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note D_, 8
 	note G_, 8
-	notetype $c, $b0
+	note_type 12, 11, 0
 	note F#, 8
 	note F#, 8
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note F#, 8
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 3
 	note D_, 16
-	endchannel
+	sound_ret
 
 Music_CrystalOpening_Ch3:
-	notetype $c, $16
+	note_type 12, 1, 6
 	octave 1
 	note B_, 4
-	notetype $6, $16
+	note_type 6, 1, 6
 	note B_, 1
 	note A#, 1
 	note A_, 1
@@ -189,11 +190,11 @@
 	note F#, 1
 	note F_, 1
 	note E_, 1
-	notetype $c, $16
+	note_type 12, 1, 6
 	note B_, 4
 	note B_, 4
 	note B_, 4
-	notetype $6, $16
+	note_type 6, 1, 6
 	note B_, 1
 	note A#, 1
 	note A_, 1
@@ -202,7 +203,7 @@
 	note F#, 1
 	note F_, 1
 	note E_, 1
-	notetype $c, $16
+	note_type 12, 1, 6
 	note B_, 4
 	note B_, 4
 	octave 2
@@ -237,123 +238,123 @@
 	note D_, 16
 	octave 2
 	note D_, 1
-	note __, 15
-	endchannel
+	rest 15
+	sound_ret
 
 Music_CrystalOpening_Ch4:
-	stereopanning $f
-	togglenoise $3
-	notetype $c
-	note __, 16
-	note __, 12
+	stereo_panning FALSE, TRUE
+	toggle_noise 3
+	drum_speed 12
+	rest 16
+	rest 12
 	octave 2
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note D_, 4
-	notetype $8
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note D_, 6
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note D_, 3
-	notetype $c
-	note C#, 1
-	note C#, 1
-	note G_, 1
-	note G_, 1
-	note C#, 1
-	note C#, 1
-	note C#, 2
-	note C#, 1
-	note C#, 1
-	note G_, 2
-	note D_, 1
-	note C#, 1
-	note A_, 1
-	note G_, 1
-	note D_, 1
-	note D_, 1
-	note G_, 1
-	note __, 1
-	note C#, 1
-	note C#, 1
-	note A_, 1
-	note G_, 1
-	note C#, 1
-	note D_, 1
-	note G_, 1
-	note G_, 1
-	note D_, 1
-	note D_, 1
-	note A_, 2
-	note C#, 2
-	note C#, 2
-	note C#, 2
-	note A_, 2
-	note D_, 2
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note D_, 4
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note D_, 4
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note A_, 1
-	note G_, 1
-	note D_, 1
-	note C#, 1
-	note G_, 1
-	note G_, 1
-	note C#, 1
-	note C#, 1
-	note A_, 1
-	note G_, 1
-	note D_, 1
-	note C#, 1
-	note G_, 1
-	note G_, 1
-	note D_, 1
-	note C#, 1
-	note A_, 1
-	note G_, 1
-	note C#, 1
-	note C#, 1
-	note D_, 1
-	note C#, 1
-	note C#, 1
-	note D_, 1
-	note A_, 1
-	note G_, 1
-	note D_, 1
-	note C#, 1
-	note C#, 1
-	note G_, 1
-	note D_, 1
-	note C#, 1
-	note C#, 2
-	note D_, 2
-	note __, 2
-	note D_, 2
-	note D_, 2
-	note __, 6
-	note __, 16
-	note __, 16
-	endchannel
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 4
+	drum_speed 8
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 6
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 3
+	drum_speed 12
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 2
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 8, 2
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 10, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 8, 1
+	rest 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 10, 1
+	drum_note 8, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 10, 2
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 10, 2
+	drum_note 3, 2
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 4
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 4
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 10, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 10, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 10, 1
+	drum_note 8, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 10, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 2, 2
+	drum_note 3, 2
+	rest 2
+	drum_note 3, 2
+	drum_note 3, 2
+	rest 6
+	rest 16
+	rest 16
+	sound_ret
--- a/audio/music/dancinghall.asm
+++ b/audio/music/dancinghall.asm
@@ -1,26 +1,27 @@
 Music_DancingHall:
-	musicheader 3, 1, Music_DancingHall_Ch1
-	musicheader 1, 2, Music_DancingHall_Ch2
-	musicheader 1, 3, Music_DancingHall_Ch3
+	channel_count 3
+	channel 1, Music_DancingHall_Ch1
+	channel 2, Music_DancingHall_Ch2
+	channel 3, Music_DancingHall_Ch3
 
 	db $3 ; unused
 
 Music_DancingHall_Ch1:
 	tempo 208
-	volume $77
-	stereopanning $f
-	notetype $6, $b7
-	note __, 3
-	dutycycle $0
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	note_type 6, 11, 7
+	rest 3
+	duty_cycle 0
 .mainloop:
-	notetype $c, $b7
-	callchannel .sub1
-	note __, 16
-	callchannel .sub1
-	note __, 16
-	note __, 16
-	note __, 16
-	intensity $b1
+	note_type 12, 11, 7
+	sound_call .sub1
+	rest 16
+	sound_call .sub1
+	rest 16
+	rest 16
+	rest 16
+	volume_envelope 11, 1
 	octave 2
 	note B_, 1
 	octave 3
@@ -33,7 +34,7 @@
 	octave 4
 	note D_, 1
 	note F_, 2
-	notetype $8, $b1
+	note_type 8, 11, 1
 	note D_, 1
 	note E_, 1
 	note D_, 1
@@ -40,7 +41,7 @@
 	octave 3
 	note B_, 3
 	note A_, 3
-	notetype $c, $b1
+	note_type 12, 11, 1
 	note B_, 1
 	note A_, 1
 	note D_, 1
@@ -47,7 +48,7 @@
 	note E_, 1
 	octave 4
 	note F_, 2
-	notetype $8, $b1
+	note_type 8, 11, 1
 	octave 3
 	note B_, 1
 	octave 4
@@ -54,54 +55,54 @@
 	note D_, 1
 	octave 3
 	note B_, 1
-	notetype $c, $b5
+	note_type 12, 11, 5
 	note A_, 1
-	note __, 1
+	rest 1
 	note B_, 1
 	note B_, 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note F_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note E_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 Music_DancingHall_Ch2:
-	stereopanning $f0
-	notetype $6, $a1
-	dutycycle $0
-	vibrato $10, $24
-	note __, 3
+	stereo_panning TRUE, FALSE
+	note_type 6, 10, 1
+	duty_cycle 0
+	vibrato 16, 2, 4
+	rest 3
 .mainloop:
-	notetype $6, $a2
-	callchannel .sub1
-	callchannel .sub1
-	intensity $a7
+	note_type 6, 10, 2
+	sound_call .sub1
+	sound_call .sub1
+	volume_envelope 10, 7
 	octave 2
 	note D_, 16
 	note F_, 16
-	notetype $c, $a7
+	note_type 12, 10, 7
 	note E_, 16
 	octave 3
 	note F_, 1
@@ -114,13 +115,13 @@
 	note E_, 1
 	note A_, 1
 	note B_, 2
-	notetype $8, $a7
+	note_type 8, 10, 7
 	note A_, 1
 	note B_, 1
 	note A_, 1
 	note F_, 3
 	note D_, 3
-	notetype $c, $a7
+	note_type 12, 10, 7
 	note E_, 1
 	note D_, 1
 	octave 3
@@ -128,22 +129,22 @@
 	note B_, 1
 	octave 4
 	note A_, 2
-	notetype $8, $a7
+	note_type 8, 10, 7
 	note F_, 1
 	note A_, 1
 	note F_, 1
-	notetype $c, $a7
+	note_type 12, 10, 7
 	note E_, 1
-	note __, 1
+	rest 1
 	note F_, 1
 	note F_, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note D_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $a1
+	volume_envelope 10, 1
 	octave 4
 	note E_, 4
 	octave 2
@@ -157,72 +158,72 @@
 	note A_, 4
 	note F_, 4
 	note A_, 4
-	intensity $33
+	volume_envelope 3, 3
 	note D_, 1
 	note F_, 1
-	intensity $63
+	volume_envelope 6, 3
 	note D_, 1
 	note F_, 1
-	intensity $93
+	volume_envelope 9, 3
 	note D_, 1
 	note F_, 1
-	intensity $c3
+	volume_envelope 12, 3
 	note D_, 1
 	note F_, 1
-	intensity $e3
+	volume_envelope 14, 3
 	note D_, 1
 	note F_, 1
-	intensity $a3
+	volume_envelope 10, 3
 	note D_, 1
 	note F_, 1
-	intensity $83
+	volume_envelope 8, 3
 	note D_, 1
 	note F_, 1
-	intensity $53
+	volume_envelope 5, 3
 	note D_, 1
 	note F_, 1
-	intensity $73
+	volume_envelope 7, 3
 	octave 3
 	note B_, 1
 	octave 4
 	note E_, 1
-	intensity $a3
+	volume_envelope 10, 3
 	octave 3
 	note B_, 1
 	octave 4
 	note E_, 1
-	intensity $b3
+	volume_envelope 11, 3
 	octave 3
 	note A_, 1
 	octave 4
 	note D_, 1
-	intensity $c3
+	volume_envelope 12, 3
 	octave 3
 	note A_, 1
 	octave 4
 	note D_, 1
-	intensity $d3
+	volume_envelope 13, 3
 	octave 3
 	note E_, 1
 	note B_, 1
-	intensity $e3
+	volume_envelope 14, 3
 	note E_, 1
 	note B_, 1
-	intensity $f3
+	volume_envelope 15, 3
 	note A_, 1
 	octave 4
 	note D_, 1
-	intensity $f3
+	volume_envelope 15, 3
 	octave 3
 	note A_, 1
 	octave 4
 	note D_, 1
-	endchannel
+	sound_ret
 
 Music_DancingHall_Ch3:
-	stereopanning $ff
-	vibrato $16, $24
-	notetype $6, $10
+	stereo_panning TRUE, TRUE
+	vibrato 22, 2, 4
+	note_type 6, 1, 0
 	octave 5
 	note A_, 1
 	note B_, 1
@@ -234,11 +235,11 @@
 	note E_, 1
 	note A_, 1
 	note B_, 16
-	intensity $14
+	volume_envelope 1, 4
 	octave 3
 	note F_, 16
 	note E_, 14
-	intensity $10
+	volume_envelope 1, 0
 	octave 6
 	note E_, 1
 	note F_, 1
@@ -247,11 +248,11 @@
 	note E_, 1
 	note A_, 1
 	note B_, 16
-	intensity $14
+	volume_envelope 1, 4
 	octave 3
 	note F_, 16
 	note E_, 16
-	intensity $13
+	volume_envelope 1, 3
 	octave 4
 	note F_, 2
 	note A_, 2
@@ -264,13 +265,13 @@
 	note A_, 2
 	note A#, 1
 	note B_, 3
-	notetype $8, $13
+	note_type 8, 1, 3
 	note A_, 1
 	note B_, 1
 	note A_, 1
 	note F_, 3
 	note D_, 3
-	notetype $c, $13
+	note_type 12, 1, 3
 	note E_, 1
 	note D_, 1
 	octave 4
@@ -278,11 +279,11 @@
 	note B_, 1
 	octave 5
 	note A_, 2
-	notetype $8, $13
+	note_type 8, 1, 3
 	note F_, 1
 	note A_, 1
 	note F_, 1
-	notetype $6, $13
+	note_type 6, 1, 3
 	note D#, 1
 	note E_, 3
 	note D_, 4
@@ -290,16 +291,16 @@
 	note B_, 4
 	octave 5
 	note D_, 4
-	intensity $14
+	volume_envelope 1, 4
 	octave 3
 	note D_, 16
 	note F_, 16
 	note E_, 16
 	note E_, 13
-	intensity $10
+	volume_envelope 1, 0
 	octave 5
 	note A_, 1
 	note B_, 1
 	octave 6
 	note D_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/darkcave.asm
+++ b/audio/music/darkcave.asm
@@ -1,31 +1,32 @@
 Music_DarkCave:
-	musicheader 4, 1, Music_DarkCave_Ch1
-	musicheader 1, 2, Music_DarkCave_Ch2
-	musicheader 1, 3, Music_DarkCave_Ch3
-	musicheader 1, 4, Music_DarkCave_Ch4
+	channel_count 4
+	channel 1, Music_DarkCave_Ch1
+	channel 2, Music_DarkCave_Ch2
+	channel 3, Music_DarkCave_Ch3
+	channel 4, Music_DarkCave_Ch4
 
 Music_DarkCave_Ch1:
 	tempo 128
-	volume $77
-	dutycycle $3
-	tone $0001
-	vibrato $11, $15
-	stereopanning $f0
-	notetype $c, $a7
-loop1:
-	note __, 16
-	loopchannel 4, loop1
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
+	vibrato 17, 1, 5
+	stereo_panning TRUE, FALSE
+	note_type 12, 10, 7
+.loop1:
+	rest 16
+	sound_loop 4, .loop1
 	octave 3
 	note D#, 16
 	note D_, 16
 	note C#, 16
 	note C_, 16
-	intensity $a3
+	volume_envelope 10, 3
 .mainloop:
 .loop2:
-	callchannel .sub1
-	loopchannel 3, .loop2
-	intensity $b7
+	sound_call .sub1
+	sound_loop 3, .loop2
+	volume_envelope 11, 7
 	note G#, 8
 	note D#, 8
 	note G_, 8
@@ -42,13 +43,13 @@
 	note C#, 8
 	note D#, 8
 	note C_, 8
-	intensity $a3
+	volume_envelope 10, 3
 .loop3:
-	callchannel .sub1
-	loopchannel 2, .loop3
-	note __, 16
-	note __, 8
-	intensity $b7
+	sound_call .sub1
+	sound_loop 2, .loop3
+	rest 16
+	rest 8
+	volume_envelope 11, 7
 	octave 2
 	note F_, 2
 	note G_, 2
@@ -55,7 +56,7 @@
 	note G#, 4
 	octave 3
 	note D#, 16
-	note __, 8
+	rest 8
 	octave 2
 	note G#, 2
 	note G_, 2
@@ -63,21 +64,21 @@
 	octave 3
 	note D#, 16
 	note G_, 2
-	note __, 6
+	rest 6
 	note F_, 2
 	note G_, 2
 	note G#, 4
 	note G_, 16
 	note F_, 2
-	note __, 6
+	rest 6
 	note G#, 2
 	note G_, 2
 	note G#, 4
-	intensity $a3
+	volume_envelope 10, 3
 .loop4:
-	callchannel .sub1
-	loopchannel 2, .loop4
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_loop 2, .loop4
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
@@ -134,16 +135,16 @@
 	note C_, 2
 	octave 3
 	note A#, 2
-	endchannel
+	sound_ret
 
 Music_DarkCave_Ch2:
-	dutycycle $1
-	vibrato $12, $36
-	stereopanning $f
-	notetype $c, $a7
+	duty_cycle 1
+	vibrato 18, 3, 6
+	stereo_panning FALSE, TRUE
+	note_type 12, 10, 7
 .loop1:
-	note __, 16
-	loopchannel 4, .loop1
+	rest 16
+	sound_loop 4, .loop1
 	octave 3
 	note G_, 16
 	note A#, 16
@@ -151,14 +152,14 @@
 	note G_, 16
 .mainloop:
 .loop2:
-	note __, 16
-	loopchannel 4, .loop2
-	note __, 8
-	stereopanning $ff
-	intensity $c7
+	rest 16
+	sound_loop 4, .loop2
+	rest 8
+	stereo_panning TRUE, TRUE
+	volume_envelope 12, 7
 	octave 5
 	note C_, 8
-	intensity $c4
+	volume_envelope 12, 4
 	note D_, 2
 	note C_, 2
 	octave 4
@@ -167,18 +168,18 @@
 	note A#, 2
 	octave 5
 	note D_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note C#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note C#, 12
-	intensity $59
+	volume_envelope 5, -1
 	note C_, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note C_, 8
-	note __, 8
-	intensity $c7
+	rest 8
+	volume_envelope 12, 7
 	note C_, 8
-	intensity $c4
+	volume_envelope 12, 4
 	note D_, 2
 	note C_, 2
 	octave 4
@@ -188,17 +189,17 @@
 	note A#, 2
 	octave 5
 	note D_, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note C#, 12
-	intensity $c3
+	volume_envelope 12, 3
 	note C_, 2
 	note C#, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note D#, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 6
-	stereopanning $f
-	intensity $c4
+	stereo_panning FALSE, TRUE
+	volume_envelope 12, 4
 	octave 4
 	note F_, 4
 	note D#, 2
@@ -220,7 +221,7 @@
 	note C#, 8
 	octave 3
 	note A#, 8
-	intensity $b0
+	volume_envelope 11, 0
 	octave 4
 	note D#, 2
 	note D_, 2
@@ -255,16 +256,16 @@
 	note A#, 2
 	octave 4
 	note C#, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note C_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 8
-	intensity $c7
-	stereopanning $ff
-	note __, 8
+	volume_envelope 12, 7
+	stereo_panning TRUE, TRUE
+	rest 8
 	octave 5
 	note C_, 8
-	intensity $c4
+	volume_envelope 12, 4
 	note D_, 2
 	note C_, 2
 	octave 4
@@ -273,18 +274,18 @@
 	note A#, 2
 	octave 5
 	note D_, 4
-	intensity $49
+	volume_envelope 4, -1
 	note C#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note C#, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note C_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 8
-	note __, 8
-	intensity $c7
+	rest 8
+	volume_envelope 12, 7
 	note C_, 8
-	intensity $c4
+	volume_envelope 12, 4
 	note D_, 2
 	note C_, 2
 	octave 4
@@ -294,18 +295,18 @@
 	note A#, 2
 	octave 5
 	note D_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note C#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note C#, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note C_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 8
-	intensity $c7
-	note __, 16
-	stereopanning $f
-	note __, 8
+	volume_envelope 12, 7
+	rest 16
+	stereo_panning FALSE, TRUE
+	rest 8
 	octave 3
 	note A#, 2
 	octave 4
@@ -312,14 +313,14 @@
 	note C_, 2
 	note C#, 4
 	note C_, 16
-	note __, 8
+	rest 8
 	note C#, 2
 	note C_, 2
 	note C#, 4
 	note C_, 16
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	octave 3
 	note A#, 2
 	octave 4
@@ -326,37 +327,37 @@
 	note C_, 2
 	note C#, 4
 	note C_, 16
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note A#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C#, 2
 	note C_, 2
-	intensity $c4
+	volume_envelope 12, 4
 	note C#, 16
-	note __, 4
-	note __, 16
-	note __, 16
-	note __, 16
-	intensity $b7
+	rest 4
+	rest 16
+	rest 16
+	rest 16
+	volume_envelope 11, 7
 	octave 5
 	note D#, 16
 	note D_, 16
 	note F_, 16
 	note D#, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_DarkCave_Ch3:
-	notetype $c, $27
+	note_type 12, 2, 7
 .loop1:
-	callchannel .sub3
-	loopchannel 2, .loop1
+	sound_call .sub3
+	sound_loop 2, .loop1
 .mainloop:
 .loop2:
-	callchannel .sub3
-	loopchannel 7, .loop2
-	callchannel .sub2
+	sound_call .sub3
+	sound_loop 7, .loop2
+	sound_call .sub2
 	octave 3
 	note C_, 4
 	note G_, 2
@@ -364,10 +365,10 @@
 	note G_, 2
 	note D#, 4
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A#, 12
-	callchannel .sub2
+	sound_call .sub2
 	octave 3
 	note C_, 4
 	note G_, 2
@@ -375,7 +376,7 @@
 	note G_, 2
 	note D#, 4
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A#, 4
 	octave 3
@@ -382,9 +383,9 @@
 	note C#, 2
 	note C_, 2
 	note C#, 4
-	callchannel .sub1
-	callchannel .sub1
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_call .sub1
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
@@ -394,7 +395,7 @@
 	note G_, 2
 	note F_, 4
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A#, 4
 	note A#, 2
@@ -407,7 +408,7 @@
 	note G_, 2
 	note D#, 4
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A#, 4
 	octave 3
@@ -414,7 +415,7 @@
 	note C#, 2
 	note C_, 2
 	note C#, 4
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 3
@@ -424,10 +425,10 @@
 	note G_, 2
 	note F_, 4
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A#, 12
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 2
@@ -437,7 +438,7 @@
 	note G_, 2
 	note F_, 4
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 1
 	note A#, 4
 	note A#, 2
@@ -450,7 +451,7 @@
 	note G_, 2
 	note D#, 4
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 1
 	note A#, 4
 	octave 2
@@ -457,30 +458,30 @@
 	note C#, 2
 	note C_, 2
 	note C#, 4
-	endchannel
+	sound_ret
 
 Music_DarkCave_Ch4:
-	togglenoise $3
-	notetype $c
+	toggle_noise 3
+	drum_speed 12
 .mainloop:
-	stereopanning $ff
-	note D#, 8
-	note D#, 8
-	note D#, 4
-	stereopanning $f0
-	note C#, 4
-	stereopanning $f
-	note C#, 2
-	note C#, 2
-	stereopanning $f0
-	note C#, 4
-	stereopanning $ff
-	note D#, 8
-	note D#, 8
-	note D#, 4
-	stereopanning $f
-	note C#, 8
-	stereopanning $f0
-	note C#, 2
-	note C#, 2
-	loopchannel 0, .mainloop
+	stereo_panning TRUE, TRUE
+	drum_note 4, 8
+	drum_note 4, 8
+	drum_note 4, 4
+	stereo_panning TRUE, FALSE
+	drum_note 2, 4
+	stereo_panning FALSE, TRUE
+	drum_note 2, 2
+	drum_note 2, 2
+	stereo_panning TRUE, FALSE
+	drum_note 2, 4
+	stereo_panning TRUE, TRUE
+	drum_note 4, 8
+	drum_note 4, 8
+	drum_note 4, 4
+	stereo_panning FALSE, TRUE
+	drum_note 2, 8
+	stereo_panning TRUE, FALSE
+	drum_note 2, 2
+	drum_note 2, 2
+	sound_loop 0, .mainloop
--- a/audio/music/dragonsden.asm
+++ b/audio/music/dragonsden.asm
@@ -1,29 +1,30 @@
 Music_DragonsDen:
-	musicheader 4, 1, Music_DragonsDen_Ch1
-	musicheader 1, 2, Music_DragonsDen_Ch2
-	musicheader 1, 3, Music_DragonsDen_Ch3
-	musicheader 1, 4, Music_DragonsDen_Ch4
+	channel_count 4
+	channel 1, Music_DragonsDen_Ch1
+	channel 2, Music_DragonsDen_Ch2
+	channel 3, Music_DragonsDen_Ch3
+	channel 4, Music_DragonsDen_Ch4
 
 Music_DragonsDen_Ch1:
 	tempo 144
-	volume $77
-	dutycycle $0
-	tone $0004
-	stereopanning $f0
-	notetype $c, $80
+	volume 7, 7
+	duty_cycle 0
+	pitch_offset 4
+	stereo_panning TRUE, FALSE
+	note_type 12, 8, 0
 .mainloop:
-	callchannel .sub1
-	note __, 16
-	callchannel .sub2
-	note __, 2
-	callchannel .sub2
-	note __, 2
-	callchannel .sub2
-	note __, 2
-	callchannel .sub2
-	note __, 10
-	notetype $c, $b7
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	rest 16
+	sound_call .sub2
+	rest 2
+	sound_call .sub2
+	rest 2
+	sound_call .sub2
+	rest 2
+	sound_call .sub2
+	rest 10
+	note_type 12, 11, 7
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
@@ -40,11 +41,11 @@
 	note D_, 4
 	octave 3
 	note G#, 16
-	endchannel
+	sound_ret
 
 .sub2:
-	intensity $b1
-	note __, 2
+	volume_envelope 11, 1
+	rest 2
 	octave 4
 	note C#, 3
 	note C#, 3
@@ -56,23 +57,23 @@
 	note C#, 4
 	note C#, 2
 	note C#, 2
-	endchannel
+	sound_ret
 
 Music_DragonsDen_Ch2:
-	dutycycle $0
-	tone $0004
-	stereopanning $f
-	notetype $c, $90
+	duty_cycle 0
+	pitch_offset 4
+	stereo_panning FALSE, TRUE
+	note_type 12, 9, 0
 .mainloop:
-	callchannel .sub1
-	note __, 16
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	note __, 16
-	notetype $c, $c7
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	rest 16
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	rest 16
+	note_type 12, 12, 7
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
@@ -87,10 +88,10 @@
 	note G#, 12
 	note G_, 4
 	note C#, 16
-	endchannel
+	sound_ret
 
 .sub2:
-	intensity $c1
+	volume_envelope 12, 1
 .sub2loop1:
 	octave 5
 	note C#, 4
@@ -98,13 +99,13 @@
 	note G#, 4
 	note G#, 4
 	note G#, 4
-	loopchannel 2, .sub2loop1
-	endchannel
+	sound_loop 2, .sub2loop1
+	sound_ret
 
 Music_DragonsDen_Ch3:
 .mainloop:
 .loop1:
-	notetype $c, $14
+	note_type 12, 1, 4
 	octave 4
 	note C#, 2
 	octave 3
@@ -127,9 +128,9 @@
 	note G#, 1
 	octave 4
 	note C#, 1
-	loopchannel 15, .loop1
-	note __, 16
-	notetype $6, $27
+	sound_loop 15, .loop1
+	rest 16
+	note_type 6, 2, 7
 .loop2:
 	octave 3
 	note C#, 4
@@ -153,20 +154,20 @@
 	note G#, 2
 	octave 3
 	note C#, 2
-	loopchannel 16, .loop2
-	loopchannel 0, .mainloop
+	sound_loop 16, .loop2
+	sound_loop 0, .mainloop
 
 Music_DragonsDen_Ch4:
-	togglenoise $0
-	notetype $c
-	note __, 16
-	note __, 16
+	toggle_noise 0
+	drum_speed 12
+	rest 16
+	rest 16
 .mainloop:
-	stereopanning $f0
-	note F_, 4
-	stereopanning $f
-	note F#, 4
-	note F#, 4
-	stereopanning $f0
-	note F#, 4
-	loopchannel 0, .mainloop
+	stereo_panning TRUE, FALSE
+	drum_note 6, 4
+	stereo_panning FALSE, TRUE
+	drum_note 7, 4
+	drum_note 7, 4
+	stereo_panning TRUE, FALSE
+	drum_note 7, 4
+	sound_loop 0, .mainloop
--- a/audio/music/ecruteakcity.asm
+++ b/audio/music/ecruteakcity.asm
@@ -1,48 +1,49 @@
 Music_EcruteakCity:
-	musicheader 3, 1, Music_EcruteakCity_Ch1
-	musicheader 1, 2, Music_EcruteakCity_Ch2
-	musicheader 1, 3, Music_EcruteakCity_Ch3
+	channel_count 3
+	channel 1, Music_EcruteakCity_Ch1
+	channel 2, Music_EcruteakCity_Ch2
+	channel 3, Music_EcruteakCity_Ch3
 
 Music_EcruteakCity_Ch1:
 	tempo 197
-	volume $77
-	stereopanning $f
-	vibrato $12, $25
-	dutycycle $2
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	vibrato 18, 2, 5
+	duty_cycle 2
 .mainloop:
-	notetype $c, $57
-	note __, 10
+	note_type 12, 5, 7
+	rest 10
 	octave 4
 	note C_, 6
-	note __, 10
+	rest 10
 	note C_, 6
-	note __, 16
+	rest 16
 	octave 3
 	note B_, 4
 	octave 4
 	note C_, 4
 	note D_, 4
-	intensity $60
-	note __, 4
-	note __, 16
-	note __, 10
+	volume_envelope 6, 0
+	rest 4
+	rest 16
+	rest 10
 	note G_, 2
 	note A_, 2
 	note A#, 2
-	note __, 8
+	rest 8
 	note G#, 2
 	note G_, 2
 	note F_, 2
 	octave 5
 	note C_, 6
-	notetype $6, $67
+	note_type 6, 6, 7
 	note C#, 4
 	note D_, 10
-	note __, 2
-	stereopanning $ff
+	rest 2
+	stereo_panning TRUE, TRUE
 	octave 4
 	note B_, 8
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	octave 3
 	note A#, 1
 	note B_, 11
@@ -52,27 +53,27 @@
 	note G_, 12
 	note A#, 12
 	note G_, 4
-	note __, 4
+	rest 4
 	note A#, 4
 	octave 5
 	note C#, 4
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 8
 	octave 4
 	note C_, 8
 	note F_, 4
-	note __, 12
+	rest 12
 	note E_, 1
 	note F_, 11
 	note G_, 2
-	note __, 2
+	rest 2
 	note A_, 4
 	note G_, 4
-	note __, 8
-	intensity $52
-	callchannel .sub1
+	rest 8
+	volume_envelope 5, 2
+	sound_call .sub1
 	note D_, 2
 	octave 4
 	note B_, 2
@@ -94,8 +95,8 @@
 	note B_, 2
 	note A_, 2
 	note B_, 2
-	callchannel .sub2
-	intensity $52
+	sound_call .sub2
+	volume_envelope 5, 2
 	note A#, 2
 	note G_, 2
 	note E_, 2
@@ -115,7 +116,7 @@
 	note G_, 2
 	note E_, 2
 	note C#, 2
-	callchannel .sub1
+	sound_call .sub1
 	note D_, 2
 	note C_, 2
 	octave 4
@@ -142,8 +143,8 @@
 	note G#, 2
 	octave 5
 	note C_, 2
-	callchannel .sub2
-	loopchannel 0, .mainloop
+	sound_call .sub2
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 5
@@ -159,8 +160,8 @@
 	note C_, 2
 	note E_, 2
 	note C_, 2
-	loopchannel 2, .sub1
-	endchannel
+	sound_loop 2, .sub1
+	sound_ret
 
 .sub2:
 	octave 5
@@ -223,7 +224,7 @@
 	octave 5
 	note C_, 2
 	note F_, 2
-	loopchannel 2, .sub2loop1
+	sound_loop 2, .sub2loop1
 .sub2loop2:
 	octave 4
 	note G_, 2
@@ -239,36 +240,36 @@
 	octave 5
 	note D_, 2
 	note G_, 2
-	loopchannel 2, .sub2loop2
-	intensity $50
-	dutycycle $0
+	sound_loop 2, .sub2loop2
+	volume_envelope 5, 0
+	duty_cycle 0
 	note E_, 16
 	note G_, 16
-	dutycycle $2
-	endchannel
+	duty_cycle 2
+	sound_ret
 
 Music_EcruteakCity_Ch2:
-	vibrato $12, $25
-	dutycycle $3
-	stereopanning $f0
+	vibrato 18, 2, 5
+	duty_cycle 3
+	stereo_panning TRUE, FALSE
 .mainloop:
-	notetype $6, $67
-	note __, 16
-	note __, 5
+	note_type 6, 6, 7
+	rest 16
+	rest 5
 	octave 4
 	note G_, 1
 	octave 5
 	note D_, 1
 	note E_, 9
-	note __, 16
-	note __, 5
+	rest 16
+	rest 5
 	octave 4
 	note A_, 1
 	octave 5
 	note E_, 1
 	note F_, 9
-	notetype $c, $77
-	note __, 10
+	note_type 12, 7, 7
+	rest 10
 	note D_, 2
 	note C_, 2
 	octave 4
@@ -276,28 +277,28 @@
 	note G_, 4
 	note A_, 4
 	note B_, 4
-	notetype $6, $93
-	intensity $97
-	dutycycle $2
+	note_type 6, 9, 3
+	volume_envelope 9, 7
+	duty_cycle 2
 	octave 3
 	note G_, 7
 	octave 4
 	note C#, 1
 	note D_, 11
-	note __, 1
+	rest 1
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 16
 	note F_, 8
-	note __, 4
+	rest 4
 	note E_, 4
-	note __, 4
+	rest 4
 	note E_, 4
 	note F_, 4
 	note G_, 4
 	note E_, 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 4
 	octave 3
 	note A_, 2
@@ -307,23 +308,23 @@
 	note C_, 16
 	note E_, 4
 	note G_, 2
-	note __, 2
+	rest 2
 	note E_, 4
 	note D_, 10
-	note __, 1
-	stereopanning $ff
+	rest 1
+	stereo_panning TRUE, TRUE
 	note D#, 9
-	stereopanning $f0
-	dutycycle $0
+	stereo_panning TRUE, FALSE
+	duty_cycle 0
 	octave 5
 	note C#, 1
 	note D_, 11
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 16
 	note F_, 12
 	note E_, 4
-	note __, 4
+	rest 4
 	note E_, 4
 	note F_, 4
 	note G_, 2
@@ -334,14 +335,14 @@
 	note E_, 1
 	note A_, 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 4
 	octave 4
 	note A_, 2
-	note __, 2
+	rest 2
 	note B_, 4
 	octave 5
 	note C_, 2
@@ -352,9 +353,9 @@
 	note D#, 1
 	note E_, 11
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 8
-	dutycycle $1
+	duty_cycle 1
 	octave 4
 	note E_, 4
 	note G_, 3
@@ -364,36 +365,36 @@
 	note A_, 4
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note E_, 4
 	note D_, 12
 	note C_, 4
-	note __, 4
+	rest 4
 	octave 3
 	note B_, 4
-	note __, 4
+	rest 4
 	octave 4
 	note F_, 8
 	note G_, 12
 	note F_, 8
-	note __, 4
+	rest 4
 	note E_, 8
 	note D_, 4
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 4
 	octave 4
 	note C_, 2
-	note __, 6
+	rest 6
 	octave 3
 	note B_, 4
-	note __, 4
+	rest 4
 	octave 4
 	note C_, 4
 	octave 3
 	note A_, 16
-	note __, 4
+	rest 4
 	octave 4
 	note F_, 4
 	note E_, 4
@@ -401,34 +402,34 @@
 	note C_, 12
 	octave 3
 	note B_, 4
-	note __, 4
+	rest 4
 	octave 4
 	note C_, 4
 	note D_, 4
 	note D#, 4
-	notetype $c, $83
+	note_type 12, 8, 3
 	note E_, 16
-	intensity $80
+	volume_envelope 8, 0
 	note D_, 4
 	note C#, 4
 	note F_, 4
-	notetype $6, $80
+	note_type 6, 8, 0
 	note G_, 7
 	note G#, 1
-	intensity $87
+	volume_envelope 8, 7
 	note A_, 12
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 3
 	note G#, 1
 	note A_, 4
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 4
 	note D_, 2
-	note __, 2
+	rest 2
 	note C#, 4
 	note D_, 12
 	octave 3
@@ -437,13 +438,13 @@
 	note F_, 4
 	note G_, 12
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 4
 	note G_, 4
 	note D_, 2
-	note __, 1
+	rest 1
 	note A#, 1
 	note B_, 12
 	octave 5
@@ -454,13 +455,13 @@
 	note A_, 4
 	octave 4
 	note C_, 4
-	notetype $c, $87
+	note_type 12, 8, 7
 	note F_, 10
 	note G_, 2
 	note F_, 2
 	note E_, 2
 	note D_, 8
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 2
 	octave 4
@@ -467,13 +468,13 @@
 	note C_, 2
 	note D_, 2
 	note E_, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_EcruteakCity_Ch3:
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 .mainloop:
-	vibrato $12, $25
-	notetype $c, $25
+	vibrato 18, 2, 5
+	note_type 12, 2, 5
 	octave 3
 	note C_, 2
 	note G_, 2
@@ -509,7 +510,7 @@
 	note A#, 2
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	note C#, 2
 	note D_, 2
 	note E_, 2
@@ -516,11 +517,11 @@
 	octave 3
 	note D_, 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note E_, 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note G#, 8
 	octave 3
 	note G_, 2
@@ -552,7 +553,7 @@
 	note D_, 2
 	note F_, 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F_, 8
 	octave 4
@@ -559,10 +560,10 @@
 	note A_, 2
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	note D_, 2
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 2
 	octave 3
@@ -574,7 +575,7 @@
 	note B_, 2
 	octave 4
 	note D_, 2
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note C_, 8
 	note E_, 8
@@ -584,8 +585,8 @@
 	note G_, 8
 	note E_, 8
 	note C#, 8
-	notetype $c, $25
-	callchannel .sub1
+	note_type 12, 2, 5
+	sound_call .sub1
 	octave 4
 	note C_, 8
 	octave 3
@@ -592,76 +593,76 @@
 	note G_, 8
 	note E_, 8
 	note D_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note F_, 4
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 4
-	note __, 2
+	rest 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 4
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 2
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note E_, 4
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 2
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 4
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note D_, 4
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note G_, 4
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	notetype $6, $25
-	note __, 1
+	note_type 6, 2, 5
+	rest 1
 	note B_, 1
-	endchannel
+	sound_ret
--- a/audio/music/elmslab.asm
+++ b/audio/music/elmslab.asm
@@ -1,26 +1,27 @@
 Music_ElmsLab:
-	musicheader 4, 1, Music_ElmsLab_Ch1
-	musicheader 1, 2, Music_ElmsLab_Ch2
-	musicheader 1, 3, Music_ElmsLab_Ch3
-	musicheader 1, 4, Music_ElmsLab_Ch4
+	channel_count 4
+	channel 1, Music_ElmsLab_Ch1
+	channel 2, Music_ElmsLab_Ch2
+	channel 3, Music_ElmsLab_Ch3
+	channel 4, Music_ElmsLab_Ch4
 
 Music_ElmsLab_Ch1:
 	tempo 144
-	volume $77
-	dutycycle $3
-	tone $0001
-	vibrato $10, $15
-	stereopanning $f0
-	notetype $c, $b2
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
+	vibrato 16, 1, 5
+	stereo_panning TRUE, FALSE
+	note_type 12, 11, 2
 	octave 2
 	note F_, 2
 	note G_, 2
 	note A_, 2
 	note B_, 2
-	intensity $b6
+	volume_envelope 11, 6
 	octave 3
 	note C_, 8
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note A#, 2
 	note A_, 2
@@ -34,74 +35,74 @@
 	note A_, 4
 	note A_, 2
 .mainloop:
-	note __, 2
+	rest 2
 	note A_, 2
 	note G#, 2
 	note A_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note C_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	octave 3
 	note B_, 2
 	octave 4
 	note C_, 2
-	intensity $b4
+	volume_envelope 11, 4
 	note F_, 8
-	intensity $b5
+	volume_envelope 11, 5
 	octave 3
 	note A_, 2
 	note G#, 2
 	note A_, 2
 	note F_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
-	intensity $b5
+	volume_envelope 11, 5
 	note A_, 2
 	note G_, 2
 	note F_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note G_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	note A_, 2
 	note G#, 2
 	note A_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	note C_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note F_, 2
 	note E_, 2
 	note D_, 2
 	note F_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note G_, 2
 	note F_, 2
 	note E_, 2
 	note G_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note G_, 2
 	note A_, 2
 	note A#, 2
 	note A_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note G_, 4
-	intensity $b4
+	volume_envelope 11, 4
 	note F_, 2
 	note A_, 2
 	note G_, 2
 	note F_, 2
 	note E_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note G_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 4
 	octave 4
 	note C_, 2
@@ -110,17 +111,17 @@
 	note D_, 2
 	note A#, 4
 	note A_, 4
-	intensity $b4
+	volume_envelope 11, 4
 	note G_, 2
 	note F_, 2
 	note G_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note A_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 4
 	note A#, 2
 	note E_, 6
-	intensity $b3
+	volume_envelope 11, 3
 	note F_, 2
 	note E_, 2
 	note F_, 2
@@ -128,9 +129,9 @@
 	note A_, 2
 	note A_, 2
 	note G_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note E_, 6
-	intensity $b4
+	volume_envelope 11, 4
 	note F_, 4
 	octave 4
 	note C_, 4
@@ -143,7 +144,7 @@
 	octave 3
 	note A#, 2
 	note A_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note A#, 8
 	octave 4
 	note E_, 4
@@ -156,7 +157,7 @@
 	note D_, 4
 	note D#, 4
 	note E_, 4
-	intensity $b4
+	volume_envelope 11, 4
 	octave 3
 	note A_, 2
 	note F_, 2
@@ -177,16 +178,16 @@
 	octave 3
 	note F_, 2
 	note A_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note F_, 2
 	note F_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_ElmsLab_Ch2:
-	dutycycle $3
-	vibrato $10, $26
-	stereopanning $f
-	notetype $c, $c3
+	duty_cycle 3
+	vibrato 16, 2, 6
+	stereo_panning FALSE, TRUE
+	note_type 12, 12, 3
 	octave 4
 	note F_, 2
 	note E_, 2
@@ -193,16 +194,16 @@
 	note D_, 2
 	octave 3
 	note B_, 2
-	intensity $c5
+	volume_envelope 12, 5
 	octave 4
 	note C_, 8
-	intensity $c3
+	volume_envelope 12, 3
 	octave 3
 	note A#, 2
 	note A_, 2
 	note G_, 2
 	note E_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	note F_, 6
 	octave 4
 	note C_, 4
@@ -211,56 +212,56 @@
 	note C_, 4
 	note C_, 4
 	note C_, 2
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 .mainloop:
-	intensity $c6
+	volume_envelope 12, 6
 	octave 4
 	note F_, 6
-	intensity $c2
+	volume_envelope 12, 2
 	note E_, 2
 	note F_, 2
 	note E_, 2
 	note F_, 2
 	note G_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A_, 6
-	intensity $c2
+	volume_envelope 12, 2
 	note F_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note C_, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note D_, 6
-	intensity $c3
+	volume_envelope 12, 3
 	note C#, 2
 	note D_, 2
 	note C#, 2
 	note D_, 2
 	note E_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note F_, 6
-	intensity $c3
+	volume_envelope 12, 3
 	note C_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 3
 	note A_, 10
-	intensity $c3
+	volume_envelope 12, 3
 	note A#, 2
 	note A#, 2
 	octave 4
 	note D_, 2
-	intensity $c5
+	volume_envelope 12, 5
 	note C_, 4
 	octave 3
 	note A#, 6
-	intensity $c3
+	volume_envelope 12, 3
 	octave 4
 	note C_, 2
 	note C_, 2
 	note E_, 2
-	intensity $c4
+	volume_envelope 12, 4
 	note D_, 4
 	note C_, 6
-	intensity $c2
+	volume_envelope 12, 2
 	note D_, 2
 	note D_, 2
 	note F_, 2
@@ -268,20 +269,20 @@
 	note F_, 2
 	note E_, 2
 	note F_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	note G_, 4
-	intensity $c6
+	volume_envelope 12, 6
 	note C_, 4
 	note D_, 4
-	intensity $c4
+	volume_envelope 12, 4
 	note E_, 6
-	intensity $c3
+	volume_envelope 12, 3
 	note F_, 2
 	note F_, 2
 	note G_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A_, 4
-	intensity $c3
+	volume_envelope 12, 3
 	note G_, 2
 	note F#, 2
 	note G_, 2
@@ -288,15 +289,15 @@
 	note F#, 2
 	note G_, 1
 	note F_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note D_, 11
-	intensity $c3
+	volume_envelope 12, 3
 	note E_, 2
 	note E_, 2
 	note F_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note G_, 4
-	intensity $c3
+	volume_envelope 12, 3
 	note F_, 2
 	note E_, 2
 	note F_, 2
@@ -303,15 +304,15 @@
 	note G_, 2
 	note F_, 1
 	note D_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note C_, 11
-	intensity $c4
+	volume_envelope 12, 4
 	note F_, 2
 	note F_, 2
 	note G_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A_, 4
-	intensity $c4
+	volume_envelope 12, 4
 	note G_, 2
 	note F_, 2
 	note A#, 2
@@ -320,10 +321,10 @@
 	octave 5
 	note C_, 2
 	note D_, 5
-	intensity $c3
+	volume_envelope 12, 3
 	note E_, 2
 	note D_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note C_, 4
 	octave 4
 	note A#, 4
@@ -335,25 +336,25 @@
 	note A#, 4
 	note A_, 4
 	note G_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note F_, 8
-	intensity $a0
+	volume_envelope 10, 0
 	note F_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note F_, 10
-	intensity $c2
+	volume_envelope 12, 2
 	note C_, 2
 	note F_, 2
-	intensity $c4
+	volume_envelope 12, 4
 	octave 3
 	note E_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_ElmsLab_Ch3:
-	stereopanning $f
-	notetype $c, $25
-	note __, 8
-	note __, 14
+	stereo_panning FALSE, TRUE
+	note_type 12, 2, 5
+	rest 8
+	rest 14
 	octave 3
 	note C_, 2
 	note F_, 2
@@ -447,7 +448,7 @@
 	note B_, 2
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 4
 	octave 3
 	note A#, 4
@@ -524,14 +525,14 @@
 	note C_, 2
 	note F_, 2
 	note A_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_ElmsLab_Ch4:
-	stereopanning $f0
-	togglenoise $0
-	notetype $c
-	note __, 16
-	note __, 2
+	stereo_panning TRUE, FALSE
+	toggle_noise 0
+	drum_speed 12
+	rest 16
+	rest 2
 .mainloop:
-	note G_, 4
-	loopchannel 0, .mainloop
+	drum_note 8, 4
+	sound_loop 0, .mainloop
--- a/audio/music/evolution.asm
+++ b/audio/music/evolution.asm
@@ -1,47 +1,48 @@
 Music_Evolution:
-	musicheader 4, 1, Music_Evolution_Ch1
-	musicheader 1, 2, Music_Evolution_Ch2
-	musicheader 1, 3, Music_Evolution_Ch3
-	musicheader 1, 4, Music_Evolution_Ch4
+	channel_count 4
+	channel 1, Music_Evolution_Ch1
+	channel 2, Music_Evolution_Ch2
+	channel 3, Music_Evolution_Ch3
+	channel 4, Music_Evolution_Ch4
 
 Music_Evolution_Ch1:
 	tempo 132
-	volume $77
-	vibrato $6, $34
-	tone $0001
-	dutycycle $2
-	notetype $c, $92
+	volume 7, 7
+	vibrato 6, 3, 4
+	pitch_offset 1
+	duty_cycle 2
+	note_type 12, 9, 2
 	octave 3
-	slidepitchto 1, 4, A_
+	pitch_slide 1, 4, A_
 	note C_, 1
-	slidepitchto 1, 4, A_
+	pitch_slide 1, 4, A_
 	note G_, 1
-	slidepitchto 1, 4, A_
+	pitch_slide 1, 4, A_
 	note C_, 1
-	slidepitchto 1, 4, A_
+	pitch_slide 1, 4, A_
 	note G_, 1
-	note __, 4
-	dutycycle $3
-	stereopanning $f
+	rest 4
+	duty_cycle 3
+	stereo_panning FALSE, TRUE
 .mainloop:
 .loop1:
-	callchannel .sub1
-	notetype $c, $a4
+	sound_call .sub1
+	note_type 12, 10, 4
 	note F#, 4
-	callchannel .sub1
-	notetype $c, $a4
+	sound_call .sub1
+	note_type 12, 10, 4
 	note F#, 4
-	loopchannel 2, .loop1
-	callchannel .sub2
-	notetype $c, $a4
+	sound_loop 2, .loop1
+	sound_call .sub2
+	note_type 12, 10, 4
 	note G#, 4
-	callchannel .sub2
-	notetype $c, $a4
+	sound_call .sub2
+	note_type 12, 10, 4
 	note G#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	notetype $c, $a2
+	note_type 12, 10, 2
 	octave 3
 	note C_, 4
 	note G_, 4
@@ -50,10 +51,10 @@
 	note C_, 4
 	note G_, 4
 	note C_, 4
-	endchannel
+	sound_ret
 
 .sub2:
-	notetype $c, $a2
+	note_type 12, 10, 2
 	octave 3
 	note D_, 4
 	note A_, 4
@@ -62,41 +63,41 @@
 	note D_, 4
 	note A_, 4
 	note D_, 4
-	endchannel
+	sound_ret
 
 Music_Evolution_Ch2:
-	dutycycle $2
-	vibrato $8, $25
-	notetype $c, $a2
+	duty_cycle 2
+	vibrato 8, 2, 5
+	note_type 12, 10, 2
 	octave 4
 	note G_, 1
 	note D_, 1
 	note G_, 1
 	note D_, 1
-	note __, 4
-	dutycycle $3
-	stereopanning $f0
+	rest 4
+	duty_cycle 3
+	stereo_panning TRUE, FALSE
 .mainloop:
 .loop1:
-	callchannel .sub1
-	notetype $c, $b5
+	sound_call .sub1
+	note_type 12, 11, 5
 	note A_, 4
-	callchannel .sub1
-	notetype $c, $b5
+	sound_call .sub1
+	note_type 12, 11, 5
 	note B_, 4
-	loopchannel 2, .loop1
-	callchannel .sub2
-	notetype $c, $b5
+	sound_loop 2, .loop1
+	sound_call .sub2
+	note_type 12, 11, 5
 	note B_, 4
-	callchannel .sub2
-	notetype $c, $b5
+	sound_call .sub2
+	note_type 12, 11, 5
 	octave 4
 	note C#, 4
 	octave 3
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 3
 	note G_, 4
 	note D_, 4
@@ -105,10 +106,10 @@
 	note G_, 4
 	note D_, 4
 	note G_, 4
-	endchannel
+	sound_ret
 
 .sub2:
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 3
 	note A_, 4
 	note E_, 4
@@ -117,86 +118,86 @@
 	note A_, 4
 	note E_, 4
 	note A_, 4
-	endchannel
+	sound_ret
 
 Music_Evolution_Ch3:
-	notetype $c, $16
-	note __, 8
+	note_type 12, 1, 6
+	rest 8
 .mainloop:
 .loop1:
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note A_, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note B_, 4
-	loopchannel 2, .loop1
-	callchannel .sub2
+	sound_loop 2, .loop1
+	sound_call .sub2
 	octave 3
 	note B_, 4
-	callchannel .sub2
+	sound_call .sub2
 	octave 4
 	note C#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
 .sub2:
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
 Music_Evolution_Ch4:
-	togglenoise $5
-	notetype $c
-	note __, 8
+	toggle_noise 5
+	drum_speed 12
+	rest 8
 .mainloop:
-	stereopanning $f0
-	note A#, 6
-	note A#, 4
-	stereopanning $f
-	note E_, 2
-	note E_, 2
-	note E_, 2
-	loopchannel 0, .mainloop
+	stereo_panning TRUE, FALSE
+	drum_note 11, 6
+	drum_note 11, 4
+	stereo_panning FALSE, TRUE
+	drum_note 5, 2
+	drum_note 5, 2
+	drum_note 5, 2
+	sound_loop 0, .mainloop
--- a/audio/music/gamecorner.asm
+++ b/audio/music/gamecorner.asm
@@ -1,36 +1,37 @@
 Music_GameCorner:
-	musicheader 4, 1, Music_GameCorner_Ch1
-	musicheader 1, 2, Music_GameCorner_Ch2
-	musicheader 1, 3, Music_GameCorner_Ch3
-	musicheader 1, 4, Music_GameCorner_Ch4
+	channel_count 4
+	channel 1, Music_GameCorner_Ch1
+	channel 2, Music_GameCorner_Ch2
+	channel 3, Music_GameCorner_Ch3
+	channel 4, Music_GameCorner_Ch4
 
 Music_GameCorner_Ch1:
 	tempo 147
-	volume $77
-	stereopanning $f
-	notetype $c, $91
-	note __, 8
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	note_type 12, 9, 1
+	rest 8
 .mainloop:
-	intensity $91
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
+	volume_envelope 9, 1
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
 	octave 3
-	note __, 2
+	rest 2
 	note G#, 3
 	note G#, 3
 	note A#, 2
@@ -37,7 +38,7 @@
 	note A#, 2
 	note G#, 2
 	note G_, 2
-	intensity $71
+	volume_envelope 7, 1
 .loop1:
 	octave 4
 	note G#, 1
@@ -45,7 +46,7 @@
 	note C_, 1
 	note F_, 1
 	note C_, 1
-	loopchannel 4, .loop1
+	sound_loop 4, .loop1
 .loop2:
 	octave 4
 	note A#, 1
@@ -53,7 +54,7 @@
 	note D_, 1
 	note G_, 1
 	note D_, 1
-	loopchannel 4, .loop2
+	sound_loop 4, .loop2
 .loop3:
 	octave 4
 	note D#, 1
@@ -62,7 +63,7 @@
 	note C_, 1
 	octave 4
 	note G_, 1
-	loopchannel 4, .loop3
+	sound_loop 4, .loop3
 .loop4:
 	octave 4
 	note F_, 1
@@ -71,7 +72,7 @@
 	note C_, 1
 	octave 4
 	note A_, 1
-	loopchannel 4, .loop4
+	sound_loop 4, .loop4
 .loop5:
 	octave 4
 	note G#, 1
@@ -79,7 +80,7 @@
 	note C_, 1
 	note F_, 1
 	note C_, 1
-	loopchannel 4, .loop5
+	sound_loop 4, .loop5
 .loop6:
 	octave 4
 	note A#, 1
@@ -87,7 +88,7 @@
 	note D_, 1
 	note G_, 1
 	note D_, 1
-	loopchannel 4, .loop6
+	sound_loop 4, .loop6
 .loop7:
 	octave 4
 	note B_, 1
@@ -95,7 +96,7 @@
 	note D_, 1
 	note G_, 1
 	note D_, 1
-	loopchannel 4, .loop7
+	sound_loop 4, .loop7
 	octave 3
 	note D_, 1
 	note D_, 1
@@ -102,10 +103,10 @@
 	note D_, 3
 	note F_, 2
 	note F_, 9
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	note __, 2
+	rest 2
 	octave 4
 	note A#, 3
 	note G_, 3
@@ -113,7 +114,7 @@
 	octave 3
 	note F_, 3
 	note F_, 2
-	note __, 2
+	rest 2
 	note G#, 3
 	note G#, 3
 	note A#, 2
@@ -120,10 +121,10 @@
 	note A#, 2
 	note G#, 1
 	note A#, 3
-	endchannel
+	sound_ret
 
 .sub2:
-	note __, 2
+	rest 2
 	octave 4
 	note A#, 3
 	note G_, 3
@@ -131,17 +132,17 @@
 	octave 3
 	note F_, 3
 	note F_, 2
-	endchannel
+	sound_ret
 
 Music_GameCorner_Ch2:
-	stereopanning $ff
-	vibrato $8, $24
-	notetype $c, $a1
-	note __, 8
+	stereo_panning TRUE, TRUE
+	vibrato 8, 2, 4
+	note_type 12, 10, 1
+	rest 8
 .mainloop:
-	intensity $92
-	dutycycle $1
-	callchannel .sub1
+	volume_envelope 9, 2
+	duty_cycle 1
+	sound_call .sub1
 	octave 1
 	note F_, 2
 	octave 3
@@ -150,24 +151,24 @@
 	note F_, 1
 	octave 3
 	note G#, 2
-	intensity $a4
+	volume_envelope 10, 4
 	note G#, 3
-	intensity $92
+	volume_envelope 9, 2
 	note G_, 2
 	note A#, 1
 	octave 4
 	note C_, 3
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note F_, 2
 	note D#, 2
 	note F_, 1
 	note D#, 2
-	intensity $a4
+	volume_envelope 10, 4
 	note G_, 3
 	note F_, 4
-	dutycycle $2
-	intensity $c7
+	duty_cycle 2
+	volume_envelope 12, 7
 	octave 3
 	note D#, 1
 	note F_, 1
@@ -182,7 +183,7 @@
 	octave 2
 	note A#, 4
 	note A_, 4
-	note __, 10
+	rest 10
 	octave 3
 	note D#, 1
 	note F_, 1
@@ -195,14 +196,14 @@
 	note D#, 1
 	note F_, 1
 	note G_, 16
-	intensity $92
+	volume_envelope 9, 2
 	note G_, 1
 	note G_, 1
 	note G_, 3
 	note A#, 2
 	note A#, 9
-	intensity $a4
-	loopchannel 0, .mainloop
+	volume_envelope 10, 4
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 1
@@ -253,10 +254,10 @@
 	note D#, 2
 	note F_, 1
 	note D#, 2
-	intensity $a4
+	volume_envelope 10, 4
 	note F_, 3
 	note G_, 4
-	intensity $92
+	volume_envelope 9, 2
 	note F#, 1
 	note F_, 1
 	octave 1
@@ -276,10 +277,10 @@
 	note D#, 2
 	note G_, 1
 	note D#, 2
-	intensity $a4
+	volume_envelope 10, 4
 	note A#, 3
 	note A_, 2
-	intensity $92
+	volume_envelope 9, 2
 	note A#, 1
 	octave 5
 	note C_, 3
@@ -297,10 +298,10 @@
 	note D#, 2
 	note F_, 1
 	note D#, 2
-	intensity $a4
+	volume_envelope 10, 4
 	note F_, 3
 	note G_, 4
-	intensity $92
+	volume_envelope 9, 2
 	note F#, 1
 	note F_, 1
 	octave 1
@@ -313,35 +314,35 @@
 	note C_, 2
 	note D_, 2
 	note D#, 2
-	endchannel
+	sound_ret
 
 Music_GameCorner_Ch3:
-	vibrato $8, $22
-	notetype $c, $14
-	note __, 8
+	vibrato 8, 2, 2
+	note_type 12, 1, 4
+	rest 8
 .mainloop:
-	stereopanning $ff
-	notetype $c, $14
-	callchannel .sub1
-	callchannel .sub2
+	stereo_panning TRUE, TRUE
+	note_type 12, 1, 4
+	sound_call .sub1
+	sound_call .sub2
 	octave 4
 	note G_, 1
 	note A_, 3
-	callchannel .sub1
-	callchannel .sub2
+	sound_call .sub1
+	sound_call .sub2
 	octave 4
 	note A#, 1
 	octave 5
 	note C_, 3
-	stereopanning $f0
-	callchannel .sub1
-	callchannel .sub3
-	callchannel .sub1
-	callchannel .sub4
-	callchannel .sub1
-	callchannel .sub3
-	callchannel .sub1
-	stereopanning $ff
+	stereo_panning TRUE, FALSE
+	sound_call .sub1
+	sound_call .sub3
+	sound_call .sub1
+	sound_call .sub4
+	sound_call .sub1
+	sound_call .sub3
+	sound_call .sub1
+	stereo_panning TRUE, TRUE
 	octave 2
 	note F_, 1
 	octave 3
@@ -359,29 +360,29 @@
 	octave 5
 	note D#, 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 1
 	note F_, 1
-	note __, 2
-	callchannel .sub1
-	callchannel .sub2
+	rest 2
+	sound_call .sub1
+	sound_call .sub2
 	octave 4
 	note G_, 1
 	note A_, 3
-	callchannel .sub1
-	callchannel .sub2
+	sound_call .sub1
+	sound_call .sub2
 	octave 4
 	note A#, 1
 	octave 5
 	note C_, 3
-	stereopanning $f0
-	callchannel .sub1
-	callchannel .sub3
-	callchannel .sub1
-	callchannel .sub4
-	callchannel .sub1
-	callchannel .sub3
-	callchannel .sub1
+	stereo_panning TRUE, FALSE
+	sound_call .sub1
+	sound_call .sub3
+	sound_call .sub1
+	sound_call .sub4
+	sound_call .sub1
+	sound_call .sub3
+	sound_call .sub1
 	octave 2
 	note F_, 1
 	octave 3
@@ -400,25 +401,25 @@
 	note F_, 1
 	octave 5
 	note D#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A#, 1
-	note __, 1
-	intensity $15
-	callchannel .sub5
+	rest 1
+	volume_envelope 1, 5
+	sound_call .sub5
 	octave 2
 	note C_, 2
-	note __, 1
+	rest 1
 	note C_, 1
 	octave 3
 	note C_, 1
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
 	note C_, 1
 	octave 3
@@ -429,18 +430,18 @@
 	note C_, 1
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
 	octave 2
 	note F_, 2
-	note __, 1
+	rest 1
 	note F_, 1
 	octave 3
 	note F_, 1
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
 	note F_, 1
 	octave 3
@@ -451,19 +452,19 @@
 	note F_, 1
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F_, 1
-	callchannel .sub5
+	sound_call .sub5
 	octave 2
 	note G_, 2
-	note __, 1
+	rest 1
 	note G_, 1
 	octave 3
 	note G_, 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
 	note G_, 1
 	octave 3
@@ -474,7 +475,7 @@
 	note G_, 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
 	octave 2
@@ -481,12 +482,12 @@
 	note B_, 1
 	note B_, 1
 	note B_, 1
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 4
-	notetype $6, $15
+	rest 4
+	note_type 6, 1, 5
 	octave 3
 	note D_, 1
 	note C_, 1
@@ -497,7 +498,7 @@
 	note F_, 1
 	note E_, 1
 	note D_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
@@ -526,7 +527,7 @@
 	note C_, 1
 	octave 4
 	note A_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 2
@@ -545,10 +546,10 @@
 	note C_, 1
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub3:
 	octave 2
@@ -569,12 +570,12 @@
 	note F_, 1
 	octave 5
 	note D#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note C_, 1
 	note D_, 3
-	endchannel
+	sound_ret
 
 .sub4:
 	octave 2
@@ -595,26 +596,26 @@
 	note F_, 1
 	octave 5
 	note D#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note C_, 1
 	note D_, 1
 	octave 3
 	note F_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub5:
 	octave 2
 	note F_, 2
-	note __, 1
+	rest 1
 	note F_, 1
 	octave 3
 	note F_, 1
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
 	note F_, 1
 	octave 3
@@ -625,18 +626,18 @@
 	note F_, 1
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F_, 1
 	octave 2
 	note G_, 2
-	note __, 1
+	rest 1
 	note G_, 1
 	octave 3
 	note G_, 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
 	note G_, 1
 	octave 3
@@ -653,154 +654,154 @@
 	note D_, 1
 	octave 3
 	note D_, 1
-	endchannel
+	sound_ret
 
 Music_GameCorner_Ch4:
-	togglenoise $3
-	notetype $c
-	notetype $8
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	notetype $c
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 1
-	note D_, 1
+	toggle_noise 3
+	drum_speed 12
+	drum_speed 8
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_speed 12
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 .loop1:
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	loopchannel 6, .loop1
-	callchannel .sub2
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 6, .loop1
+	sound_call .sub2
 .loop2:
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	loopchannel 3, .loop2
-	note __, 12
-	note D_, 1
-	note D_, 1
-	note F#, 2
-	callchannel .sub1
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 3, .loop2
+	rest 12
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 7, 2
+	sound_call .sub1
 .loop3:
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	loopchannel 6, .loop3
-	callchannel .sub2
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 6, .loop3
+	sound_call .sub2
 .loop4:
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	loopchannel 3, .loop4
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	note D#, 2
-	note F#, 2
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 3, .loop4
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
 .loop5:
-	note A#, 2
-	note F#, 1
-	note D#, 1
-	note D_, 1
-	note D#, 1
-	note F#, 1
-	note D#, 1
-	note D#, 1
-	note D_, 1
-	note F#, 1
-	note D#, 1
-	note D_, 2
-	note F#, 2
-	loopchannel 3, .loop5
-	note A#, 2
-	note F#, 1
-	note D#, 1
-	note D_, 1
-	note D#, 1
-	note F#, 1
-	note D#, 1
-	note D#, 1
-	note D_, 1
-	note F#, 1
-	note D#, 1
-	note D_, 2
-	note D_, 1
-	note D_, 1
+	drum_note 11, 2
+	drum_note 7, 1
+	drum_note 4, 1
+	drum_note 3, 1
+	drum_note 4, 1
+	drum_note 7, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 1
+	drum_note 7, 1
+	drum_note 4, 1
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 3, .loop5
+	drum_note 11, 2
+	drum_note 7, 1
+	drum_note 4, 1
+	drum_note 3, 1
+	drum_note 4, 1
+	drum_note 7, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 1
+	drum_note 7, 1
+	drum_note 4, 1
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
 .loop6:
-	note A#, 2
-	note F#, 1
-	note D#, 1
-	note D_, 1
-	note D#, 1
-	note F#, 1
-	note D#, 1
-	note D#, 1
-	note D_, 1
-	note F#, 1
-	note D#, 1
-	note D_, 2
-	note F#, 2
-	loopchannel 3, .loop6
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note A#, 1
-	note F#, 2
-	note F#, 5
-	note D_, 1
-	note D_, 1
-	note D#, 2
-	loopchannel 0, .mainloop
+	drum_note 11, 2
+	drum_note 7, 1
+	drum_note 4, 1
+	drum_note 3, 1
+	drum_note 4, 1
+	drum_note 7, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 1
+	drum_note 7, 1
+	drum_note 4, 1
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 3, .loop6
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 11, 1
+	drum_note 7, 2
+	drum_note 7, 5
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 4, 2
+	sound_loop 0, .mainloop
 
 .sub1:
-	note C_, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	endchannel
+	drum_note 1, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_ret
 
 .sub2:
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	note A#, 2
-	note F#, 2
-	note D_, 1
-	note D_, 1
-	note F#, 2
-	endchannel
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 7, 2
+	sound_ret
--- a/audio/music/goldenrodcity.asm
+++ b/audio/music/goldenrodcity.asm
@@ -1,21 +1,22 @@
 Music_GoldenrodCity:
-	musicheader 4, 1, Music_GoldenrodCity_Ch1
-	musicheader 1, 2, Music_GoldenrodCity_Ch2
-	musicheader 1, 3, Music_GoldenrodCity_Ch3
-	musicheader 1, 4, Music_GoldenrodCity_Ch4
+	channel_count 4
+	channel 1, Music_GoldenrodCity_Ch1
+	channel 2, Music_GoldenrodCity_Ch2
+	channel 3, Music_GoldenrodCity_Ch3
+	channel 4, Music_GoldenrodCity_Ch4
 
 Music_GoldenrodCity_Ch1:
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	tempo 176
-	volume $77
-	notetype $c, $97
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
+	volume 7, 7
+	note_type 12, 9, 7
+	rest 16
+	rest 16
+	rest 16
+	rest 16
 .mainloop:
-	dutycycle $0
-	callchannel .sub1
+	duty_cycle 0
+	sound_call .sub1
 	octave 3
 	note G#, 1
 	octave 4
@@ -27,19 +28,19 @@
 	note G#, 1
 	octave 5
 	note C_, 1
-	intensity $71
-	dutycycle $0
-	callchannel .sub2
-	intensity $77
+	volume_envelope 7, 1
+	duty_cycle 0
+	sound_call .sub2
+	volume_envelope 7, 7
 	note D#, 2
 	note F_, 2
 	note F#, 2
 	note G#, 4
-	intensity $71
-	callchannel .sub2
+	volume_envelope 7, 1
+	sound_call .sub2
 	note D#, 1
 	note F#, 1
-	intensity $77
+	volume_envelope 7, 7
 	octave 5
 	note C_, 2
 	octave 4
@@ -46,15 +47,15 @@
 	note G#, 2
 	note F#, 2
 	note D#, 2
-	dutycycle $2
-	intensity $97
-	callchannel .sub1
+	duty_cycle 2
+	volume_envelope 9, 7
+	sound_call .sub1
 	note C_, 4
 	octave 3
 	note G#, 2
 	octave 4
 	note C_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
@@ -61,22 +62,22 @@
 	note C#, 2
 	octave 3
 	note G#, 1
-	note __, 3
+	rest 3
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 2
 	octave 3
 	note G#, 1
-	note __, 3
+	rest 3
 	note G#, 1
-	note __, 1
+	rest 1
 	note A#, 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note C#, 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note D#, 2
 	note C_, 2
 	note C#, 2
@@ -83,12 +84,12 @@
 	note D#, 2
 	note F#, 2
 	note C#, 1
-	note __, 3
+	rest 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	note C#, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	note A#, 2
 	note C#, 2
@@ -96,7 +97,7 @@
 	note G#, 2
 	octave 4
 	note C#, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 4
@@ -170,16 +171,16 @@
 	note C_, 1
 	note D#, 1
 	note F#, 1
-	endchannel
+	sound_ret
 
 Music_GoldenrodCity_Ch2:
-	stereopanning $f0
-	vibrato $12, $23
-	dutycycle $2
-	notetype $c, $97
+	stereo_panning TRUE, FALSE
+	vibrato 18, 2, 3
+	duty_cycle 2
+	note_type 12, 9, 7
 .mainloop:
-	intensity $97
-	callchannel .sub1
+	volume_envelope 9, 7
+	sound_call .sub1
 	octave 4
 	note F_, 2
 	note F#, 2
@@ -186,7 +187,7 @@
 	note G#, 2
 	note F_, 2
 	note D#, 8
-	callchannel .sub1
+	sound_call .sub1
 	note G#, 2
 	note A#, 2
 	octave 5
@@ -193,9 +194,9 @@
 	note C_, 2
 	note C#, 2
 	note D#, 8
-	dutycycle $2
-	intensity $77
-	callchannel .sub2
+	duty_cycle 2
+	volume_envelope 7, 7
+	sound_call .sub2
 	octave 4
 	note G#, 2
 	note A#, 2
@@ -202,9 +203,9 @@
 	note B_, 2
 	octave 5
 	note C_, 4
-	dutycycle $3
-	intensity $77
-	callchannel .sub2
+	duty_cycle 3
+	volume_envelope 7, 7
+	sound_call .sub2
 	note F_, 2
 	note D#, 2
 	note C#, 2
@@ -211,7 +212,7 @@
 	note C_, 2
 	octave 4
 	note G#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
@@ -240,8 +241,8 @@
 	note A#, 2
 	note G#, 2
 	note F#, 2
-	dutycycle $1
-	endchannel
+	duty_cycle 1
+	sound_ret
 
 .sub2:
 	note C#, 6
@@ -261,17 +262,17 @@
 	octave 5
 	note C_, 4
 	note D#, 2
-	endchannel
+	sound_ret
 
 Music_GoldenrodCity_Ch3:
-	stereopanning $ff
-	vibrato $8, $23
-	notetype $c, $25
+	stereo_panning TRUE, TRUE
+	vibrato 8, 2, 3
+	note_type 12, 2, 5
 .mainloop:
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	note __, 3
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	rest 3
 	octave 3
 	note C_, 1
 	note D#, 1
@@ -278,8 +279,8 @@
 	note G_, 1
 	note G#, 1
 	note D#, 2
-	callchannel .sub2
-	note __, 1
+	sound_call .sub2
+	rest 1
 	octave 3
 	note G#, 2
 	note F#, 2
@@ -286,60 +287,60 @@
 	note D#, 2
 	octave 2
 	note G#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note C#, 4
-	note __, 2
+	rest 2
 	note C#, 1
-	note __, 1
+	rest 1
 	note C_, 4
-	note __, 2
+	rest 2
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A#, 4
-	note __, 2
+	rest 2
 	note A#, 1
-	note __, 1
+	rest 1
 	note G#, 4
-	note __, 2
+	rest 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note F#, 4
-	note __, 2
+	rest 2
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 4
-	note __, 2
+	rest 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note G#, 4
-	note __, 2
+	rest 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 3
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub2:
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
 	octave 3
 	note C#, 1
-	note __, 2
+	rest 2
 	note C#, 1
-	note __, 5
+	rest 5
 	octave 4
 	note C_, 1
 	note C#, 1
@@ -346,14 +347,14 @@
 	octave 3
 	note G#, 2
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
 	octave 3
 	note C_, 1
-	note __, 2
+	rest 2
 	note C_, 1
-	note __, 5
+	rest 5
 	note B_, 1
 	octave 4
 	note C_, 1
@@ -361,14 +362,14 @@
 	note G#, 2
 	octave 2
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
 	octave 2
 	note A#, 1
-	note __, 2
+	rest 2
 	note A#, 1
-	note __, 5
+	rest 5
 	octave 3
 	note A_, 1
 	note A#, 1
@@ -375,101 +376,101 @@
 	note F#, 2
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 1
 	octave 2
 	note G#, 1
-	note __, 2
+	rest 2
 	note G#, 1
-	endchannel
+	sound_ret
 
 Music_GoldenrodCity_Ch4:
-	togglenoise $3
-	notetype $c
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 8
-	note D_, 2
-	note F#, 2
-	note D_, 1
-	note D_, 1
-	note F#, 2
+	toggle_noise 3
+	drum_speed 12
+	rest 16
+	rest 16
+	rest 16
+	rest 8
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 7, 2
 .mainloop:
 .loop1:
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	loopchannel 3, .loop1
-	callchannel .sub1
-	callchannel .sub2
-	note G_, 1
-	note G_, 1
-	note F#, 2
-	callchannel .sub2
-	note D_, 2
-	note F#, 2
-	callchannel .sub2
-	note D_, 1
-	note D_, 1
-	note F#, 2
-	callchannel .sub2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	callchannel .sub2
-	note G_, 1
-	note G_, 1
-	note F#, 2
-	callchannel .sub2
-	note D_, 2
-	note F#, 2
-	callchannel .sub2
-	note D_, 1
-	note D_, 1
-	note F#, 2
-	callchannel .sub2
-	note D_, 2
-	note D_, 1
-	note D_, 1
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 3, .loop1
+	sound_call .sub1
+	sound_call .sub2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 7, 2
+	sound_call .sub2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_call .sub2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 7, 2
+	sound_call .sub2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_call .sub2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 7, 2
+	sound_call .sub2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_call .sub2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 7, 2
+	sound_call .sub2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
 .loop2:
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	loopchannel 3, .loop2
-	callchannel .sub1
-	loopchannel 0, .mainloop
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 3, .loop2
+	sound_call .sub1
+	sound_loop 0, .mainloop
 
 .sub1:
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	note D#, 2
-	note F#, 2
-	note D_, 1
-	note D_, 1
-	note F#, 2
-	endchannel
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 7, 2
+	sound_ret
 
 .sub2:
-	note D#, 2
-	note D_, 1
-	note D#, 3
-	note D#, 2
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	endchannel
+	drum_note 4, 2
+	drum_note 3, 1
+	drum_note 4, 3
+	drum_note 4, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	sound_ret
--- a/audio/music/goldsilveropening.asm
+++ b/audio/music/goldsilveropening.asm
@@ -1,21 +1,22 @@
 Music_GoldSilverOpening:
-	musicheader 3, 1, Music_GoldSilverOpening_Ch1
-	musicheader 1, 2, Music_GoldSilverOpening_Ch2
-	musicheader 1, 3, Music_GoldSilverOpening_Ch3
+	channel_count 3
+	channel 1, Music_GoldSilverOpening_Ch1
+	channel 2, Music_GoldSilverOpening_Ch2
+	channel 3, Music_GoldSilverOpening_Ch3
 
 Music_GoldSilverOpening_Ch1:
 	tempo 256
-	volume $77
-	tone $0001
-	dutycycle $2
-	stereopanning $f0
-	notetype $c, $b7
+	volume 7, 7
+	pitch_offset 1
+	duty_cycle 2
+	stereo_panning TRUE, FALSE
+	note_type 12, 11, 7
 	octave 1
 	note G#, 16
 	note G#, 16
 	tempo 168
-	dutycycle $3
-	notetype $6, $c7
+	duty_cycle 3
+	note_type 6, 12, 7
 	octave 3
 	note F_, 12
 	note A_, 4
@@ -30,7 +31,7 @@
 	note D#, 12
 	note D_, 2
 	note C#, 2
-	notetype $6, $b5
+	note_type 6, 11, 5
 	note C_, 8
 	octave 3
 	note F_, 8
@@ -38,7 +39,7 @@
 	note B_, 4
 	octave 4
 	note C_, 4
-	notetype $6, $b3
+	note_type 6, 11, 3
 	octave 3
 	note A#, 8
 	note C#, 8
@@ -46,8 +47,8 @@
 	note F#, 8
 	octave 1
 	note B_, 8
-	notetype $6, $b2
-	note __, 4
+	note_type 6, 11, 2
+	rest 4
 	octave 3
 	note A#, 4
 	note A#, 8
@@ -73,7 +74,7 @@
 	note F#, 4
 	note G_, 4
 	note F_, 4
-	notetype $8, $b3
+	note_type 8, 11, 3
 	octave 4
 	note F_, 1
 	note G_, 1
@@ -82,8 +83,8 @@
 	note B_, 1
 	octave 5
 	note C_, 1
-	dutycycle $2
-	notetype $c, $b3
+	duty_cycle 2
+	note_type 12, 11, 3
 	note D_, 1
 	note C#, 1
 	note D_, 4
@@ -101,8 +102,8 @@
 	note C_, 2
 	note D#, 4
 	note F#, 2
-	dutycycle $3
-	notetype $8, $92
+	duty_cycle 3
+	note_type 8, 9, 2
 	note A_, 1
 	note F_, 1
 	note D#, 1
@@ -115,7 +116,7 @@
 	note C_, 1
 	octave 3
 	note A_, 3
-	notetype $c, $b2
+	note_type 12, 11, 2
 	note A#, 2
 	note B_, 2
 	octave 4
@@ -122,24 +123,24 @@
 	note C_, 2
 	note D_, 2
 	note D#, 2
-	intensity $c2
+	volume_envelope 12, 2
 	note F_, 2
 	note G_, 2
 	note A_, 16
-	endchannel
+	sound_ret
 
 Music_GoldSilverOpening_Ch2:
-	tone $0001
-	stereopanning $f
-	notetype $c, $b7
-	dutycycle $2
+	pitch_offset 1
+	stereo_panning FALSE, TRUE
+	note_type 12, 11, 7
+	duty_cycle 2
 	octave 2
 	note C_, 16
 	note C_, 16
-	dutycycle $3
-	notetype $c, $b2
-	note __, 2
-	notetype $6, $62
+	duty_cycle 3
+	note_type 12, 11, 2
+	rest 2
+	note_type 6, 6, 2
 	octave 1
 	note F_, 2
 	note A_, 2
@@ -179,33 +180,33 @@
 	note D_, 2
 	note D#, 2
 	note G_, 2
-	notetype $c, $b7
+	note_type 12, 11, 7
 	octave 1
 	note F_, 16
-	intensity $83
+	volume_envelope 8, 3
 	octave 4
 	note F_, 2
-	intensity $81
+	volume_envelope 8, 1
 	note D_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note G#, 2
-	intensity $91
+	volume_envelope 9, 1
 	note F_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	octave 5
 	note C#, 2
-	intensity $a1
+	volume_envelope 10, 1
 	octave 4
 	note A#, 2
-	intensity $b3
+	volume_envelope 11, 3
 	octave 5
 	note F#, 2
-	intensity $c1
+	volume_envelope 12, 1
 	note D#, 2
-	intensity $b3
+	volume_envelope 11, 3
 	octave 1
 	note A#, 2
-	notetype $6, $b2
+	note_type 6, 11, 2
 	octave 4
 	note D_, 4
 	note D_, 4
@@ -291,146 +292,146 @@
 	octave 3
 	note D#, 4
 	note D#, 16
-	notetype $6, $a2
+	note_type 6, 10, 2
 	note F_, 4
 	note G_, 4
 	note G#, 4
-	notetype $6, $c2
+	note_type 6, 12, 2
 	note A_, 4
 	note A#, 4
 	octave 4
 	note C_, 4
-	notetype $6, $d2
+	note_type 6, 13, 2
 	octave 3
 	note A_, 4
 	octave 4
 	note C_, 4
 	note D#, 16
-	endchannel
+	sound_ret
 
 Music_GoldSilverOpening_Ch3:
-	notetype $6, $10
+	note_type 6, 1, 0
 	octave 2
 	note D_, 4
-	notetype $6, $20
+	note_type 6, 2, 0
 	note D_, 4
-	notetype $6, $30
+	note_type 6, 3, 0
 	note D_, 4
-	note __, 12
-	note __, 8
-	notetype $6, $10
+	rest 12
+	rest 8
+	note_type 6, 1, 0
 	octave 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 6
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 6
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 6
 	note D_, 1
-	note __, 1
-	notetype $8, $10
+	rest 1
+	note_type 8, 1, 0
 	note F_, 1
 	octave 5
 	note B_, 1
@@ -464,29 +465,29 @@
 	note F_, 1
 	octave 5
 	note A_, 3
-	notetype $c, $10
+	note_type 12, 1, 0
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 6
 	note C_, 2
 	octave 5
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 6
 	note F_, 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 2
 	note G#, 1
-	note __, 1
-	note __, 16
-	note __, 4
-	notetype $6, $10
+	rest 1
+	rest 16
+	rest 4
+	note_type 6, 1, 0
 	octave 2
 	note G_, 1
-	note __, 3
+	rest 3
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 5
 	note F_, 12
 	note D_, 4
@@ -494,122 +495,122 @@
 	note F_, 2
 	note D#, 12
 	note G#, 2
-	note __, 2
+	rest 2
 	note F#, 6
 	note D#, 2
 	note F_, 12
 	note D_, 2
-	note __, 2
+	rest 2
 	note D#, 6
 	note F_, 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note A_, 4
 	note D#, 4
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 9
-	notetype $c, $10
-	note __, 14
+	rest 9
+	note_type 12, 1, 0
+	rest 14
 	octave 3
 	note F_, 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 13
-	endchannel
+	rest 13
+	sound_ret
--- a/audio/music/goldsilveropening2.asm
+++ b/audio/music/goldsilveropening2.asm
@@ -1,127 +1,128 @@
 Music_GoldSilverOpening2:
-	musicheader 4, 1, Music_GoldSilverOpening2_Ch1
-	musicheader 1, 2, Music_GoldSilverOpening2_Ch2
-	musicheader 1, 3, Music_GoldSilverOpening2_Ch3
-	musicheader 1, 4, Music_GoldSilverOpening2_Ch4
+	channel_count 4
+	channel 1, Music_GoldSilverOpening2_Ch1
+	channel 2, Music_GoldSilverOpening2_Ch2
+	channel 3, Music_GoldSilverOpening2_Ch3
+	channel 4, Music_GoldSilverOpening2_Ch4
 
 Music_GoldSilverOpening2_Ch1:
 	tempo 92
-	volume $77
-	dutycycle $3
-	tone $0002
-	stereopanning $f
-	notetype $c, $3d
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	stereo_panning FALSE, TRUE
+	note_type 12, 3, -5
 	octave 3
 	note D#, 8
 .loop1:
-	notetype $c, $c1
+	note_type 12, 12, 1
 	octave 3
 	note D_, 2
 	note D_, 2
 	note D_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 10
-	intensity $c1
+	volume_envelope 12, 1
 	note D_, 2
 	note D_, 2
 	note D_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 4
 	note D#, 4
 	note C_, 2
-	loopchannel 2, .loop1
-	intensity $c1
+	sound_loop 2, .loop1
+	volume_envelope 12, 1
 	note D_, 2
 	note D_, 2
 	note D_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 10
-	intensity $c1
+	volume_envelope 12, 1
 	note D_, 2
 	note D_, 2
 	note D_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 4
 	note G_, 4
 	note A#, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note A_, 16
 	note A_, 16
-	intensity $b2
+	volume_envelope 11, 2
 	octave 4
 	note D_, 16
-	endchannel
+	sound_ret
 
 Music_GoldSilverOpening2_Ch2:
-	dutycycle $3
-	vibrato $14, $14
-	stereopanning $f0
-	notetype $c, $3f
+	duty_cycle 3
+	vibrato 20, 1, 4
+	stereo_panning TRUE, FALSE
+	note_type 12, 3, -7
 	octave 3
 	note A#, 8
-	notetype $c, $d1
+	note_type 12, 13, 1
 	octave 3
 	note A_, 2
 	note A_, 2
 	note A_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 10
-	intensity $d1
+	volume_envelope 13, 1
 	note A_, 2
 	note A_, 2
 	note A_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C_, 4
 	octave 3
 	note A#, 4
 	note G_, 2
-	intensity $d1
+	volume_envelope 13, 1
 	note A_, 2
 	note A_, 2
 	note A_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 10
-	intensity $d1
+	volume_envelope 13, 1
 	note A_, 2
 	note A_, 2
 	note A_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C_, 4
 	note C#, 4
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note D_, 8
 	note D#, 8
 	note F_, 8
 	note A#, 8
-	intensity $b0
+	volume_envelope 11, 0
 	octave 5
 	note D_, 16
 	note D_, 16
-	intensity $c2
+	volume_envelope 12, 2
 	note D_, 16
-	endchannel
+	sound_ret
 
 Music_GoldSilverOpening2_Ch3:
-	notetype $c, $17
-	note __, 8
+	note_type 12, 1, 7
+	rest 8
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A#, 8
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 4
 	note F_, 4
 	note A_, 2
@@ -179,39 +180,39 @@
 	octave 3
 	note C#, 2
 	note D_, 2
-	note __, 14
-	endchannel
+	rest 14
+	sound_ret
 
 Music_GoldSilverOpening2_Ch4:
-	togglenoise $0
-	notetype $6
-	note D#, 2
-	note D#, 2
-	note D#, 2
-	note D#, 2
-	note D#, 2
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	notetype $c
+	toggle_noise 0
+	drum_speed 6
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_speed 12
 .loop1:
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note C#, 4
-	note D#, 2
-	note D#, 2
-	note D#, 2
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note C#, 6
-	notetype $6
-	note D#, 2
-	note D#, 2
-	note D#, 2
-	note D#, 2
-	notetype $c
-	loopchannel 4, .loop1
-	note C_, 16
-	endchannel
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 2, 4
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 2, 6
+	drum_speed 6
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_speed 12
+	sound_loop 4, .loop1
+	drum_note 1, 16
+	sound_ret
--- a/audio/music/gym.asm
+++ b/audio/music/gym.asm
@@ -1,16 +1,17 @@
 Music_Gym:
-	musicheader 4, 1, Music_Gym_Ch1
-	musicheader 1, 2, Music_Gym_Ch2
-	musicheader 1, 3, Music_Gym_Ch3
-	musicheader 1, 4, Music_Gym_Ch4
+	channel_count 4
+	channel 1, Music_Gym_Ch1
+	channel 2, Music_Gym_Ch2
+	channel 3, Music_Gym_Ch3
+	channel 4, Music_Gym_Ch4
 
 Music_Gym_Ch1:
 	tempo 156
-	volume $77
-	stereopanning $f
-	vibrato $12, $24
-	dutycycle $1
-	notetype $c, $b7
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	vibrato 18, 2, 4
+	duty_cycle 1
+	note_type 12, 11, 7
 .mainloop:
 	octave 4
 	note F#, 2
@@ -18,7 +19,7 @@
 	note A_, 1
 	note A_, 1
 	note A_, 1
-	note __, 3
+	rest 3
 	octave 4
 	note E_, 2
 	octave 2
@@ -25,7 +26,7 @@
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 4
 	note D_, 2
 	octave 2
@@ -32,7 +33,7 @@
 	note D_, 1
 	note D_, 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 1
 	note D_, 1
@@ -52,7 +53,7 @@
 	note F#, 2
 	note A_, 2
 	note G_, 1
-	note __, 2
+	rest 2
 	note E_, 1
 	note E_, 2
 	note C_, 2
@@ -67,7 +68,7 @@
 	note F#, 2
 	note A_, 2
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
 	note F#, 1
 	note G_, 4
@@ -86,12 +87,12 @@
 	note G_, 2
 	note A_, 2
 	note B_, 1
-	note __, 2
+	rest 2
 	note G_, 1
 	note G_, 4
 	octave 4
 	note E_, 1
-	note __, 2
+	rest 2
 	note C_, 1
 	note C_, 2
 	octave 3
@@ -115,9 +116,9 @@
 	note D_, 6
 	octave 3
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
 	octave 4
 	note F#, 3
@@ -126,10 +127,10 @@
 	note E_, 4
 	note C_, 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
 	note E_, 1
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 4
 	note F#, 2
@@ -151,9 +152,9 @@
 	note F#, 6
 	octave 3
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
 	octave 4
 	note F#, 3
@@ -187,13 +188,13 @@
 	note G_, 1
 	note F#, 1
 	note E_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_Gym_Ch2:
-	dutycycle $1
-	stereopanning $f0
+	duty_cycle 1
+	stereo_panning TRUE, FALSE
 .mainloop:
-	notetype $c, $c3
+	note_type 12, 12, 3
 	octave 2
 	note D_, 2
 	octave 1
@@ -226,12 +227,12 @@
 	octave 3
 	note C_, 1
 	note C#, 1
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note E_, 2
 	note C_, 1
 	note C#, 1
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note C_, 1
 	note E_, 1
@@ -238,8 +239,8 @@
 	note G_, 1
 	octave 4
 	note C_, 1
-	intensity $d2
-	callchannel .sub2
+	volume_envelope 13, 2
+	sound_call .sub2
 	octave 1
 	note F#, 1
 	note B_, 1
@@ -260,7 +261,7 @@
 	octave 2
 	note G_, 2
 	note E_, 2
-	callchannel .sub2
+	sound_call .sub2
 	octave 1
 	note G_, 1
 	octave 2
@@ -283,7 +284,7 @@
 	octave 2
 	note F#, 2
 	note D_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
@@ -329,7 +330,7 @@
 	note C_, 1
 	note C_, 1
 	note C_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 2
@@ -361,17 +362,17 @@
 	note C_, 2
 	octave 1
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
 	note F#, 1
 	note F#, 1
-	endchannel
+	sound_ret
 
 Music_Gym_Ch3:
-	vibrato $14, $23
-	stereopanning $ff
+	vibrato 20, 2, 3
+	stereo_panning TRUE, TRUE
 .mainloop:
-	notetype $c, $14
+	note_type 12, 1, 4
 	octave 6
 	note D_, 2
 	octave 4
@@ -378,7 +379,7 @@
 	note D_, 1
 	note D_, 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note A_, 1
 	octave 6
@@ -388,7 +389,7 @@
 	note C_, 1
 	note C_, 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note A_, 1
 	octave 6
@@ -399,7 +400,7 @@
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note B_, 1
 	note B_, 1
@@ -413,7 +414,7 @@
 	octave 5
 	note D_, 2
 	note E_, 1
-	note __, 2
+	rest 2
 	note C_, 1
 	note C_, 4
 	note G_, 4
@@ -424,21 +425,21 @@
 	octave 5
 	note D_, 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
 	note D_, 1
 	note E_, 8
-	note __, 4
+	rest 4
 	note F#, 12
 	note E_, 2
 	note F#, 2
 	note G_, 1
-	note __, 2
+	rest 2
 	note E_, 1
 	note E_, 4
 	octave 6
 	note C_, 1
-	note __, 2
+	rest 2
 	octave 5
 	note G_, 1
 	note G_, 4
@@ -452,9 +453,9 @@
 	note C_, 8
 	octave 5
 	note B_, 4
-	intensity $13
-	callchannel .sub1
-	note __, 2
+	volume_envelope 1, 3
+	sound_call .sub1
+	rest 2
 	note A_, 2
 	octave 6
 	note D_, 2
@@ -466,20 +467,20 @@
 	note A#, 4
 	note A_, 4
 	note G_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
 	note B_, 1
 	octave 6
 	note C_, 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
 	note E_, 1
 	note F#, 8
 	note E_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 5
@@ -495,72 +496,72 @@
 	note A_, 4
 	note G_, 4
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note G_, 1
 	note A_, 4
-	endchannel
+	sound_ret
 
 Music_Gym_Ch4:
-	togglenoise $4
+	toggle_noise 4
 .mainloop:
-	notetype $c
-	note D_, 2
-	note C#, 1
-	note C#, 1
-	note B_, 4
-	note D_, 2
-	note C#, 1
-	note C#, 1
-	note B_, 4
-	note D_, 2
-	note C#, 1
-	note C#, 1
-	note D_, 2
-	note C#, 1
-	note C#, 1
-	note A#, 1
-	note D#, 1
-	note D#, 1
-	note D#, 1
-	note C#, 1
-	note C#, 1
-	note D_, 1
-	note D_, 1
-	notetype $6
+	drum_speed 12
+	drum_note 3, 2
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 12, 4
+	drum_note 3, 2
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 12, 4
+	drum_note 3, 2
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 2
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 11, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_speed 6
 .loop1:
-	note D_, 6
-	note D_, 6
-	note D_, 4
-	note D_, 2
-	note D_, 2
-	note D_, 4
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note D_, 6
-	note D_, 6
-	note D_, 4
-	note D_, 2
-	note D_, 2
-	note D_, 4
-	note B_, 8
-	loopchannel 4, .loop1
+	drum_note 3, 6
+	drum_note 3, 6
+	drum_note 3, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 6
+	drum_note 3, 6
+	drum_note 3, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 12, 8
+	sound_loop 4, .loop1
 .loop2:
-	note D#, 4
-	note F#, 4
-	note D_, 4
-	note D#, 2
-	note D_, 2
-	note D#, 2
-	note D_, 2
-	note D#, 4
-	note D_, 4
-	note F#, 4
-	loopchannel 8, .loop2
-	loopchannel 0, .mainloop
+	drum_note 4, 4
+	drum_note 7, 4
+	drum_note 3, 4
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 4, 4
+	drum_note 3, 4
+	drum_note 7, 4
+	sound_loop 8, .loop2
+	sound_loop 0, .mainloop
--- a/audio/music/gymleadervictory.asm
+++ b/audio/music/gymleadervictory.asm
@@ -1,16 +1,17 @@
 Music_GymLeaderVictory:
-	musicheader 4, 1, Music_GymLeaderVictory_Ch1
-	musicheader 1, 2, Music_GymLeaderVictory_Ch2
-	musicheader 1, 3, Music_GymLeaderVictory_Ch3
-	musicheader 1, 4, Music_GymLeaderVictory_Ch4
+	channel_count 4
+	channel 1, Music_GymLeaderVictory_Ch1
+	channel 2, Music_GymLeaderVictory_Ch2
+	channel 3, Music_GymLeaderVictory_Ch3
+	channel 4, Music_GymLeaderVictory_Ch4
 
 Music_GymLeaderVictory_Ch1:
 	tempo 116
-	volume $77
-	vibrato $12, $34
-	dutycycle $3
-	tone $0001
-	notetype $c, $b7
+	volume 7, 7
+	vibrato 18, 3, 4
+	duty_cycle 3
+	pitch_offset 1
+	note_type 12, 11, 7
 	octave 4
 	note D_, 6
 	octave 3
@@ -25,19 +26,19 @@
 	note A_, 1
 	octave 5
 	note D_, 8
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 .mainloop:
 .loop1:
-	dutycycle $1
-	callchannel .sub1
+	duty_cycle 1
+	sound_call .sub1
 	octave 4
 	note C#, 4
 	note E_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note F#, 8
-	loopchannel 2, .loop1
-	dutycycle $2
-	callchannel .sub2
+	sound_loop 2, .loop1
+	duty_cycle 2
+	sound_call .sub2
 	note A_, 4
 	note G_, 4
 	note F#, 6
@@ -47,8 +48,8 @@
 	note E_, 2
 	note D_, 8
 	note C#, 8
-	dutycycle $3
-	callchannel .sub2
+	duty_cycle 3
+	sound_call .sub2
 	note C#, 4
 	note E_, 4
 	note G_, 6
@@ -56,12 +57,12 @@
 	note G_, 1
 	note A_, 6
 	note G_, 2
-	intensity $87
+	volume_envelope 8, 7
 	note F#, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $91
+	volume_envelope 9, 1
 	octave 3
 	note F#, 2
 	note A_, 2
@@ -82,10 +83,10 @@
 	note B_, 2
 	note G_, 1
 	note D_, 1
-	endchannel
+	sound_ret
 
 .sub2:
-	intensity $87
+	volume_envelope 8, 7
 	octave 3
 	note F#, 14
 	note D_, 1
@@ -112,12 +113,12 @@
 	octave 4
 	note C#, 1
 	note E_, 8
-	endchannel
+	sound_ret
 
 Music_GymLeaderVictory_Ch2:
-	vibrato $12, $34
-	dutycycle $3
-	notetype $c, $d7
+	vibrato 18, 3, 4
+	duty_cycle 3
+	note_type 12, 13, 7
 	octave 4
 	note A_, 6
 	note F#, 1
@@ -130,33 +131,33 @@
 	note D_, 1
 	note F#, 16
 .mainloop:
-	dutycycle $3
-	intensity $a1
-	callchannel .sub1
+	duty_cycle 3
+	volume_envelope 10, 1
+	sound_call .sub1
 	note A_, 4
 	note A_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note D_, 6
-	dutycycle $2
+	duty_cycle 2
 	note B_, 1
 	octave 5
 	note C#, 1
-	callchannel .sub1
+	sound_call .sub1
 	note A_, 4
 	note A_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note D_, 8
-	dutycycle $3
-	callchannel .sub2
+	duty_cycle 3
+	sound_call .sub2
 	note F#, 4
 	note E_, 4
 	note D_, 14
 	octave 4
 	note B_, 2
-	intensity $a7
+	volume_envelope 10, 7
 	note A_, 16
-	dutycycle $2
-	callchannel .sub2
+	duty_cycle 2
+	sound_call .sub2
 	octave 4
 	note A_, 4
 	octave 5
@@ -163,15 +164,15 @@
 	note C#, 4
 	note D_, 14
 	note E_, 2
-	intensity $a6
+	volume_envelope 10, 6
 	note D_, 12
-	note __, 2
-	dutycycle $3
+	rest 2
+	duty_cycle 3
 	octave 4
 	note B_, 1
 	octave 5
 	note C#, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 5
@@ -188,10 +189,10 @@
 	note A_, 2
 	note G_, 2
 	note F#, 2
-	endchannel
+	sound_ret
 
 .sub2:
-	intensity $98
+	volume_envelope 9, 8
 	note A_, 6
 	note F#, 1
 	note A_, 1
@@ -212,10 +213,10 @@
 	octave 5
 	note C#, 8
 	note C#, 8
-	endchannel
+	sound_ret
 
 Music_GymLeaderVictory_Ch3:
-	notetype $c, $25
+	note_type 12, 2, 5
 	octave 3
 	note F#, 16
 	note D_, 10
@@ -224,60 +225,60 @@
 	note B_, 2
 	octave 3
 	note C#, 2
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 .mainloop:
 .loop1:
 	note D_, 2
-	note __, 4
+	rest 4
 	octave 2
 	note A_, 2
 	octave 3
 	note C#, 2
-	note __, 4
+	rest 4
 	octave 2
 	note A_, 2
 	note B_, 2
-	note __, 4
+	rest 4
 	note G_, 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C#, 4
 	note D_, 2
-	note __, 4
+	rest 4
 	octave 2
 	note A_, 2
 	octave 3
 	note C#, 2
-	note __, 4
+	rest 4
 	octave 2
 	note A_, 2
 	note B_, 2
-	note __, 4
+	rest 4
 	note G_, 2
 	octave 3
 	note D_, 2
-	note __, 6
-	loopchannel 2, .loop1
-	callchannel .sub1
+	rest 6
+	sound_loop 2, .loop1
+	sound_call .sub1
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 2
 	note F#, 2
 	note D_, 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
 	octave 3
@@ -284,47 +285,47 @@
 	note C#, 2
 	octave 2
 	note A_, 2
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	note G_, 2
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 2
 	note G_, 2
 	note E_, 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
 	note B_, 2
 	octave 3
 	note C#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 2
 	note F#, 2
 	note D_, 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	note F#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
 	octave 3
@@ -333,20 +334,20 @@
 	note A_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	octave 4
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note E_, 2
 	note G#, 2
 	note E_, 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 2
 	octave 3
@@ -354,11 +355,11 @@
 	octave 2
 	note B_, 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 2
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
 	octave 3
@@ -367,12 +368,12 @@
 	note A_, 2
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
 	octave 3
@@ -379,44 +380,44 @@
 	note C#, 2
 	octave 2
 	note A_, 2
-	endchannel
+	sound_ret
 
 Music_GymLeaderVictory_Ch4:
-	togglenoise $4
-	notetype $c
-	note B_, 16
-	note B_, 16
+	toggle_noise 4
+	drum_speed 12
+	drum_note 12, 16
+	drum_note 12, 16
 .mainloop:
-	callchannel .sub1
-	note D#, 6
-	note D#, 2
-	note D#, 8
-	callchannel .sub1
-	note D#, 6
-	note D#, 2
-	note D#, 4
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
+	sound_call .sub1
+	drum_note 4, 6
+	drum_note 4, 2
+	drum_note 4, 8
+	sound_call .sub1
+	drum_note 4, 6
+	drum_note 4, 2
+	drum_note 4, 4
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
 .loop1:
-	note D#, 2
-	note G_, 2
-	note D_, 2
-	note D#, 2
-	note G_, 2
-	note D#, 2
-	note D_, 2
-	note G_, 2
-	loopchannel 16, .loop1
-	loopchannel 0, .mainloop
+	drum_note 4, 2
+	drum_note 8, 2
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 8, 2
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 8, 2
+	sound_loop 16, .loop1
+	sound_loop 0, .mainloop
 
 .sub1:
 .sub1loop1:
-	note D#, 6
-	note D#, 2
-	note D#, 4
-	note D_, 2
-	note D#, 2
-	loopchannel 3, .sub1loop1
-	endchannel
+	drum_note 4, 6
+	drum_note 4, 2
+	drum_note 4, 4
+	drum_note 3, 2
+	drum_note 4, 2
+	sound_loop 3, .sub1loop1
+	sound_ret
--- a/audio/music/halloffame.asm
+++ b/audio/music/halloffame.asm
@@ -1,21 +1,22 @@
 Music_HallOfFame:
-	musicheader 4, 1, Music_HallOfFame_Ch1
-	musicheader 1, 2, Music_HallOfFame_Ch2
-	musicheader 1, 3, Music_HallOfFame_Ch3
-	musicheader 1, 4, Music_HallOfFame_Ch4
+	channel_count 4
+	channel 1, Music_HallOfFame_Ch1
+	channel 2, Music_HallOfFame_Ch2
+	channel 3, Music_HallOfFame_Ch3
+	channel 4, Music_HallOfFame_Ch4
 
 Music_HallOfFame_Ch1:
 	tempo 112
-	volume $77
-	dutycycle $2
-	vibrato $c, $22
-	tone $0001
-	stereopanning $f0
-	notetype $c, $93
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 12
+	volume 7, 7
+	duty_cycle 2
+	vibrato 12, 2, 2
+	pitch_offset 1
+	stereo_panning TRUE, FALSE
+	note_type 12, 9, 3
+	rest 16
+	rest 16
+	rest 16
+	rest 12
 	octave 3
 	note D_, 1
 	note E_, 1
@@ -23,35 +24,35 @@
 	note F#, 1
 .mainloop:
 .loop1:
-	intensity $97
+	volume_envelope 9, 7
 	octave 4
 	note C_, 8
-	intensity $77
+	volume_envelope 7, 7
 	note C_, 8
-	intensity $97
+	volume_envelope 9, 7
 	note E_, 8
-	intensity $77
+	volume_envelope 7, 7
 	note E_, 8
-	intensity $97
+	volume_envelope 9, 7
 	note F#, 8
-	intensity $77
+	volume_envelope 7, 7
 	note F#, 8
-	intensity $77
+	volume_envelope 7, 7
 	note F_, 8
-	intensity $57
+	volume_envelope 5, 7
 	note F_, 8
-	loopchannel 3, .loop1
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	loopchannel 0, .mainloop
+	sound_loop 3, .loop1
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	sound_loop 0, .mainloop
 
 Music_HallOfFame_Ch2:
-	vibrato $8, $25
-	dutycycle $3
+	vibrato 8, 2, 5
+	duty_cycle 3
 .mainloop:
-	notetype $c, $c4
+	note_type 12, 12, 4
 	octave 3
 	note G_, 2
 	note D_, 2
@@ -75,11 +76,11 @@
 	note A#, 4
 	note A_, 4
 	note F_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_HallOfFame_Ch3:
 .mainloop:
-	notetype $c, $28
+	note_type 12, 2, 8
 .loop1:
 	octave 3
 	note D_, 2
@@ -117,7 +118,7 @@
 	note F_, 2
 	note C_, 2
 	note F_, 2
-	loopchannel 3, .loop1
+	sound_loop 3, .loop1
 	note D_, 4
 	note G_, 4
 	note D_, 4
@@ -134,40 +135,40 @@
 	note G_, 4
 	note E_, 4
 	note G_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_HallOfFame_Ch4:
-	togglenoise $5
-	notetype $c
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	notetype $6
+	toggle_noise 5
+	drum_speed 12
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	drum_speed 6
 .mainloop:
-	stereopanning $f
-	note A#, 4
-	note A#, 8
-	note A#, 4
-	note A#, 4
-	note A#, 4
-	stereopanning $f0
-	note A_, 2
-	note A_, 2
-	note A#, 2
-	note A#, 2
-	note A#, 4
-	note A#, 4
-	note A#, 8
-	note A#, 4
-	note A#, 4
-	stereopanning $f
-	note A#, 1
-	note A#, 1
-	note A_, 1
-	note A_, 1
-	note A#, 1
-	note A#, 1
-	note A#, 1
-	note A#, 1
-	loopchannel 0, .mainloop
+	stereo_panning FALSE, TRUE
+	drum_note 11, 4
+	drum_note 11, 8
+	drum_note 11, 4
+	drum_note 11, 4
+	drum_note 11, 4
+	stereo_panning TRUE, FALSE
+	drum_note 10, 2
+	drum_note 10, 2
+	drum_note 11, 2
+	drum_note 11, 2
+	drum_note 11, 4
+	drum_note 11, 4
+	drum_note 11, 8
+	drum_note 11, 4
+	drum_note 11, 4
+	stereo_panning FALSE, TRUE
+	drum_note 11, 1
+	drum_note 11, 1
+	drum_note 10, 1
+	drum_note 10, 1
+	drum_note 11, 1
+	drum_note 11, 1
+	drum_note 11, 1
+	drum_note 11, 1
+	sound_loop 0, .mainloop
--- a/audio/music/healpokemon.asm
+++ b/audio/music/healpokemon.asm
@@ -1,50 +1,51 @@
 Music_HealPokemon:
-	musicheader 3, 1, Music_HealPokemon_Ch1
-	musicheader 1, 2, Music_HealPokemon_Ch2
-	musicheader 1, 3, Music_HealPokemon_Ch3
+	channel_count 3
+	channel 1, Music_HealPokemon_Ch1
+	channel 2, Music_HealPokemon_Ch2
+	channel 3, Music_HealPokemon_Ch3
 
 Music_HealPokemon_Ch1:
 	tempo 144
-	volume $77
-	dutycycle $2
-	tone $0001
-	notetype $c, $81
-	note __, 2
-	slidepitchto 1, 4, __
+	volume 7, 7
+	duty_cycle 2
+	pitch_offset 1
+	note_type 12, 8, 1
+	rest 2
+	pitch_slide 1, 4, B_
 	note B_, 2
-	slidepitchto 1, 5, E_
+	pitch_slide 1, 3, E_
 	note B_, 2
-	slidepitchto 1, 4, E_
+	pitch_slide 1, 4, E_
 	note E_, 2
-	note __, 4
-	slidepitchto 1, 3, __
+	rest 4
+	pitch_slide 1, 5, B_
 	note E_, 4
-	slidepitchto 1, 4, __
+	pitch_slide 1, 4, B_
 	note B_, 4
-	endchannel
+	sound_ret
 
 Music_HealPokemon_Ch2:
-	dutycycle $2
-	notetype $c, $c3
+	duty_cycle 2
+	note_type 12, 12, 3
 	octave 4
 	note B_, 4
 	note B_, 4
 	note B_, 2
 	note G#, 2
-	notetype $c, $c4
+	note_type 12, 12, 4
 	octave 5
 	note E_, 8
-	endchannel
+	sound_ret
 
 Music_HealPokemon_Ch3:
-	notetype $c, $10
+	note_type 12, 1, 0
 	octave 4
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	note G#, 2
 	note E_, 6
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
--- a/audio/music/indigoplateau.asm
+++ b/audio/music/indigoplateau.asm
@@ -1,34 +1,35 @@
 Music_IndigoPlateau:
-	musicheader 4, 1, Music_IndigoPlateau_Ch1
-	musicheader 1, 2, Music_IndigoPlateau_Ch2
-	musicheader 1, 3, Music_IndigoPlateau_Ch3
-	musicheader 1, 4, Music_IndigoPlateau_Ch4
+	channel_count 4
+	channel 1, Music_IndigoPlateau_Ch1
+	channel 2, Music_IndigoPlateau_Ch2
+	channel 3, Music_IndigoPlateau_Ch3
+	channel 4, Music_IndigoPlateau_Ch4
 
 Music_IndigoPlateau_Ch1:
 	tempo 128
-	volume $77
-	dutycycle $3
-	tone $0002
-	stereopanning $f
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	stereo_panning FALSE, TRUE
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note D_, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note D#, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note D#, 4
-	callchannel .sub1
+	sound_call .sub1
 	note A#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	notetype $c, $b6
+	note_type 12, 11, 6
 	octave 2
 	note A_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note A_, 2
 	note A_, 2
 	note A_, 2
@@ -36,44 +37,44 @@
 	note A_, 4
 	note A_, 2
 	note A_, 2
-	intensity $a0
-	endchannel
+	volume_envelope 10, 0
+	sound_ret
 
 Music_IndigoPlateau_Ch2:
-	dutycycle $3
-	vibrato $10, $22
-	stereopanning $f0
+	duty_cycle 3
+	vibrato 16, 2, 2
+	stereo_panning TRUE, FALSE
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note A_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note A#, 4
-	callchannel .sub1
+	sound_call .sub1
 	note A_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note C#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note A_, 6
 	note D_, 2
 	note G_, 2
 	note A#, 2
 	note A_, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note A_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note A#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note D_, 6
 	note D#, 2
 	note C_, 4
 	note D_, 8
-	intensity $b0
+	volume_envelope 11, 0
 	octave 3
 	note A_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note C#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C_, 6
 	octave 3
@@ -81,28 +82,28 @@
 	note A_, 2
 	note G_, 2
 	note F#, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note A_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note A#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note D_, 6
 	note D#, 2
 	note F_, 4
 	note F#, 8
-	intensity $b0
+	volume_envelope 11, 0
 	octave 3
 	note A_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note C#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	notetype $c, $c6
+	note_type 12, 12, 6
 	octave 3
 	note D_, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note D_, 2
 	note D_, 2
 	note D_, 2
@@ -110,73 +111,73 @@
 	note D_, 4
 	note D_, 2
 	note D_, 2
-	intensity $b0
-	endchannel
+	volume_envelope 11, 0
+	sound_ret
 
 Music_IndigoPlateau_Ch3:
-	notetype $c, $19
+	note_type 12, 1, -1
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note A_, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note A_, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note A_, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note F#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note D_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note C_, 1
-	note __, 3
+	rest 3
 	note D_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 1
-	note __, 3
-	endchannel
+	rest 3
+	sound_ret
 
 Music_IndigoPlateau_Ch4:
-	stereopanning $f0
-	togglenoise $0
-	notetype $c
+	stereo_panning TRUE, FALSE
+	toggle_noise 0
+	drum_speed 12
 .mainloop:
-	note D#, 4
-	note D_, 2
-	note D#, 2
-	note D#, 2
-	note D#, 2
-	note D_, 4
-	note D_, 2
-	note D_, 2
-	notetype $6
-	note D_, 1
-	note D_, 1
-	note D#, 1
-	note D#, 1
-	note D#, 1
-	note D#, 1
-	note D_, 1
-	note D_, 1
-	notetype $c
-	note D#, 4
-	note D_, 2
-	note D#, 2
-	note D#, 2
-	note D_, 2
-	note C#, 4
-	note D_, 2
-	note D_, 2
-	note C#, 4
-	loopchannel 0, .mainloop
+	drum_note 4, 4
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 3, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_speed 6
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_speed 12
+	drum_note 4, 4
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 2, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 2, 4
+	sound_loop 0, .mainloop
--- a/audio/music/johtogymbattle.asm
+++ b/audio/music/johtogymbattle.asm
@@ -1,15 +1,16 @@
 Music_JohtoGymBattle:
-	musicheader 3, 1, Music_JohtoGymBattle_Ch1
-	musicheader 1, 2, Music_JohtoGymBattle_Ch2
-	musicheader 1, 3, Music_JohtoGymBattle_Ch3
+	channel_count 3
+	channel 1, Music_JohtoGymBattle_Ch1
+	channel 2, Music_JohtoGymBattle_Ch2
+	channel 3, Music_JohtoGymBattle_Ch3
 
 Music_JohtoGymBattle_Ch1:
 	tempo 101
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $12, $15
-	notetype $c, $b2
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 18, 1, 5
+	note_type 12, 11, 2
 .loop1:
 	octave 3
 	note A#, 1
@@ -16,7 +17,7 @@
 	note A_, 1
 	note G#, 1
 	note A_, 1
-	loopchannel 4, .loop1
+	sound_loop 4, .loop1
 .loop2:
 	note C#, 1
 	note C_, 1
@@ -24,10 +25,10 @@
 	note A#, 1
 	octave 3
 	note C_, 1
-	loopchannel 3, .loop2
-	intensity $4b
+	sound_loop 3, .loop2
+	volume_envelope 4, -3
 	note C#, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note D_, 6
 	note D#, 6
 	note C_, 4
@@ -39,9 +40,9 @@
 	note C_, 4
 	note F_, 6
 	note G_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note G_, 6
 	note G#, 6
 	note F_, 4
@@ -58,7 +59,7 @@
 	note G#, 2
 	note F_, 2
 .mainloop:
-	intensity $b5
+	volume_envelope 11, 5
 	note D_, 6
 	note G_, 6
 	note F_, 2
@@ -67,16 +68,16 @@
 	note G_, 4
 	note F_, 4
 	note G_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 12
-	intensity $b2
+	volume_envelope 11, 2
 	note G_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note C#, 12
-	intensity $b2
+	volume_envelope 11, 2
 	note C_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	octave 3
 	note D_, 6
 	note G_, 6
@@ -86,26 +87,26 @@
 	note G_, 4
 	note F_, 4
 	note G_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 8
 	note G_, 8
 	note F_, 8
 	note D#, 8
-	intensity $70
+	volume_envelope 7, 0
 	note C_, 8
-	intensity $77
+	volume_envelope 7, 7
 	note C_, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note D#, 2
 	note E_, 2
 	note F_, 6
 	note G_, 2
 	note D#, 4
-	intensity $77
+	volume_envelope 7, 7
 	octave 2
 	note A#, 8
 	note A#, 8
-	intensity $c5
+	volume_envelope 12, 5
 	octave 3
 	note G_, 2
 	note G#, 2
@@ -112,16 +113,16 @@
 	note A#, 6
 	note A#, 2
 	note G#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note G_, 8
 	note F_, 4
 	note E_, 2
 	note C#, 2
-	intensity $a0
+	volume_envelope 10, 0
 	note C_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note C_, 8
-	intensity $b2
+	volume_envelope 11, 2
 	note F_, 6
 	note F_, 4
 	note E_, 2
@@ -174,17 +175,17 @@
 	note D#, 6
 	note D#, 6
 	note D#, 4
-	intensity $80
+	volume_envelope 8, 0
 	note G_, 16
-	intensity $90
+	volume_envelope 9, 0
 	note G#, 16
-	intensity $a0
+	volume_envelope 10, 0
 	note A_, 8
 	note A#, 2
 	note A_, 2
 	note G#, 2
 	note A_, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note A#, 8
 	note B_, 2
 	note A#, 2
@@ -191,7 +192,7 @@
 	note A_, 2
 	octave 4
 	note C#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 8
 	note C#, 4
 	note C_, 4
@@ -251,7 +252,7 @@
 	note A_, 8
 	note G#, 8
 	note F#, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note A_, 4
 	octave 4
 	note C#, 4
@@ -259,38 +260,38 @@
 	note B_, 4
 	octave 4
 	note E_, 4
-	intensity $92
+	volume_envelope 9, 2
 	note D#, 2
 	note D#, 2
 	note D#, 2
 	note D#, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note D#, 2
 	note D#, 2
 	note D#, 2
 	note D#, 2
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 16
-	intensity $50
+	volume_envelope 5, 0
 	octave 3
 	note C_, 16
 	note F_, 16
 	note E_, 16
-	intensity $97
+	volume_envelope 9, 7
 	note D#, 10
-	intensity $b4
+	volume_envelope 11, 4
 	octave 2
 	note A#, 2
 	octave 3
 	note D#, 2
 	note F#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_JohtoGymBattle_Ch2:
-	dutycycle $3
-	vibrato $8, $36
-	tone $0001
-	notetype $c, $c2
+	duty_cycle 3
+	vibrato 8, 3, 6
+	pitch_offset 1
+	note_type 12, 12, 2
 .loop1:
 	octave 4
 	note F#, 1
@@ -297,13 +298,13 @@
 	note F_, 1
 	note E_, 1
 	note A#, 1
-	loopchannel 4, .loop1
+	sound_loop 4, .loop1
 .loop2:
 	note F#, 1
 	note F_, 1
 	note F#, 1
 	note A#, 1
-	loopchannel 4, .loop2
+	sound_loop 4, .loop2
 	note A_, 6
 	octave 3
 	note A#, 6
@@ -319,86 +320,86 @@
 	octave 4
 	note D_, 6
 	note D#, 6
-	intensity $b0
+	volume_envelope 11, 0
 	octave 3
 	note D#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note D_, 2
-	intensity $92
+	volume_envelope 9, 2
 	octave 3
 	note D_, 2
 	note D_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note D#, 4
-	intensity $92
+	volume_envelope 9, 2
 	octave 3
 	note D_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note C_, 4
 	note G_, 2
-	notetype $c, $92
+	note_type 12, 9, 2
 	octave 3
 	note D_, 2
 	note D_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note D_, 4
-	intensity $92
+	volume_envelope 9, 2
 	octave 3
 	note D_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note D#, 2
-	intensity $92
+	volume_envelope 9, 2
 	octave 3
 	note D#, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note D_, 2
-	intensity $92
+	volume_envelope 9, 2
 	octave 3
 	note D_, 2
 	note D_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note D#, 4
-	intensity $92
+	volume_envelope 9, 2
 	octave 3
 	note D_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note C_, 2
-	intensity $92
+	volume_envelope 9, 2
 	octave 3
 	note D#, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note G_, 2
-	intensity $92
+	volume_envelope 9, 2
 	octave 3
 	note F_, 2
 	note F_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note G#, 2
-	intensity $92
+	volume_envelope 9, 2
 	octave 3
 	note F_, 2
 	note F_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note F#, 2
-	intensity $b2
+	volume_envelope 11, 2
 	octave 3
 	note G#, 1
 	note A_, 1
 .mainloop:
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 8
-	intensity $c4
+	volume_envelope 12, 4
 	octave 4
 	note D_, 2
 	note C_, 2
@@ -406,29 +407,29 @@
 	note A#, 2
 	octave 4
 	note C_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note C#, 8
-	intensity $c4
+	volume_envelope 12, 4
 	note F_, 2
 	note D#, 2
 	note C#, 2
 	note D#, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note F_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 6
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note G#, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 6
-	intensity $c2
+	volume_envelope 12, 2
 	note F_, 4
-	intensity $c7
+	volume_envelope 12, 7
 	octave 3
 	note A#, 8
-	intensity $c4
+	volume_envelope 12, 4
 	octave 4
 	note D_, 2
 	note C_, 2
@@ -436,23 +437,23 @@
 	note A#, 2
 	octave 4
 	note C_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note C#, 8
-	intensity $c4
+	volume_envelope 12, 4
 	note F_, 2
 	note D#, 2
 	note C#, 2
 	note D#, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note C#, 16
-	intensity $b7
+	volume_envelope 11, 7
 	note C#, 16
-	intensity $a4
+	volume_envelope 10, 4
 	octave 3
 	note F_, 6
 	note D#, 6
 	note F_, 4
-	intensity $c6
+	volume_envelope 12, 6
 	octave 4
 	note C_, 6
 	octave 3
@@ -459,25 +460,25 @@
 	note A#, 6
 	octave 4
 	note C_, 4
-	intensity $a4
+	volume_envelope 10, 4
 	octave 3
 	note C#, 6
 	note C_, 6
 	note C#, 4
-	intensity $c6
+	volume_envelope 12, 6
 	octave 4
 	note C#, 6
 	note C_, 6
 	note C#, 4
-	intensity $3c
+	volume_envelope 3, -4
 	note C_, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 6
-	intensity $b0
+	volume_envelope 11, 0
 	note E_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 8
-	intensity $b0
+	volume_envelope 11, 0
 	octave 3
 	note C#, 16
 	octave 2
@@ -487,27 +488,27 @@
 	note D#, 2
 	note C_, 16
 	note E_, 16
-	intensity $a0
+	volume_envelope 10, 0
 	octave 5
 	note C#, 4
-	intensity $a7
+	volume_envelope 10, 7
 	octave 5
 	note C#, 12
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note A#, 8
 	octave 5
 	note C#, 6
 	note D#, 2
-	intensity $a0
+	volume_envelope 10, 0
 	note C_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note C_, 8
-	intensity $3e
+	volume_envelope 3, -6
 	note E_, 6
-	intensity $a6
+	volume_envelope 10, 6
 	note E_, 10
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note F_, 6
 	note F_, 6
@@ -521,21 +522,21 @@
 	note G#, 6
 	note G#, 6
 	note G#, 4
-	intensity $90
+	volume_envelope 9, 0
 	octave 4
 	note C_, 16
-	intensity $a0
+	volume_envelope 10, 0
 	note C#, 16
-	intensity $b0
+	volume_envelope 11, 0
 	note D_, 16
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 8
-	intensity $4c
+	volume_envelope 4, -4
 	note D#, 6
-	intensity $c2
+	volume_envelope 12, 2
 	note F#, 1
 	note G_, 1
-	intensity $c7
+	volume_envelope 12, 7
 	note G#, 8
 	note A_, 2
 	note G#, 2
@@ -596,13 +597,13 @@
 	note G#, 4
 	note E_, 4
 	note A_, 4
-	intensity $c0
+	volume_envelope 12, 0
 	note G#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note G#, 8
-	intensity $c2
+	volume_envelope 12, 2
 	note G#, 16
-	intensity $80
+	volume_envelope 8, 0
 	octave 3
 	note F_, 16
 	octave 4
@@ -610,44 +611,44 @@
 	octave 3
 	note B_, 16
 	note G_, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_JohtoGymBattle_Ch3:
-	notetype $c, $19
+	note_type 12, 1, -1
 	octave 4
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 2
 	octave 4
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 2
 	octave 4
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 2
 	octave 4
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 2
 	octave 4
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F_, 2
 	octave 4
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 2
 	note F_, 2
 	note G_, 2
 	note G#, 4
-	callchannel .sub1
+	sound_call .sub1
 	note G_, 2
 	note D_, 2
 	note F_, 2
@@ -663,7 +664,7 @@
 	note G#, 2
 	note D#, 2
 	note F#, 4
-	callchannel .sub1
+	sound_call .sub1
 	note G_, 2
 	note D_, 2
 	note F_, 2
@@ -683,9 +684,9 @@
 	note A#, 2
 	note G#, 2
 .mainloop:
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub3
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub3
 	note C#, 2
 	note G#, 2
 	note C#, 2
@@ -694,7 +695,7 @@
 	note A#, 2
 	note A_, 2
 	note G#, 2
-	callchannel .sub2
+	sound_call .sub2
 	note D_, 2
 	note G_, 2
 	note D_, 2
@@ -703,8 +704,8 @@
 	note G_, 2
 	note G#, 2
 	note G_, 2
-	callchannel .sub3
-	callchannel .sub3
+	sound_call .sub3
+	sound_call .sub3
 	note C_, 2
 	note G_, 2
 	note A#, 2
@@ -713,14 +714,14 @@
 	note F_, 2
 	note G_, 2
 	note A#, 2
-	callchannel .sub4
-	callchannel .sub3
-	callchannel .sub5
+	sound_call .sub4
+	sound_call .sub3
+	sound_call .sub5
 	octave 3
 	note G_, 2
 	note G#, 2
 	note F_, 2
-	callchannel .sub4
+	sound_call .sub4
 	note C_, 2
 	note G_, 2
 	note C_, 2
@@ -729,13 +730,13 @@
 	note E_, 2
 	note F_, 2
 	note G_, 2
-	callchannel .sub3
-	callchannel .sub5
+	sound_call .sub3
+	sound_call .sub5
 	octave 3
 	note C_, 2
 	note C#, 2
 	note G#, 2
-	callchannel .sub4
+	sound_call .sub4
 	note C_, 2
 	note G_, 2
 	note C_, 2
@@ -744,8 +745,8 @@
 	note E_, 2
 	note F_, 2
 	note G_, 2
-	callchannel .sub3
-	callchannel .sub5
+	sound_call .sub3
+	sound_call .sub5
 	octave 3
 	note F_, 2
 	octave 2
@@ -752,7 +753,7 @@
 	note A#, 2
 	octave 3
 	note G#, 2
-	callchannel .sub4
+	sound_call .sub4
 	note C_, 2
 	note G_, 2
 	note C_, 2
@@ -763,13 +764,13 @@
 	note G_, 2
 	note F_, 2
 	note G_, 2
-	callchannel .sub6
-	note __, 2
-	callchannel .sub7
+	sound_call .sub6
+	rest 2
+	sound_call .sub7
 	octave 4
 	note C#, 2
-	callchannel .sub8
-	note __, 2
+	sound_call .sub8
+	rest 2
 	note D#, 2
 	note A#, 2
 	octave 4
@@ -783,11 +784,11 @@
 	note D#, 2
 	octave 4
 	note D#, 2
-	callchannel .sub6
+	sound_call .sub6
 	note G_, 2
-	callchannel .sub7
+	sound_call .sub7
 	note G#, 2
-	callchannel .sub8
+	sound_call .sub8
 	note A_, 2
 	octave 4
 	note D#, 2
@@ -801,7 +802,7 @@
 	octave 4
 	note D#, 2
 	note D_, 4
-	callchannel .sub9
+	sound_call .sub9
 	note D#, 2
 	note G#, 2
 	note D#, 2
@@ -812,7 +813,7 @@
 	note A_, 2
 	note D#, 2
 	note G#, 2
-	callchannel .sub9
+	sound_call .sub9
 	note D#, 2
 	note G#, 2
 	note D#, 2
@@ -821,7 +822,7 @@
 	note A_, 2
 	note G#, 2
 	note F#, 2
-	callchannel .sub10
+	sound_call .sub10
 	note C#, 2
 	note F#, 2
 	note C#, 2
@@ -832,7 +833,7 @@
 	note A_, 2
 	note C#, 2
 	note G_, 2
-	callchannel .sub10
+	sound_call .sub10
 	note C#, 2
 	note F#, 2
 	note C#, 2
@@ -841,7 +842,7 @@
 	note D#, 2
 	note E_, 2
 	note A_, 2
-	callchannel .sub9
+	sound_call .sub9
 	note D#, 2
 	note G#, 2
 	note D#, 2
@@ -878,7 +879,7 @@
 	note F#, 2
 	note E_, 2
 	note F#, 2
-	callchannel .sub11
+	sound_call .sub11
 	note F_, 2
 	note C_, 2
 	note D#, 2
@@ -887,7 +888,7 @@
 	note D#, 2
 	note C#, 2
 	note D#, 2
-	callchannel .sub11
+	sound_call .sub11
 	note F_, 2
 	note C_, 2
 	note D#, 2
@@ -896,7 +897,7 @@
 	note F#, 2
 	note F_, 2
 	note D#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note G_, 2
@@ -915,28 +916,28 @@
 	note F_, 2
 	note D#, 2
 	note F_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 .sub2loop1:
 	note D_, 2
 	note G_, 2
-	loopchannel 4, .sub2loop1
-	endchannel
+	sound_loop 4, .sub2loop1
+	sound_ret
 
 .sub3:
 .sub3loop1:
 	note C#, 2
 	note G#, 2
-	loopchannel 4, .sub3loop1
-	endchannel
+	sound_loop 4, .sub3loop1
+	sound_ret
 
 .sub4:
 .sub4loop1:
 	note C_, 2
 	note G_, 2
-	loopchannel 4, .sub4loop1
-	endchannel
+	sound_loop 4, .sub4loop1
+	sound_ret
 
 .sub5:
 	octave 2
@@ -949,7 +950,7 @@
 	note F_, 2
 	octave 2
 	note A#, 2
-	endchannel
+	sound_ret
 
 .sub6:
 	octave 3
@@ -964,7 +965,7 @@
 	note C_, 2
 	octave 3
 	note C_, 2
-	endchannel
+	sound_ret
 
 .sub7:
 	note C#, 2
@@ -978,7 +979,7 @@
 	note C#, 2
 	octave 3
 	note C#, 2
-	endchannel
+	sound_ret
 
 .sub8:
 	octave 3
@@ -993,7 +994,7 @@
 	note D_, 2
 	octave 3
 	note D_, 2
-	endchannel
+	sound_ret
 
 .sub9:
 .sub9loop1:
@@ -1000,15 +1001,15 @@
 	octave 3
 	note D#, 2
 	note G#, 2
-	loopchannel 4, .sub9loop1
-	endchannel
+	sound_loop 4, .sub9loop1
+	sound_ret
 
 .sub10:
 .sub10loop1:
 	note C#, 2
 	note F#, 2
-	loopchannel 4, .sub10loop1
-	endchannel
+	sound_loop 4, .sub10loop1
+	sound_ret
 
 .sub11:
 	note F_, 2
@@ -1019,4 +1020,4 @@
 	note F#, 2
 	note F_, 2
 	note D#, 2
-	endchannel
+	sound_ret
--- a/audio/music/johtotrainerbattle.asm
+++ b/audio/music/johtotrainerbattle.asm
@@ -1,22 +1,23 @@
 Music_JohtoTrainerBattle:
-	musicheader 3, 1, Music_JohtoTrainerBattle_Ch1
-	musicheader 1, 2, Music_JohtoTrainerBattle_Ch2
-	musicheader 1, 3, Music_JohtoTrainerBattle_Ch3
+	channel_count 3
+	channel 1, Music_JohtoTrainerBattle_Ch1
+	channel 2, Music_JohtoTrainerBattle_Ch2
+	channel 3, Music_JohtoTrainerBattle_Ch3
 
 Music_JohtoTrainerBattle_Ch1:
 	tempo 102
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $12, $15
-	notetype $c, $92
-	note __, 8
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 18, 1, 5
+	note_type 12, 9, 2
+	rest 8
 	octave 3
 	note A_, 1
 	note G#, 1
 	note G_, 1
 	note G#, 1
-	intensity $b2
+	volume_envelope 11, 2
 	note C_, 1
 	octave 2
 	note B_, 1
@@ -48,9 +49,9 @@
 	note D_, 2
 	note E_, 2
 	note F_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note E_, 6
 	note D_, 6
 	note E_, 4
@@ -58,9 +59,9 @@
 	note D_, 2
 	note E_, 2
 	note F_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	octave 4
 	note E_, 6
 	note E_, 6
@@ -72,9 +73,9 @@
 	octave 3
 	note A_, 2
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	octave 4
 	note E_, 6
 	note E_, 6
@@ -83,31 +84,31 @@
 	note D_, 2
 	note E_, 2
 	note F_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note G_, 4
 .mainloop:
-	intensity $b4
-	callchannel .sub1
-	intensity $b7
+	volume_envelope 11, 4
+	sound_call .sub1
+	volume_envelope 11, 7
 	note A#, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note G_, 1
 	note F_, 1
 	note E_, 1
 	note G_, 1
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note C_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	octave 3
 	note A_, 1
 	note G_, 1
 	note F_, 1
 	note A_, 1
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note D_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note C_, 1
 	octave 3
 	note A#, 1
@@ -114,13 +115,13 @@
 	note A_, 1
 	octave 4
 	note C_, 1
-	intensity $b5
+	volume_envelope 11, 5
 	note F_, 2
 	note E_, 2
 	note D_, 2
 	note C_, 2
-	callchannel .sub1
-	intensity $b7
+	sound_call .sub1
+	volume_envelope 11, 7
 	note F_, 4
 	note E_, 2
 	note F_, 2
@@ -130,12 +131,12 @@
 	note A#, 2
 	octave 4
 	note C_, 2
-	intensity $a0
+	volume_envelope 10, 0
 	octave 3
 	note F_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note F_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note A_, 6
 	note E_, 6
 	note A#, 4
@@ -154,11 +155,11 @@
 	note A#, 2
 	note A_, 2
 	note A#, 2
-	intensity $a0
+	volume_envelope 10, 0
 	note A_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note A_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 8
 	note D_, 8
 	note E_, 8
@@ -179,7 +180,7 @@
 	note D#, 8
 	note E_, 8
 	note F_, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note G_, 2
 	octave 4
 	note C_, 2
@@ -200,34 +201,34 @@
 	note C_, 2
 	octave 3
 	note A#, 2
-	intensity $b5
+	volume_envelope 11, 5
 	note D#, 2
 	note D_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note D#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 8
 	note D#, 4
 	note C#, 4
 	note C_, 4
 	note D#, 4
-	intensity $b5
+	volume_envelope 11, 5
 	note E_, 2
 	note D#, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note E_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note C#, 8
 	note F_, 4
 	note D#, 4
 	note C#, 4
 	note F_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	note F#, 2
 	note F_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note F#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 8
 	note F#, 4
 	note E_, 4
@@ -237,15 +238,15 @@
 	note D#, 8
 	note A#, 8
 	note G_, 8
-	intensity $a0
+	volume_envelope 10, 0
 	note D#, 4
-	intensity $a7
+	volume_envelope 10, 7
 	note D#, 12
-	note __, 16
+	rest 16
 .loop1:
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note G_, 4
 	note D#, 4
 	note F_, 4
@@ -254,10 +255,10 @@
 	note F_, 4
 	octave 2
 	note A#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note F_, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note G_, 4
 	note D#, 4
 	note F_, 4
@@ -265,43 +266,43 @@
 	note D#, 2
 	note F_, 4
 	note F_, 4
-	loopchannel 2, .loop1
-	intensity $b7
+	sound_loop 2, .loop1
+	volume_envelope 11, 7
 	note F_, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note G_, 4
 	note D#, 4
 	note F_, 4
 	note G#, 2
 	note G_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
 	note F_, 8
-	intensity $b5
+	volume_envelope 11, 5
 	note G_, 4
 	note D#, 4
 	note F_, 4
 	note G_, 2
 	note D#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
 	note F_, 8
-	intensity $b5
+	volume_envelope 11, 5
 	note G_, 4
 	note D#, 4
 	note F_, 4
 	note G_, 2
 	note D#, 2
-	intensity $3f
+	volume_envelope 3, -7
 	note G#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 8
-	intensity $a0
+	volume_envelope 10, 0
 	octave 4
 	note C_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note C_, 8
-	intensity $b2
+	volume_envelope 11, 2
 	octave 3
 	note D#, 6
 	note D#, 6
@@ -308,17 +309,17 @@
 	note D#, 4
 	note D#, 6
 	note D#, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note D#, 6
 	note D#, 6
 	note D#, 4
 	note D#, 6
 	note D#, 6
-	intensity $4c
+	volume_envelope 4, -4
 	note F_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 6
 	note G_, 6
 	note F_, 4
@@ -365,7 +366,7 @@
 	note G#, 4
 	note G_, 4
 	note F_, 4
-	intensity $90
+	volume_envelope 9, 0
 	octave 2
 	note A#, 8
 	octave 3
@@ -374,44 +375,44 @@
 	note A#, 8
 	octave 3
 	note G_, 8
-	intensity $a0
+	volume_envelope 10, 0
 	note D#, 8
 	note A#, 8
 	note G_, 8
 	octave 4
 	note D#, 8
-	intensity $a0
+	volume_envelope 10, 0
 	octave 3
 	note A#, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note A#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note G_, 6
 	note A#, 6
 	note G#, 2
 	note G_, 2
-	intensity $a0
+	volume_envelope 10, 0
 	note D#, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note D#, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note A#, 6
 	note G_, 4
 	note G_, 2
 	note A#, 12
-	note __, 16
-	note __, 8
-	intensity $a0
+	rest 16
+	rest 8
+	volume_envelope 10, 0
 	octave 4
 	note D_, 4
-	intensity $a7
+	volume_envelope 10, 7
 	note D_, 12
-	intensity $a0
+	volume_envelope 10, 0
 	note F_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note F_, 8
-	intensity $b3
-	callchannel .sub1
+	volume_envelope 11, 3
+	sound_call .sub1
 	note F_, 4
 	note E_, 2
 	note F_, 2
@@ -421,12 +422,12 @@
 	note A#, 2
 	octave 4
 	note C_, 2
-	intensity $a0
+	volume_envelope 10, 0
 	octave 3
 	note F_, 10
-	intensity $a7
+	volume_envelope 10, 7
 	note F_, 6
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
@@ -448,13 +449,13 @@
 	note E_, 2
 	note F_, 2
 	note D_, 2
-	endchannel
+	sound_ret
 
 Music_JohtoTrainerBattle_Ch2:
-	dutycycle $3
-	vibrato $8, $36
-	tone $0001
-	notetype $c, $c2
+	duty_cycle 3
+	vibrato 8, 3, 6
+	pitch_offset 1
+	note_type 12, 12, 2
 	octave 4
 	note G#, 1
 	note G_, 1
@@ -493,14 +494,14 @@
 	note A#, 1
 	note A_, 1
 	note A#, 1
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note A_, 6
-	callchannel .sub1
-	intensity $c2
+	sound_call .sub1
+	volume_envelope 12, 2
 	note A_, 6
-	callchannel .sub1
-	intensity $c2
+	sound_call .sub1
+	volume_envelope 12, 2
 	octave 5
 	note C_, 6
 	note C_, 6
@@ -507,51 +508,51 @@
 	note C_, 4
 	note C_, 6
 	note C_, 6
-	intensity $c7
+	volume_envelope 12, 7
 	note C#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note C_, 2
-	intensity $a4
+	volume_envelope 10, 4
 	octave 3
 	note E_, 2
 	note A_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 5
 	note C_, 2
-	intensity $a4
+	volume_envelope 10, 4
 	octave 3
 	note E_, 2
 	note A_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 5
 	note C_, 2
-	intensity $a4
+	volume_envelope 10, 4
 	octave 3
 	note E_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 5
 	note C_, 2
-	intensity $a4
+	volume_envelope 10, 4
 	octave 3
 	note E_, 2
 	note B_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 5
 	note C_, 2
-	intensity $a4
+	volume_envelope 10, 4
 	octave 4
 	note C_, 2
 	note E_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note B_, 4
 .mainloop:
-	callchannel .sub2
-	intensity $3e
+	sound_call .sub2
+	volume_envelope 3, -6
 	note A#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 8
-	callchannel .sub2
-	intensity $c4
+	sound_call .sub2
+	volume_envelope 12, 4
 	note D_, 4
 	octave 3
 	note A#, 2
@@ -570,30 +571,30 @@
 	note A#, 2
 	octave 5
 	note D_, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note C#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note C#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note A#, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note A_, 16
-	intensity $b7
+	volume_envelope 11, 7
 	note A_, 16
 .loop1:
-	intensity $c3
+	volume_envelope 12, 3
 	octave 3
 	note A_, 2
 	note G_, 2
 	note A_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 4
-	intensity $c3
+	volume_envelope 12, 3
 	note A_, 2
 	note G_, 2
 	note A#, 2
-	loopchannel 3, .loop1
+	sound_loop 3, .loop1
 	note A_, 2
 	octave 4
 	note D_, 2
@@ -608,13 +609,13 @@
 	note G_, 2
 	note F_, 2
 	note G_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note G#, 4
-	intensity $c3
+	volume_envelope 12, 3
 	note G_, 2
 	note F_, 2
 	note G#, 2
-	loopchannel 3, .loop2
+	sound_loop 3, .loop2
 	note F_, 2
 	octave 4
 	note C_, 2
@@ -625,7 +626,7 @@
 	note F_, 2
 	note G_, 2
 	note G#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note G_, 6
 	octave 4
 	note D_, 6
@@ -635,15 +636,15 @@
 	note E_, 4
 	note D_, 4
 	note C_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note D#, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 6
-	intensity $90
+	volume_envelope 9, 0
 	note G_, 8
-	intensity $97
+	volume_envelope 9, 7
 	note G_, 8
-	intensity $c7
+	volume_envelope 12, 7
 	octave 3
 	note F_, 8
 	note D#, 4
@@ -666,22 +667,22 @@
 	note G#, 4
 	note F#, 4
 	note A_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note A#, 8
 	note A#, 8
-	intensity $b0
+	volume_envelope 11, 0
 	octave 4
 	note D#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 8
-	intensity $62
-	callchannel .sub3
-	intensity $82
-	callchannel .sub3
-	intensity $92
-	callchannel .sub3
-	intensity $a2
-	callchannel .sub3
+	volume_envelope 6, 2
+	sound_call .sub3
+	volume_envelope 8, 2
+	sound_call .sub3
+	volume_envelope 9, 2
+	sound_call .sub3
+	volume_envelope 10, 2
+	sound_call .sub3
 .loop3:
 	octave 4
 	note D#, 2
@@ -699,30 +700,30 @@
 	note G_, 2
 	octave 3
 	note A#, 2
-	loopchannel 8, .loop3
-	callchannel .sub4
+	sound_loop 8, .loop3
+	sound_call .sub4
 	octave 3
 	note A#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C_, 8
-	callchannel .sub4
+	sound_call .sub4
 	note G_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note F_, 8
-	callchannel .sub4
+	sound_call .sub4
 	octave 3
 	note A#, 2
-	intensity $b0
+	volume_envelope 11, 0
 	octave 4
 	note C_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 8
-	intensity $1f
+	volume_envelope 1, -7
 	note D#, 12
-	intensity $c7
+	volume_envelope 12, 7
 	note D#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note G_, 4
 	note D#, 2
@@ -732,9 +733,9 @@
 	note F_, 2
 	note D#, 2
 	note G_, 6
-	intensity $c7
+	volume_envelope 12, 7
 	note G#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note G_, 4
 	note D#, 2
 	note G_, 6
@@ -741,23 +742,23 @@
 	note G_, 4
 	note G_, 6
 	note G_, 6
-	intensity $4c
+	volume_envelope 4, -4
 	note G#, 4
-	callchannel .sub5
-	intensity $b0
+	sound_call .sub5
+	volume_envelope 11, 0
 	note F_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note G#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 8
-	callchannel .sub5
-	intensity $b0
+	sound_call .sub5
+	volume_envelope 11, 0
 	note C#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note C#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note C#, 4
 	note C_, 4
 	octave 3
@@ -782,20 +783,20 @@
 	note A#, 6
 	note G#, 2
 	note G_, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note D#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note D#, 6
 	note A#, 6
 	note G#, 2
 	note G_, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note D#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	octave 3
 	note A_, 6
 	octave 4
@@ -806,16 +807,16 @@
 	note F#, 4
 	note E_, 4
 	note D_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note F_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note A#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note A#, 8
-	callchannel .sub2
-	intensity $c7
+	sound_call .sub2
+	volume_envelope 12, 7
 	note D_, 4
 	octave 3
 	note A#, 2
@@ -825,7 +826,7 @@
 	note E_, 2
 	note D_, 2
 	note F_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
@@ -833,12 +834,12 @@
 	note A_, 4
 	note A_, 6
 	note A_, 6
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 4
-	endchannel
+	sound_ret
 
 .sub2:
-	intensity $c7
+	volume_envelope 12, 7
 	octave 3
 	note A_, 6
 	octave 4
@@ -849,11 +850,11 @@
 	note F#, 4
 	note E_, 4
 	note D_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note F_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 3
@@ -863,13 +864,13 @@
 	note D#, 2
 	octave 3
 	note D#, 2
-	endchannel
+	sound_ret
 
 .sub4:
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note F_, 4
-	intensity $c4
+	volume_envelope 12, 4
 	octave 3
 	note A#, 2
 	octave 4
@@ -883,10 +884,10 @@
 	note D_, 1
 	note D#, 1
 	note F_, 2
-	endchannel
+	sound_ret
 
 .sub5:
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note D#, 6
 	note A#, 6
@@ -896,10 +897,10 @@
 	note G_, 4
 	note F_, 4
 	note D#, 4
-	endchannel
+	sound_ret
 
 Music_JohtoTrainerBattle_Ch3:
-	notetype $c, $19
+	note_type 12, 1, -1
 	octave 4
 	note E_, 1
 	note D#, 1
@@ -941,7 +942,7 @@
 	note F#, 2
 	note G_, 2
 	note E_, 2
-	loopchannel 3, .loop1
+	sound_loop 3, .loop1
 	note A_, 2
 	note E_, 2
 	note F#, 2
@@ -950,7 +951,7 @@
 	note F#, 2
 	note G_, 2
 	note G#, 2
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note C_, 2
 	octave 3
@@ -963,7 +964,7 @@
 	note C_, 2
 	octave 3
 	note A#, 2
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note C_, 2
 	octave 3
@@ -975,15 +976,15 @@
 	note A#, 2
 	note G_, 2
 .mainloop:
-	callchannel .sub2
+	sound_call .sub2
 	note E_, 2
-	callchannel .sub3
-	callchannel .sub3
-	callchannel .sub2
+	sound_call .sub3
+	sound_call .sub3
+	sound_call .sub2
 	note A_, 2
-	callchannel .sub3
-	callchannel .sub3
-	callchannel .sub4
+	sound_call .sub3
+	sound_call .sub3
+	sound_call .sub4
 	note E_, 2
 	note A_, 2
 	note E_, 2
@@ -992,7 +993,7 @@
 	note D_, 2
 	note E_, 2
 	note F_, 2
-	callchannel .sub4
+	sound_call .sub4
 	note E_, 2
 	octave 4
 	note F_, 2
@@ -1003,7 +1004,7 @@
 	note G#, 2
 	note A_, 2
 	note A#, 2
-	callchannel .sub5
+	sound_call .sub5
 	note D_, 2
 	note A_, 2
 	note D_, 2
@@ -1012,7 +1013,7 @@
 	note A_, 2
 	note G_, 2
 	note A_, 2
-	callchannel .sub5
+	sound_call .sub5
 	note D_, 2
 	octave 4
 	note D_, 2
@@ -1023,7 +1024,7 @@
 	note G_, 2
 	note A_, 2
 	note A#, 2
-	callchannel .sub6
+	sound_call .sub6
 	note C_, 2
 	note G_, 2
 	note C_, 2
@@ -1032,7 +1033,7 @@
 	note G_, 2
 	note F_, 2
 	note G_, 2
-	callchannel .sub6
+	sound_call .sub6
 	note C_, 2
 	octave 4
 	note C_, 2
@@ -1058,8 +1059,8 @@
 	note A_, 2
 	octave 4
 	note C_, 2
-	loopchannel 2, .loop2
-	callchannel .sub6
+	sound_loop 2, .loop2
+	sound_call .sub6
 	note C_, 2
 	octave 4
 	note C_, 2
@@ -1073,13 +1074,13 @@
 .loop3:
 	note C#, 2
 	note G#, 2
-	loopchannel 7, .loop3
+	sound_loop 7, .loop3
 	note B_, 2
 	note A_, 2
 .loop4:
 	note D_, 2
 	note A_, 2
-	loopchannel 5, .loop4
+	sound_loop 5, .loop4
 	note B_, 2
 	note A_, 2
 	note G#, 2
@@ -1089,23 +1090,23 @@
 .loop5:
 	note A#, 4
 	note D#, 4
-	loopchannel 4, .loop5
+	sound_loop 4, .loop5
 .loop6:
 	octave 4
 	note G_, 4
 	octave 3
 	note A#, 4
-	loopchannel 4, .loop6
+	sound_loop 4, .loop6
 .loop7:
-	callchannel .sub7
+	sound_call .sub7
 	note D#, 2
 	note F_, 8
-	callchannel .sub7
+	sound_call .sub7
 	octave 4
 	note C_, 2
 	octave 3
 	note A#, 8
-	loopchannel 2, .loop7
+	sound_loop 2, .loop7
 	octave 4
 	note C#, 8
 	note C_, 8
@@ -1173,11 +1174,11 @@
 .loop8:
 	note D#, 2
 	note A#, 2
-	loopchannel 8, .loop8
+	sound_loop 8, .loop8
 .loop9:
 	note C#, 2
 	note G#, 2
-	loopchannel 6, .loop9
+	sound_loop 6, .loop9
 	note C#, 2
 	octave 4
 	note C_, 2
@@ -1187,11 +1188,11 @@
 .loop10:
 	note D#, 2
 	note A#, 2
-	loopchannel 8, .loop10
+	sound_loop 8, .loop10
 .loop11:
 	note C#, 2
 	note G#, 2
-	loopchannel 4, .loop11
+	sound_loop 4, .loop11
 	note C#, 2
 	octave 4
 	note C#, 2
@@ -1240,13 +1241,13 @@
 	note A#, 16
 	octave 4
 	note D_, 8
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 2
 	note A#, 2
 	octave 4
 	note D_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
@@ -1259,7 +1260,7 @@
 	note A_, 2
 	note A#, 2
 	note G_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 3
@@ -1278,7 +1279,7 @@
 	note E_, 2
 	note F#, 2
 	note G_, 2
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 3
@@ -1291,7 +1292,7 @@
 	note A#, 2
 	octave 4
 	note D_, 2
-	endchannel
+	sound_ret
 
 .sub4:
 .sub4loop1:
@@ -1298,15 +1299,15 @@
 	octave 3
 	note E_, 2
 	note A_, 2
-	loopchannel 4, .sub4loop1
-	endchannel
+	sound_loop 4, .sub4loop1
+	sound_ret
 
 .sub5:
 .sub5loop1:
 	note D_, 2
 	note A_, 2
-	loopchannel 4, .sub5loop1
-	endchannel
+	sound_loop 4, .sub5loop1
+	sound_ret
 
 .sub6:
 .sub6loop1:
@@ -1313,8 +1314,8 @@
 	octave 3
 	note C_, 2
 	note G_, 2
-	loopchannel 4, .sub6loop1
-	endchannel
+	sound_loop 4, .sub6loop1
+	sound_ret
 
 .sub7:
 	note A#, 4
@@ -1331,4 +1332,4 @@
 	note G_, 1
 	note G#, 1
 	note A#, 2
-	endchannel
+	sound_ret
--- a/audio/music/johtowildbattle.asm
+++ b/audio/music/johtowildbattle.asm
@@ -1,16 +1,17 @@
 Music_JohtoWildBattle:
-	musicheader 3, 1, Music_JohtoWildBattle_Ch1
-	musicheader 1, 2, Music_JohtoWildBattle_Ch2
-	musicheader 1, 3, Music_JohtoWildBattle_Ch3
+	channel_count 3
+	channel 1, Music_JohtoWildBattle_Ch1
+	channel 2, Music_JohtoWildBattle_Ch2
+	channel 3, Music_JohtoWildBattle_Ch3
 
 Music_JohtoWildBattle_Ch1:
 	tempo 104
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $12, $15
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 18, 1, 5
 .body:
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 4
 	note C_, 1
 	octave 3
@@ -49,7 +50,7 @@
 	octave 3
 	note C_, 1
 	note C#, 1
-	intensity $b2
+	volume_envelope 11, 2
 	note G_, 6
 	octave 2
 	note A#, 6
@@ -65,9 +66,9 @@
 	note D#, 4
 	note C_, 4
 	note D_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	note D#, 8
-	intensity $b2
+	volume_envelope 11, 2
 	octave 4
 	note D_, 6
 	octave 3
@@ -84,10 +85,10 @@
 	note D#, 4
 	note C_, 4
 	note D_, 4
-	intensity $6f
+	volume_envelope 6, -7
 	note D#, 8
 .mainloop:
-	intensity $b6
+	volume_envelope 11, 6
 	octave 3
 	note D_, 6
 	octave 2
@@ -167,7 +168,7 @@
 	note D#, 8
 	note C#, 8
 	note F#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 6
 	note D_, 6
 	note E_, 4
@@ -198,14 +199,14 @@
 	note D_, 4
 	note F#, 4
 	note G_, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_JohtoWildBattle_Ch2:
-	dutycycle $3
-	vibrato $8, $36
-	tone $0001
-	callchannel .sub1
-	notetype $c, $c2
+	duty_cycle 3
+	vibrato 8, 3, 6
+	pitch_offset 1
+	sound_call .sub1
+	note_type 12, 12, 2
 	octave 4
 	note G_, 6
 .body:
@@ -220,9 +221,9 @@
 	note G#, 4
 	note F_, 4
 	note G_, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note G#, 8
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note G_, 6
 	note D_, 6
@@ -235,10 +236,10 @@
 	note G#, 4
 	note F_, 4
 	note G_, 4
-	intensity $6f
+	volume_envelope 6, -7
 	note G#, 8
 .mainloop:
-	intensity $c4
+	volume_envelope 12, 4
 	octave 3
 	note G_, 6
 	note D_, 6
@@ -255,11 +256,11 @@
 	note A_, 2
 	octave 4
 	note C#, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note D#, 16
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 16
-	intensity $c4
+	volume_envelope 12, 4
 	octave 3
 	note G_, 6
 	note D_, 6
@@ -271,11 +272,11 @@
 	note B_, 4
 	note A_, 4
 	note B_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note A_, 16
-	intensity $b6
+	volume_envelope 11, 6
 	note A_, 16
-	intensity $c4
+	volume_envelope 12, 4
 	note G#, 6
 	note D#, 6
 	note D#, 2
@@ -291,11 +292,11 @@
 	note A#, 2
 	octave 4
 	note D_, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note E_, 16
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 16
-	intensity $c4
+	volume_envelope 12, 4
 	octave 3
 	note G#, 6
 	note D#, 6
@@ -307,11 +308,11 @@
 	octave 3
 	note A#, 4
 	note G#, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note A#, 16
-	intensity $b5
+	volume_envelope 11, 5
 	note A#, 16
-	intensity $c6
+	volume_envelope 12, 6
 	octave 4
 	note B_, 12
 	note G_, 2
@@ -341,7 +342,7 @@
 	note A_, 2
 	octave 4
 	note C_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note D_, 16
 	note G_, 8
 	octave 5
@@ -360,10 +361,10 @@
 	note G_, 4
 	note A#, 4
 	note B_, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 4
 	note F_, 1
 	note F#, 1
@@ -412,10 +413,10 @@
 	note G_, 1
 	octave 5
 	note G_, 1
-	endchannel
+	sound_ret
 
 Music_JohtoWildBattle_Ch3:
-	notetype $c, $14
+	note_type 12, 1, 4
 .body:
 	octave 4
 	note G_, 2
@@ -456,7 +457,7 @@
 	note E_, 2
 	note F_, 2
 	note G_, 2
-	callchannel .sub1
+	sound_call .sub1
 	note D#, 2
 	note G#, 2
 	note D#, 2
@@ -468,12 +469,12 @@
 .loop1:
 	note D_, 2
 	note G_, 2
-	loopchannel 6, .loop1
+	sound_loop 6, .loop1
 	note D_, 2
 	note E_, 2
 	note F_, 2
 	note G_, 2
-	callchannel .sub1
+	sound_call .sub1
 	note F_, 2
 	note F_, 2
 	note G_, 2
@@ -486,20 +487,20 @@
 .loop2:
 	note D_, 2
 	note G_, 2
-	loopchannel 7, .loop2
+	sound_loop 7, .loop2
 	note F#, 4
-	callchannel .sub1
-	callchannel .sub1
+	sound_call .sub1
+	sound_call .sub1
 .loop3:
 	note D_, 2
 	note G_, 2
-	loopchannel 7, .loop3
+	sound_loop 7, .loop3
 	note D_, 2
 	note A_, 2
 .loop4:
 	note C_, 2
 	note F_, 2
-	loopchannel 5, .loop4
+	sound_loop 5, .loop4
 	note E_, 2
 	note D_, 2
 	note C_, 2
@@ -506,7 +507,7 @@
 	note D_, 2
 	note E_, 2
 	note F_, 2
-	callchannel .sub1
+	sound_call .sub1
 	note D#, 2
 	note G#, 2
 	note D#, 2
@@ -517,8 +518,8 @@
 .loop5:
 	note E_, 2
 	note A_, 2
-	loopchannel 8, .loop5
-	callchannel .sub1
+	sound_loop 8, .loop5
+	sound_call .sub1
 	note D#, 2
 	note G#, 2
 	note D#, 2
@@ -546,11 +547,11 @@
 .loop6:
 	note D_, 2
 	note G_, 2
-	loopchannel 8, .loop6
+	sound_loop 8, .loop6
 .loop7:
 	note C_, 2
 	note F_, 2
-	loopchannel 7, .loop7
+	sound_loop 7, .loop7
 	note E_, 2
 	note C_, 2
 	note D_, 4
@@ -560,26 +561,26 @@
 .loop8:
 	note D_, 2
 	note G_, 2
-	loopchannel 12, .loop8
+	sound_loop 12, .loop8
 .loop9:
 	note C_, 2
 	note E_, 2
-	loopchannel 7, .loop9
+	sound_loop 7, .loop9
 	note F_, 2
 	note F#, 2
 .loop10:
 	note D_, 2
 	note G_, 2
-	loopchannel 6, .loop10
+	sound_loop 6, .loop10
 	note A_, 2
 	note G_, 2
 	note F#, 2
 	note E_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 .sub1loop1:
 	note D#, 2
 	note G#, 2
-	loopchannel 4, .sub1loop1
-	endchannel
+	sound_loop 4, .sub1loop1
+	sound_ret
--- a/audio/music/johtowildbattlenight.asm
+++ b/audio/music/johtowildbattlenight.asm
@@ -1,28 +1,29 @@
 Music_JohtoWildBattleNight:
-	musicheader 3, 1, Music_JohtoWildBattleNight_Ch1
-	musicheader 1, 2, Music_JohtoWildBattleNight_Ch2
-	musicheader 1, 3, Music_JohtoWildBattleNight_Ch3
+	channel_count 3
+	channel 1, Music_JohtoWildBattleNight_Ch1
+	channel 2, Music_JohtoWildBattleNight_Ch2
+	channel 3, Music_JohtoWildBattleNight_Ch3
 
 Music_JohtoWildBattleNight_Ch1:
 	tempo 107
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $10, $25
-	loopchannel 0, Music_JohtoWildBattle_Ch1.body
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 16, 2, 5
+	sound_loop 0, Music_JohtoWildBattle_Ch1.body
 
 Music_JohtoWildBattleNight_Ch2:
-	dutycycle $3
-	vibrato $20, $36
-	tone $0001
-	callchannel Music_JohtoWildBattle_Ch2.sub1
-	notetype $c, $c2
+	duty_cycle 3
+	vibrato 32, 3, 6
+	pitch_offset 1
+	sound_call Music_JohtoWildBattle_Ch2.sub1
+	note_type 12, 12, 2
 	octave 4
 	note G_, 6
-	tone $0001
-	dutycycle $2
-	loopchannel 0, Music_JohtoWildBattle_Ch2.body
+	pitch_offset 1
+	duty_cycle 2
+	sound_loop 0, Music_JohtoWildBattle_Ch2.body
 
 Music_JohtoWildBattleNight_Ch3:
-	notetype $c, $11
-	loopchannel 0, Music_JohtoWildBattle_Ch3.body
+	note_type 12, 1, 1
+	sound_loop 0, Music_JohtoWildBattle_Ch3.body
--- a/audio/music/kantogymbattle.asm
+++ b/audio/music/kantogymbattle.asm
@@ -1,15 +1,16 @@
 Music_KantoGymBattle:
-	musicheader 3, 1, Music_KantoGymBattle_Ch1
-	musicheader 1, 2, Music_KantoGymBattle_Ch2
-	musicheader 1, 3, Music_KantoGymBattle_Ch3
+	channel_count 3
+	channel 1, Music_KantoGymBattle_Ch1
+	channel 2, Music_KantoGymBattle_Ch2
+	channel 3, Music_KantoGymBattle_Ch3
 
 Music_KantoGymBattle_Ch1:
 	tempo 101
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $12, $15
-	notetype $c, $b2
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 18, 1, 5
+	note_type 12, 11, 2
 	octave 3
 	note A#, 1
 	note A_, 1
@@ -52,9 +53,9 @@
 	note A#, 6
 	note A#, 2
 	note A#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note A#, 2
 	note A#, 6
 	note A#, 2
@@ -61,10 +62,10 @@
 	note A#, 6
 	note A#, 2
 	note A#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note E_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note A#, 2
 	note A#, 6
@@ -72,32 +73,32 @@
 	note A#, 6
 	note A#, 2
 	note A#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note A#, 2
 	note A#, 6
 	note A#, 2
 	note A#, 6
 	note A#, 2
-	intensity $b4
+	volume_envelope 11, 4
 	octave 3
 	note E_, 4
 	note E_, 4
 	note E_, 2
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	octave 2
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 8
 	note B_, 8
 	octave 3
 	note D#, 10
 	note E_, 6
-	callchannel .sub1
+	sound_call .sub1
 	note D#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note C#, 8
 	octave 2
 	note B_, 8
@@ -104,7 +105,7 @@
 	note G#, 10
 	octave 3
 	note E_, 6
-	intensity $b2
+	volume_envelope 11, 2
 	note D#, 2
 	note D#, 2
 	note G_, 1
@@ -124,9 +125,9 @@
 	note G#, 1
 	note B_, 1
 	note D#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note D#, 2
 	note D#, 2
 	note G_, 1
@@ -146,7 +147,7 @@
 	note G#, 1
 	note B_, 1
 	note G#, 2
-	intensity $b5
+	volume_envelope 11, 5
 	note B_, 2
 	note D#, 2
 	note C#, 2
@@ -166,13 +167,13 @@
 	note A#, 2
 	octave 3
 	note C#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 2
 	note B_, 8
 	note A#, 8
 	note G#, 10
 	note B_, 6
-	intensity $b5
+	volume_envelope 11, 5
 	octave 3
 	note D#, 2
 	note C#, 2
@@ -192,45 +193,45 @@
 	note A#, 2
 	octave 3
 	note C#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 8
 	note F#, 8
 	note G_, 16
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note G#, 2
 	note G#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note C#, 12
-	intensity $b2
+	volume_envelope 11, 2
 	note G#, 2
 	note F_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	octave 2
 	note F_, 4
 	note G_, 2
 	note G#, 2
 	note A#, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note A#, 2
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note D#, 12
-	intensity $b2
+	volume_envelope 11, 2
 	note A#, 2
 	note G_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note D#, 6
-	intensity $4c
+	volume_envelope 4, -4
 	octave 3
 	note D_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $b5
+	volume_envelope 11, 5
 	note D#, 2
 	octave 2
 	note A#, 2
@@ -249,13 +250,13 @@
 	note E_, 2
 	note D#, 2
 	note C#, 2
-	endchannel
+	sound_ret
 
 Music_KantoGymBattle_Ch2:
-	dutycycle $3
-	vibrato $8, $36
-	tone $0001
-	notetype $c, $c2
+	duty_cycle 3
+	vibrato 8, 3, 6
+	pitch_offset 1
+	note_type 12, 12, 2
 .loop1:
 	octave 4
 	note A#, 1
@@ -263,10 +264,10 @@
 	note A#, 1
 	octave 5
 	note D#, 1
-	loopchannel 8, .loop1
+	sound_loop 8, .loop1
 	octave 3
 .loop2:
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
 	note F#, 1
@@ -286,9 +287,9 @@
 	note G#, 1
 	note B_, 1
 	note D_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note E_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 2
 	note F#, 1
@@ -308,18 +309,18 @@
 	note G#, 1
 	note B_, 1
 	note G#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note B_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
-	loopchannel 2, .loop2
+	sound_loop 2, .loop2
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note E_, 8
 	note G#, 8
 	note B_, 10
 	note G#, 6
-	callchannel .sub1
+	sound_call .sub1
 	note E_, 8
 	note G#, 8
 	note B_, 10
@@ -326,20 +327,20 @@
 	octave 4
 	note E_, 6
 	note D#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 8
-	intensity $a2
-	note __, 6
+	volume_envelope 10, 2
+	rest 6
 	octave 5
 	note E_, 4
 	note E_, 4
 	note E_, 2
-	intensity $a0
+	volume_envelope 10, 0
 	note D#, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note D#, 8
-	note __, 12
-	intensity $c5
+	rest 12
+	volume_envelope 12, 5
 	octave 3
 	note A#, 4
 	note B_, 4
@@ -348,12 +349,12 @@
 	note B_, 4
 	note G#, 4
 	note E_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note D#, 8
 	note D#, 16
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 12
-	intensity $c5
+	volume_envelope 12, 5
 	note A#, 4
 	note B_, 4
 	note G#, 4
@@ -361,64 +362,64 @@
 	note B_, 4
 	note G#, 4
 	note B_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note A#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note A#, 8
-	intensity $b0
+	volume_envelope 11, 0
 	octave 4
 	note D#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 8
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note C#, 2
 	note C#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note F_, 8
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note C#, 4
 	note F_, 2
 	note C#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note G#, 4
 	note G_, 2
 	note F_, 2
 	note D#, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note D#, 2
 	note D#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note G_, 8
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note D#, 4
 	note G_, 2
 	note D#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 6
 	octave 3
 	note A_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	dutycycle $2
-	intensity $d1
+	duty_cycle 2
+	volume_envelope 13, 1
 	octave 3
 	note A#, 2
-	intensity $a2
+	volume_envelope 10, 2
 	note A#, 2
-	intensity $d1
+	volume_envelope 13, 1
 	note G#, 2
-	intensity $a2
+	volume_envelope 10, 2
 	note G#, 2
-	intensity $d1
+	volume_envelope 13, 1
 	note A#, 2
-	intensity $a2
+	volume_envelope 10, 2
 	note A#, 2
-	intensity $c5
+	volume_envelope 12, 5
 	note B_, 2
 	octave 4
 	note C#, 2
@@ -430,70 +431,70 @@
 	note F#, 2
 	note G#, 2
 	note A#, 2
-	dutycycle $3
-	intensity $b0
-	endchannel
+	duty_cycle 3
+	volume_envelope 11, 0
+	sound_ret
 
 Music_KantoGymBattle_Ch3:
-	notetype $c, $19
+	note_type 12, 1, -1
 	octave 2
 	note E_, 1
-	note __, 1
+	rest 1
 .loop1:
 	note B_, 3
-	note __, 1
-	loopchannel 6, .loop1
+	rest 1
+	sound_loop 6, .loop1
 	note B_, 2
 	note G#, 2
 	note B_, 2
 .loop2:
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note B_, 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note F_, 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note B_, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note E_, 2
-	loopchannel 2, .loop2
+	sound_loop 2, .loop2
 .mainloop:
 .loop3:
 	octave 2
 	note D#, 2
 	note A#, 2
-	loopchannel 8, .loop3
+	sound_loop 8, .loop3
 .loop4:
 	note E_, 2
 	note B_, 2
-	loopchannel 4, .loop4
+	sound_loop 4, .loop4
 	octave 1
 	note B_, 2
 	octave 2
@@ -512,12 +513,12 @@
 	note F#, 2
 	octave 3
 	note C#, 2
-	loopchannel 8, .loop5
+	sound_loop 8, .loop5
 .loop6:
 	octave 2
 	note E_, 2
 	note B_, 2
-	loopchannel 7, .loop6
+	sound_loop 7, .loop6
 	octave 3
 	note E_, 2
 	octave 2
@@ -524,28 +525,28 @@
 	note B_, 2
 .loop7:
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note B_, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note E_, 2
-	loopchannel 2, .loop7
+	sound_loop 2, .loop7
 .loop8:
 	note D#, 2
 	note A#, 2
-	loopchannel 7, .loop8
+	sound_loop 7, .loop8
 	octave 3
 	note C#, 2
 	octave 2
@@ -563,13 +564,13 @@
 	octave 2
 	note E_, 2
 	note B_, 2
-	loopchannel 5, .loop9
+	sound_loop 5, .loop9
 .loop10:
 	octave 2
 	note F#, 2
 	octave 3
 	note C#, 2
-	loopchannel 7, .loop10
+	sound_loop 7, .loop10
 	octave 2
 	note A#, 2
 	octave 3
@@ -588,15 +589,15 @@
 	octave 2
 	note D#, 2
 	note A#, 2
-	loopchannel 4, .loop11
+	sound_loop 4, .loop11
 .loop12:
 	note C#, 2
 	note G#, 2
-	loopchannel 8, .loop12
+	sound_loop 8, .loop12
 .loop13:
 	note D#, 2
 	note A#, 2
-	loopchannel 4, .loop13
+	sound_loop 4, .loop13
 	octave 3
 	note D#, 2
 	octave 2
@@ -608,4 +609,4 @@
 	octave 3
 	note D#, 2
 	note F_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/kantotrainerbattle.asm
+++ b/audio/music/kantotrainerbattle.asm
@@ -1,18 +1,19 @@
 Music_KantoTrainerBattle:
-	musicheader 3, 1, Music_KantoTrainerBattle_Ch1
-	musicheader 1, 2, Music_KantoTrainerBattle_Ch2
-	musicheader 1, 3, Music_KantoTrainerBattle_Ch3
+	channel_count 3
+	channel 1, Music_KantoTrainerBattle_Ch1
+	channel 2, Music_KantoTrainerBattle_Ch2
+	channel 3, Music_KantoTrainerBattle_Ch3
 
 	db $3 ; unused
 
 Music_KantoTrainerBattle_Ch1:
 	tempo 114
-	volume $77
-	pitchoffset 1, B_
-	notetype $c, $b3
-	vibrato $12, $24
-	dutycycle $1
-	note __, 1
+	volume 7, 7
+	transpose 1, 11
+	note_type 12, 11, 3
+	vibrato 18, 2, 4
+	duty_cycle 1
+	rest 1
 	octave 4
 	note A_, 1
 	note G#, 1
@@ -48,90 +49,90 @@
 	note G_, 1
 	note F#, 1
 	note G_, 1
-	dutycycle $2
-	intensity $b1
+	duty_cycle 2
+	volume_envelope 11, 1
 	octave 4
 	note D#, 2
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 2
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A#, 2
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 2
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 2
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A#, 2
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	intensity $b3
+	rest 1
+	volume_envelope 11, 3
 	note D#, 2
-	note __, 4
+	rest 4
 	note F_, 2
-	note __, 4
+	rest 4
 	note F#, 2
-	note __, 2
+	rest 2
 	note D#, 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note D#, 2
 	note F_, 2
 	note F#, 2
 .mainloop:
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note D#, 4
-	note __, 2
+	rest 2
 	note C_, 10
-	note __, 4
+	rest 4
 	note D#, 2
 	note C_, 2
 	octave 3
@@ -139,11 +140,11 @@
 	octave 4
 	note C_, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note C#, 8
 	note F_, 8
 	note G#, 8
@@ -155,9 +156,9 @@
 	note F_, 1
 	note C#, 1
 	note D#, 4
-	note __, 2
+	rest 2
 	note C_, 10
-	note __, 4
+	rest 4
 	note D#, 2
 	note C_, 2
 	octave 3
@@ -165,20 +166,20 @@
 	octave 4
 	note C_, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note D#, 6
 	note D_, 6
 	note C_, 2
-	note __, 2
-	note __, 2
+	rest 2
+	rest 2
 	note D_, 2
-	note __, 4
+	rest 4
 	note F_, 2
-	note __, 2
+	rest 2
 	note G#, 2
 	note G_, 1
 	note F#, 1
@@ -189,14 +190,14 @@
 	note G#, 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note C_, 1
 	octave 3
 	note G#, 1
 	note F_, 1
-	note __, 5
+	rest 5
 	octave 4
 	note D#, 8
 	note D_, 4
@@ -213,9 +214,9 @@
 	note F_, 4
 	octave 3
 	note D_, 4
-	note __, 4
+	rest 4
 	note D_, 4
-	note __, 4
+	rest 4
 	note D_, 4
 	note G#, 1
 	note F_, 1
@@ -223,14 +224,14 @@
 	note G#, 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note C_, 1
 	octave 3
 	note G#, 1
 	note F_, 1
-	note __, 5
+	rest 5
 	octave 4
 	note D#, 8
 	note D_, 4
@@ -243,13 +244,13 @@
 	note D_, 4
 	octave 3
 	note D_, 4
-	note __, 4
+	rest 4
 	note D_, 4
 	note A#, 1
 	octave 4
 	note D_, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 2
 	octave 4
@@ -260,7 +261,7 @@
 	note D_, 2
 	octave 4
 	note D_, 2
-	intensity $67
+	volume_envelope 6, 7
 	note C_, 1
 	note C#, 1
 	note D_, 1
@@ -270,27 +271,27 @@
 	note D_, 1
 	note C#, 1
 	note C_, 1
-	note __, 3
+	rest 3
 	note D#, 4
-	notetype $6, $67
+	note_type 6, 6, 7
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 7
+	rest 7
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 4
 	note C_, 8
-	intensity $77
+	volume_envelope 7, 7
 	note C#, 2
 	note D_, 2
 	note D#, 2
@@ -300,26 +301,26 @@
 	note D#, 2
 	note D_, 2
 	note C#, 2
-	note __, 6
+	rest 6
 	note E_, 8
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 7
+	rest 7
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 1
-	note __, 3
+	rest 3
 	note G#, 1
-	note __, 3
+	rest 3
 	octave 4
 	note C#, 8
-	intensity $87
+	volume_envelope 8, 7
 	note D_, 2
 	note D#, 2
 	note E_, 2
@@ -329,26 +330,26 @@
 	note E_, 2
 	note D#, 2
 	note D_, 2
-	note __, 6
+	rest 6
 	note F_, 8
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 7
+	rest 7
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 3
+	rest 3
 	octave 4
 	note D_, 8
-	intensity $97
+	volume_envelope 9, 7
 	note D#, 2
 	note E_, 2
 	note F_, 2
@@ -358,16 +359,16 @@
 	note F_, 2
 	note E_, 2
 	note D#, 2
-	note __, 6
+	rest 6
 	note F#, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note G#, 8
 	note A#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	octave 5
 	note D_, 8
 	note D_, 2
-	note __, 6
+	rest 6
 	octave 4
 	note A#, 2
 	note F#, 2
@@ -382,9 +383,9 @@
 	note F#, 2
 	octave 4
 	note G#, 2
-	note __, 2
+	rest 2
 	note D#, 12
-	intensity $b1
+	volume_envelope 11, 1
 	octave 6
 	note C_, 2
 	note C_, 2
@@ -395,7 +396,7 @@
 	note C_, 4
 	note C_, 4
 	note C_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note A#, 2
 	note F#, 2
@@ -410,7 +411,7 @@
 	note F#, 2
 	octave 4
 	note F#, 2
-	note __, 2
+	rest 2
 	note B_, 4
 	note A#, 4
 	note G#, 4
@@ -426,14 +427,14 @@
 	octave 4
 	note C#, 16
 	note C#, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 2
 	note F#, 2
@@ -440,7 +441,7 @@
 	note F_, 2
 	note D#, 2
 	note F_, 2
-	intensity $67
+	volume_envelope 6, 7
 	note E_, 1
 	note D_, 1
 	note C_, 1
@@ -448,7 +449,7 @@
 	note B_, 1
 	note A_, 1
 	note G_, 1
-	intensity $a1
+	volume_envelope 10, 1
 	octave 4
 	note C#, 2
 	octave 2
@@ -459,16 +460,16 @@
 	octave 2
 	note G_, 2
 	note G_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note D_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_KantoTrainerBattle_Ch2:
-	pitchoffset 1, B_
-	vibrato $6, $36
-	dutycycle $1
-	notetype $c, $d1
+	transpose 1, 11
+	vibrato 6, 3, 6
+	duty_cycle 1
+	note_type 12, 13, 1
 	octave 4
 	note A#, 4
 	note A#, 4
@@ -481,8 +482,8 @@
 	note G#, 1
 	note G_, 1
 	note F#, 1
-	dutycycle $3
-	intensity $62
+	duty_cycle 3
+	volume_envelope 6, 2
 .loop1:
 	octave 3
 	note G_, 1
@@ -489,7 +490,7 @@
 	note G#, 1
 	note G_, 1
 	note F#, 1
-	loopchannel 14, .loop1
+	sound_loop 14, .loop1
 	note G_, 1
 	note G#, 1
 	note G_, 1
@@ -499,37 +500,37 @@
 	note C_, 1
 	octave 2
 	note B_, 1
-	intensity $d7
-	dutycycle $2
+	volume_envelope 13, 7
+	duty_cycle 2
 	note C_, 2
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note A#, 2
 	octave 2
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 2
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G_, 1
 	note B_, 1
 	octave 2
@@ -541,71 +542,71 @@
 	note D_, 1
 	note F_, 1
 .mainloop:
-	notetype $c, $d7
+	note_type 12, 13, 7
 	octave 2
 	note C_, 1
 	note C_, 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note C_, 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note C_, 2
 	note A#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note C_, 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note C#, 1
 	note C#, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 2
 	octave 2
 	note C#, 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 2
 	octave 2
 	note C#, 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note A#, 2
 	note C#, 1
 	note C#, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note G#, 2
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note F_, 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note A#, 2
 	octave 2
 	note C_, 1
@@ -612,53 +613,53 @@
 	note C_, 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note C_, 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note C_, 2
 	note A#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note C_, 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note A#, 1
 	note A#, 1
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note A#, 2
 	octave 1
 	note A#, 2
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	octave 1
 	note A#, 2
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note G#, 2
 	octave 1
 	note A#, 1
@@ -665,47 +666,47 @@
 	note A#, 1
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note G_, 2
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note A#, 2
 	octave 1
 	note F_, 2
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note F_, 2
 	octave 2
 	note E_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note F_, 2
 	octave 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note F_, 2
 	octave 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 1
 	note C_, 1
 	octave 1
@@ -712,30 +713,30 @@
 	note A#, 1
 	note A_, 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F_, 4
 	octave 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 4
 	octave 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 4
 	octave 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 4
 	octave 1
@@ -742,34 +743,34 @@
 	note F_, 2
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note F_, 2
 	octave 2
 	note E_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note F_, 2
 	octave 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note F_, 2
 	octave 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 1
 	note C_, 1
 	octave 1
@@ -776,41 +777,41 @@
 	note A#, 1
 	note A_, 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F_, 4
 	octave 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 4
 	octave 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 4
 	octave 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 4
-	vibrato $12, $24
-	notetype $c, $78
+	vibrato 18, 2, 4
+	note_type 12, 7, 8
 	octave 4
 	note G_, 16
-	intensity $77
+	volume_envelope 7, 7
 	note G_, 16
-	notetype $6, $88
+	note_type 6, 8, 8
 	note G#, 16
-	intensity $87
+	volume_envelope 8, 7
 	note G#, 15
 	note G_, 1
 	note G#, 7
@@ -820,49 +821,49 @@
 	note G#, 8
 	note G_, 4
 	note F_, 6
-	note __, 2
-	notetype $c, $98
+	rest 2
+	note_type 12, 9, 8
 	note A_, 16
-	intensity $97
+	volume_envelope 9, 7
 	note A_, 16
-	intensity $a7
+	volume_envelope 10, 7
 	note A#, 16
-	intensity $d7
+	volume_envelope 13, 7
 	octave 5
 	note D_, 8
 	note F_, 8
-	vibrato $4, $36
+	vibrato 4, 3, 6
 	octave 2
 	note A#, 4
 	note D#, 4
 	note C_, 1
-	note __, 1
-	intensity $d8
+	rest 1
+	volume_envelope 13, 8
 	note G#, 6
-	intensity $d7
+	volume_envelope 13, 7
 	note G#, 16
 	note A#, 4
 	note D#, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 14
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 2
-	note __, 2
-	notetype $6, $d7
+	rest 2
+	note_type 6, 13, 7
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G#, 8
 	octave 4
@@ -871,24 +872,24 @@
 	note F_, 2
 	note D#, 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note F_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note G#, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note G#, 2
 	note A#, 2
 	note G#, 2
 	note F#, 2
 	note G#, 2
-	intensity $72
+	volume_envelope 7, 2
 	note G_, 1
 	note F_, 1
 	note E_, 1
@@ -896,30 +897,30 @@
 	note C_, 1
 	octave 2
 	note B_, 1
-	intensity $c1
+	volume_envelope 12, 1
 	octave 3
 	note B_, 2
 	octave 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 2
 	octave 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	intensity $d7
+	rest 1
+	volume_envelope 13, 7
 	octave 3
 	note B_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_KantoTrainerBattle_Ch3:
-	pitchoffset 1, B_
-	vibrato $12, $23
-	notetype $c, $15
+	transpose 1, 11
+	vibrato 18, 2, 3
+	note_type 12, 1, 5
 	octave 2
 	note A#, 1
 	octave 4
@@ -967,21 +968,21 @@
 	note B_, 1
 	octave 4
 	note D_, 1
-	intensity $18
+	volume_envelope 1, 8
 	octave 6
 	note C_, 2
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note F_, 2
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note F#, 2
 	octave 4
@@ -990,30 +991,30 @@
 	octave 5
 	note D#, 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D#, 2
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note F_, 2
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note F#, 2
 	octave 4
@@ -1022,45 +1023,45 @@
 	octave 5
 	note D#, 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 6
 	note C_, 2
-	note __, 4
+	rest 4
 	note D_, 2
-	note __, 4
+	rest 4
 	note D#, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 5
 	note G_, 2
 	note A#, 2
 	note B_, 2
 .mainloop:
-	notetype $c, $14
+	note_type 12, 1, 4
 	octave 6
 	note C_, 4
-	notetype $6, $14
+	note_type 6, 1, 4
 	octave 5
 	note B_, 1
 	note A#, 1
 	note A_, 1
 	note G#, 1
-	notetype $c, $14
+	note_type 12, 1, 4
 	note G_, 10
-	note __, 2
-	notetype $6, $14
+	rest 2
+	note_type 6, 1, 4
 	note G_, 1
 	note G#, 1
 	note A_, 1
@@ -1075,7 +1076,7 @@
 	note C_, 7
 	octave 5
 	note B_, 1
-	notetype $c, $14
+	note_type 12, 1, 4
 	octave 6
 	note C#, 16
 	note C#, 8
@@ -1087,16 +1088,16 @@
 	note G#, 1
 	octave 6
 	note C_, 4
-	notetype $6, $14
+	note_type 6, 1, 4
 	octave 5
 	note B_, 1
 	note A#, 1
 	note A_, 1
 	note G#, 1
-	notetype $c, $14
+	note_type 12, 1, 4
 	note G_, 10
-	note __, 2
-	notetype $6, $14
+	rest 2
+	note_type 6, 1, 4
 	note G_, 1
 	note G#, 1
 	note A_, 1
@@ -1124,18 +1125,18 @@
 	octave 5
 	note A#, 2
 	note A_, 2
-	notetype $c, $10
+	note_type 12, 1, 0
 	note G#, 11
-	intensity $14
+	volume_envelope 1, 4
 	note C_, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
-	intensity $10
+	rest 1
+	volume_envelope 1, 0
 	octave 6
 	note C_, 6
-	notetype $6, $10
+	note_type 6, 1, 0
 	octave 5
 	note B_, 1
 	note A#, 1
@@ -1142,9 +1143,9 @@
 	note A_, 1
 	note G#, 1
 	note G#, 16
-	notetype $c, $10
+	note_type 12, 1, 0
 	note A#, 16
-	intensity $25
+	volume_envelope 2, 5
 	note D_, 1
 	octave 4
 	note A#, 1
@@ -1165,27 +1166,27 @@
 	note D_, 2
 	note C#, 1
 	note C_, 1
-	intensity $10
+	volume_envelope 1, 0
 	octave 5
 	note G#, 11
-	intensity $14
+	volume_envelope 1, 4
 	note C_, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
-	intensity $10
+	rest 1
+	volume_envelope 1, 0
 	octave 6
 	note C_, 7
-	notetype $6, $10
+	note_type 6, 1, 0
 	note C#, 1
 	note D_, 1
-	notetype $c, $10
+	note_type 12, 1, 0
 	note D#, 8
 	note D_, 12
 	note G#, 1
 	note F_, 1
-	intensity $25
+	volume_envelope 2, 5
 	octave 5
 	note A#, 1
 	note F_, 1
@@ -1192,15 +1193,15 @@
 	note G#, 1
 	note G#, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note G#, 2
 	note G_, 2
 	note F_, 2
 	note D#, 2
 	note F_, 2
-	intensity $24
+	volume_envelope 2, 4
 	octave 3
 	note G_, 1
 	octave 4
@@ -1329,7 +1330,7 @@
 	note E_, 1
 	octave 4
 	note C#, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 3
 	note A_, 1
 	octave 4
@@ -1362,7 +1363,7 @@
 	note F_, 1
 	octave 4
 	note D_, 1
-	intensity $15
+	volume_envelope 1, 5
 	octave 3
 	note A_, 1
 	octave 4
@@ -1395,7 +1396,7 @@
 	note F_, 1
 	octave 4
 	note D_, 1
-	intensity $15
+	volume_envelope 1, 5
 	octave 3
 	note A#, 1
 	octave 4
@@ -1428,7 +1429,7 @@
 	note F#, 1
 	octave 4
 	note D#, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 3
 	note F_, 1
 	note G#, 1
@@ -1458,7 +1459,7 @@
 	note A#, 4
 	octave 6
 	note C#, 1
-	note __, 1
+	rest 1
 	note C_, 6
 	octave 4
 	note C_, 1
@@ -1486,7 +1487,7 @@
 	octave 5
 	note A#, 4
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 6
 	note F#, 12
 	note F_, 1
@@ -1494,14 +1495,14 @@
 	note G#, 16
 	note F_, 8
 	note C#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 6
 	note F_, 1
 	note F#, 1
@@ -1508,7 +1509,7 @@
 	note F_, 1
 	note D#, 1
 	note F_, 1
-	notetype $6, $24
+	note_type 6, 2, 4
 	note E_, 1
 	note D_, 1
 	note C_, 1
@@ -1516,21 +1517,21 @@
 	note B_, 1
 	note A_, 1
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	note G_, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note G_, 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	intensity $14
+	rest 1
+	volume_envelope 1, 4
 	octave 5
 	note G_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/kantowildbattle.asm
+++ b/audio/music/kantowildbattle.asm
@@ -1,17 +1,18 @@
 Music_KantoWildBattle:
-	musicheader 3, 1, Music_KantoWildBattle_Ch1
-	musicheader 1, 2, Music_KantoWildBattle_Ch2
-	musicheader 1, 3, Music_KantoWildBattle_Ch3
+	channel_count 3
+	channel 1, Music_KantoWildBattle_Ch1
+	channel 2, Music_KantoWildBattle_Ch2
+	channel 3, Music_KantoWildBattle_Ch3
 
 	db $3 ; unused
 
 Music_KantoWildBattle_Ch1:
 	tempo 112
-	volume $77
-	vibrato $12, $23
-	dutycycle $2
-	notetype $c, $b7
-	note __, 16
+	volume 7, 7
+	vibrato 18, 2, 3
+	duty_cycle 2
+	note_type 12, 11, 7
+	rest 16
 	octave 4
 	note A#, 6
 	note A_, 1
@@ -25,15 +26,15 @@
 	note F#, 1
 	note F_, 1
 .mainloop:
-	notetype $c, $b7
-	callchannel .sub1
+	note_type 12, 11, 7
+	sound_call .sub1
 	octave 4
 	note F_, 4
 	note C#, 4
 	octave 3
 	note B_, 8
-	callchannel .sub1
-	note __, 8
+	sound_call .sub1
+	rest 8
 	note G_, 1
 	note B_, 1
 	octave 4
@@ -45,7 +46,7 @@
 	octave 4
 	note D_, 1
 	note D#, 1
-	intensity $b1
+	volume_envelope 11, 1
 	note E_, 6
 	note C_, 6
 	octave 3
@@ -54,7 +55,7 @@
 	note E_, 6
 	note C_, 6
 	note E_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 1
 	note C#, 1
 	octave 3
@@ -82,7 +83,7 @@
 	note F_, 3
 	note G_, 1
 	note G#, 4
-	intensity $b1
+	volume_envelope 11, 1
 	octave 3
 	note G_, 6
 	note F_, 6
@@ -95,7 +96,7 @@
 	octave 3
 	note A#, 6
 	note G_, 4
-	notetype $8, $b7
+	note_type 8, 11, 7
 	octave 2
 	note G_, 2
 	octave 3
@@ -129,24 +130,24 @@
 	note C#, 2
 	octave 2
 	note G#, 2
-	notetype $c, $b7
+	note_type 12, 11, 7
 	octave 3
 	note G#, 4
 	octave 4
 	note C#, 4
-	intensity $71
+	volume_envelope 7, 1
 	note F_, 1
 	note F_, 1
-	intensity $91
+	volume_envelope 9, 1
 	note F_, 1
 	note F_, 1
-	intensity $b1
+	volume_envelope 11, 1
 	note G#, 1
 	note G#, 1
-	intensity $d1
+	volume_envelope 13, 1
 	note G#, 1
 	note G#, 1
-	intensity $c7
+	volume_envelope 12, 7
 	note E_, 1
 	note D_, 1
 	note C#, 1
@@ -153,7 +154,7 @@
 	note D_, 1
 	note E_, 12
 	note E_, 8
-	intensity $b1
+	volume_envelope 11, 1
 	note E_, 1
 	note D_, 1
 	note C_, 1
@@ -163,7 +164,7 @@
 	note G_, 1
 	note F_, 1
 	note E_, 1
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 8
 	note F_, 8
 	note A#, 8
@@ -175,7 +176,7 @@
 	note C_, 8
 	note E_, 8
 	note G_, 8
-	note __, 8
+	rest 8
 	octave 3
 	note D#, 8
 	note G#, 8
@@ -183,7 +184,7 @@
 	note C_, 8
 	octave 3
 	note A#, 8
-	note __, 8
+	rest 8
 	octave 4
 	note D_, 8
 	octave 3
@@ -193,81 +194,81 @@
 	note F_, 2
 	octave 4
 	note C_, 4
-	note __, 6
+	rest 6
 	note C_, 1
-	note __, 5
+	rest 5
 	note C#, 2
 	note C_, 1
-	note __, 13
+	rest 13
 	note C#, 4
-	note __, 6
+	rest 6
 	note C#, 1
-	note __, 5
+	rest 5
 	note F_, 2
 	note D#, 1
-	note __, 5
+	rest 5
 	note C#, 8
 .loop1:
-	intensity $b1
+	volume_envelope 11, 1
 	octave 3
 	note C_, 1
 	note D#, 1
 	note D_, 1
 	note C#, 1
-	loopchannel 8, .loop1
+	sound_loop 8, .loop1
 .loop2:
 	note C#, 1
 	note F_, 1
 	note E_, 1
 	note D#, 1
-	loopchannel 8, .loop2
+	sound_loop 8, .loop2
 .loop3:
 	note C_, 1
 	note D#, 1
 	note D_, 1
 	note C#, 1
-	loopchannel 16, .loop3
+	sound_loop 16, .loop3
 .loop4:
 	note C#, 1
 	note E_, 1
 	note D#, 1
 	note D_, 1
-	loopchannel 8, .loop4
+	sound_loop 8, .loop4
 .loop5:
 	note C_, 1
 	note D#, 1
 	note D_, 1
 	note C#, 1
-	loopchannel 8, .loop5
-	loopchannel 0, .mainloop
+	sound_loop 8, .loop5
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
 	note C_, 1
-	note __, 5
+	rest 5
 	octave 3
 	note B_, 1
-	note __, 5
+	rest 5
 	note A#, 1
-	note __, 3
-	note __, 10
+	rest 3
+	rest 10
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note D#, 2
 	note C#, 1
-	note __, 5
+	rest 5
 	note C_, 1
-	note __, 5
+	rest 5
 	octave 3
 	note B_, 1
-	note __, 3
-	endchannel
+	rest 3
+	sound_ret
 
 Music_KantoWildBattle_Ch2:
-	dutycycle $1
-	vibrato $12, $23
-	notetype $c, $b1
+	duty_cycle 1
+	vibrato 18, 2, 3
+	note_type 12, 11, 1
 	octave 4
 	note G_, 1
 	note F#, 1
@@ -302,53 +303,54 @@
 	note D_, 1
 	note C#, 1
 .mainloop:
-	notetype $c, $b7
-	callchannel .sub1
+	note_type 12, 11, 7
+	sound_call .sub1
 	octave 2
 	note F_, 2
 	octave 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 2
-	callchannel .sub1
+	sound_call .sub1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note F_, 1
 	note F#, 1
-	notetype $6, $b7
-	callchannel .sub2
-	callchannel .sub2
-	pitchoffset 0, C#
-	callchannel .sub2
-	callchannel .sub2
-	pitchoffset 0, C_
-rept 4
-	callchannel .sub2
-endr
-	pitchoffset 0, C#
-	callchannel .sub2
-	callchannel .sub2
-	pitchoffset 0, C_
-	callchannel .sub2
-	callchannel .sub2
-	note __, 16
+	note_type 6, 11, 7
+	sound_call .sub2
+	sound_call .sub2
+	transpose 0, 1
+	sound_call .sub2
+	sound_call .sub2
+	transpose 0, 0
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	transpose 0, 1
+	sound_call .sub2
+	sound_call .sub2
+	transpose 0, 0
+	sound_call .sub2
+	sound_call .sub2
+	rest 16
 	octave 3
 	note A#, 16
 	octave 4
 	note D_, 16
 	note F_, 16
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note E_, 16
 	note G_, 8
 	octave 5
 	note C_, 8
-	note __, 8
+	rest 8
 	octave 3
 	note G#, 8
 	octave 4
@@ -379,137 +381,137 @@
 	octave 3
 	note B_, 1
 	note G#, 1
-	notetype $6, $b7
-	callchannel .sub3
-	pitchoffset 0, C#
-	callchannel .sub3
-	pitchoffset 0, C_
-	callchannel .sub4
+	note_type 6, 11, 7
+	sound_call .sub3
+	transpose 0, 1
+	sound_call .sub3
+	transpose 0, 0
+	sound_call .sub4
 	octave 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 4
 	octave 2
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 4
 	octave 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 4
 	octave 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 4
 	octave 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 4
 	octave 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 4
 	octave 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 4
 	octave 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 4
 	octave 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 4
 	octave 2
 	note C#, 2
-	note __, 2
-	callchannel .sub4
-	callchannel .sub5
-	callchannel .sub4
-	callchannel .sub5
-	pitchoffset 0, C#
-	callchannel .sub4
-	pitchoffset 0, C_
+	rest 2
+	sound_call .sub4
+	sound_call .sub5
+	sound_call .sub4
+	sound_call .sub5
+	transpose 0, 1
+	sound_call .sub4
+	transpose 0, 0
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G#, 4
 	octave 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 4
 	octave 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A#, 4
 	octave 2
 	note C#, 2
-	note __, 2
-	callchannel .sub4
+	rest 2
+	sound_call .sub4
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 4
 	octave 2
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 4
 	octave 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A#, 4
 	octave 2
 	note C_, 2
-	note __, 2
-	loopchannel 0, .mainloop
+	rest 2
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
 	note C_, 1
-	note __, 2
+	rest 2
 	note C_, 1
 	octave 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 2
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note G_, 1
-	note __, 2
+	rest 2
 	note G_, 1
 	octave 2
 	note C_, 3
@@ -527,79 +529,79 @@
 	octave 2
 	note G_, 2
 	note C#, 1
-	note __, 2
+	rest 2
 	note C#, 1
 	octave 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note C#, 2
 	octave 1
 	note G#, 1
-	note __, 2
+	rest 2
 	note G#, 1
 	octave 2
 	note C#, 1
-	note __, 2
+	rest 2
 	note C#, 1
 	octave 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note G_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 2
 	note C_, 2
-	note __, 4
+	rest 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 2
 	octave 3
 	note C_, 2
 	octave 2
 	note C_, 4
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note C_, 4
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 2
 	note C_, 2
-	note __, 4
+	rest 4
 	note C_, 2
-	note __, 4
+	rest 4
 	octave 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	note C_, 6
 	note C_, 2
-	note __, 4
+	rest 4
 	note C_, 2
 	octave 1
 	note G_, 2
@@ -610,7 +612,7 @@
 	note G_, 2
 	octave 2
 	note C_, 2
-	note __, 4
+	rest 4
 	note C_, 2
 	note E_, 2
 	note G_, 2
@@ -617,7 +619,7 @@
 	note B_, 2
 	octave 3
 	note C_, 2
-	endchannel
+	sound_ret
 
 .sub4:
 	octave 3
@@ -624,113 +626,113 @@
 	note G_, 4
 	octave 2
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 4
 	octave 2
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 4
 	octave 2
 	note C_, 2
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
 .sub5:
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 4
 	octave 2
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 4
 	octave 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 4
 	octave 2
 	note C_, 2
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
 Music_KantoWildBattle_Ch3:
-	vibrato $14, $23
-	notetype $c, $14
+	vibrato 20, 2, 3
+	note_type 12, 1, 4
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
 	octave 4
 	note C_, 1
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
 	octave 4
 	note C#, 1
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
 	octave 4
 	note D_, 1
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
 	octave 4
 	note D#, 1
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
 	octave 4
 	note E_, 1
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
 	octave 4
 	note F_, 1
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	octave 4
 	note F#, 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
 	octave 4
 	note G_, 1
 .mainloop:
-	notetype $c, $14
+	note_type 12, 1, 4
 	octave 5
 	note G_, 1
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 2
+	rest 2
 	octave 5
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note G_, 1
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
 	octave 3
@@ -742,22 +744,22 @@
 	note D#, 6
 	octave 5
 	note D#, 2
-	note __, 2
+	rest 2
 	note G_, 2
 	note G#, 1
-	note __, 2
+	rest 2
 	octave 4
 	note G#, 1
-	note __, 2
+	rest 2
 	octave 5
 	note G#, 1
-	note __, 3
+	rest 3
 	octave 4
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note G#, 1
-	note __, 2
+	rest 2
 	octave 4
 	note G#, 1
 	octave 6
@@ -776,19 +778,19 @@
 	note B_, 1
 	octave 5
 	note G_, 1
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 2
+	rest 2
 	octave 5
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note G_, 1
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
 	note C_, 1
@@ -798,22 +800,22 @@
 	note G_, 6
 	octave 5
 	note D#, 2
-	note __, 2
+	rest 2
 	note G_, 2
 	note G#, 1
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 2
+	rest 2
 	octave 5
 	note G#, 1
-	note __, 3
+	rest 3
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note G#, 1
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
 	note C#, 4
@@ -822,7 +824,7 @@
 	note F_, 7
 	note F#, 1
 	note G_, 2
-	intensity $24
+	volume_envelope 2, 4
 	note C_, 1
 	octave 4
 	note G_, 1
@@ -830,10 +832,10 @@
 	note C_, 1
 	octave 4
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 5
 	note F#, 2
-	intensity $24
+	volume_envelope 2, 4
 	note C_, 1
 	octave 4
 	note G_, 1
@@ -841,17 +843,17 @@
 	note C_, 1
 	octave 4
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 5
 	note E_, 2
-	intensity $24
+	volume_envelope 2, 4
 	note C_, 1
 	octave 4
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 5
 	note G_, 2
-	intensity $24
+	volume_envelope 2, 4
 	note C_, 1
 	octave 4
 	note G_, 1
@@ -859,10 +861,10 @@
 	note C_, 1
 	octave 4
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 5
 	note A_, 2
-	intensity $24
+	volume_envelope 2, 4
 	note C_, 1
 	octave 4
 	note G_, 1
@@ -870,14 +872,14 @@
 	note C_, 1
 	octave 4
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 5
 	note G_, 2
-	intensity $24
+	volume_envelope 2, 4
 	note C_, 1
 	octave 4
 	note G#, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 5
 	note G#, 12
 	note G_, 2
@@ -892,51 +894,51 @@
 	note C#, 8
 	octave 5
 	note C_, 2
-	intensity $24
+	volume_envelope 2, 4
 	octave 4
 	note E_, 1
 	note G_, 1
 	note E_, 1
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	note A#, 2
-	intensity $24
+	volume_envelope 2, 4
 	note E_, 1
 	note G_, 1
 	note E_, 1
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	note G#, 2
-	intensity $24
+	volume_envelope 2, 4
 	note E_, 1
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 5
 	note C#, 2
-	intensity $24
+	volume_envelope 2, 4
 	octave 4
 	note E_, 1
 	note G_, 1
 	note E_, 1
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 5
 	note C_, 2
-	intensity $24
+	volume_envelope 2, 4
 	octave 4
 	note E_, 1
 	note G_, 1
 	note E_, 1
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	note A#, 2
-	intensity $24
+	volume_envelope 2, 4
 	note E_, 1
 	note G_, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 5
 	note F_, 2
-	intensity $24
+	volume_envelope 2, 4
 	octave 4
 	note G_, 1
 	octave 5
@@ -945,9 +947,9 @@
 	note G_, 1
 	octave 5
 	note C_, 1
-	intensity $14
+	volume_envelope 1, 4
 	note E_, 2
-	intensity $24
+	volume_envelope 2, 4
 	octave 4
 	note G_, 1
 	octave 5
@@ -956,14 +958,14 @@
 	note G_, 1
 	octave 5
 	note C_, 1
-	intensity $14
+	volume_envelope 1, 4
 	note D_, 2
-	intensity $24
+	volume_envelope 2, 4
 	octave 4
 	note G_, 1
 	octave 5
 	note C_, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 4
 	note A#, 4
 	octave 5
@@ -971,157 +973,157 @@
 	note D_, 4
 	note F_, 4
 	note G#, 16
-	notetype $6, $14
+	note_type 6, 1, 4
 	note G#, 1
-	note __, 1
-	intensity $24
+	rest 1
+	volume_envelope 2, 4
 	note G#, 1
-	note __, 1
-	intensity $34
+	rest 1
+	volume_envelope 3, 4
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
-	intensity $24
+	rest 1
+	volume_envelope 2, 4
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
-	intensity $14
+	rest 1
+	volume_envelope 1, 4
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 6
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note G_, 2
 	note F_, 2
 	note E_, 2
 	note F_, 2
-	notetype $c, $15
+	note_type 12, 1, 5
 	note G_, 12
 	note G_, 8
-	notetype $6, $15
+	note_type 6, 1, 5
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	intensity $24
+	rest 1
+	volume_envelope 2, 4
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	intensity $14
+	rest 1
+	volume_envelope 1, 4
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	notetype $c, $14
+	rest 1
+	note_type 12, 1, 4
 	octave 2
 	note A#, 16
 	note A#, 1
-	note __, 2
+	rest 2
 	note A#, 1
-	note __, 2
+	rest 2
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
-	note __, 2
+	rest 2
 	note A#, 1
-	note __, 2
+	rest 2
 	note A#, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 2
-	notetype $6, $15
+	rest 2
+	note_type 6, 1, 5
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 2
 	octave 4
 	note C_, 2
 	octave 3
 	note C_, 4
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 4
 	note C_, 2
-	note __, 4
+	rest 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 2
 	octave 4
 	note C_, 2
 	octave 3
 	note C_, 4
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	octave 2
 	note A#, 2
-	note __, 2
+	rest 2
 	note A#, 2
-	note __, 2
-	notetype $c, $14
+	rest 2
+	note_type 12, 1, 4
 	note G#, 16
 	note G#, 16
 	note A#, 2
-	note __, 2
+	rest 2
 	note A#, 1
-	note __, 3
+	rest 3
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
-	note __, 1
+	rest 1
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 1
-	note __, 3
+	rest 3
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note E_, 4
 	octave 4
@@ -1131,12 +1133,12 @@
 	note B_, 1
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 5
+	rest 5
 	note F_, 2
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
 	octave 3
@@ -1161,28 +1163,28 @@
 	octave 5
 	note C_, 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 5
+	rest 5
 	note G#, 2
 	note G_, 1
-	note __, 5
+	rest 5
 	note F_, 8
-	intensity $13
+	volume_envelope 1, 3
 	note G_, 6
 	note F#, 6
 	note E_, 2
-	note __, 2
+	rest 2
 	note G_, 6
 	note A_, 6
 	note G_, 2
-	note __, 2
+	rest 2
 	note G#, 12
 	note G_, 2
 	note F_, 2
 	note G#, 2
 	note G_, 2
-	note __, 4
+	rest 4
 	octave 6
 	note C#, 8
 	octave 5
@@ -1190,18 +1192,18 @@
 	octave 4
 	note A#, 6
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 5
 	note C#, 6
 	note C_, 6
 	octave 4
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 5
 	note F_, 6
 	note E_, 6
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note A#, 4
 	octave 5
@@ -1212,4 +1214,4 @@
 	note G#, 16
 	note G_, 16
 	note G_, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/lakeofrage.asm
+++ b/audio/music/lakeofrage.asm
@@ -1,17 +1,18 @@
 Music_LakeOfRage:
-	musicheader 4, 1, Music_LakeOfRage_Ch1
-	musicheader 1, 2, Music_LakeOfRage_Ch2
-	musicheader 1, 3, Music_LakeOfRage_Ch3
-	musicheader 1, 4, Music_LakeOfRage_Ch4
+	channel_count 4
+	channel 1, Music_LakeOfRage_Ch1
+	channel 2, Music_LakeOfRage_Ch2
+	channel 3, Music_LakeOfRage_Ch3
+	channel 4, Music_LakeOfRage_Ch4
 
 Music_LakeOfRage_Ch1:
 	tempo 144
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $8, $22
-	stereopanning $f0
-	notetype $c, $b4
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 8, 2, 2
+	stereo_panning TRUE, FALSE
+	note_type 12, 11, 4
 	octave 3
 	note D_, 6
 	note D_, 10
@@ -19,7 +20,7 @@
 	note D_, 6
 	note E_, 4
 .mainloop:
-	intensity $b5
+	volume_envelope 11, 5
 	note F#, 6
 	note E_, 6
 	note D_, 4
@@ -31,14 +32,14 @@
 	octave 3
 	note B_, 6
 	note G_, 2
-	notetype $8, $b5
+	note_type 8, 11, 5
 	note D_, 4
 	note G_, 4
 	note B_, 4
-	notetype $c, $b4
+	note_type 12, 11, 4
 	note D_, 3
 	note F#, 1
-	intensity $b7
+	volume_envelope 11, 7
 	note A_, 8
 	note F#, 4
 	note A_, 3
@@ -45,29 +46,29 @@
 	octave 4
 	note C#, 1
 	note D_, 12
-	notetype $8, $b4
+	note_type 8, 11, 4
 	octave 3
 	note C_, 4
 	octave 2
 	note B_, 4
 	note A_, 4
-	notetype $8, $b7
+	note_type 8, 11, 7
 	note A_, 12
-	notetype $c, $b7
+	note_type 12, 11, 7
 	octave 3
 	note C_, 12
-	intensity $b4
+	volume_envelope 11, 4
 	note E_, 4
 	note D_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 2
 	note A_, 10
-	intensity $b4
+	volume_envelope 11, 4
 	octave 3
 	note E_, 4
 	note D_, 3
 	note E_, 1
-	intensity $b7
+	volume_envelope 11, 7
 	note F#, 8
 	note D_, 6
 	note C_, 1
@@ -80,34 +81,34 @@
 	note G_, 6
 	note F#, 1
 	note G_, 1
-	intensity $a0
+	volume_envelope 10, 0
 	note A_, 7
-	intensity $a7
+	volume_envelope 10, 7
 	note A_, 7
 	note A_, 1
 	octave 4
 	note C_, 1
-	intensity $a0
+	volume_envelope 10, 0
 	note D_, 6
-	intensity $a7
+	volume_envelope 10, 7
 	note D_, 6
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LakeOfRage_Ch2:
-	dutycycle $3
-	vibrato $20, $44
-	stereopanning $ff
-	notetype $c, $90
+	duty_cycle 3
+	vibrato 32, 4, 4
+	stereo_panning TRUE, TRUE
+	note_type 12, 9, 0
 	octave 3
 	note G_, 8
-	intensity $97
+	volume_envelope 9, 7
 	note G_, 8
-	intensity $a0
+	volume_envelope 10, 0
 	note A_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note A_, 8
 .mainloop:
-	notetype $8, $c7
+	note_type 8, 12, 7
 	octave 4
 	note D_, 16
 	octave 3
@@ -119,45 +120,45 @@
 	note C_, 4
 	octave 4
 	note B_, 4
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note G_, 12
 	note B_, 4
 	note A_, 3
 	note G_, 1
-	intensity $b0
+	volume_envelope 11, 0
 	note F#, 12
-	intensity $b7
+	volume_envelope 11, 7
 	note F#, 16
-	notetype $8, $c3
+	note_type 8, 12, 3
 	octave 3
 	note G_, 4
 	note F#, 4
 	note E_, 4
 	note C_, 15
-	notetype $c, $c3
+	note_type 12, 12, 3
 	octave 4
 	note C_, 1
 	note E_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note E_, 1
 	note G_, 1
-	intensity $c5
+	volume_envelope 12, 5
 	octave 5
 	note C_, 10
-	intensity $c3
+	volume_envelope 12, 3
 	octave 4
 	note A_, 4
 	note G_, 4
 	note F#, 4
 	note E_, 2
-	notetype $8, $c3
+	note_type 8, 12, 3
 	note D_, 4
 	note E_, 4
 	note F#, 4
-	notetype $8, $c7
+	note_type 8, 12, 7
 	note A_, 12
-	notetype $8, $c3
+	note_type 8, 12, 3
 	octave 3
 	note G_, 4
 	note F#, 4
@@ -174,26 +175,26 @@
 	note G_, 4
 	note F#, 4
 	note E_, 4
-	notetype $8, $c7
+	note_type 8, 12, 7
 	note F#, 16
 	note D_, 4
 	note F#, 4
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note A_, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LakeOfRage_Ch3:
-	stereopanning $f
-	notetype $c, $16
+	stereo_panning FALSE, TRUE
+	note_type 12, 1, 6
 	octave 3
 	note G_, 4
-	note __, 2
+	rest 2
 	note G_, 4
-	note __, 6
+	rest 6
 	note F#, 4
-	note __, 2
+	rest 2
 	note F#, 4
-	note __, 2
+	rest 2
 	note E_, 4
 .mainloop:
 	octave 3
@@ -293,30 +294,30 @@
 	note D_, 2
 	octave 2
 	note A_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LakeOfRage_Ch4:
-	stereopanning $f0
-	togglenoise $3
-	notetype $c
+	stereo_panning TRUE, FALSE
+	toggle_noise 3
+	drum_speed 12
 .mainloop:
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	note G_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	note F#, 6
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	note G_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	note F#, 3
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	loopchannel 0, .mainloop
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 8, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 7, 6
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 8, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 7, 3
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_loop 0, .mainloop
--- a/audio/music/lakeofragerocketradio.asm
+++ b/audio/music/lakeofragerocketradio.asm
@@ -1,35 +1,36 @@
 Music_LakeOfRageRocketRadio:
-	musicheader 3, 1, Music_LakeOfRageRocketRadio_Ch1
-	musicheader 1, 2, Music_LakeOfRageRocketRadio_Ch2
-	musicheader 1, 3, Music_LakeOfRageRocketRadio_Ch3
+	channel_count 3
+	channel 1, Music_LakeOfRageRocketRadio_Ch1
+	channel 2, Music_LakeOfRageRocketRadio_Ch2
+	channel 3, Music_LakeOfRageRocketRadio_Ch3
 
 Music_LakeOfRageRocketRadio_Ch1:
 	tempo 160
-	volume $77
-	dutycycle $1
-	tone $1118
-	vibrato $0, $f0
-	stereopanning $f0
+	volume 7, 7
+	duty_cycle 1
+	pitch_offset 4376
+	vibrato 0, 15, 0
+	stereo_panning TRUE, FALSE
 .mainloop:
-	notetype $c, $a7
+	note_type 12, 10, 7
 	octave 7
 	note G_, 4
 	note F#, 4
 	note G_, 4
 	note F#, 4
-	note __, 16
-	loopchannel 0, .mainloop
+	rest 16
+	sound_loop 0, .mainloop
 
 Music_LakeOfRageRocketRadio_Ch2:
-	dutycycle $1
-	vibrato $13, $e8
-	notetype $c, $a7
-	note __, 2
-	stereopanning $f
-	loopchannel 0, Music_LakeOfRageRocketRadio_Ch1.mainloop
+	duty_cycle 1
+	vibrato 19, 14, 8
+	note_type 12, 10, 7
+	rest 2
+	stereo_panning FALSE, TRUE
+	sound_loop 0, Music_LakeOfRageRocketRadio_Ch1.mainloop
 
 Music_LakeOfRageRocketRadio_Ch3:
-	notetype $c, $26
-	vibrato $10, $44
-	note __, 4
-	loopchannel 0, Music_LakeOfRageRocketRadio_Ch1.mainloop
+	note_type 12, 2, 6
+	vibrato 16, 4, 4
+	rest 4
+	sound_loop 0, Music_LakeOfRageRocketRadio_Ch1.mainloop
--- a/audio/music/lavendertown.asm
+++ b/audio/music/lavendertown.asm
@@ -1,95 +1,96 @@
 Music_LavenderTown:
-	musicheader 3, 1, Music_LavenderTown_Ch1
-	musicheader 1, 2, Music_LavenderTown_Ch2
-	musicheader 1, 3, Music_LavenderTown_Ch3
+	channel_count 3
+	channel 1, Music_LavenderTown_Ch1
+	channel 2, Music_LavenderTown_Ch2
+	channel 3, Music_LavenderTown_Ch3
 
 	db $3 ; unused
 
 Music_LavenderTown_Ch1:
 	tempo 160
-	volume $77
-	stereopanning $f
-	vibrato $6, $24
-	dutycycle $0
-	notetype $c, $b3
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	vibrato 6, 2, 4
+	duty_cycle 0
+	note_type 12, 11, 3
+	rest 16
+	rest 16
+	rest 16
+	rest 16
 .mainloop:
-	callchannel .sub1
-	intensity $93
+	sound_call .sub1
+	volume_envelope 9, 3
 	octave 5
 	note D_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note D_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note F#, 2
-	intensity $43
+	volume_envelope 4, 3
 	note F#, 2
-	intensity $93
+	volume_envelope 9, 3
 	note B_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note B_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note A_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note A_, 2
-	callchannel .sub2
-	intensity $93
-	intensity $93
+	sound_call .sub2
+	volume_envelope 9, 3
+	volume_envelope 9, 3
 	note F_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note F_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note D_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note D_, 2
-	intensity $93
+	volume_envelope 9, 3
 	octave 4
 	note B_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note B_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note G_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note G_, 2
-	callchannel .sub1
-	intensity $93
+	sound_call .sub1
+	volume_envelope 9, 3
 	octave 5
 	note D_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note D_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note G_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note G_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note B_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note B_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note G_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note G_, 2
-	callchannel .sub2
-	intensity $93
+	sound_call .sub2
+	volume_envelope 9, 3
 	octave 6
 	note C_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note C_, 2
-	intensity $93
+	volume_envelope 9, 3
 	octave 5
 	note G_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note G_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note E_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note E_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note C_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note C_, 2
 	octave 3
 	note F_, 2
@@ -124,7 +125,7 @@
 	octave 3
 	note A_, 2
 	note F_, 2
-	loopchannel 2, .loop1
+	sound_loop 2, .loop1
 	note F#, 2
 	note A_, 2
 	octave 4
@@ -147,163 +148,163 @@
 	octave 3
 	note B_, 8
 	note B_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $83
+	volume_envelope 8, 3
 	octave 5
 	note C_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note C_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note G_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note G_, 2
-	intensity $83
+	volume_envelope 8, 3
 	octave 6
 	note C_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note C_, 2
-	intensity $83
+	volume_envelope 8, 3
 	octave 5
 	note G_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note G_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note D_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note D_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note A_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note A_, 2
-	intensity $83
+	volume_envelope 8, 3
 	octave 6
 	note D_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note D_, 2
-	intensity $83
+	volume_envelope 8, 3
 	octave 5
 	note A_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note A_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note E_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note E_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note B_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note B_, 2
-	intensity $83
+	volume_envelope 8, 3
 	octave 6
 	note E_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note E_, 2
-	intensity $83
+	volume_envelope 8, 3
 	octave 5
 	note B_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note B_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note C#, 2
-	intensity $43
+	volume_envelope 4, 3
 	note C#, 2
-	intensity $83
+	volume_envelope 8, 3
 	note G_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note G_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note A#, 2
-	intensity $43
+	volume_envelope 4, 3
 	note A#, 2
-	intensity $83
+	volume_envelope 8, 3
 	note G_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note G_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note C_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note C_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note F_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note F_, 2
-	intensity $83
+	volume_envelope 8, 3
 	octave 6
 	note C_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note C_, 2
-	intensity $83
+	volume_envelope 8, 3
 	octave 5
 	note F_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note F_, 2
-	endchannel
+	sound_ret
 
 .sub2:
-	intensity $93
+	volume_envelope 9, 3
 	octave 5
 	note G_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note G_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note F_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note F_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note D_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note D_, 2
-	intensity $83
+	volume_envelope 8, 3
 	note G_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note G_, 2
-	endchannel
+	sound_ret
 
 Music_LavenderTown_Ch2:
-	dutycycle $1
-	vibrato $8, $24
-	stereopanning $ff
+	duty_cycle 1
+	vibrato 8, 2, 4
+	stereo_panning TRUE, TRUE
 .loop1:
-	notetype $c, $a3
+	note_type 12, 10, 3
 	octave 5
 	note C_, 2
-	intensity $63
+	volume_envelope 6, 3
 	note C_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note G_, 2
-	intensity $63
+	volume_envelope 6, 3
 	note G_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note B_, 2
-	intensity $63
+	volume_envelope 6, 3
 	note B_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note F#, 2
-	intensity $63
+	volume_envelope 6, 3
 	note F#, 2
-	loopchannel 3, .loop1
-	intensity $a3
+	sound_loop 3, .loop1
+	volume_envelope 10, 3
 	note C_, 2
-	intensity $63
+	volume_envelope 6, 3
 	note C_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note G_, 2
-	intensity $63
+	volume_envelope 6, 3
 	note G_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note B_, 2
-	intensity $63
+	volume_envelope 6, 3
 	note B_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	octave 6
 	note D_, 2
-	intensity $63
+	volume_envelope 6, 3
 	note D_, 2
 .mainloop:
-	intensity $b5
-	callchannel .sub1
+	volume_envelope 11, 5
+	sound_call .sub1
 	octave 2
 	note F#, 4
 	octave 3
@@ -321,7 +322,7 @@
 	octave 2
 	note B_, 4
 	note G_, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 2
 	note G_, 4
 	octave 3
@@ -337,7 +338,7 @@
 	note G_, 4
 	octave 4
 	note C_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	octave 2
 	note F_, 16
 	note C_, 16
@@ -348,12 +349,12 @@
 	note G_, 16
 	octave 1
 	note G_, 8
-	intensity $57
+	volume_envelope 5, 7
 	octave 5
 	note D_, 1
 	note F_, 1
 	note G_, 6
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
@@ -384,28 +385,28 @@
 	note C_, 4
 	note A_, 4
 	note C_, 4
-	endchannel
+	sound_ret
 
 Music_LavenderTown_Ch3:
-	vibrato $12, $24
-	notetype $c, $13
-	stereopanning $f0
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 8
+	vibrato 18, 2, 4
+	note_type 12, 1, 3
+	stereo_panning TRUE, FALSE
+	rest 16
+	rest 16
+	rest 16
+	rest 8
 	octave 5
 	note E_, 4
 	note F_, 4
 .mainloop:
-	intensity $12
+	volume_envelope 1, 2
 	octave 5
 	note G_, 4
-	note __, 4
+	rest 4
 	note G_, 4
-	note __, 4
+	rest 4
 	note E_, 4
-	note __, 4
+	rest 4
 	note E_, 4
 	note F_, 4
 	note G_, 4
@@ -413,7 +414,7 @@
 	note E_, 4
 	note B_, 4
 	note C#, 8
-	note __, 2
+	rest 2
 	note C#, 2
 	note D_, 2
 	note E_, 2
@@ -433,11 +434,11 @@
 	note E_, 2
 	note F_, 2
 	note G_, 4
-	note __, 4
+	rest 4
 	note G_, 4
-	note __, 4
+	rest 4
 	note E_, 4
-	note __, 4
+	rest 4
 	note E_, 4
 	note F_, 4
 	note G_, 4
@@ -445,7 +446,7 @@
 	note E_, 4
 	note B_, 4
 	note C#, 8
-	note __, 2
+	rest 2
 	note C#, 2
 	note D_, 2
 	note E_, 2
@@ -458,8 +459,8 @@
 	note D_, 2
 	note C_, 16
 	note C_, 12
-	note __, 4
-	intensity $24
+	rest 4
+	volume_envelope 2, 4
 	note A_, 2
 	note G_, 2
 	note A_, 2
@@ -482,11 +483,11 @@
 	note G_, 4
 	octave 6
 	note F_, 4
-	notetype $8, $24
+	note_type 8, 2, 4
 	note E_, 2
 	note F_, 2
 	note E_, 2
-	notetype $c, $24
+	note_type 12, 2, 4
 	note D_, 4
 	note C_, 4
 	octave 5
@@ -511,4 +512,4 @@
 	note B_, 12
 	note E_, 2
 	note F_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/lighthouse.asm
+++ b/audio/music/lighthouse.asm
@@ -1,18 +1,19 @@
 Music_Lighthouse:
-	musicheader 4, 1, Music_Lighthouse_Ch1
-	musicheader 1, 2, Music_Lighthouse_Ch2
-	musicheader 1, 3, Music_Lighthouse_Ch3
-	musicheader 1, 4, Music_Lighthouse_Ch4
+	channel_count 4
+	channel 1, Music_Lighthouse_Ch1
+	channel 2, Music_Lighthouse_Ch2
+	channel 3, Music_Lighthouse_Ch3
+	channel 4, Music_Lighthouse_Ch4
 
 Music_Lighthouse_Ch1:
 	tempo 144
-	volume $77
-	dutycycle $3
-	tone $0004
-	vibrato $8, $45
-	stereopanning $f
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 4
+	vibrato 8, 4, 5
+	stereo_panning FALSE, TRUE
 .mainloop:
-	notetype $c, $b3
+	note_type 12, 11, 3
 	octave 3
 	note C#, 8
 	octave 2
@@ -27,29 +28,29 @@
 	note A_, 4
 	note B_, 4
 	note G#, 1
-	note __, 7
+	rest 7
 	octave 3
 	note C_, 4
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note C_, 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 8
 	octave 2
@@ -68,19 +69,19 @@
 	note F#, 2
 	note A_, 2
 	note G#, 1
-	note __, 7
+	rest 7
 	octave 3
 	note C_, 12
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 3
+	rest 3
 	octave 3
 	note C_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 4
 	octave 3
@@ -126,14 +127,14 @@
 	note B_, 2
 	note A_, 2
 	note G#, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_Lighthouse_Ch2:
-	dutycycle $3
-	tone $0002
-	vibrato $10, $45
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 16, 4, 5
 .mainloop:
-	notetype $c, $c5
+	note_type 12, 12, 5
 	octave 3
 	note G#, 12
 	note F#, 2
@@ -142,18 +143,18 @@
 	octave 4
 	note C#, 8
 	note C_, 1
-	note __, 7
+	rest 7
 	octave 3
 	note G#, 16
-	intensity $c5
+	volume_envelope 12, 5
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note G#, 12
 	note F#, 2
 	note G#, 2
@@ -161,17 +162,17 @@
 	octave 4
 	note C#, 8
 	note C_, 1
-	note __, 7
+	rest 7
 	note D#, 12
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 3
+	rest 3
 	note D#, 1
-	note __, 3
+	rest 3
 	octave 4
 	note E_, 12
 	note D#, 2
@@ -208,102 +209,102 @@
 	note D#, 2
 	note C#, 2
 	note C_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_Lighthouse_Ch3:
-	notetype $c, $19
-	stereopanning $f0
+	note_type 12, 1, -1
+	stereo_panning TRUE, FALSE
 .mainloop:
 	octave 2
 	note G#, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 .loop1:
 	note G#, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
-	loopchannel 2, .loop1
+	rest 2
+	sound_loop 2, .loop1
 	note G#, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note A_, 2
 	octave 3
 	note C_, 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G#, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 .loop2:
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G#, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 2
-	note __, 2
-	loopchannel 2, .loop2
+	rest 2
+	sound_loop 2, .loop2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G#, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D#, 2
 	note F#, 2
 .loop3:
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	note F_, 2
-	note __, 2
-	loopchannel 8, .loop3
-	loopchannel 0, .mainloop
+	rest 2
+	sound_loop 8, .loop3
+	sound_loop 0, .mainloop
 
 Music_Lighthouse_Ch4:
-	togglenoise $0
-	notetype $c
+	toggle_noise 0
+	drum_speed 12
 .mainloop:
-	stereopanning $f
-	note G#, 4
-	note F_, 2
-	note G#, 4
-	note F_, 2
-	note A_, 2
-	note A#, 2
-	stereopanning $ff
-	note G#, 2
-	note F_, 4
-	note G#, 2
-	note F_, 4
-	note G#, 2
-	note A_, 2
-	loopchannel 0, .mainloop
+	stereo_panning FALSE, TRUE
+	drum_note 9, 4
+	drum_note 6, 2
+	drum_note 9, 4
+	drum_note 6, 2
+	drum_note 10, 2
+	drum_note 11, 2
+	stereo_panning TRUE, TRUE
+	drum_note 9, 2
+	drum_note 6, 4
+	drum_note 9, 2
+	drum_note 6, 4
+	drum_note 9, 2
+	drum_note 10, 2
+	sound_loop 0, .mainloop
--- a/audio/music/lookbeauty.asm
+++ b/audio/music/lookbeauty.asm
@@ -1,68 +1,69 @@
 Music_LookBeauty:
-	musicheader 4, 1, Music_LookBeauty_Ch1
-	musicheader 1, 2, Music_LookBeauty_Ch2
-	musicheader 1, 3, Music_LookBeauty_Ch3
-	musicheader 1, 4, Music_LookBeauty_Ch4
+	channel_count 4
+	channel 1, Music_LookBeauty_Ch1
+	channel 2, Music_LookBeauty_Ch2
+	channel 3, Music_LookBeauty_Ch3
+	channel 4, Music_LookBeauty_Ch4
 
 Music_LookBeauty_Ch1:
-	stereopanning $f
-	vibrato $12, $25
-	dutycycle $2
+	stereo_panning FALSE, TRUE
+	vibrato 18, 2, 5
+	duty_cycle 2
 	tempo 128
-	volume $77
-	notetype $c, $a3
-	note __, 16
-	note __, 8
+	volume 7, 7
+	note_type 12, 10, 3
+	rest 16
+	rest 8
 	octave 4
 	note C_, 8
-	dutycycle $3
+	duty_cycle 3
 .mainloop:
-	note __, 4
+	rest 4
 	octave 3
 	note D_, 1
-	note __, 5
+	rest 5
 	note D_, 1
-	note __, 5
-	note __, 2
+	rest 5
+	rest 2
 	note D_, 1
-	note __, 3
+	rest 3
 	note D_, 1
-	note __, 5
+	rest 5
 	note D_, 4
-	note __, 4
+	rest 4
 	note D_, 1
-	note __, 5
+	rest 5
 	note D_, 1
-	note __, 5
-	note __, 2
+	rest 5
+	rest 2
 	note D_, 1
-	note __, 3
+	rest 3
 	note D_, 1
-	note __, 3
+	rest 3
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 4
+	rest 4
 	note E_, 1
-	note __, 5
+	rest 5
 	note E_, 1
-	note __, 5
-	note __, 2
+	rest 5
+	rest 2
 	note E_, 1
-	note __, 3
+	rest 3
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 3
+	rest 3
 	note E_, 4
-	note __, 4
+	rest 4
 	note F#, 1
-	note __, 5
+	rest 5
 	note F#, 1
-	note __, 3
+	rest 3
 	note D_, 2
 	note D_, 1
-	note __, 7
+	rest 7
 	octave 2
 	note A_, 1
 	octave 3
@@ -74,99 +75,99 @@
 	note A_, 1
 	octave 4
 	note C_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LookBeauty_Ch2:
-	stereopanning $f0
-	vibrato $10, $23
-	dutycycle $2
-	notetype $c, $c7
+	stereo_panning TRUE, FALSE
+	vibrato 16, 2, 3
+	duty_cycle 2
+	note_type 12, 12, 7
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 6
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note E_, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	dutycycle $3
+	rest 1
+	duty_cycle 3
 .mainloop:
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note G_, 16
 	note A_, 8
 	note B_, 8
 	note A_, 10
 	note G#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 2
 	note G#, 8
-	note __, 2
+	rest 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	intensity $b7
-	vibrato $10, $24
+	volume_envelope 11, 7
+	vibrato 16, 2, 4
 	octave 5
 	note C_, 15
-	notetype $6, $c7
-	intensity $c5
-	vibrato $10, $23
-	note __, 1
+	note_type 6, 12, 7
+	volume_envelope 12, 5
+	vibrato 16, 2, 3
+	rest 1
 	note C#, 1
 	note D_, 16
 	note C_, 16
 	octave 4
 	note B_, 16
-	note __, 4
+	rest 4
 	octave 5
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note B_, 2
-	note __, 2
+	rest 2
 	note A_, 6
-	note __, 14
+	rest 14
 	note F#, 8
 	note A_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LookBeauty_Ch3:
-	stereopanning $ff
-	vibrato $8, $12
-	notetype $c, $15
-	note __, 16
+	stereo_panning TRUE, TRUE
+	vibrato 8, 1, 2
+	note_type 12, 1, 5
+	rest 16
 	octave 5
 	note E_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 7
 	note F#, 1
@@ -174,33 +175,33 @@
 	note G_, 4
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note G_, 2
 	note G_, 1
 	octave 4
 	note A#, 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 1
-	note __, 3
+	rest 3
 	octave 4
 	note B_, 4
 	octave 3
@@ -207,19 +208,19 @@
 	note E_, 4
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 2
 	note E_, 1
@@ -226,32 +227,32 @@
 	octave 4
 	note G_, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F#, 1
-	note __, 3
+	rest 3
 	note G#, 2
-	note __, 2
+	rest 2
 	note B_, 2
 	octave 3
 	note A_, 4
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	note A_, 1
 	octave 4
@@ -258,68 +259,68 @@
 	note B_, 1
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 3
+	rest 3
 	note C_, 4
 	octave 3
 	note D_, 4
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A_, 2
 	note A_, 1
-	note __, 7
+	rest 7
 	octave 3
 	note D_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LookBeauty_Ch4:
-	togglenoise $3
-	notetype $c
-	note __, 16
-	note __, 16
+	toggle_noise 3
+	drum_speed 12
+	rest 16
+	rest 16
 .mainloop:
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_loop 0, .mainloop
 
 .sub1:
-	note F#, 2
-	note G_, 2
-	note D_, 2
-	note G_, 2
-	note G_, 2
-	note D_, 2
-	note G_, 2
-	note G_, 2
-	note F#, 2
-	note D_, 2
-	note G_, 2
-	note D_, 2
-	note G_, 2
-	note G_, 2
-	note D_, 2
-	note G_, 2
-	endchannel
+	drum_note 7, 2
+	drum_note 8, 2
+	drum_note 3, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 3, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 8, 2
+	drum_note 3, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 3, 2
+	drum_note 8, 2
+	sound_ret
--- a/audio/music/lookhiker.asm
+++ b/audio/music/lookhiker.asm
@@ -1,17 +1,18 @@
 Music_LookHiker:
-	musicheader 4, 1, Music_LookHiker_Ch1
-	musicheader 1, 2, Music_LookHiker_Ch2
-	musicheader 1, 3, Music_LookHiker_Ch3
-	musicheader 1, 4, Music_LookHiker_Ch4
+	channel_count 4
+	channel 1, Music_LookHiker_Ch1
+	channel 2, Music_LookHiker_Ch2
+	channel 3, Music_LookHiker_Ch3
+	channel 4, Music_LookHiker_Ch4
 
 Music_LookHiker_Ch1:
 	tempo 132
-	volume $77
-	tone $0001
-	vibrato $12, $24
-	dutycycle $2
-	stereopanning $f
-	notetype $c, $68
+	volume 7, 7
+	pitch_offset 1
+	vibrato 18, 2, 4
+	duty_cycle 2
+	stereo_panning FALSE, TRUE
+	note_type 12, 6, 8
 	octave 3
 	note F#, 2
 	note F_, 2
@@ -22,19 +23,19 @@
 	note E_, 2
 	note F_, 2
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 6
-	loopchannel 0, .mainloop
+	rest 6
+	sound_loop 0, .mainloop
 
 Music_LookHiker_Ch2:
-	dutycycle $0
-	notetype $c, $a1
-	note __, 4
+	duty_cycle 0
+	note_type 12, 10, 1
+	rest 4
 	octave 1
 	note B_, 1
 	note B_, 5
@@ -47,7 +48,7 @@
 	note D_, 1
 	note F#, 1
 	note D_, 1
-	intensity $a1
+	volume_envelope 10, 1
 .mainloop:
 	octave 1
 	note B_, 1
@@ -65,12 +66,12 @@
 	note D_, 1
 	note F#, 1
 	note D_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LookHiker_Ch3:
-	vibrato $12, $24
-	stereopanning $f0
-	notetype $c, $14
+	vibrato 18, 2, 4
+	stereo_panning TRUE, FALSE
+	note_type 12, 1, 4
 	octave 4
 	note B_, 2
 	note A#, 2
@@ -81,34 +82,34 @@
 	note D_, 2
 	note C#, 2
 	note C_, 2
-	callchannel .sub1
+	sound_call .sub1
 	note G_, 2
 	note G#, 2
 	note A_, 2
 	note A#, 2
-	callchannel .sub1
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
 	note B_, 2
-	note __, 4
+	rest 4
 	note B_, 2
-	note __, 4
+	rest 4
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
 Music_LookHiker_Ch4:
-	togglenoise $3
-	notetype $c
-	note F_, 4
-	note __, 16
+	toggle_noise 3
+	drum_speed 12
+	drum_note 6, 4
+	rest 16
 .mainloop:
-	note D#, 2
-	note G_, 2
-	note D_, 2
-	note G_, 2
-	loopchannel 0, .mainloop
+	drum_note 4, 2
+	drum_note 8, 2
+	drum_note 3, 2
+	drum_note 8, 2
+	sound_loop 0, .mainloop
--- a/audio/music/lookkimonogirl.asm
+++ b/audio/music/lookkimonogirl.asm
@@ -1,116 +1,117 @@
 Music_LookKimonoGirl:
-	musicheader 3, 1, Music_LookKimonoGirl_Ch1
-	musicheader 1, 2, Music_LookKimonoGirl_Ch2
-	musicheader 1, 3, Music_LookKimonoGirl_Ch3
+	channel_count 3
+	channel 1, Music_LookKimonoGirl_Ch1
+	channel 2, Music_LookKimonoGirl_Ch2
+	channel 3, Music_LookKimonoGirl_Ch3
 
 	db $3 ; unused
 
 Music_LookKimonoGirl_Ch1:
 	tempo 160
-	volume $77
-	stereopanning $f
-	dutycycle $1
-	notetype $6, $87
-	tone $0001
-	callchannel Music_LookKimonoGirl_Ch2.sub2
-	tone 0
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	duty_cycle 1
+	note_type 6, 8, 7
+	pitch_offset 1
+	sound_call Music_LookKimonoGirl_Ch2.sub2
+	pitch_offset 0
 .mainloop:
-	notetype $c, $b2
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	intensity $b4
+	note_type 12, 11, 2
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	volume_envelope 11, 4
 	octave 3
 	note E_, 1
-	intensity $54
+	volume_envelope 5, 4
 	octave 4
 	note E_, 1
-	intensity $b4
+	volume_envelope 11, 4
 	octave 3
 	note D_, 1
-	intensity $54
+	volume_envelope 5, 4
 	octave 4
 	note D_, 1
-	intensity $b4
+	volume_envelope 11, 4
 	octave 2
 	note B_, 1
-	intensity $54
+	volume_envelope 5, 4
 	octave 3
 	note B_, 1
-	intensity $b4
+	volume_envelope 11, 4
 	octave 2
 	note A_, 1
-	intensity $54
+	volume_envelope 5, 4
 	octave 3
 	note A_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $b4
+	volume_envelope 11, 4
 	octave 2
 	note F_, 1
-	intensity $74
+	volume_envelope 7, 4
 	octave 3
 	note F_, 1
-	intensity $b4
+	volume_envelope 11, 4
 	octave 2
 	note A_, 1
-	intensity $74
+	volume_envelope 7, 4
 	octave 3
 	note A_, 1
-	intensity $b4
+	volume_envelope 11, 4
 	octave 2
 	note B_, 1
-	intensity $74
+	volume_envelope 7, 4
 	octave 3
 	note B_, 1
-	intensity $b4
+	volume_envelope 11, 4
 	octave 3
 	note D_, 1
-	intensity $74
+	volume_envelope 7, 4
 	octave 4
 	note D_, 1
-	endchannel
+	sound_ret
 
 .sub2:
-	intensity $b4
+	volume_envelope 11, 4
 	octave 2
 	note E_, 1
-	intensity $74
+	volume_envelope 7, 4
 	octave 3
 	note E_, 1
-	intensity $b4
+	volume_envelope 11, 4
 	octave 2
 	note A_, 1
-	intensity $74
+	volume_envelope 7, 4
 	octave 3
 	note A_, 1
-	intensity $b4
+	volume_envelope 11, 4
 	octave 2
 	note B_, 1
-	intensity $74
+	volume_envelope 7, 4
 	octave 3
 	note B_, 1
-	intensity $b4
+	volume_envelope 11, 4
 	octave 3
 	note D_, 1
-	intensity $74
+	volume_envelope 7, 4
 	octave 4
 	note D_, 1
-	endchannel
+	sound_ret
 
 Music_LookKimonoGirl_Ch2:
-	dutycycle $0
-	notetype $6, $a7
-	stereopanning $f0
-	callchannel .sub2
+	duty_cycle 0
+	note_type 6, 10, 7
+	stereo_panning TRUE, FALSE
+	sound_call .sub2
 .mainloop:
-	dutycycle $3
-	notetype $c, $91
+	duty_cycle 3
+	note_type 12, 9, 1
 	octave 5
 	note E_, 1
 	note D_, 1
@@ -130,7 +131,7 @@
 	note A_, 1
 	note E_, 1
 	note D_, 1
-	callchannel .sub1
+	sound_call .sub1
 	octave 5
 	note F_, 1
 	note D_, 1
@@ -150,8 +151,8 @@
 	note A_, 1
 	note E_, 1
 	note D_, 1
-	callchannel .sub1
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 5
@@ -173,7 +174,7 @@
 	octave 3
 	note B_, 1
 	note E_, 1
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 4
@@ -180,49 +181,49 @@
 	note E_, 1
 	octave 5
 	note E_, 16
-	note __, 1
+	rest 1
 	note E_, 2
-	note __, 3
-	intensity $b7
+	rest 3
+	volume_envelope 11, 7
 	note E_, 2
-	note __, 2
-	intensity $b7
+	rest 2
+	volume_envelope 11, 7
 	note E_, 2
-	note __, 1
-	intensity $a7
+	rest 1
+	volume_envelope 10, 7
 	note E_, 2
-	note __, 1
-	notetype $6, $65
+	rest 1
+	note_type 6, 6, 5
 	note E_, 2
-	note __, 1
-	intensity $54
+	rest 1
+	volume_envelope 5, 4
 	note E_, 2
-	note __, 1
-	intensity $63
+	rest 1
+	volume_envelope 6, 3
 	note E_, 2
 	note E_, 2
-	intensity $91
+	volume_envelope 9, 1
 	note E_, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note E_, 1
-	notetype $8, $b1
+	note_type 8, 11, 1
 	note E_, 1
 	note E_, 1
-	endchannel
+	sound_ret
 
 Music_LookKimonoGirl_Ch3:
-	stereopanning $ff
-	vibrato $12, $24
-	notetype $6, $13
-	note __, 1
-	note __, 16
+	stereo_panning TRUE, TRUE
+	vibrato 18, 2, 4
+	note_type 6, 1, 3
+	rest 1
+	rest 16
 	octave 5
 	note E_, 1
 	note F_, 1
 	note E_, 2
-	notetype $c, $13
+	note_type 12, 1, 3
 	note E_, 12
-	notetype $6, $13
+	note_type 6, 1, 3
 	octave 5
 	note D_, 2
 	note E_, 2
@@ -262,4 +263,4 @@
 	note E_, 2
 	note D_, 8
 	note E_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/looklass.asm
+++ b/audio/music/looklass.asm
@@ -1,55 +1,56 @@
 Music_LookLass:
-	musicheader 4, 1, Music_LookLass_Ch1
-	musicheader 1, 2, Music_LookLass_Ch2
-	musicheader 1, 3, Music_LookLass_Ch3
-	musicheader 1, 4, Music_LookLass_Ch4
+	channel_count 4
+	channel 1, Music_LookLass_Ch1
+	channel 2, Music_LookLass_Ch2
+	channel 3, Music_LookLass_Ch3
+	channel 4, Music_LookLass_Ch4
 
 Music_LookLass_Ch1:
 	tempo 132
-	volume $77
-	tone $0001
-	dutycycle $2
-	notetype $c, $c7
+	volume 7, 7
+	pitch_offset 1
+	duty_cycle 2
+	note_type 12, 12, 7
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note B_, 14
-	stereopanning $f
-	dutycycle $0
+	stereo_panning FALSE, TRUE
+	duty_cycle 0
 .mainloop:
-	intensity $a2
+	volume_envelope 10, 2
 	octave 3
 	note E_, 4
-	intensity $a1
+	volume_envelope 10, 1
 	note E_, 4
 	note E_, 4
 	note E_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note B_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LookLass_Ch2:
-	stereopanning $f0
-	dutycycle $0
-	notetype $c, $83
-	note __, 16
+	stereo_panning TRUE, FALSE
+	duty_cycle 0
+	note_type 12, 8, 3
+	rest 16
 .mainloop:
-	intensity $92
+	volume_envelope 9, 2
 	octave 2
 	note B_, 4
-	intensity $91
+	volume_envelope 9, 1
 	note B_, 4
 	note B_, 4
 	note B_, 2
-	intensity $93
+	volume_envelope 9, 3
 	octave 3
 	note G#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LookLass_Ch3:
-	notetype $c, $10
-	note __, 8
+	note_type 12, 1, 0
+	rest 8
 	octave 6
 	note E_, 2
 	note D#, 2
@@ -58,14 +59,14 @@
 .mainloop:
 	octave 5
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 6
 	note D#, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note C#, 2
 	note C_, 2
 	octave 5
@@ -78,15 +79,15 @@
 	note C#, 2
 	octave 5
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 6
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 5
 	note B_, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note G#, 2
 	note F#, 2
 	note E_, 2
@@ -95,20 +96,20 @@
 	note F#, 2
 	note G#, 2
 	note A_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LookLass_Ch4:
-	togglenoise $4
-	notetype $c
-	note C_, 16
+	toggle_noise 4
+	drum_speed 12
+	drum_note 1, 16
 .mainloop:
-	notetype $6
-	note D_, 8
-	note C#, 8
-	note C#, 8
-	note C#, 4
-	note D_, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	loopchannel 0, .mainloop
+	drum_speed 6
+	drum_note 3, 8
+	drum_note 2, 8
+	drum_note 2, 8
+	drum_note 2, 4
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	sound_loop 0, .mainloop
--- a/audio/music/lookmysticalman.asm
+++ b/audio/music/lookmysticalman.asm
@@ -1,98 +1,99 @@
 Music_LookMysticalMan:
-	musicheader 4, 1, Music_LookMysticalMan_Ch1
-	musicheader 1, 2, Music_LookMysticalMan_Ch2
-	musicheader 1, 3, Music_LookMysticalMan_Ch3
-	musicheader 1, 4, Music_LookMysticalMan_Ch4
+	channel_count 4
+	channel 1, Music_LookMysticalMan_Ch1
+	channel 2, Music_LookMysticalMan_Ch2
+	channel 3, Music_LookMysticalMan_Ch3
+	channel 4, Music_LookMysticalMan_Ch4
 
 Music_LookMysticalMan_Ch1:
 	tempo 136
-	volume $77
-	vibrato $a, $34
-	tone $0001
-	stereopanning $f
-	notetype $c, $b3
-	note __, 8
+	volume 7, 7
+	vibrato 10, 3, 4
+	pitch_offset 1
+	stereo_panning FALSE, TRUE
+	note_type 12, 11, 3
+	rest 8
 .mainloop:
-	dutycycle $3
-	notetype $6, $96
+	duty_cycle 3
+	note_type 6, 9, 6
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note E_, 2
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 2
-	note __, 9
-	note __, 9
+	rest 9
+	rest 9
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note D_, 2
 	note E_, 2
-	note __, 4
+	rest 4
 	note E_, 2
-	note __, 9
-	note __, 9
+	rest 9
+	rest 9
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note C#, 2
 	note E_, 2
-	note __, 4
+	rest 4
 	note E_, 2
-	note __, 9
-	note __, 9
+	rest 9
+	rest 9
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note C#, 2
 	note E_, 2
-	note __, 3
+	rest 3
 	note F_, 1
 	note F#, 4
-	note __, 4
+	rest 4
 	note E_, 4
-	note __, 4
+	rest 4
 	note C#, 4
-	dutycycle $2
-	callchannel .sub1
+	duty_cycle 2
+	sound_call .sub1
 	octave 4
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 2
-	note __, 2
+	rest 2
 	note A#, 2
 	octave 4
 	note C#, 6
-	note __, 4
+	rest 4
 	octave 3
 	note F#, 4
-	note __, 4
+	rest 4
 	note E_, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A#, 2
 	note B_, 6
 	note A#, 4
 	note F#, 4
-	intensity $a5
-	dutycycle $0
+	volume_envelope 10, 5
+	duty_cycle 0
 	octave 4
 	note F#, 2
 	note A#, 6
-	dutycycle $2
-	intensity $72
+	duty_cycle 2
+	volume_envelope 7, 2
 .loop1:
 	octave 5
 	note D_, 2
@@ -100,7 +101,7 @@
 	note B_, 2
 	note F#, 2
 	note D_, 2
-	loopchannel 4, .loop1
+	sound_loop 4, .loop1
 	octave 5
 	note D_, 2
 	octave 4
@@ -131,7 +132,7 @@
 	note E_, 2
 	octave 3
 	note B_, 2
-	loopchannel 4, .loop2
+	sound_loop 4, .loop2
 	octave 5
 	note C#, 2
 	octave 4
@@ -154,222 +155,222 @@
 	note E_, 2
 	note F#, 2
 	note A#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note D_, 16
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note D_, 6
 	octave 3
 	note E_, 16
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	octave 3
 	note B_, 6
 	octave 4
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	note C#, 6
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 2
 	note A_, 6
-	endchannel
+	sound_ret
 
 Music_LookMysticalMan_Ch2:
-	dutycycle $3
-	vibrato $a, $34
-	notetype $c, $b3
-	note __, 8
+	duty_cycle 3
+	vibrato 10, 3, 4
+	note_type 12, 11, 3
+	rest 8
 .mainloop:
-	stereopanning $f0
-	notetype $6, $b8
+	stereo_panning TRUE, FALSE
+	note_type 6, 11, 8
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	note B_, 2
-	note __, 4
+	rest 4
 	note B_, 2
-	note __, 6
-	stereopanning $ff
+	rest 6
+	stereo_panning TRUE, TRUE
 	note B_, 8
 	note A_, 4
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	note G#, 2
-	note __, 4
+	rest 4
 	note G#, 2
-	note __, 6
-	stereopanning $ff
+	rest 6
+	stereo_panning TRUE, TRUE
 	note F#, 8
 	note G#, 4
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note G_, 2
 	note A_, 2
-	note __, 4
+	rest 4
 	note A_, 2
-	note __, 6
-	stereopanning $ff
+	rest 6
+	stereo_panning TRUE, TRUE
 	note A_, 8
 	note G_, 4
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note E_, 2
 	note F#, 2
-	note __, 3
+	rest 3
 	note A_, 1
 	note A#, 4
-	note __, 4
+	rest 4
 	note F#, 4
-	note __, 4
+	rest 4
 	note E_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note F#, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	note E_, 6
-	callchannel .sub2
-	callchannel .sub1
+	sound_call .sub2
+	sound_call .sub1
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	note D_, 6
-	callchannel .sub2
-	notetype $c, $b7
+	sound_call .sub2
+	note_type 12, 11, 7
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 2
-	note __, 1
+	rest 1
 	note C#, 2
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 16
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 2
-	note __, 1
+	rest 1
 	note A#, 16
-	note __, 2
-	loopchannel 0, .mainloop
+	rest 2
+	sound_loop 0, .mainloop
 
 .sub1:
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note A_, 6
 	note B_, 8
-	note __, 2
+	rest 2
 	note A_, 2
 	note B_, 2
 	octave 5
 	note C#, 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	note C#, 6
 	octave 4
 	note B_, 12
-	intensity $88
+	volume_envelope 8, 8
 	note A#, 1
 	note A_, 1
-	intensity $68
+	volume_envelope 6, 8
 	note G#, 1
 	note F#, 1
-	intensity $b8
+	volume_envelope 11, 8
 	octave 5
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note B_, 2
 	note A_, 6
 	note G_, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note E_, 6
-	endchannel
+	sound_ret
 
 .sub2:
 	note C#, 8
-	intensity $88
+	volume_envelope 8, 8
 	note C_, 1
 	octave 3
 	note B_, 1
 	note A#, 1
-	intensity $68
+	volume_envelope 6, 8
 	note G#, 1
 	note F#, 1
-	intensity $48
+	volume_envelope 4, 8
 	note E_, 1
 	note C#, 1
-	note __, 1
-	intensity $b8
-	endchannel
+	rest 1
+	volume_envelope 11, 8
+	sound_ret
 
 Music_LookMysticalMan_Ch3:
-	notetype $6, $16
-	note __, 16
+	note_type 6, 1, 6
+	rest 16
 .mainloop:
 	octave 2
 	note B_, 4
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	note F#, 4
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 4
 	note A_, 2
 	note B_, 2
@@ -385,10 +386,10 @@
 	note F#, 2
 	note E_, 4
 	note G#, 2
-	note __, 2
+	rest 2
 	note B_, 4
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 6
 	octave 2
 	note A#, 2
@@ -397,11 +398,11 @@
 	note A_, 4
 	octave 3
 	note G_, 2
-	note __, 2
+	rest 2
 	note E_, 4
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 4
 	note G_, 2
 	note A_, 2
@@ -419,39 +420,39 @@
 	octave 2
 	note F#, 4
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C#, 4
 	octave 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 6
 	note G#, 4
-	note __, 4
+	rest 4
 	note A#, 4
 	note B_, 4
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	note F#, 4
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 6
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note D_, 6
 	note E_, 4
 	note G#, 2
-	note __, 2
+	rest 2
 	note B_, 4
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 6
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 2
 	note G#, 6
@@ -458,11 +459,11 @@
 	note A_, 4
 	octave 3
 	note C#, 2
-	note __, 2
+	rest 2
 	note E_, 4
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 6
 	octave 3
 	note E_, 4
@@ -469,16 +470,16 @@
 	note C#, 2
 	octave 2
 	note E_, 6
-	loopchannel 2, .loop1
+	sound_loop 2, .loop1
 	note F#, 4
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C#, 2
 	note F#, 6
 	octave 2
 	note F#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C#, 4
 	octave 2
@@ -501,11 +502,11 @@
 	octave 2
 	note B_, 4
 	note A_, 4
-	note __, 2
+	rest 2
 	note A#, 4
-	note __, 2
+	rest 2
 	note B_, 6
-	note __, 2
+	rest 2
 	note B_, 4
 	note A_, 4
 	note F#, 4
@@ -523,87 +524,87 @@
 	octave 3
 	note E_, 4
 	note F#, 4
-	note __, 2
+	rest 2
 	note E_, 4
-	note __, 2
+	rest 2
 	note C#, 8
 	octave 2
 	note B_, 8
 	note A#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LookMysticalMan_Ch4:
-	togglenoise $3
-	notetype $c
-	note D#, 2
-	note D#, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
+	toggle_noise 3
+	drum_speed 12
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
 .mainloop:
 .loop1:
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub3
-	loopchannel 2, .loop1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	note D_, 2
-	note D#, 2
-	note D_, 2
-	note D#, 1
-	note D_, 1
-	note D_, 2
-	note D#, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub3
+	sound_loop 2, .loop1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
 .loop2:
-	note D_, 2
-	note D#, 2
-	note D_, 3
-	note D#, 1
-	note D#, 2
-	note D#, 2
-	note D_, 2
-	note D#, 2
-	note D_, 2
-	note D#, 2
-	note D_, 3
-	note D#, 1
-	note D#, 2
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	loopchannel 2, .loop2
-	loopchannel 0, .mainloop
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 3, 3
+	drum_note 4, 1
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 3, 3
+	drum_note 4, 1
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_loop 2, .loop2
+	sound_loop 0, .mainloop
 
 .sub1:
-	note D#, 4
-	note D_, 3
-	note D#, 3
-	note D#, 2
-	note D_, 4
-	endchannel
+	drum_note 4, 4
+	drum_note 3, 3
+	drum_note 4, 3
+	drum_note 4, 2
+	drum_note 3, 4
+	sound_ret
 
 .sub2:
-	note D#, 4
-	note D_, 3
-	note D_, 3
-	note D#, 2
-	note D_, 4
-	endchannel
+	drum_note 4, 4
+	drum_note 3, 3
+	drum_note 3, 3
+	drum_note 4, 2
+	drum_note 3, 4
+	sound_ret
 
 .sub3:
-	note D#, 4
-	note D_, 2
-	note D#, 1
-	note D_, 3
-	note D_, 2
-	note D#, 2
-	note D_, 1
-	note D_, 1
-	endchannel
+	drum_note 4, 4
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 3, 3
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_ret
--- a/audio/music/lookofficer.asm
+++ b/audio/music/lookofficer.asm
@@ -1,16 +1,17 @@
 Music_LookOfficer:
-	musicheader 3, 1, Music_LookOfficer_Ch1
-	musicheader 1, 2, Music_LookOfficer_Ch2
-	musicheader 1, 3, Music_LookOfficer_Ch3
+	channel_count 3
+	channel 1, Music_LookOfficer_Ch1
+	channel 2, Music_LookOfficer_Ch2
+	channel 3, Music_LookOfficer_Ch3
 
 Music_LookOfficer_Ch1:
 	tempo 116
-	volume $77
-	tone $0001
-	vibrato $12, $34
-	stereopanning $f
-	dutycycle $3
-	notetype $c, $a7
+	volume 7, 7
+	pitch_offset 1
+	vibrato 18, 3, 4
+	stereo_panning FALSE, TRUE
+	duty_cycle 3
+	note_type 12, 10, 7
 	octave 4
 	note C#, 1
 	note D_, 1
@@ -17,12 +18,12 @@
 	note D#, 1
 	note E_, 1
 	note F_, 12
-	intensity $2f
+	volume_envelope 2, -7
 	octave 3
 	note B_, 16
 .mainloop:
-	intensity $82
-	note __, 4
+	volume_envelope 8, 2
+	rest 4
 	note B_, 6
 	note G#, 4
 	note B_, 6
@@ -29,15 +30,15 @@
 	note B_, 6
 	note G#, 4
 	note B_, 2
-	intensity $2f
+	volume_envelope 2, -7
 	note A#, 16
 	note A_, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LookOfficer_Ch2:
-	vibrato $12, $34
-	dutycycle $3
-	notetype $c, $b7
+	vibrato 18, 3, 4
+	duty_cycle 3
+	note_type 12, 11, 7
 	octave 5
 	note D#, 1
 	note D_, 1
@@ -45,8 +46,8 @@
 	note C_, 1
 	octave 4
 	note B_, 12
-	dutycycle $3
-	intensity $a2
+	duty_cycle 3
+	volume_envelope 10, 2
 	octave 1
 	note B_, 4
 	octave 2
@@ -71,12 +72,12 @@
 	note B_, 2
 	note E_, 2
 	note G#, 2
-	loopchannel 2, .loop1
-	pitchoffset 0, C#
-	callchannel .sub1
-	pitchoffset 0, C_
-	callchannel .sub1
-	loopchannel 0, .mainloop
+	sound_loop 2, .loop1
+	transpose 0, 1
+	sound_call .sub1
+	transpose 0, 0
+	sound_call .sub1
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 1
@@ -93,29 +94,29 @@
 	note A_, 2
 	octave 2
 	note C#, 2
-	endchannel
+	sound_ret
 
 Music_LookOfficer_Ch3:
-	vibrato $14, $14
-	stereopanning $f0
-	notetype $c, $14
-	note __, 10
+	vibrato 20, 1, 4
+	stereo_panning TRUE, FALSE
+	note_type 12, 1, 4
+	rest 10
 	octave 3
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	intensity $12
+	volume_envelope 1, 2
 	octave 5
 	note D#, 2
-	note __, 1
+	rest 1
 	note F_, 2
-	note __, 1
+	rest 1
 	note A_, 2
 	note B_, 2
-	note __, 1
+	rest 1
 	octave 6
 	note C#, 2
-	note __, 1
+	rest 1
 	note D#, 2
 .mainloop:
 	note E_, 6
@@ -135,4 +136,4 @@
 	note D_, 8
 	note E_, 8
 	note C#, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/lookpokemaniac.asm
+++ b/audio/music/lookpokemaniac.asm
@@ -1,38 +1,39 @@
 Music_LookPokemaniac:
-	musicheader 3, 1, Music_LookPokemaniac_Ch1
-	musicheader 1, 2, Music_LookPokemaniac_Ch2
-	musicheader 1, 3, Music_LookPokemaniac_Ch3
+	channel_count 3
+	channel 1, Music_LookPokemaniac_Ch1
+	channel 2, Music_LookPokemaniac_Ch2
+	channel 3, Music_LookPokemaniac_Ch3
 
 Music_LookPokemaniac_Ch1:
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	tempo 144
-	volume $77
-	vibrato $2, $33
-	tone $0002
-	notetype $c, $b3
-	note __, 8
+	volume 7, 7
+	vibrato 2, 3, 3
+	pitch_offset 2
+	note_type 12, 11, 3
+	rest 8
 .mainloop:
 .loop1:
-	note __, 4
+	rest 4
 	octave 3
 	note A#, 1
-	note __, 3
+	rest 3
 	note A#, 1
-	note __, 3
-	loopchannel 4, .loop1
-	note __, 4
+	rest 3
+	sound_loop 4, .loop1
+	rest 4
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
-	loopchannel 4, .loop1
-	loopchannel 0, .mainloop
+	rest 3
+	sound_loop 4, .loop1
+	sound_loop 0, .mainloop
 
 Music_LookPokemaniac_Ch2:
-	stereopanning $ff
-	vibrato $2, $33
-	tone $0001
-	notetype $c, $b3
+	stereo_panning TRUE, TRUE
+	vibrato 2, 3, 3
+	pitch_offset 1
+	note_type 12, 11, 3
 	octave 2
 	note A_, 1
 	note F#, 1
@@ -44,46 +45,46 @@
 .loop1:
 	octave 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note F#, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 3
+	rest 3
 	octave 1
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 1
-	note __, 3
+	rest 3
 	note D#, 1
-	note __, 3
-	loopchannel 2, .loop1
+	rest 3
+	sound_loop 2, .loop1
 .loop2:
 	octave 1
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D#, 1
-	note __, 3
+	rest 3
 	note F#, 1
-	note __, 3
+	rest 3
 	octave 1
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note C_, 1
-	note __, 3
-	loopchannel 2, .loop2
-	loopchannel 0, .mainloop
+	rest 3
+	sound_loop 2, .loop2
+	sound_loop 0, .mainloop
 
 Music_LookPokemaniac_Ch3:
-	stereopanning $f0
-	vibrato $6, $33
-	notetype $c, $15
+	stereo_panning TRUE, FALSE
+	vibrato 6, 3, 3
+	note_type 12, 1, 5
 	octave 4
 	note C_, 1
 	note D#, 1
@@ -91,13 +92,13 @@
 	note A_, 1
 	octave 5
 	note C_, 4
-	intensity $10
+	volume_envelope 1, 0
 .mainloop:
-	callchannel .sub1
-	intensity $14
-	callchannel .sub1
-	intensity $10
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	volume_envelope 1, 4
+	sound_call .sub1
+	volume_envelope 1, 0
+	sound_loop 0, .mainloop
 
 .sub1:
 	note A#, 6
@@ -111,23 +112,23 @@
 	octave 4
 	note D#, 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note F#, 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note G_, 6
 	note F#, 2
 	note F_, 2
@@ -139,23 +140,23 @@
 	note C_, 4
 	octave 4
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note D#, 4
 	octave 4
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
--- a/audio/music/lookrival.asm
+++ b/audio/music/lookrival.asm
@@ -1,17 +1,18 @@
 Music_LookRival:
-	musicheader 4, 1, Music_LookRival_Ch1
-	musicheader 1, 2, Music_LookRival_Ch2
-	musicheader 1, 3, Music_LookRival_Ch3
-	musicheader 1, 4, Music_LookRival_Ch4
+	channel_count 4
+	channel 1, Music_LookRival_Ch1
+	channel 2, Music_LookRival_Ch2
+	channel 3, Music_LookRival_Ch3
+	channel 4, Music_LookRival_Ch4
 
 Music_LookRival_Ch1:
 	tempo 112
-	volume $77
-	dutycycle $1
-	tone $0001
-	vibrato $12, $15
-	stereopanning $f
-	notetype $c, $b2
+	volume 7, 7
+	duty_cycle 1
+	pitch_offset 1
+	vibrato 18, 1, 5
+	stereo_panning FALSE, TRUE
+	note_type 12, 11, 2
 	octave 4
 	note C_, 1
 	octave 3
@@ -21,20 +22,20 @@
 	note G#, 1
 	note F#, 2
 	note F_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 6
-	intensity $b2
+	volume_envelope 11, 2
 	note A#, 4
 	note F_, 2
 	note G#, 4
-	intensity $a0
+	volume_envelope 10, 0
 	note G#, 10
-	intensity $a5
+	volume_envelope 10, 5
 	note G#, 8
-	intensity $a6
+	volume_envelope 10, 6
 	note F#, 8
 .mainloop:
-	intensity $b5
+	volume_envelope 11, 5
 	note F_, 4
 	note D#, 2
 	note F_, 6
@@ -44,15 +45,15 @@
 	note A#, 4
 	note G#, 2
 	note G_, 4
-	intensity $a0
+	volume_envelope 10, 0
 	note F_, 2
-	intensity $a7
+	volume_envelope 10, 7
 	note F_, 16
-	intensity $66
-	note __, 2
+	volume_envelope 6, 6
+	rest 2
 	note F_, 2
 	note G_, 4
-	intensity $b6
+	volume_envelope 11, 6
 	note G#, 4
 	octave 4
 	note C_, 4
@@ -60,7 +61,7 @@
 	note A#, 4
 	note G#, 2
 	note A#, 6
-	intensity $b4
+	volume_envelope 11, 4
 	note A#, 2
 	octave 4
 	note C_, 2
@@ -70,7 +71,7 @@
 	note D#, 2
 	note C#, 2
 	note C_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note A#, 12
 	note G#, 2
@@ -98,27 +99,27 @@
 	note F_, 6
 	note C_, 2
 .loop1:
-	intensity $b2
+	volume_envelope 11, 2
 	note F_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 4
 	note F#, 2
 	note F_, 2
 	note D#, 2
-	loopchannel 3, .loop1
-	intensity $b2
+	sound_loop 3, .loop1
+	volume_envelope 11, 2
 	note F_, 2
 	note G#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 6
 	note F#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LookRival_Ch2:
-	dutycycle $3
-	vibrato $8, $36
-	stereopanning $f0
-	notetype $c, $c2
+	duty_cycle 3
+	vibrato 8, 3, 6
+	stereo_panning TRUE, FALSE
+	note_type 12, 12, 2
 	octave 4
 	note F#, 2
 	note F_, 2
@@ -125,20 +126,20 @@
 	note D#, 2
 	note C#, 2
 	note C_, 6
-	intensity $c7
+	volume_envelope 12, 7
 	note D#, 6
-	intensity $c2
+	volume_envelope 12, 2
 	note F_, 4
 	note C_, 2
 	note D#, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note D#, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 16
 .mainloop:
-	intensity $c7
+	volume_envelope 12, 7
 	note C_, 12
-	intensity $c4
+	volume_envelope 12, 4
 	note C_, 2
 	note D_, 2
 	note D#, 4
@@ -145,22 +146,22 @@
 	note D_, 4
 	note C_, 2
 	note D_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note C_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 8
-	intensity $b4
+	volume_envelope 11, 4
 	octave 3
 	note A_, 2
 	note G_, 2
 	note A_, 2
-	intensity $c6
+	volume_envelope 12, 6
 	octave 4
 	note C_, 6
-	intensity $c7
+	volume_envelope 12, 7
 	note D#, 8
 	note F_, 12
-	intensity $c4
+	volume_envelope 12, 4
 	note F_, 2
 	note G_, 2
 	note G#, 2
@@ -168,21 +169,21 @@
 	note G_, 2
 	note G_, 2
 	note F_, 2
-	intensity $c4
+	volume_envelope 12, 4
 	note G_, 6
-	intensity $b0
+	volume_envelope 11, 0
 	note F_, 16
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 16
-	intensity $b0
+	volume_envelope 11, 0
 	note G_, 12
 	note F_, 4
 	note E_, 16
 	note F_, 12
 	note D#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note D_, 8
-	intensity $c4
+	volume_envelope 12, 4
 	note C_, 2
 	note D_, 2
 	note D#, 1
@@ -189,22 +190,22 @@
 	note D_, 1
 	note D#, 2
 .loop1:
-	intensity $c2
+	volume_envelope 12, 2
 	note C_, 6
-	intensity $c7
+	volume_envelope 12, 7
 	note D#, 6
-	intensity $c2
+	volume_envelope 12, 2
 	note F_, 4
-	loopchannel 3, .loop1
+	sound_loop 3, .loop1
 	note C_, 2
 	note D#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note D#, 10
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_LookRival_Ch3:
-	notetype $c, $28
-	note __, 2
+	note_type 12, 2, 8
+	rest 2
 	octave 4
 	note C_, 2
 	octave 3
@@ -226,8 +227,8 @@
 	note F#, 2
 .mainloop:
 .loop1:
-	callchannel .sub1
-	loopchannel 3, .loop1
+	sound_call .sub1
+	sound_loop 3, .loop1
 	note F_, 4
 	note C_, 2
 	note D#, 4
@@ -234,7 +235,7 @@
 	note G#, 2
 	note G_, 2
 	note F#, 2
-	callchannel .sub2
+	sound_call .sub2
 	note A#, 2
 	note F_, 2
 	note G_, 2
@@ -243,7 +244,7 @@
 	note G_, 2
 	note G#, 1
 	note A_, 1
-	callchannel .sub3
+	sound_call .sub3
 	note A#, 2
 	note F_, 2
 	note G_, 2
@@ -268,10 +269,10 @@
 	note A_, 2
 	note A#, 1
 	note A_, 1
-	callchannel .sub2
-	callchannel .sub3
-	callchannel .sub1
-	callchannel .sub1
+	sound_call .sub2
+	sound_call .sub3
+	sound_call .sub1
+	sound_call .sub1
 	note F_, 2
 	note C_, 2
 	note D_, 2
@@ -287,7 +288,7 @@
 	note C_, 2
 	note F#, 2
 	note E_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note F_, 2
@@ -297,7 +298,7 @@
 	note C_, 2
 	note D_, 2
 	note D#, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	note A#, 2
@@ -307,7 +308,7 @@
 	note F_, 2
 	note G_, 2
 	note G#, 2
-	endchannel
+	sound_ret
 
 .sub3:
 	note A#, 4
@@ -316,34 +317,34 @@
 	note F_, 2
 	note G_, 2
 	note G#, 2
-	endchannel
+	sound_ret
 
 Music_LookRival_Ch4:
-	stereopanning $f0
-	togglenoise $3
-	notetype $c
-	note __, 8
-	note __, 16
-	note D#, 2
-	note D_, 4
-	note D_, 6
-	note D_, 4
-	note D#, 4
-	note D#, 4
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note D_, 2
+	stereo_panning TRUE, FALSE
+	toggle_noise 3
+	drum_speed 12
+	rest 8
+	rest 16
+	drum_note 4, 2
+	drum_note 3, 4
+	drum_note 3, 6
+	drum_note 3, 4
+	drum_note 4, 4
+	drum_note 4, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
 .mainloop:
-	note D#, 4
-	note D_, 2
-	note D#, 4
-	note D#, 2
-	note D_, 4
-	note D#, 4
-	note D_, 2
-	note D#, 4
-	note D#, 2
-	note D_, 2
-	note D_, 2
-	loopchannel 0, .mainloop
+	drum_note 4, 4
+	drum_note 3, 2
+	drum_note 4, 4
+	drum_note 4, 2
+	drum_note 3, 4
+	drum_note 4, 4
+	drum_note 3, 2
+	drum_note 4, 4
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	sound_loop 0, .mainloop
--- a/audio/music/lookrocket.asm
+++ b/audio/music/lookrocket.asm
@@ -1,47 +1,48 @@
 Music_LookRocket:
-	musicheader 4, 1, Music_LookRocket_Ch1
-	musicheader 1, 2, Music_LookRocket_Ch2
-	musicheader 1, 3, Music_LookRocket_Ch3
-	musicheader 1, 4, Music_LookRocket_Ch4
+	channel_count 4
+	channel 1, Music_LookRocket_Ch1
+	channel 2, Music_LookRocket_Ch2
+	channel 3, Music_LookRocket_Ch3
+	channel 4, Music_LookRocket_Ch4
 
 Music_LookRocket_Ch1:
 	tempo 123
-	volume $77
-	pitchoffset 0, D_
-	stereopanning $f
-	dutycycle $3
-	vibrato $5, $64
-	notetype $c, $a8
+	volume 7, 7
+	transpose 0, 2
+	stereo_panning FALSE, TRUE
+	duty_cycle 3
+	vibrato 5, 6, 4
+	note_type 12, 10, 8
 	octave 4
 	note C_, 1
 	note D_, 1
-	callchannel .sub1
-	dutycycle $1
+	sound_call .sub1
+	duty_cycle 1
 .mainloop:
-	intensity $a8
-	callchannel .sub2
-	callchannel Music_LookRocket_Ch2.sub5
+	volume_envelope 10, 8
+	sound_call .sub2
+	sound_call Music_LookRocket_Ch2.sub5
 	octave 4
 	note F#, 1
-	note __, 1
-	intensity $53
-	callchannel .sub3
-	intensity $c3
-	callchannel .sub3
-	intensity $e3
-	callchannel .sub3
-	note __, 16
-	loopchannel 0, .mainloop
+	rest 1
+	volume_envelope 5, 3
+	sound_call .sub3
+	volume_envelope 12, 3
+	sound_call .sub3
+	volume_envelope 14, 3
+	sound_call .sub3
+	rest 16
+	sound_loop 0, .mainloop
 
 .sub1:
 	note D#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note F_, 1
 	note G#, 1
@@ -50,13 +51,13 @@
 	note D_, 1
 	note F_, 1
 	note G#, 1
-	endchannel
+	sound_ret
 
 .sub2:
-	note __, 2
+	rest 2
 	octave 3
 	note D#, 1
-	note __, 5
+	rest 5
 	note D#, 4
 	octave 2
 	note A_, 2
@@ -65,71 +66,71 @@
 	note F_, 1
 	note F#, 6
 	note D#, 1
-	note __, 3
+	rest 3
 	note F#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F#, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub3:
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 1
-	note __, 7
+	rest 7
 	octave 3
 	note C_, 1
-	note __, 5
-	endchannel
+	rest 5
+	sound_ret
 
 Music_LookRocket_Ch2:
-	pitchoffset 0, D_
-	vibrato $4, $64
-	dutycycle $3
-	notetype $c, $b7
-	stereopanning $ff
+	transpose 0, 2
+	vibrato 4, 6, 4
+	duty_cycle 3
+	note_type 12, 11, 7
+	stereo_panning TRUE, TRUE
 	octave 5
 	note C_, 1
 	note D_, 1
-	callchannel .sub1
+	sound_call .sub1
 .mainloop:
-	intensity $b7
-	callchannel .sub5
+	volume_envelope 11, 7
+	sound_call .sub5
 	octave 5
 	note C_, 1
-	note __, 1
-	callchannel .sub2
-	intensity $53
-	callchannel .sub3
-	intensity $c3
-	callchannel .sub3
-	intensity $e3
-	callchannel .sub3
-	callchannel .sub4
-	loopchannel 0, .mainloop
+	rest 1
+	sound_call .sub2
+	volume_envelope 5, 3
+	sound_call .sub3
+	volume_envelope 12, 3
+	sound_call .sub3
+	volume_envelope 14, 3
+	sound_call .sub3
+	sound_call .sub4
+	sound_loop 0, .mainloop
 
 .sub1:
 	note D#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note B_, 6
-	dutycycle $0
-	endchannel
+	duty_cycle 0
+	sound_ret
 
 .sub2:
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 1
-	note __, 5
+	rest 5
 	note F_, 4
 	note C_, 1
 	note D_, 1
@@ -137,245 +138,245 @@
 	note F_, 1
 	note F#, 6
 	note D#, 1
-	note __, 3
+	rest 3
 	note F#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D#, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub3:
-	note __, 2
+	rest 2
 	octave 3
 	note F_, 1
-	note __, 7
+	rest 7
 	note F#, 1
-	note __, 5
-	endchannel
+	rest 5
+	sound_ret
 
 .sub4:
-	intensity $63
+	volume_envelope 6, 3
 	note G#, 1
 	note F_, 1
 	note D_, 1
 	octave 2
 	note B_, 1
-	intensity $a3
+	volume_envelope 10, 3
 	octave 3
 	note A_, 1
 	note F#, 1
 	note D#, 1
 	note C_, 1
-	intensity $c3
+	volume_envelope 12, 3
 	note A#, 1
 	note G_, 1
 	note E_, 1
 	note C#, 1
-	intensity $f3
+	volume_envelope 15, 3
 	note B_, 1
 	note G#, 1
 	note F_, 1
 	note D_, 1
-	endchannel
+	sound_ret
 
 .sub5:
 	octave 3
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 5
+	rest 5
 	note A_, 8
 	note A#, 6
 	note A_, 1
-	note __, 3
+	rest 3
 	note A#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 Music_LookRocket_Ch3:
-	pitchoffset 0, D_
-	vibrato $4, $22
-	notetype $c, $14
-	stereopanning $f0
-	note __, 2
-	callchannel .sub1
+	transpose 0, 2
+	vibrato 4, 2, 2
+	note_type 12, 1, 4
+	stereo_panning TRUE, FALSE
+	rest 2
+	sound_call .sub1
 .mainloop:
-	callchannel .sub4
-	callchannel .sub4
-	intensity $24
-	callchannel .sub5
-	intensity $14
-	callchannel .sub2
-	callchannel .sub5
-	callchannel .sub3
-	loopchannel 0, .mainloop
+	sound_call .sub4
+	sound_call .sub4
+	volume_envelope 2, 4
+	sound_call .sub5
+	volume_envelope 1, 4
+	sound_call .sub2
+	sound_call .sub5
+	sound_call .sub3
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 6
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub3:
-	intensity $24
+	volume_envelope 2, 4
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 1
-	note __, 1
-	intensity $14
+	rest 1
+	volume_envelope 1, 4
 	octave 2
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub4:
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub5:
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 1
 	note F#, 1
 	note D#, 1
 	note C_, 1
-	endchannel
+	sound_ret
 
 Music_LookRocket_Ch4:
-	togglenoise $3
-	notetype $c
-	note __, 2
-	callchannel .sub1
+	toggle_noise 3
+	drum_speed 12
+	rest 2
+	sound_call .sub1
 .mainloop:
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub1
-	loopchannel 0, .mainloop
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub1
+	sound_loop 0, .mainloop
 
 .sub1:
-	note C_, 8
-	note D_, 2
-	note D#, 2
-	note C#, 1
-	note C#, 1
-	note D_, 1
-	note D_, 1
-	endchannel
+	drum_note 1, 8
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_ret
 
 .sub2:
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	endchannel
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_ret
--- a/audio/music/looksage.asm
+++ b/audio/music/looksage.asm
@@ -1,130 +1,131 @@
 Music_LookSage:
-	musicheader 2, 1, Music_LookSage_Ch1
-	musicheader 1, 3, Music_LookSage_Ch3
+	channel_count 2
+	channel 1, Music_LookSage_Ch1
+	channel 3, Music_LookSage_Ch3
 
 Music_LookSage_Ch1:
 	tempo 144
-	stereopanning $f
-	volume $77
-	dutycycle $3
-	notetype $c, $b3
-	note __, 2
-	note __, 16
-	callchannel .sub1
-	intensity $b3
+	stereo_panning FALSE, TRUE
+	volume 7, 7
+	duty_cycle 3
+	note_type 12, 11, 3
+	rest 2
+	rest 16
+	sound_call .sub1
+	volume_envelope 11, 3
 	octave 3
 	note D_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note D_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note E_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note E_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note A_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note A_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note F_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note F_, 2
 .mainloop:
-	intensity $b3
+	volume_envelope 11, 3
 	note D_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note D_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	octave 2
 	note B_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note B_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note A_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note A_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note B_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note B_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	octave 3
 	note D_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note D_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	octave 2
 	note B_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note B_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	octave 3
 	note D_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note D_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note E_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note E_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note F_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note F_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note D_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note D_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note E_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note E_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note A_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note A_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note D_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note D_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	octave 2
 	note B_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note B_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note A_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note A_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note B_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note B_, 2
-	callchannel .sub1
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $b3
+	volume_envelope 11, 3
 	octave 2
 	note E_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note E_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note A_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note A_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note B_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note B_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note A_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note A_, 2
-	endchannel
+	sound_ret
 
 Music_LookSage_Ch3:
-	stereopanning $f0
-	vibrato $16, $23
-	notetype $c, $10
+	stereo_panning TRUE, FALSE
+	vibrato 22, 2, 3
+	note_type 12, 1, 0
 	octave 5
 	note B_, 1
 	octave 6
@@ -131,9 +132,9 @@
 	note C_, 1
 	octave 5
 	note B_, 16
-	vibrato $7, $23
+	vibrato 7, 2, 3
 	note B_, 8
-	vibrato $14, $23
+	vibrato 20, 2, 3
 	octave 6
 	note D_, 6
 	note E_, 1
@@ -148,16 +149,16 @@
 	note E_, 1
 	note F_, 1
 	note D_, 1
-	vibrato $0, $0
+	vibrato 0, 0, 0
 	note E_, 4
-	vibrato $7, $23
+	vibrato 7, 2, 3
 	note E_, 8
-	vibrato $14, $23
+	vibrato 20, 2, 3
 	octave 5
 	note B_, 8
 	octave 6
 	note F_, 8
-	notetype $6, $10
+	note_type 6, 1, 0
 	note E_, 1
 	note D#, 1
 	note D_, 1
@@ -167,12 +168,12 @@
 	note B_, 1
 	note A#, 1
 	note A_, 1
-	note __, 4
+	rest 4
 	octave 6
 	note E_, 2
 	note F_, 2
-	notetype $c, $10
+	note_type 12, 1, 0
 	note E_, 14
 	note G_, 1
 	note G#, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/lookyoungster.asm
+++ b/audio/music/lookyoungster.asm
@@ -1,71 +1,71 @@
 Music_LookYoungster:
-	musicheader 3, 1, Music_LookYoungster_Ch1
-	musicheader 1, 2, Music_LookYoungster_Ch2
-	musicheader 1, 3, Music_LookYoungster_Ch3
+	channel_count 3
+	channel 1, Music_LookYoungster_Ch1
+	channel 2, Music_LookYoungster_Ch2
+	channel 3, Music_LookYoungster_Ch3
 
 Music_LookYoungster_Ch1:
 	tempo 118
-	volume $77
-	stereopanning $f
-	dutycycle $3
-	notetype $c, $a3
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	duty_cycle 3
+	note_type 12, 10, 3
 	octave 3
 	note G_, 1
 	note G#, 1
 	note A_, 1
 	note A#, 1
-	intensity $3e
+	volume_envelope 3, -6
 	note B_, 16
-	intensity $c3
+	volume_envelope 12, 3
 	octave 4
 	note C_, 1
-	note __, 3
+	rest 3
 	note C_, 4
-	note __, 2
+	rest 2
 	note C_, 6
-	intensity $b3
+	volume_envelope 11, 3
 .mainloop:
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 3
+	rest 3
 	note C_, 1
-	note __, 1
-	note __, 16
-	note __, 2
+	rest 1
+	rest 16
+	rest 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 3
+	rest 3
 	note C_, 1
-	note __, 1
-	note __, 16
-	loopchannel 0, .mainloop
+	rest 1
+	rest 16
+	sound_loop 0, .mainloop
+	sound_ret
 
-	endchannel ; unused
-
 Music_LookYoungster_Ch2:
-	stereopanning $f0
-	vibrato $12, $26
-	dutycycle $1
-	notetype $c, $a3
+	stereo_panning TRUE, FALSE
+	vibrato 18, 2, 6
+	duty_cycle 1
+	note_type 12, 10, 3
 	octave 3
 	note B_, 1
 	octave 4
@@ -72,224 +72,222 @@
 	note C_, 1
 	note C#, 1
 	note D_, 1
-	intensity $3e
-	notetype $c, $2e
+	volume_envelope 3, -6
+	note_type 12, 2, -6
 	note G_, 16
-	notetype $c, $b3
-	intensity $c3
+	note_type 12, 11, 3
+	volume_envelope 12, 3
 	note F_, 1
-	note __, 3
+	rest 3
 	note F_, 4
-	note __, 2
+	rest 2
 	note F#, 6
 .mainloop:
-	dutycycle $3
-	intensity $b3
-	note __, 2
+	duty_cycle 3
+	volume_envelope 11, 3
+	rest 2
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 3
+	rest 3
 	note F_, 1
-	note __, 1
-	intensity $97
-	dutycycle $2
+	rest 1
+	volume_envelope 9, 7
+	duty_cycle 2
 	note D#, 1
 	note F_, 1
 	note D#, 1
 	note D_, 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 1
-	note __, 3
+	rest 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
-	dutycycle $3
-	intensity $b3
-	note __, 2
+	rest 1
+	duty_cycle 3
+	volume_envelope 11, 3
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 3
+	rest 3
 	note F_, 1
-	note __, 1
-	dutycycle $2
-	intensity $97
+	rest 1
+	duty_cycle 2
+	volume_envelope 9, 7
 	note G#, 1
 	note A#, 1
 	note G#, 1
 	note G_, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
+	sound_ret
 
-	endchannel ; unused
-
 Music_LookYoungster_Ch3:
-	stereopanning $ff
-	vibrato $2, $24
-	notetype $c, $25
-	note __, 4
+	stereo_panning TRUE, TRUE
+	vibrato 2, 2, 4
+	note_type 12, 2, 5
+	rest 4
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
-	intensity $15
+	rest 1
+	volume_envelope 1, 5
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 3
+	rest 3
 	note D_, 4
-	note __, 2
+	rest 2
 	note G#, 6
-	intensity $25
+	volume_envelope 2, 5
 .mainloop:
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
-	loopchannel 0, .mainloop
-
-	endchannel ; unused
+	rest 1
+	sound_loop 0, .mainloop
+	sound_ret
--- a/audio/music/magnettrain.asm
+++ b/audio/music/magnettrain.asm
@@ -1,19 +1,20 @@
 Music_MagnetTrain:
-	musicheader 4, 1, Music_MagnetTrain_Ch1
-	musicheader 1, 2, Music_MagnetTrain_Ch2
-	musicheader 1, 3, Music_MagnetTrain_Ch3
-	musicheader 1, 4, Music_MagnetTrain_Ch4
+	channel_count 4
+	channel 1, Music_MagnetTrain_Ch1
+	channel 2, Music_MagnetTrain_Ch2
+	channel 3, Music_MagnetTrain_Ch3
+	channel 4, Music_MagnetTrain_Ch4
 
 Music_MagnetTrain_Ch1:
 	tempo 110
-	volume $77
-	stereopanning $f
-	vibrato $14, $23
-	dutycycle $2
-	notetype $c, $b2
-	note __, 16
-	note __, 16
-	intensity $b7
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	vibrato 20, 2, 3
+	duty_cycle 2
+	note_type 12, 11, 2
+	rest 16
+	rest 16
+	volume_envelope 11, 7
 	octave 4
 	note D_, 1
 	note C_, 1
@@ -59,57 +60,57 @@
 	note C_, 1
 	note E_, 1
 	note C_, 1
-	notetype $6, $b7
+	note_type 6, 11, 7
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	notetype $c, $b7
+	rest 1
+	note_type 12, 11, 7
 	note D_, 16
-	endchannel
+	sound_ret
 
 Music_MagnetTrain_Ch2:
-	vibrato $14, $23
-	dutycycle $1
-	notetype $c, $d2
-	stereopanning $f0
-	notetype $c, $d8
+	vibrato 20, 2, 3
+	duty_cycle 1
+	note_type 12, 13, 2
+	stereo_panning TRUE, FALSE
+	note_type 12, 13, 8
 	octave 1
 	note F_, 12
-	note __, 2
-	notetype $6, $d7
+	rest 2
+	note_type 6, 13, 7
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note F_, 4
-	note __, 4
+	rest 4
 	note F_, 4
-	note __, 4
+	rest 4
 	note F_, 4
-	note __, 4
+	rest 4
 	note F_, 4
-	note __, 4
-	dutycycle $3
-	notetype $c, $d7
+	rest 4
+	duty_cycle 3
+	note_type 12, 13, 7
 	octave 4
 	note G_, 16
 	note A_, 13
-	note __, 1
-	notetype $6, $d7
+	rest 1
+	note_type 6, 13, 7
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
-	notetype $c, $d7
+	rest 1
+	note_type 12, 13, 7
 	note A_, 16
-	endchannel
+	sound_ret
 
 Music_MagnetTrain_Ch3:
-	stereopanning $ff
-	vibrato $10, $23
-	notetype $c, $15
+	stereo_panning TRUE, TRUE
+	vibrato 16, 2, 3
+	note_type 12, 1, 5
 	octave 6
 	note C_, 1
 	octave 5
@@ -220,61 +221,61 @@
 	note D_, 1
 	octave 2
 	note D_, 16
-	endchannel
+	sound_ret
 
 Music_MagnetTrain_Ch4:
-	togglenoise $3
-	notetype $c
-	note B_, 12
-	note D_, 2
-	note A#, 1
-	note A#, 1
-	notetype $6
-	note D#, 4
-	note F#, 4
-	note D#, 4
-	note F#, 4
-	note A#, 4
-	note F#, 4
-	note A#, 4
-	note D_, 2
-	note D_, 2
-	callchannel .sub2
-	callchannel .sub2
-	notetype $c
-	note B_, 16
-	endchannel
+	toggle_noise 3
+	drum_speed 12
+	drum_note 12, 12
+	drum_note 3, 2
+	drum_note 11, 1
+	drum_note 11, 1
+	drum_speed 6
+	drum_note 4, 4
+	drum_note 7, 4
+	drum_note 4, 4
+	drum_note 7, 4
+	drum_note 11, 4
+	drum_note 7, 4
+	drum_note 11, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	sound_call .sub2
+	sound_call .sub2
+	drum_speed 12
+	drum_note 12, 16
+	sound_ret
 
 .sub1: ; unused
-	note G#, 1
-	note G_, 1
-	note G_, 1
-	note G#, 1
-	note G_, 1
-	note G_, 1
-	note G#, 1
-	note G_, 1
-	note G_, 1
-	note G#, 1
-	note G_, 1
-	note G_, 1
-	endchannel
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	sound_ret
 
 .sub2:
-	note G#, 2
-	note G_, 2
-	note G_, 2
-	note G_, 2
-	note G#, 2
-	note G_, 2
-	note G_, 2
-	note G_, 2
-	note G#, 2
-	note G_, 2
-	note G_, 2
-	note G_, 2
-	note G#, 2
-	note G_, 2
-	note G_, 2
-	note G_, 2
-	endchannel
+	drum_note 9, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 9, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 9, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 9, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	sound_ret
--- a/audio/music/mainmenu.asm
+++ b/audio/music/mainmenu.asm
@@ -1,22 +1,23 @@
 Music_MainMenu:
-	musicheader 4, 1, Music_MainMenu_Ch1
-	musicheader 1, 2, Music_MainMenu_Ch2
-	musicheader 1, 3, Music_MainMenu_Ch3
-	musicheader 1, 4, Music_MainMenu_Ch4
+	channel_count 4
+	channel 1, Music_MainMenu_Ch1
+	channel 2, Music_MainMenu_Ch2
+	channel 3, Music_MainMenu_Ch3
+	channel 4, Music_MainMenu_Ch4
 
 Music_MainMenu_Ch1:
 	tempo 160
-	volume $77
-	dutycycle $3
-	tone $0001
-	vibrato $10, $15
-	stereopanning $f0
-	notetype $c, $f
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
+	vibrato 16, 1, 5
+	stereo_panning TRUE, FALSE
+	note_type 12, 0, -7
 	octave 3
 	note D_, 8
 .mainloop:
 .loop1:
-	notetype $c, $92
+	note_type 12, 9, 2
 	octave 3
 	note C#, 6
 	note C#, 1
@@ -24,7 +25,7 @@
 	note C#, 2
 	note C#, 2
 	note C#, 4
-	loopchannel 2, .loop1
+	sound_loop 2, .loop1
 	note D#, 6
 	note D#, 1
 	note D#, 1
@@ -37,20 +38,20 @@
 	note B_, 1
 	note B_, 2
 	note B_, 2
-	notetype $c, $94
+	note_type 12, 9, 4
 	octave 3
 	note C_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_MainMenu_Ch2:
-	dutycycle $3
-	stereopanning $f
-	notetype $c, $f
+	duty_cycle 3
+	stereo_panning FALSE, TRUE
+	note_type 12, 0, -7
 	octave 3
 	note G_, 8
 .mainloop:
 .loop1:
-	notetype $c, $a2
+	note_type 12, 10, 2
 	note F#, 6
 	note F#, 1
 	note F#, 1
@@ -57,7 +58,7 @@
 	note F#, 2
 	note F#, 2
 	note F#, 4
-	loopchannel 2, .loop1
+	sound_loop 2, .loop1
 	note G#, 6
 	note G#, 1
 	note G#, 1
@@ -69,77 +70,77 @@
 	note E_, 1
 	note E_, 2
 	note E_, 2
-	notetype $c, $a4
+	note_type 12, 10, 4
 	note F_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_MainMenu_Ch3:
-	stereopanning $f0
-	notetype $c, $25
-	note __, 8
+	stereo_panning TRUE, FALSE
+	note_type 12, 2, 5
+	rest 8
 .mainloop:
 .loop1:
 	octave 2
 	note F#, 1
-	note __, 5
+	rest 5
 	note F#, 1
 	note F#, 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 3
-	loopchannel 2, .loop1
+	rest 3
+	sound_loop 2, .loop1
 	note G#, 1
-	note __, 5
+	rest 5
 	note G#, 1
 	note G#, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 3
+	rest 3
 	note E_, 1
-	note __, 5
+	rest 5
 	note E_, 1
 	note E_, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 3
-	loopchannel 0, .mainloop
+	rest 3
+	sound_loop 0, .mainloop
 
 Music_MainMenu_Ch4:
-	stereopanning $f
-	togglenoise $3
-	notetype $c
-	note __, 8
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 12
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
+	stereo_panning FALSE, TRUE
+	toggle_noise 3
+	drum_speed 12
+	rest 8
+	rest 16
+	rest 16
+	rest 16
+	rest 12
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
 .mainloop:
-	note D_, 6
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 2
-	note D_, 4
-	note D_, 6
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 2
-	note D#, 1
-	note D#, 1
-	note D_, 1
-	note D_, 1
-	loopchannel 0, .mainloop
+	drum_note 3, 6
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 3, 6
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_loop 0, .mainloop
--- a/audio/music/mobileadapter.asm
+++ b/audio/music/mobileadapter.asm
@@ -1,29 +1,30 @@
 Music_MobileAdapter:
-	musicheader 4, 1, Music_MobileAdapter_Ch1
-	musicheader 1, 2, Music_MobileAdapter_Ch2
-	musicheader 1, 3, Music_MobileAdapter_Ch3
-	musicheader 1, 4, Music_MobileAdapter_Ch4
+	channel_count 4
+	channel 1, Music_MobileAdapter_Ch1
+	channel 2, Music_MobileAdapter_Ch2
+	channel 3, Music_MobileAdapter_Ch3
+	channel 4, Music_MobileAdapter_Ch4
 
 Music_MobileAdapter_Ch1:
 	tempo 132
-	volume $77
-	tone $0001
-	stereopanning $f
-	dutycycle $2
-	notetype $c, $84
-	note __, 2
-	note __, 6
+	volume 7, 7
+	pitch_offset 1
+	stereo_panning FALSE, TRUE
+	duty_cycle 2
+	note_type 12, 8, 4
+	rest 2
+	rest 6
 	octave 3
 	note G_, 1
 	octave 4
 	note D_, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note C#, 4
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note D_, 1
 	note C#, 1
 	note D_, 2
@@ -37,7 +38,7 @@
 	note D_, 1
 	note C#, 1
 	note D_, 2
-	callchannel .sub1
+	sound_call .sub1
 	note D_, 1
 	note C#, 1
 	octave 3
@@ -48,7 +49,7 @@
 	note E_, 1
 	note D_, 1
 	note C#, 1
-	intensity $94
+	volume_envelope 9, 4
 	note D_, 2
 	octave 3
 	note A_, 2
@@ -56,20 +57,20 @@
 	note D_, 4
 	octave 5
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 8
-	intensity $92
+	volume_envelope 9, 2
 	note F#, 1
 	note G_, 1
 	note A_, 2
 	note G#, 2
 	note A_, 2
-	intensity $94
+	volume_envelope 9, 4
 	note E_, 3
 	octave 3
 	note A_, 3
@@ -76,14 +77,14 @@
 	note E_, 4
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 8
-	intensity $92
+	volume_envelope 9, 2
 	octave 4
 	note B_, 1
 	octave 5
@@ -94,7 +95,7 @@
 	note A_, 2
 	octave 5
 	note C#, 3
-	intensity $94
+	volume_envelope 9, 4
 	octave 4
 	note C#, 3
 	octave 3
@@ -101,25 +102,25 @@
 	note A_, 4
 	octave 4
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 10
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 10
 	octave 4
 	note A_, 8
-	intensity $a1
+	volume_envelope 10, 1
 	octave 3
 	note C#, 1
 	note D_, 1
@@ -137,35 +138,35 @@
 	note A_, 1
 	note G_, 1
 	note A_, 2
-	intensity $94
+	volume_envelope 9, 4
 	note F#, 2
 	octave 2
 	note A_, 2
 	octave 3
 	note D_, 4
-	intensity $77
-	callchannel Music_MobileAdapter_Ch3.sub5
-	loopchannel 0, .mainloop
+	volume_envelope 7, 7
+	sound_call Music_MobileAdapter_Ch3.sub5
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $94
+	volume_envelope 9, 4
 	octave 4
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	octave 3
 	note F#, 10
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 2
 	octave 3
 	note G_, 8
-	intensity $a1
+	volume_envelope 10, 1
 	note B_, 1
 	octave 4
 	note D_, 1
@@ -187,12 +188,12 @@
 	note B_, 1
 	octave 4
 	note C#, 1
-	endchannel
+	sound_ret
 
 Music_MobileAdapter_Ch2:
-	notetype $c, $c1
-	vibrato $10, $23
-	dutycycle $2
+	note_type 12, 12, 1
+	vibrato 16, 2, 3
+	duty_cycle 2
 	octave 3
 	note G_, 1
 	note B_, 1
@@ -209,21 +210,21 @@
 	octave 3
 	note B_, 2
 	note A_, 2
-	intensity $b4
+	volume_envelope 11, 4
 	octave 4
 	note D_, 1
 	note F#, 1
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note A_, 4
 	note G_, 4
 	note A_, 4
 	note E_, 4
 	note F#, 12
-	note __, 2
+	rest 2
 	note D_, 1
 	note F#, 1
-	callchannel .sub1
+	sound_call .sub1
 	octave 5
 	note C#, 4
 	octave 4
@@ -232,35 +233,35 @@
 	note F#, 4
 	note E_, 4
 	note D_, 12
-	note __, 2
+	rest 2
 	note C#, 1
 	note D_, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 4
 	note F#, 2
 	note E_, 2
 	note D_, 2
 	note C#, 9
-	intensity $a2
+	volume_envelope 10, 2
 	octave 3
 	note E_, 3
 	note C#, 2
-	intensity $b4
+	volume_envelope 11, 4
 	octave 5
 	note D_, 1
 	note C#, 1
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C#, 4
 	note D_, 2
@@ -267,20 +268,20 @@
 	note E_, 2
 	note F#, 2
 	note E_, 9
-	intensity $a2
+	volume_envelope 10, 2
 	octave 3
 	note A_, 3
 	note E_, 2
-	intensity $b4
+	volume_envelope 11, 4
 	octave 5
 	note F#, 1
 	note G_, 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note G_, 4
 	note F#, 2
 	note E_, 2
@@ -288,11 +289,11 @@
 	note C#, 1
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note G_, 4
 	note F#, 2
@@ -304,9 +305,9 @@
 	note C#, 12
 	note E_, 4
 	note D_, 16
-	dutycycle $1
-	intensity $71
-	callchannel .sub2
+	duty_cycle 1
+	volume_envelope 7, 1
+	sound_call .sub2
 	octave 4
 	note E_, 1
 	note A_, 1
@@ -313,20 +314,20 @@
 	octave 5
 	note C#, 1
 	note E_, 1
-	callchannel .sub2
-	note __, 2
-	dutycycle $2
-	intensity $b4
+	sound_call .sub2
+	rest 2
+	duty_cycle 2
+	volume_envelope 11, 4
 	octave 4
 	note D_, 1
 	note F#, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	octave 5
 	note D_, 4
@@ -336,9 +337,9 @@
 	note G_, 1
 	note A_, 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 2
 	octave 5
 	note E_, 4
@@ -346,7 +347,7 @@
 	note C#, 2
 	octave 4
 	note B_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 5
@@ -387,195 +388,195 @@
 	note G_, 1
 	octave 5
 	note C#, 4
-	endchannel
+	sound_ret
 
 Music_MobileAdapter_Ch3:
-	notetype $c, $14
-	note __, 2
+	note_type 12, 1, 4
+	rest 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
 	note G_, 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note A_, 4
 .mainloop:
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub3
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub3
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 1
-	note __, 1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub3
+	rest 1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub3
 	note D_, 2
 	octave 2
 	note A_, 2
 	octave 3
 	note D_, 4
-	callchannel .sub2
-	callchannel .sub4
+	sound_call .sub2
+	sound_call .sub4
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
-	callchannel .sub4
+	rest 1
+	sound_call .sub4
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
-	callchannel .sub2
+	rest 1
+	sound_call .sub2
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	octave 2
 	note A_, 2
 	octave 3
 	note D_, 4
-	callchannel .sub5
-	loopchannel 0, .mainloop
+	sound_call .sub5
+	sound_loop 0, .mainloop
 
 .sub1:
 .sub1loop1:
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
-	loopchannel 4, .sub1loop1
+	rest 1
+	sound_loop 4, .sub1loop1
 .sub1loop2:
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 1
-	note __, 1
-	loopchannel 4, .sub1loop2
-	endchannel
+	rest 1
+	sound_loop 4, .sub1loop2
+	sound_ret
 
 .sub2:
 .sub2loop1:
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 1
-	note __, 1
-	loopchannel 4, .sub2loop1
-	endchannel
+	rest 1
+	sound_loop 4, .sub2loop1
+	sound_ret
 
 .sub3:
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub4:
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 1
 	octave 3
 	note E_, 2
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 4
-	endchannel
+	sound_ret
 
 .sub5:
 .sub5loop1:
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 2
 	octave 2
@@ -584,7 +585,7 @@
 	note D_, 3
 	octave 2
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 2
 	octave 2
@@ -593,7 +594,7 @@
 	note D_, 3
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 2
 	octave 2
@@ -602,59 +603,59 @@
 	note D_, 3
 	octave 2
 	note A_, 2
-	note __, 6
-	loopchannel 2, .sub5loop1
-	endchannel
+	rest 6
+	sound_loop 2, .sub5loop1
+	sound_ret
 
 Music_MobileAdapter_Ch4:
-	togglenoise $3
-	stereopanning $f0
-	notetype $c
-	note __, 2
-	note __, 10
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
+	toggle_noise 3
+	stereo_panning TRUE, FALSE
+	drum_speed 12
+	rest 2
+	rest 10
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
 .mainloop:
-	callchannel .sub1
-	callchannel .sub1
+	sound_call .sub1
+	sound_call .sub1
 .loop1:
-	note __, 4
-	note D_, 8
-	note D_, 8
-	note D_, 4
-	note D_, 1
-	note D_, 3
-	note D_, 4
-	loopchannel 2, .loop1
+	rest 4
+	drum_note 3, 8
+	drum_note 3, 8
+	drum_note 3, 4
+	drum_note 3, 1
+	drum_note 3, 3
+	drum_note 3, 4
+	sound_loop 2, .loop1
 .loop2:
-	note __, 4
-	note D_, 4
-	loopchannel 11, .loop2
-	note __, 2
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	note __, 4
-	note D_, 8
-	note D_, 8
-	note D_, 6
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	loopchannel 0, .mainloop
+	rest 4
+	drum_note 3, 4
+	sound_loop 11, .loop2
+	rest 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	rest 4
+	drum_note 3, 8
+	drum_note 3, 8
+	drum_note 3, 6
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_loop 0, .mainloop
 
 .sub1:
 .sub1loop1:
-	note __, 4
-	note D_, 4
-	loopchannel 7, .sub1loop1
-	note __, 2
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	endchannel
+	rest 4
+	drum_note 3, 4
+	sound_loop 7, .sub1loop1
+	rest 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_ret
--- a/audio/music/mobileadaptermenu.asm
+++ b/audio/music/mobileadaptermenu.asm
@@ -1,27 +1,28 @@
 Music_MobileAdapterMenu:
-	musicheader 3, 1, Music_MobileAdapterMenu_Ch1
-	musicheader 1, 2, Music_MobileAdapterMenu_Ch2
-	musicheader 1, 3, Music_MobileAdapterMenu_Ch3
+	channel_count 3
+	channel 1, Music_MobileAdapterMenu_Ch1
+	channel 2, Music_MobileAdapterMenu_Ch2
+	channel 3, Music_MobileAdapterMenu_Ch3
 
 Music_MobileAdapterMenu_Ch1:
 	tempo 168
-	volume $77
-	tone $0001
-	stereopanning $f
-	dutycycle $2
-	notetype $c, $66
-	note __, 2
+	volume 7, 7
+	pitch_offset 1
+	stereo_panning FALSE, TRUE
+	duty_cycle 2
+	note_type 12, 6, 6
+	rest 2
 .mainloop:
-	callchannel .sub1
-	callchannel .sub2
+	sound_call .sub1
+	sound_call .sub2
 	octave 3
 	note F#, 4
 	note B_, 4
 	note F#, 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note D#, 4
-	callchannel .sub2
+	sound_call .sub2
 	octave 3
 	note F#, 2
 	octave 2
@@ -30,8 +31,8 @@
 	note D#, 3
 	note E_, 1
 	note D#, 8
-	callchannel .sub1
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
@@ -39,25 +40,25 @@
 	octave 4
 	note E_, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note F#, 4
 	note E_, 8
 	note D#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note D#, 4
 	note G#, 7
 	octave 4
 	note E_, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note F#, 4
 	note A_, 2
 	note E_, 2
@@ -64,13 +65,13 @@
 	note A_, 3
 	note A_, 1
 	note G#, 8
-	endchannel
+	sound_ret
 
 .sub2:
 	note E_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 3
 	octave 3
@@ -78,27 +79,27 @@
 	note A_, 2
 	octave 4
 	note E_, 1
-	note __, 1
+	rest 1
 	note C#, 4
-	endchannel
+	sound_ret
 
 Music_MobileAdapterMenu_Ch2:
-	stereopanning $f0
-	notetype $c, $84
-	dutycycle $2
+	stereo_panning TRUE, FALSE
+	note_type 12, 8, 4
+	duty_cycle 2
 	octave 4
 	note E_, 1
 	note G#, 1
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note E_, 8
-	callchannel .sub2
+	sound_call .sub2
 	note D#, 2
 	note C#, 2
 	note D#, 3
 	note E_, 1
 	note F#, 8
-	callchannel .sub2
+	sound_call .sub2
 	note D#, 2
 	note E_, 2
 	note F#, 3
@@ -106,24 +107,24 @@
 	note F#, 6
 	note E_, 1
 	note G#, 1
-	callchannel .sub1
+	sound_call .sub1
 	note E_, 6
 	note E_, 1
 	note G#, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 3
 	note G#, 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 4
 	octave 4
@@ -135,15 +136,15 @@
 	note E_, 1
 	note G#, 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 3
 	note G#, 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 4
 	octave 4
@@ -153,120 +154,120 @@
 	octave 4
 	note C#, 3
 	note D#, 1
-	endchannel
+	sound_ret
 
 .sub2:
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 3
 	note F#, 1
 	note E_, 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note E_, 4
-	endchannel
+	sound_ret
 
 Music_MobileAdapterMenu_Ch3:
-	vibrato $8, $34
-	notetype $c, $25
-	note __, 2
+	vibrato 8, 3, 4
+	note_type 12, 2, 5
+	rest 2
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	octave 2
 	note B_, 1
 	note G#, 1
-	callchannel .sub2
+	sound_call .sub2
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note F#, 2
-	note __, 1
+	rest 1
 	note D#, 1
 	note F#, 2
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 2
 	note F#, 1
 	note G#, 1
-	callchannel .sub2
+	sound_call .sub2
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note F#, 2
-	note __, 1
+	rest 1
 	note D#, 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 4
-	callchannel .sub1
-	note __, 2
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	rest 2
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 1
+	rest 1
 	note G#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note D#, 4
 	note C#, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 1
+	rest 1
 	note F#, 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 4
 	note E_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 1
+	rest 1
 	note G#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note D#, 4
 	note C#, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 1
+	rest 1
 	note C#, 1
 	note E_, 3
-	intensity $35
+	volume_envelope 3, 5
 	note E_, 3
-	intensity $25
-	endchannel
+	volume_envelope 2, 5
+	sound_ret
 
 .sub2:
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 2
-	note __, 1
+	rest 1
 	note C#, 1
 	note A_, 2
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 4
-	endchannel
+	sound_ret
--- a/audio/music/mobilecenter.asm
+++ b/audio/music/mobilecenter.asm
@@ -1,17 +1,18 @@
 Music_MobileCenter:
-	musicheader 4, 1, Music_MobileCenter_Ch1
-	musicheader 1, 2, Music_MobileCenter_Ch2
-	musicheader 1, 3, Music_MobileCenter_Ch3
-	musicheader 1, 4, Music_MobileCenter_Ch4
+	channel_count 4
+	channel 1, Music_MobileCenter_Ch1
+	channel 2, Music_MobileCenter_Ch2
+	channel 3, Music_MobileCenter_Ch3
+	channel 4, Music_MobileCenter_Ch4
 
 Music_MobileCenter_Ch1:
 	tempo 160
-	volume $77
-	dutycycle $1
-	tone $0002
-	vibrato $8, $22
-	stereopanning $f0
-	notetype $c, $a2
+	volume 7, 7
+	duty_cycle 1
+	pitch_offset 2
+	vibrato 8, 2, 2
+	stereo_panning TRUE, FALSE
+	note_type 12, 10, 2
 	octave 3
 	note E_, 2
 	note F_, 2
@@ -154,12 +155,12 @@
 	note D_, 2
 	note E_, 2
 	note F_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_MobileCenter_Ch2:
-	notetype $c, $c2
-	dutycycle $3
-	note __, 10
+	note_type 12, 12, 2
+	duty_cycle 3
+	rest 10
 	octave 1
 	note G_, 2
 	note A_, 2
@@ -322,11 +323,11 @@
 	note F_, 2
 	note E_, 2
 	note D_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_MobileCenter_Ch3:
-	notetype $c, $24
-	vibrato $10, $34
+	note_type 12, 2, 4
+	vibrato 16, 3, 4
 	octave 4
 	note G_, 2
 	note A_, 2
@@ -335,7 +336,7 @@
 	octave 5
 	note C_, 2
 	note D_, 4
-	notetype $c, $25
+	note_type 12, 2, 5
 .mainloop:
 	note C_, 2
 	octave 4
@@ -348,16 +349,16 @@
 	note D_, 2
 	octave 4
 	note B_, 6
-	notetype $c, $10
+	note_type 12, 1, 0
 	octave 6
 	note G_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 7
 	note D_, 1
-	note __, 3
-	notetype $c, $25
+	rest 3
+	note_type 12, 2, 5
 	octave 4
 	note B_, 2
 	note G_, 2
@@ -387,16 +388,16 @@
 	note D_, 2
 	octave 4
 	note B_, 6
-	notetype $c, $10
+	note_type 12, 1, 0
 	octave 6
 	note G_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 7
 	note D_, 1
-	note __, 3
-	notetype $c, $25
+	rest 3
+	note_type 12, 2, 5
 	octave 4
 	note B_, 2
 	note G_, 2
@@ -414,7 +415,7 @@
 	note B_, 2
 	octave 5
 	note D_, 2
-	vibrato $18, $44
+	vibrato 24, 4, 4
 	note E_, 8
 	note G_, 8
 	note F_, 2
@@ -447,38 +448,38 @@
 	note E_, 2
 	note D_, 2
 	note C_, 8
-	vibrato $10, $34
-	loopchannel 0, .mainloop
+	vibrato 16, 3, 4
+	sound_loop 0, .mainloop
 
 Music_MobileCenter_Ch4:
-	togglenoise $3
-	stereopanning $f
-	notetype $c
-	note A_, 8
-	note A_, 4
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
+	toggle_noise 3
+	stereo_panning FALSE, TRUE
+	drum_speed 12
+	drum_note 10, 8
+	drum_note 10, 4
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
 .mainloop:
 .loop1:
-	note A_, 2
-	note C#, 2
-	note C#, 2
-	note C#, 2
-	note A_, 2
-	note C#, 2
-	note D_, 2
-	note C#, 2
-	loopchannel 3, .loop1
-	note A_, 2
-	note C#, 2
-	note C#, 2
-	note C#, 2
-	note A_, 2
-	note D_, 2
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	loopchannel 0, .mainloop
+	drum_note 10, 2
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 10, 2
+	drum_note 2, 2
+	drum_note 3, 2
+	drum_note 2, 2
+	sound_loop 3, .loop1
+	drum_note 10, 2
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 10, 2
+	drum_note 3, 2
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	sound_loop 0, .mainloop
--- a/audio/music/mom.asm
+++ b/audio/music/mom.asm
@@ -1,14 +1,15 @@
 Music_Mom:
-	musicheader 3, 2, Music_Mom_Ch2
-	musicheader 1, 3, Music_Mom_Ch3
-	musicheader 1, 4, Music_Mom_Ch4
+	channel_count 3
+	channel 2, Music_Mom_Ch2
+	channel 3, Music_Mom_Ch3
+	channel 4, Music_Mom_Ch4
 
 Music_Mom_Ch2:
 	tempo 144
-	volume $77
-	stereopanning $f
-	dutycycle $2
-	notetype $6, $b3
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	duty_cycle 2
+	note_type 6, 11, 3
 	octave 3
 	note B_, 1
 	octave 4
@@ -17,23 +18,23 @@
 	note A_, 1
 	note B_, 8
 .mainloop:
-	notetype $c, $b1
-	note __, 4
+	note_type 12, 11, 1
+	rest 4
 	octave 3
 	note C#, 6
 	note D_, 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note C#, 6
 	octave 2
 	note E_, 4
 	note A#, 2
 	note B_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_Mom_Ch3:
-	stereopanning $f0
-	notetype $6, $25
+	stereo_panning TRUE, FALSE
+	note_type 6, 2, 5
 	octave 3
 	note E_, 1
 	note D_, 1
@@ -41,68 +42,68 @@
 	note B_, 1
 	note G#, 1
 	note E_, 8
-	intensity $23
+	volume_envelope 2, 3
 .mainloop:
 	octave 2
 	note A_, 2
-	note __, 6
+	rest 6
 	octave 4
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 8
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 2
-	note __, 6
+	rest 6
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 2
-	note __, 6
+	rest 6
 	note C#, 4
 	note D_, 2
-	note __, 2
-	loopchannel 0, .mainloop
+	rest 2
+	sound_loop 0, .mainloop
 
 Music_Mom_Ch4:
-	togglenoise $3
-	notetype $c
-	note __, 6
+	toggle_noise 3
+	drum_speed 12
+	rest 6
 .mainloop:
-	note D#, 1
-	note __, 1
-	note F#, 2
-	note D_, 1
-	note __, 1
-	note G_, 1
-	note __, 1
-	note G_, 1
-	note __, 1
-	note F#, 4
-	note D_, 1
-	note __, 1
-	note D#, 1
-	note __, 1
-	note F#, 4
-	note D_, 1
-	note __, 1
-	note G_, 1
-	note __, 1
-	note G_, 1
-	note __, 1
-	note D_, 2
-	note D#, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	drum_note 4, 1
+	rest 1
+	drum_note 7, 2
+	drum_note 3, 1
+	rest 1
+	drum_note 8, 1
+	rest 1
+	drum_note 8, 1
+	rest 1
+	drum_note 7, 4
+	drum_note 3, 1
+	rest 1
+	drum_note 4, 1
+	rest 1
+	drum_note 7, 4
+	drum_note 3, 1
+	rest 1
+	drum_note 8, 1
+	rest 1
+	drum_note 8, 1
+	rest 1
+	drum_note 3, 2
+	drum_note 4, 1
+	rest 1
+	sound_loop 0, .mainloop
--- a/audio/music/mtmoon.asm
+++ b/audio/music/mtmoon.asm
@@ -1,25 +1,26 @@
 Music_MtMoon:
-	musicheader 4, 1, Music_MtMoon_Ch1
-	musicheader 1, 2, Music_MtMoon_Ch2
-	musicheader 1, 3, Music_MtMoon_Ch3
-	musicheader 1, 4, Music_MtMoon_Ch4
+	channel_count 4
+	channel 1, Music_MtMoon_Ch1
+	channel 2, Music_MtMoon_Ch2
+	channel 3, Music_MtMoon_Ch3
+	channel 4, Music_MtMoon_Ch4
 
 Music_MtMoon_Ch1:
 	tempo 208
-	volume $77
-	dutycycle $2
-	tone $0001
-	vibrato $8, $14
-	stereopanning $f0
-	notetype $c, $45
-	note __, 2
-	loopchannel 0, Music_MtMoon_Ch2.mainloop
+	volume 7, 7
+	duty_cycle 2
+	pitch_offset 1
+	vibrato 8, 1, 4
+	stereo_panning TRUE, FALSE
+	note_type 12, 4, 5
+	rest 2
+	sound_loop 0, Music_MtMoon_Ch2.mainloop
 
 Music_MtMoon_Ch2:
-	vibrato $b, $15
-	dutycycle $2
-	notetype $c, $84
-	stereopanning $f
+	vibrato 11, 1, 5
+	duty_cycle 2
+	note_type 12, 8, 4
+	stereo_panning FALSE, TRUE
 .mainloop:
 	octave 4
 	note D#, 6
@@ -69,11 +70,11 @@
 	note E_, 6
 	note F#, 6
 	note E_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_MtMoon_Ch3:
 .mainloop:
-	notetype $c, $28
+	note_type 12, 2, 8
 .loop1:
 	octave 2
 	note B_, 2
@@ -89,7 +90,7 @@
 	note B_, 2
 	octave 3
 	note D#, 2
-	loopchannel 3, .loop1
+	sound_loop 3, .loop1
 	octave 2
 	note B_, 2
 	octave 3
@@ -115,24 +116,24 @@
 	octave 3
 	note E_, 2
 	note G#, 2
-	loopchannel 4, .loop2
-	loopchannel 0, .mainloop
+	sound_loop 4, .loop2
+	sound_loop 0, .mainloop
 
 Music_MtMoon_Ch4:
-	togglenoise $5
-	notetype $c
+	toggle_noise 5
+	drum_speed 12
 .mainloop:
-	stereopanning $f
-	note A#, 4
-	note A#, 8
-	note A#, 4
-	stereopanning $f0
-	note A#, 4
-	note A#, 4
-	note A#, 4
-	stereopanning $f
-	note A#, 4
-	note A#, 4
-	stereopanning $f0
-	note A#, 8
-	loopchannel 0, .mainloop
+	stereo_panning FALSE, TRUE
+	drum_note 11, 4
+	drum_note 11, 8
+	drum_note 11, 4
+	stereo_panning TRUE, FALSE
+	drum_note 11, 4
+	drum_note 11, 4
+	drum_note 11, 4
+	stereo_panning FALSE, TRUE
+	drum_note 11, 4
+	drum_note 11, 4
+	stereo_panning TRUE, FALSE
+	drum_note 11, 8
+	sound_loop 0, .mainloop
--- a/audio/music/mtmoonsquare.asm
+++ b/audio/music/mtmoonsquare.asm
@@ -1,15 +1,16 @@
 Music_MtMoonSquare:
-	musicheader 2, 1, Music_MtMoonSquare_Ch1
-	musicheader 1, 2, Music_MtMoonSquare_Ch2
+	channel_count 2
+	channel 1, Music_MtMoonSquare_Ch1
+	channel 2, Music_MtMoonSquare_Ch2
 
 Music_MtMoonSquare_Ch1:
 	tempo 112
-	volume $77
-	dutycycle $2
-	tone $0001
-	note __, 1
+	volume 7, 7
+	duty_cycle 2
+	pitch_offset 1
+	rest 1
 .mainloop:
-	notetype $c, $44
+	note_type 12, 4, 4
 .loop1:
 	octave 4
 	note D_, 2
@@ -19,7 +20,7 @@
 	note A_, 2
 	octave 5
 	note D_, 4
-	loopchannel 2, .loop1
+	sound_loop 2, .loop1
 .loop2:
 	octave 4
 	note E_, 2
@@ -29,7 +30,7 @@
 	note B_, 2
 	octave 5
 	note E_, 4
-	loopchannel 2, .loop2
+	sound_loop 2, .loop2
 .loop3:
 	octave 4
 	note C#, 2
@@ -39,7 +40,7 @@
 	note G_, 2
 	octave 5
 	note C#, 4
-	loopchannel 2, .loop3
+	sound_loop 2, .loop3
 .loop4:
 	octave 4
 	note D_, 2
@@ -49,14 +50,14 @@
 	note A_, 2
 	octave 5
 	note D_, 4
-	loopchannel 2, .loop4
-	loopchannel 0, .mainloop
+	sound_loop 2, .loop4
+	sound_loop 0, .mainloop
 
 Music_MtMoonSquare_Ch2:
-	dutycycle $2
-	vibrato $18, $24
+	duty_cycle 2
+	vibrato 24, 2, 4
 .mainloop:
-	notetype $c, $82
+	note_type 12, 8, 2
 .loop1:
 	octave 4
 	note D_, 2
@@ -66,9 +67,9 @@
 	note A_, 2
 	octave 5
 	note D_, 4
-	notetype $c, $62
-	loopchannel 2, .loop1
-	notetype $c, $82
+	note_type 12, 6, 2
+	sound_loop 2, .loop1
+	note_type 12, 8, 2
 .loop2:
 	octave 4
 	note E_, 2
@@ -78,9 +79,9 @@
 	note B_, 2
 	octave 5
 	note E_, 4
-	notetype $c, $62
-	loopchannel 2, .loop2
-	notetype $c, $82
+	note_type 12, 6, 2
+	sound_loop 2, .loop2
+	note_type 12, 8, 2
 .loop3:
 	octave 4
 	note C#, 2
@@ -90,9 +91,9 @@
 	note G_, 2
 	octave 5
 	note C#, 4
-	notetype $c, $62
-	loopchannel 2, .loop3
-	notetype $c, $82
+	note_type 12, 6, 2
+	sound_loop 2, .loop3
+	note_type 12, 8, 2
 .loop4:
 	octave 4
 	note D_, 2
@@ -102,6 +103,6 @@
 	note A_, 2
 	octave 5
 	note D_, 4
-	notetype $c, $62
-	loopchannel 2, .loop4
-	loopchannel 0, .mainloop
+	note_type 12, 6, 2
+	sound_loop 2, .loop4
+	sound_loop 0, .mainloop
--- a/audio/music/nationalpark.asm
+++ b/audio/music/nationalpark.asm
@@ -1,24 +1,25 @@
 Music_NationalPark:
-	musicheader 4, 1, Music_NationalPark_Ch1
-	musicheader 1, 2, Music_NationalPark_Ch2
-	musicheader 1, 3, Music_NationalPark_Ch3
-	musicheader 1, 4, Music_NationalPark_Ch4
+	channel_count 4
+	channel 1, Music_NationalPark_Ch1
+	channel 2, Music_NationalPark_Ch2
+	channel 3, Music_NationalPark_Ch3
+	channel 4, Music_NationalPark_Ch4
 
 Music_NationalPark_Ch1:
 	tempo 192
-	volume $77
-	stereopanning $f
-	vibrato $18, $24
-	dutycycle $1
-	notetype $c, $77
-	note __, 2
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	vibrato 24, 2, 4
+	duty_cycle 1
+	note_type 12, 7, 7
+	rest 2
 .mainloop:
-	callchannel .sub1
-	callchannel .sub1
-	notetype $6, $67
-	callchannel .sub2
-	notetype $c, $77
-	note __, 16
+	sound_call .sub1
+	sound_call .sub1
+	note_type 6, 6, 7
+	sound_call .sub2
+	note_type 12, 7, 7
+	rest 16
 	octave 2
 	note A#, 1
 	octave 3
@@ -28,39 +29,39 @@
 	note D_, 1
 	note F_, 1
 	note A#, 1
-	notetype $6, $67
+	note_type 6, 6, 7
 	octave 4
 	note D_, 1
 	note C#, 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 3
+	rest 3
 	note D_, 1
-	note __, 3
+	rest 3
 	note D_, 1
-	note __, 1
-	callchannel .sub2
-	intensity $77
+	rest 1
+	sound_call .sub2
+	volume_envelope 7, 7
 	octave 3
 	note E_, 1
 	note F_, 5
 	note D#, 4
-	note __, 2
+	rest 2
 	note C_, 12
 	note F_, 8
 	note C#, 1
-	intensity $98
+	volume_envelope 9, 8
 	note D_, 16
-	intensity $77
+	volume_envelope 7, 7
 	note D_, 7
-	notetype $c, $77
-	note __, 4
-	loopchannel 0, .mainloop
+	note_type 12, 7, 7
+	rest 4
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
@@ -67,72 +68,72 @@
 	note G#, 6
 	octave 3
 	note F_, 2
-	intensity $47
+	volume_envelope 4, 7
 	note F_, 1
 	note G#, 1
-	intensity $57
+	volume_envelope 5, 7
 	note F_, 1
 	note G#, 1
-	intensity $77
+	volume_envelope 7, 7
 	note F_, 1
 	note G#, 1
-	intensity $97
+	volume_envelope 9, 7
 	note F_, 1
 	note G#, 1
-	intensity $77
+	volume_envelope 7, 7
 	octave 2
 	note A_, 6
 	octave 3
 	note F#, 2
-	intensity $47
+	volume_envelope 4, 7
 	note F#, 1
 	note A_, 1
-	intensity $57
+	volume_envelope 5, 7
 	note F#, 1
 	note A_, 1
-	intensity $77
+	volume_envelope 7, 7
 	note F#, 1
 	note A_, 1
-	intensity $97
+	volume_envelope 9, 7
 	note F#, 1
 	note A_, 1
-	intensity $77
+	volume_envelope 7, 7
 	octave 2
 	note G#, 6
 	octave 3
 	note F_, 2
-	intensity $47
+	volume_envelope 4, 7
 	octave 4
 	note C_, 1
 	note C#, 1
-	intensity $57
+	volume_envelope 5, 7
 	note C_, 1
 	note C#, 1
-	intensity $77
+	volume_envelope 7, 7
 	note C_, 1
 	note C#, 1
-	intensity $97
+	volume_envelope 9, 7
 	note C_, 1
 	note C#, 1
-	intensity $77
+	volume_envelope 7, 7
 	octave 2
 	note A_, 6
 	octave 3
 	note C#, 2
-	intensity $47
+	volume_envelope 4, 7
 	octave 4
 	note C#, 1
 	note D#, 1
-	intensity $57
+	volume_envelope 5, 7
 	note C#, 1
 	note D#, 1
-	intensity $77
+	volume_envelope 7, 7
 	note C#, 1
 	note D#, 1
-	intensity $97
+	volume_envelope 9, 7
 	note C#, 1
 	note D#, 1
-	intensity $77
+	volume_envelope 7, 7
 	note C#, 2
 	octave 3
 	note A#, 2
@@ -156,20 +157,20 @@
 	note C#, 2
 	octave 3
 	note A_, 2
-	intensity $47
+	volume_envelope 4, 7
 	octave 4
 	note C#, 1
 	note D#, 1
-	intensity $57
+	volume_envelope 5, 7
 	note C#, 1
 	note D#, 1
-	intensity $77
+	volume_envelope 7, 7
 	note C#, 1
 	note D#, 1
-	intensity $97
+	volume_envelope 9, 7
 	note C#, 1
 	note D#, 1
-	intensity $77
+	volume_envelope 7, 7
 	note C_, 2
 	octave 3
 	note G#, 2
@@ -189,20 +190,20 @@
 	note D_, 2
 	octave 3
 	note A#, 2
-	intensity $57
+	volume_envelope 5, 7
 	octave 4
 	note F_, 1
 	note D#, 1
-	intensity $67
+	volume_envelope 6, 7
 	note D_, 1
 	note D#, 1
-	intensity $77
+	volume_envelope 7, 7
 	note F_, 1
 	note F#, 1
-	intensity $97
+	volume_envelope 9, 7
 	note G#, 1
 	note A#, 1
-	intensity $77
+	volume_envelope 7, 7
 	note C#, 2
 	octave 3
 	note A#, 2
@@ -226,20 +227,20 @@
 	note C#, 2
 	octave 3
 	note A_, 2
-	intensity $47
+	volume_envelope 4, 7
 	octave 4
 	note C#, 1
 	note D#, 1
-	intensity $57
+	volume_envelope 5, 7
 	note C#, 1
 	note D#, 1
-	intensity $77
+	volume_envelope 7, 7
 	note C#, 1
 	note D#, 1
-	intensity $97
+	volume_envelope 9, 7
 	note C#, 1
 	note D#, 1
-	intensity $77
+	volume_envelope 7, 7
 	note C_, 2
 	octave 3
 	note G#, 2
@@ -267,54 +268,54 @@
 	note D_, 2
 	octave 3
 	note A#, 2
-	endchannel
+	sound_ret
 
 .sub2:
-	note __, 16
-	note __, 3
+	rest 16
+	rest 3
 	octave 4
 	note A#, 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 2
-	note __, 4
-	note __, 16
-	note __, 3
+	rest 4
+	rest 16
+	rest 3
 	note A_, 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 2
-	note __, 4
-	endchannel
+	rest 4
+	sound_ret
 
 Music_NationalPark_Ch2:
-	vibrato $14, $24
-	dutycycle $1
-	notetype $c, $a7
-	note __, 2
-	stereopanning $f0
+	vibrato 20, 2, 4
+	duty_cycle 1
+	note_type 12, 10, 7
+	rest 2
+	stereo_panning TRUE, FALSE
 .mainloop:
-	notetype $c, $a7
-	callchannel .sub1
+	note_type 12, 10, 7
+	sound_call .sub1
 	octave 3
 	note D_, 8
-	callchannel .sub1
-	note __, 2
-	intensity $a7
+	sound_call .sub1
+	rest 2
+	volume_envelope 10, 7
 	octave 4
 	note G#, 2
 	note F#, 2
 	note F_, 2
-	notetype $6, $a7
-	callchannel .sub2
+	note_type 6, 10, 7
+	sound_call .sub2
 	octave 3
 	note B_, 1
 	octave 4
@@ -321,32 +322,32 @@
 	note C_, 5
 	octave 3
 	note G#, 4
-	note __, 2
+	rest 2
 	octave 4
 	note A#, 8
 	note G#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note G#, 4
 	note E_, 1
 	note F_, 14
-	intensity $87
+	volume_envelope 8, 7
 	note G_, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 3
+	rest 3
 	note G#, 1
-	note __, 3
+	rest 3
 	note G#, 1
-	note __, 1
-	intensity $a7
-	callchannel .sub2
+	rest 1
+	volume_envelope 10, 7
+	sound_call .sub2
 	octave 3
 	note B_, 1
 	octave 4
@@ -353,22 +354,22 @@
 	note C_, 5
 	octave 3
 	note G#, 4
-	note __, 2
+	rest 2
 	note A#, 12
 	octave 4
 	note C_, 8
 	octave 3
 	note A_, 1
-	vibrato $0, $0
-	intensity $b8
+	vibrato 0, 0, 0
+	volume_envelope 11, 8
 	note A#, 16
-	vibrato $14, $24
-	intensity $b7
+	vibrato 20, 2, 4
+	volume_envelope 11, 7
 	note A#, 11
 	octave 2
 	note D#, 2
 	note D_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
@@ -431,7 +432,7 @@
 	note A#, 6
 	octave 2
 	note F_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 4
@@ -438,19 +439,19 @@
 	note E_, 1
 	note F_, 5
 	note F#, 4
-	note __, 2
+	rest 2
 	note C#, 7
-	intensity $87
+	volume_envelope 8, 7
 	octave 5
 	note E_, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note F_, 2
-	intensity $a7
+	volume_envelope 10, 7
 	octave 3
 	note A#, 2
 	octave 4
@@ -459,59 +460,59 @@
 	note E_, 1
 	note F_, 5
 	note F#, 4
-	note __, 2
+	rest 2
 	note D#, 7
-	intensity $87
+	volume_envelope 8, 7
 	octave 5
 	note D_, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 2
-	intensity $a7
+	volume_envelope 10, 7
 	octave 4
 	note D_, 2
 	note C#, 2
-	endchannel
+	sound_ret
 
 Music_NationalPark_Ch3:
-	vibrato $16, $24
-	notetype $c, $11
+	vibrato 22, 2, 4
+	note_type 12, 1, 1
 	octave 4
 	note G#, 1
 	note A#, 1
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	octave 5
 	note A#, 14
 	octave 4
 	note G#, 1
 	note A#, 1
-	callchannel .sub1
+	sound_call .sub1
 	octave 5
 	note A#, 8
 	octave 4
 	note D_, 8
-	intensity $15
-	callchannel .sub2
+	volume_envelope 1, 5
+	sound_call .sub2
 	octave 4
 	note D_, 1
 	octave 3
 	note F_, 3
-	callchannel .sub2
+	sound_call .sub2
 	octave 4
 	note D_, 1
 	octave 3
 	note F_, 1
-	intensity $11
+	volume_envelope 1, 1
 	octave 4
 	note G#, 1
 	note A#, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 5
@@ -570,7 +571,7 @@
 	note A#, 4
 	octave 6
 	note C_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 2
@@ -577,10 +578,10 @@
 	note F#, 3
 	octave 3
 	note C#, 2
-	note __, 1
+	rest 1
 	note A#, 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note A#, 1
 	note C#, 3
 	octave 2
@@ -587,10 +588,10 @@
 	note F#, 3
 	octave 3
 	note C#, 2
-	note __, 1
+	rest 1
 	note A_, 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note A_, 1
 	note C#, 3
 	octave 2
@@ -597,10 +598,10 @@
 	note F_, 3
 	octave 3
 	note C_, 2
-	note __, 1
+	rest 1
 	note G#, 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note G#, 1
 	note C_, 3
 	octave 2
@@ -607,52 +608,52 @@
 	note A#, 3
 	octave 3
 	note F_, 2
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 4
 	octave 3
 	note F_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 Music_NationalPark_Ch4:
-	togglenoise $3
-	notetype $c
-	note __, 2
+	toggle_noise 3
+	drum_speed 12
+	rest 2
 .mainloop:
 .loop1:
-	note __, 16
-	loopchannel 23, .loop1
-	note __, 8
-	note A#, 2
-	note D_, 2
-	note A#, 1
-	note D_, 1
-	note B_, 2
+	rest 16
+	sound_loop 23, .loop1
+	rest 8
+	drum_note 11, 2
+	drum_note 3, 2
+	drum_note 11, 1
+	drum_note 3, 1
+	drum_note 12, 2
 .loop2:
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note G_, 1
-	note G_, 1
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note B_, 2
-	loopchannel 7, .loop2
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note G_, 1
-	note G_, 1
-	note A#, 2
-	note D#, 1
-	note D#, 1
-	note D_, 1
-	note D_, 1
-	note A#, 1
-	note D#, 1
-	loopchannel 0, .mainloop
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 12, 2
+	sound_loop 7, .loop2
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 11, 2
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 11, 1
+	drum_note 4, 1
+	sound_loop 0, .mainloop
--- a/audio/music/newbarktown.asm
+++ b/audio/music/newbarktown.asm
@@ -1,31 +1,32 @@
 Music_NewBarkTown:
-	musicheader 3, 1, Music_NewBarkTown_Ch1
-	musicheader 1, 2, Music_NewBarkTown_Ch2
-	musicheader 1, 3, Music_NewBarkTown_Ch3
+	channel_count 3
+	channel 1, Music_NewBarkTown_Ch1
+	channel 2, Music_NewBarkTown_Ch2
+	channel 3, Music_NewBarkTown_Ch3
 
 	db $3 ; unused
 
 Music_NewBarkTown_Ch1:
 	tempo 187
-	volume $77
-	stereopanning $f
-	vibrato $12, $23
-	notetype $c, $87
-	note __, 4
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	vibrato 18, 2, 3
+	note_type 12, 8, 7
+	rest 4
 .mainloop:
-	dutycycle $0
-	callchannel .sub1
+	duty_cycle 0
+	sound_call .sub1
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 2
 	note F#, 2
-	dutycycle $2
-	intensity $82
+	duty_cycle 2
+	volume_envelope 8, 2
 	note E_, 1
 	note F#, 1
 	note E_, 1
@@ -35,21 +36,21 @@
 	note B_, 1
 	note A_, 1
 	note G_, 1
-	dutycycle $0
-	intensity $87
-	callchannel .sub1
+	duty_cycle 0
+	volume_envelope 8, 7
+	sound_call .sub1
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 2
-	dutycycle $2
-	intensity $82
+	duty_cycle 2
+	volume_envelope 8, 2
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 1
 	octave 3
@@ -61,11 +62,11 @@
 	note C#, 1
 	note E_, 1
 	note A_, 1
-	dutycycle $1
-	intensity $5e
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
+	duty_cycle 1
+	volume_envelope 5, -6
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
 	octave 2
 	note G_, 2
 	note B_, 2
@@ -82,61 +83,61 @@
 	note G_, 4
 	note A_, 4
 	note B_, 2
-	intensity $87
-	loopchannel 0, .mainloop
+	volume_envelope 8, 7
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note A#, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note B_, 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 2
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 2
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 2
 	octave 2
 	note B_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub2:
 	octave 2
@@ -155,110 +156,110 @@
 	note G_, 4
 	note A_, 4
 	note E_, 2
-	endchannel
+	sound_ret
 
 Music_NewBarkTown_Ch2:
-	stereopanning $ff
-	vibrato $12, $23
-	notetype $6, $a7
-	note __, 8
+	stereo_panning TRUE, TRUE
+	vibrato 18, 2, 3
+	note_type 6, 10, 7
+	rest 8
 .mainloop:
-	dutycycle $2
-	notetype $6, $a7
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	intensity $87
+	duty_cycle 2
+	note_type 6, 10, 7
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	volume_envelope 8, 7
 	octave 5
 	note B_, 6
 	note A_, 6
-	intensity $77
+	volume_envelope 7, 7
 	octave 6
 	note D_, 4
 	note C#, 16
-	callchannel .sub2
-	intensity $87
+	sound_call .sub2
+	volume_envelope 8, 7
 	octave 5
 	note B_, 6
 	note A_, 6
-	intensity $77
+	volume_envelope 7, 7
 	octave 6
 	note D_, 4
 	note E_, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
 	note D_, 4
-	note __, 8
+	rest 8
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 8
 	note A#, 2
-	note __, 2
+	rest 2
 	note D_, 4
-	note __, 8
+	rest 8
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 8
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G_, 4
-	note __, 8
+	rest 8
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note G#, 2
-	note __, 2
+	rest 2
 	note G#, 8
 	octave 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note A_, 4
-	note __, 8
+	rest 8
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 1
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 8
 	octave 2
 	note C#, 4
-	endchannel
+	sound_ret
 
 .sub2:
-	notetype $6, $97
-	dutycycle $2
+	note_type 6, 9, 7
+	duty_cycle 2
 	octave 4
 	note B_, 12
 	note A_, 12
 	note G_, 8
-	notetype $c, $97
+	note_type 12, 9, 7
 	note E_, 16
-	endchannel
+	sound_ret
 
 Music_NewBarkTown_Ch3:
-	stereopanning $f0
-	notetype $c, $10
+	stereo_panning TRUE, FALSE
+	note_type 12, 1, 0
 	octave 5
 	note D_, 2
 	note E_, 2
 .mainloop:
-	vibrato $16, $23
+	vibrato 22, 2, 3
 	note F#, 4
 	note A_, 4
 	note G_, 2
@@ -281,7 +282,7 @@
 	note E_, 6
 	note F#, 2
 	note E_, 4
-	note __, 2
+	rest 2
 	note D_, 1
 	note E_, 1
 	note F#, 4
@@ -304,9 +305,9 @@
 	note G_, 1
 	note F#, 1
 	note E_, 4
-	note __, 4
-	intensity $25
-	vibrato $12, $53
+	rest 4
+	volume_envelope 2, 5
+	vibrato 18, 5, 3
 	octave 2
 	note G_, 16
 	note A_, 16
@@ -316,9 +317,9 @@
 	note A_, 16
 	note G_, 16
 	note A_, 14
-	intensity $10
-	vibrato $16, $23
+	volume_envelope 1, 0
+	vibrato 22, 2, 3
 	octave 5
 	note D_, 1
 	note E_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/nothing.asm
+++ b/audio/music/nothing.asm
@@ -1,11 +1,12 @@
 Music_Nothing:
-	musicheader 4, 1, Music_Nothing_Ch1
-	musicheader 1, 2, Music_Nothing_Ch2
-	musicheader 1, 3, Music_Nothing_Ch3
-	musicheader 1, 4, Music_Nothing_Ch4
+	channel_count 4
+	channel 1, Music_Nothing_Ch1
+	channel 2, Music_Nothing_Ch2
+	channel 3, Music_Nothing_Ch3
+	channel 4, Music_Nothing_Ch4
 
 Music_Nothing_Ch1:
 Music_Nothing_Ch2:
 Music_Nothing_Ch3:
 Music_Nothing_Ch4:
-	endchannel
+	sound_ret
--- a/audio/music/pallettown.asm
+++ b/audio/music/pallettown.asm
@@ -1,17 +1,18 @@
 Music_PalletTown:
-	musicheader 3, 1, Music_PalletTown_Ch1
-	musicheader 1, 2, Music_PalletTown_Ch2
-	musicheader 1, 3, Music_PalletTown_Ch3
+	channel_count 3
+	channel 1, Music_PalletTown_Ch1
+	channel 2, Music_PalletTown_Ch2
+	channel 3, Music_PalletTown_Ch3
 
 Music_PalletTown_Ch1:
 	tempo 188
-	volume $77
-	vibrato $12, $24
-	tone $0001
-	stereopanning $f
+	volume 7, 7
+	vibrato 18, 2, 4
+	pitch_offset 1
+	stereo_panning FALSE, TRUE
 .mainloop:
-	dutycycle $2
-	notetype $c, $78
+	duty_cycle 2
+	note_type 12, 7, 8
 	octave 3
 	note B_, 12
 	note A_, 1
@@ -29,9 +30,9 @@
 	note C_, 4
 	octave 3
 	note A_, 4
-	intensity $77
+	volume_envelope 7, 7
 	note G_, 8
-	intensity $78
+	volume_envelope 7, 8
 	note F#, 4
 	note A_, 4
 	note B_, 12
@@ -57,11 +58,11 @@
 	note C_, 2
 	octave 3
 	note B_, 8
-	intensity $77
+	volume_envelope 7, 7
 	note B_, 8
 .loop1:
-	dutycycle $3
-	intensity $92
+	duty_cycle 3
+	volume_envelope 9, 2
 	note G_, 2
 	note E_, 2
 	note G_, 2
@@ -70,7 +71,7 @@
 	note D#, 2
 	note G_, 2
 	note D#, 2
-	intensity $5f
+	volume_envelope 5, -7
 	note G_, 1
 	note A_, 1
 	note B_, 1
@@ -82,8 +83,8 @@
 	note C_, 2
 	octave 3
 	note B_, 2
-	loopchannel 2, .loop1
-	intensity $3f
+	sound_loop 2, .loop1
+	volume_envelope 3, -7
 	octave 4
 	note C_, 4
 	octave 3
@@ -93,7 +94,7 @@
 	note F#, 4
 	note D_, 4
 	note E_, 4
-	intensity $72
+	volume_envelope 7, 2
 	note C_, 1
 	note E_, 1
 	note G_, 1
@@ -103,11 +104,11 @@
 	note A_, 1
 	octave 5
 	note D_, 2
-	intensity $62
+	volume_envelope 6, 2
 	note D_, 2
-	intensity $22
+	volume_envelope 2, 2
 	note D_, 2
-	intensity $2f
+	volume_envelope 2, -7
 	octave 3
 	note D_, 4
 	note E_, 4
@@ -114,16 +115,16 @@
 	note G_, 6
 	note A_, 1
 	note G_, 1
-	intensity $1f
+	volume_envelope 1, -7
 	note F#, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_PalletTown_Ch2:
-	vibrato $12, $44
-	dutycycle $2
-	stereopanning $f0
+	vibrato 18, 4, 4
+	duty_cycle 2
+	stereo_panning TRUE, FALSE
 .mainloop:
-	notetype $c, $88
+	note_type 12, 8, 8
 	octave 1
 	note G_, 2
 	note B_, 2
@@ -151,7 +152,7 @@
 	note F#, 2
 	note G_, 2
 	note D_, 2
-	note __, 4
+	rest 4
 	note D_, 4
 	note F#, 4
 	octave 1
@@ -183,7 +184,7 @@
 	note C_, 2
 	note D_, 2
 .loop1:
-	intensity $a2
+	volume_envelope 10, 2
 	octave 3
 	note E_, 2
 	octave 2
@@ -200,13 +201,13 @@
 	note D#, 2
 	octave 2
 	note C_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note G_, 6
 	note G_, 1
 	note G_, 3
 	note D_, 2
 	note G_, 4
-	loopchannel 2, .loop1
+	sound_loop 2, .loop1
 	note C_, 2
 	octave 3
 	note E_, 4
@@ -227,9 +228,9 @@
 	note E_, 2
 	note G_, 2
 	note E_, 2
-	intensity $1f
+	volume_envelope 1, -7
 	note F#, 4
-	intensity $88
+	volume_envelope 8, 8
 	note F#, 4
 	note B_, 4
 	note G_, 4
@@ -241,12 +242,12 @@
 	octave 1
 	note B_, 2
 	note A_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_PalletTown_Ch3:
-	vibrato $14, $24
+	vibrato 20, 2, 4
 .mainloop:
-	notetype $c, $10
+	note_type 12, 1, 0
 	octave 6
 	note D_, 2
 	note C_, 2
@@ -262,16 +263,16 @@
 	octave 5
 	note B_, 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 6
 	note C_, 8
-	note __, 2
+	rest 2
 	octave 5
 	note F#, 2
 	note G_, 2
@@ -290,16 +291,16 @@
 	octave 6
 	note D_, 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note E_, 6
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 8
 	note C_, 2
 	octave 5
@@ -313,7 +314,7 @@
 	note B_, 2
 	note A_, 2
 	note G_, 8
-	note __, 2
+	rest 2
 	note G_, 2
 	note A_, 2
 	note B_, 2
@@ -323,13 +324,13 @@
 	note C_, 2
 	octave 5
 	note B_, 8
-	note __, 2
+	rest 2
 	note G_, 2
 	note A_, 2
 	note B_, 2
 	octave 6
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 4
 	note D_, 6
 	note C_, 1
@@ -336,7 +337,7 @@
 	note D_, 1
 	octave 5
 	note B_, 8
-	note __, 2
+	rest 2
 	note B_, 2
 	note A_, 2
 	note G_, 2
@@ -347,11 +348,11 @@
 	note G_, 4
 	note E_, 4
 	note F#, 7
-	note __, 1
+	rest 1
 	note G_, 3
-	note __, 1
+	rest 1
 	note B_, 3
-	note __, 1
+	rest 1
 	note B_, 8
 	note A_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/pokeflutechannel.asm
+++ b/audio/music/pokeflutechannel.asm
@@ -1,20 +1,21 @@
 Music_PokeFluteChannel:
-	musicheader 3, 1, Music_PokeFluteChannel_Ch1
-	musicheader 1, 2, Music_PokeFluteChannel_Ch2
-	musicheader 1, 3, Music_PokeFluteChannel_Ch3
+	channel_count 3
+	channel 1, Music_PokeFluteChannel_Ch1
+	channel 2, Music_PokeFluteChannel_Ch2
+	channel 3, Music_PokeFluteChannel_Ch3
 
 Music_PokeFluteChannel_Ch1:
 	tempo 240
-	volume $77
-	stereopanning $f0
-	dutycycle $3
-	tone $0002
-	notetype $c, $b4
-	note __, 4
+	volume 7, 7
+	stereo_panning TRUE, FALSE
+	duty_cycle 3
+	pitch_offset 2
+	note_type 12, 11, 4
+	rest 4
 	octave 3
 	note E_, 8
 	note E_, 8
-	notetype $c, $b3
+	note_type 12, 11, 3
 	note F_, 2
 	note E_, 2
 	note D_, 2
@@ -25,7 +26,7 @@
 	note B_, 2
 	note A_, 2
 	note B_, 16
-	note __, 2
+	rest 2
 	octave 2
 	note G_, 4
 	note A_, 8
@@ -66,14 +67,14 @@
 	octave 2
 	note G_, 4
 	note A_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_PokeFluteChannel_Ch2:
-	stereopanning $f
-	dutycycle $3
-	tone $0001
-	notetype $c, $c4
-	note __, 4
+	stereo_panning FALSE, TRUE
+	duty_cycle 3
+	pitch_offset 1
+	note_type 12, 12, 4
+	rest 4
 	octave 3
 	note C_, 8
 	octave 2
@@ -81,7 +82,7 @@
 	note A_, 8
 	octave 3
 	note E_, 8
-	notetype $c, $c3
+	note_type 12, 12, 3
 	octave 2
 	note E_, 2
 	note G_, 2
@@ -167,15 +168,15 @@
 	octave 2
 	note E_, 2
 	note G_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_PokeFluteChannel_Ch3:
-	vibrato $10, $14
-	notetype $c, $10
-	callchannel .sub1
-	callchannel .sub1
+	vibrato 16, 1, 4
+	note_type 12, 1, 0
+	sound_call .sub1
+	sound_call .sub1
 .mainloop:
-	note __, 4
+	rest 4
 	octave 4
 	note C_, 2
 	octave 5
@@ -184,7 +185,7 @@
 	note F_, 2
 	octave 6
 	note C_, 4
-	note __, 4
+	rest 4
 	octave 4
 	note C_, 2
 	octave 5
@@ -203,9 +204,9 @@
 	note G_, 2
 	note F#, 2
 	note G_, 8
-	note __, 4
-	callchannel .sub1
-	loopchannel 0, .mainloop
+	rest 4
+	sound_call .sub1
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 5
@@ -224,4 +225,4 @@
 	note A_, 2
 	note F_, 2
 	note G_, 4
-	endchannel
+	sound_ret
--- a/audio/music/pokemoncenter.asm
+++ b/audio/music/pokemoncenter.asm
@@ -1,18 +1,19 @@
 Music_PokemonCenter:
-	musicheader 4, 1, Music_PokemonCenter_Ch1
-	musicheader 1, 2, Music_PokemonCenter_Ch2
-	musicheader 1, 3, Music_PokemonCenter_Ch3
-	musicheader 1, 4, Music_PokemonCenter_Ch4
+	channel_count 4
+	channel 1, Music_PokemonCenter_Ch1
+	channel 2, Music_PokemonCenter_Ch2
+	channel 3, Music_PokemonCenter_Ch3
+	channel 4, Music_PokemonCenter_Ch4
 
 Music_PokemonCenter_Ch1:
 	tempo 152
-	volume $77
-	dutycycle $2
-	vibrato $a, $14
-	tone $0001
+	volume 7, 7
+	duty_cycle 2
+	vibrato 10, 1, 4
+	pitch_offset 1
 .mainloop:
-	stereopanning $f
-	notetype $c, $83
+	stereo_panning FALSE, TRUE
+	note_type 12, 8, 3
 	octave 3
 	note F#, 2
 	note F_, 2
@@ -76,7 +77,7 @@
 	note B_, 2
 	note A_, 2
 	note G_, 2
-	notetype $c, $b4
+	note_type 12, 11, 4
 	note F#, 2
 	note E_, 2
 	note D_, 2
@@ -85,7 +86,7 @@
 	note G_, 2
 	note A_, 2
 	note B_, 2
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	note F#, 2
 	note E_, 2
 	note D_, 4
@@ -147,43 +148,43 @@
 	note E_, 2
 	note F#, 2
 	note G_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_PokemonCenter_Ch2:
-	vibrato $10, $25
+	vibrato 16, 2, 5
 .mainloop:
-	stereopanning $ff
-	callchannel .sub1
-	stereopanning $f
-	notetype $c, $a5
+	stereo_panning TRUE, TRUE
+	sound_call .sub1
+	stereo_panning FALSE, TRUE
+	note_type 12, 10, 5
 	octave 3
 	note A_, 4
 	note E_, 4
-	stereopanning $ff
-	callchannel .sub2
+	stereo_panning TRUE, TRUE
+	sound_call .sub2
 	note D_, 2
 	note F#, 6
-	stereopanning $f
-	notetype $c, $a5
+	stereo_panning FALSE, TRUE
+	note_type 12, 10, 5
 	octave 3
 	note A_, 4
 	note E_, 4
-	stereopanning $ff
-	callchannel .sub1
-	stereopanning $f
-	notetype $c, $a5
+	stereo_panning TRUE, TRUE
+	sound_call .sub1
+	stereo_panning FALSE, TRUE
+	note_type 12, 10, 5
 	octave 3
 	note A_, 4
 	note E_, 4
-	stereopanning $ff
-	callchannel .sub2
+	stereo_panning TRUE, TRUE
+	sound_call .sub2
 	note D_, 8
-	stereopanning $f
-	notetype $c, $a5
+	stereo_panning FALSE, TRUE
+	note_type 12, 10, 5
 	octave 3
 	note D_, 4
 	note E_, 4
-	notetype $c, $c6
+	note_type 12, 12, 6
 	octave 4
 	note F#, 8
 	note A_, 8
@@ -215,11 +216,11 @@
 	note F#, 2
 	note E_, 2
 	note D_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	dutycycle $2
-	notetype $c, $c2
+	duty_cycle 2
+	note_type 12, 12, 2
 	octave 4
 	note D_, 2
 	octave 3
@@ -226,16 +227,16 @@
 	note A_, 2
 	octave 4
 	note D_, 2
-	intensity $c3
+	volume_envelope 12, 3
 	note A_, 4
 	note G_, 4
 	note F#, 2
 	note E_, 2
 	note C#, 6
-	endchannel
+	sound_ret
 
 .sub2:
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 4
 	note C#, 2
 	octave 3
@@ -242,163 +243,163 @@
 	note A_, 2
 	octave 4
 	note C#, 2
-	intensity $c3
+	volume_envelope 12, 3
 	note F#, 4
 	note E_, 4
 	note C#, 2
-	endchannel
+	sound_ret
 
 Music_PokemonCenter_Ch3:
-	notetype $c, $28
+	note_type 12, 2, 8
 .mainloop:
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	octave 3
 	note D_, 1
-	note __, 5
+	rest 5
 	note F#, 1
-	note __, 3
+	rest 3
 	note F#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	callchannel .sub1
-	callchannel .sub2
+	rest 1
+	sound_call .sub1
+	sound_call .sub2
 	note F#, 1
-	note __, 5
+	rest 5
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 5
+	rest 5
 	note F#, 1
-	note __, 3
+	rest 3
 	note F#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	callchannel .sub1
-	callchannel .sub2
+	rest 1
+	sound_call .sub1
+	sound_call .sub2
 	note D_, 1
-	note __, 5
+	rest 5
 	note F#, 1
-	note __, 3
+	rest 3
 	note F#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	stereopanning $ff
-	callchannel .sub3
+	rest 1
+	stereo_panning TRUE, TRUE
+	sound_call .sub3
 	note G_, 1
-	note __, 5
+	rest 5
 	note B_, 1
-	note __, 3
+	rest 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 5
+	rest 5
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 5
+	rest 5
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
-	callchannel .sub3
+	rest 1
+	sound_call .sub3
 	note G_, 1
-	note __, 5
+	rest 5
 	note B_, 1
-	note __, 3
+	rest 3
 	note B_, 1
-	note __, 3
+	rest 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 5
+	rest 5
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 5
+	rest 5
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
 
 .sub1:
 	note E_, 1
-	note __, 5
+	rest 5
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub2:
 	note E_, 1
-	note __, 5
+	rest 5
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub3:
 	note F#, 1
-	note __, 5
+	rest 5
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 Music_PokemonCenter_Ch4:
-	togglenoise $3
-	notetype $c
-	stereopanning $ff
+	toggle_noise 3
+	drum_speed 12
+	stereo_panning TRUE, TRUE
 .mainloop:
-	note G_, 6
-	note G_, 4
-	note G_, 2
-	note G_, 2
-	note G_, 2
-	loopchannel 0, .mainloop
+	drum_note 8, 6
+	drum_note 8, 4
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	sound_loop 0, .mainloop
--- a/audio/music/pokemonchannel.asm
+++ b/audio/music/pokemonchannel.asm
@@ -1,55 +1,56 @@
 Music_PokemonChannel:
-	musicheader 4, 1, Music_PokemonChannel_Ch1
-	musicheader 1, 2, Music_PokemonChannel_Ch2
-	musicheader 1, 3, Music_PokemonChannel_Ch3
-	musicheader 1, 4, Music_PokemonChannel_Ch4
+	channel_count 4
+	channel 1, Music_PokemonChannel_Ch1
+	channel 2, Music_PokemonChannel_Ch2
+	channel 3, Music_PokemonChannel_Ch3
+	channel 4, Music_PokemonChannel_Ch4
 
 Music_PokemonChannel_Ch1:
 	tempo 128
-	volume $77
-	vibrato $8, $38
-	dutycycle $1
-	stereopanning $f
-	notetype $c, $b3
+	volume 7, 7
+	vibrato 8, 3, 8
+	duty_cycle 1
+	stereo_panning FALSE, TRUE
+	note_type 12, 11, 3
 	octave 2
 	note B_, 1
-	note __, 2
+	rest 2
 	note F#, 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 4
-	dutycycle $0
+	duty_cycle 0
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
-	notetype $6, $b3
+	rest 1
+	note_type 6, 11, 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
-	dutycycle $1
+	rest 1
+	duty_cycle 1
 	octave 3
 	note C_, 2
-	note __, 4
+	rest 4
 	note G_, 2
 	note C_, 2
-	note __, 2
+	rest 2
 	note B_, 8
-	dutycycle $0
+	duty_cycle 0
 	note C_, 4
 	note C_, 4
 	octave 2
 	note G_, 2
-	note __, 2
-	dutycycle $3
+	rest 2
+	duty_cycle 3
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 2
 	note B_, 2
@@ -57,131 +58,131 @@
 	note D_, 2
 	note F#, 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
-	note __, 8
+	rest 2
+	rest 8
 	octave 3
 	note G_, 2
-	note __, 6
+	rest 6
 	note B_, 2
-	note __, 6
+	rest 6
 	note D_, 2
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
 Music_PokemonChannel_Ch2:
-	dutycycle $1
-	vibrato $8, $38
-	stereopanning $ff
-	notetype $c, $b3
+	duty_cycle 1
+	vibrato 8, 3, 8
+	stereo_panning TRUE, TRUE
+	note_type 12, 11, 3
 	octave 3
 	note G_, 3
 	note A_, 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 4
-	dutycycle $0
+	duty_cycle 0
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	notetype $6, $b3
+	rest 1
+	note_type 6, 11, 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	dutycycle $1
+	rest 1
+	duty_cycle 1
 	octave 4
 	note C_, 6
 	note D_, 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note G_, 8
-	dutycycle $0
+	duty_cycle 0
 	octave 3
 	note G_, 4
 	note F#, 4
 	note E_, 2
-	note __, 2
-	dutycycle $3
+	rest 2
+	duty_cycle 3
 	octave 4
 	note B_, 2
-	note __, 2
+	rest 2
 	note A#, 2
-	note __, 2
+	rest 2
 	note B_, 8
 	octave 5
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note A#, 2
-	note __, 2
+	rest 2
 	note G#, 2
-	note __, 2
-	note __, 8
+	rest 2
+	rest 8
 	note D_, 2
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note G_, 2
-	note __, 6
+	rest 6
 	octave 3
 	note G_, 2
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
 Music_PokemonChannel_Ch3:
-	vibrato $8, $38
-	notetype $c, $25
-	stereopanning $f0
+	vibrato 8, 3, 8
+	note_type 12, 2, 5
+	stereo_panning TRUE, FALSE
 	octave 2
 	note G_, 1
-	note __, 2
+	rest 2
 	note B_, 1
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note G_, 6
-	note __, 4
+	rest 4
 	note C_, 1
-	note __, 2
+	rest 2
 	octave 2
 	note G_, 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 6
-	note __, 4
+	rest 4
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 4
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note D_, 1
 	octave 3
 	note B_, 1
@@ -195,37 +196,37 @@
 	note D_, 1
 	octave 2
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
-	endchannel
+	rest 3
+	sound_ret
 
 Music_PokemonChannel_Ch4:
-	togglenoise $3
-	notetype $c
+	toggle_noise 3
+	drum_speed 12
 .loop1:
-	note A#, 3
-	note A#, 1
-	note D_, 2
-	note C_, 4
-	note D_, 2
-	note D_, 2
-	note A#, 1
-	note D_, 1
-	loopchannel 2, .loop1
-	note G#, 2
-	note A#, 2
-	note G#, 1
-	note G#, 1
-	note G#, 1
-	note G#, 1
-	note C_, 4
-	note G#, 1
-	note G#, 1
-	note G#, 1
-	note G#, 1
-	note B_, 4
-	note D_, 4
-	note A#, 4
-	note A#, 4
-	endchannel
+	drum_note 11, 3
+	drum_note 11, 1
+	drum_note 3, 2
+	drum_note 1, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 11, 1
+	drum_note 3, 1
+	sound_loop 2, .loop1
+	drum_note 9, 2
+	drum_note 11, 2
+	drum_note 9, 1
+	drum_note 9, 1
+	drum_note 9, 1
+	drum_note 9, 1
+	drum_note 1, 4
+	drum_note 9, 1
+	drum_note 9, 1
+	drum_note 9, 1
+	drum_note 9, 1
+	drum_note 12, 4
+	drum_note 3, 4
+	drum_note 11, 4
+	drum_note 11, 4
+	sound_ret
--- a/audio/music/pokemonlullaby.asm
+++ b/audio/music/pokemonlullaby.asm
@@ -1,40 +1,41 @@
 Music_PokemonLullaby:
-	musicheader 3, 1, Music_PokemonLullaby_Ch1
-	musicheader 1, 2, Music_PokemonLullaby_Ch2
-	musicheader 1, 3, Music_PokemonLullaby_Ch3
+	channel_count 3
+	channel 1, Music_PokemonLullaby_Ch1
+	channel 2, Music_PokemonLullaby_Ch2
+	channel 3, Music_PokemonLullaby_Ch3
 
 Music_PokemonLullaby_Ch1:
 	tempo 224
-	volume $77
-	dutycycle $3
-	tone $0001
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
 .mainloop:
-	notetype $c, $a7
+	note_type 12, 10, 7
 	octave 3
 	note G_, 16
 	octave 4
 	note C_, 16
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	octave 3
 	note G_, 16
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	octave 4
 	note C_, 8
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	octave 3
 	note B_, 8
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	note G_, 16
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	octave 4
 	note C_, 8
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	octave 3
 	note B_, 8
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	note G_, 8
-	stereopanning $ff
-	note __, 2
+	stereo_panning TRUE, TRUE
+	rest 2
 	note G_, 2
 	note G_, 2
 	note B_, 2
@@ -51,20 +52,20 @@
 	note C_, 8
 	octave 3
 	note B_, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_PokemonLullaby_Ch2:
-	vibrato $10, $14
-	dutycycle $0
-	notetype $c, $b4
+	vibrato 16, 1, 4
+	duty_cycle 0
+	note_type 12, 11, 4
 .mainloop:
-	note __, 16
-	note __, 10
+	rest 16
+	rest 10
 	octave 4
 	note G_, 2
 	note F#, 2
 	note G_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 12
 	note D_, 2
 	note E_, 2
@@ -75,38 +76,38 @@
 	note D_, 2
 	note F_, 2
 	note E_, 10
-	intensity $b5
+	volume_envelope 11, 5
 	note D_, 2
 	note D_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note E_, 2
 	note F_, 4
 	note E_, 4
 	note F_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	note G_, 2
 	note G_, 2
 	note D#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 14
-	intensity $87
+	volume_envelope 8, 7
 	octave 3
 	note F_, 8
 	note G_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	octave 4
 	note G_, 2
 	note G_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 2
 	note E_, 16
-	note __, 14
-	loopchannel 0, .mainloop
+	rest 14
+	sound_loop 0, .mainloop
 
 Music_PokemonLullaby_Ch3:
-	notetype $c, $11
+	note_type 12, 1, 1
 .mainloop:
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	octave 4
 	note C_, 2
 	note E_, 2
@@ -118,7 +119,7 @@
 	note B_, 2
 	note A_, 2
 	note G_, 2
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	note D_, 2
 	note F_, 2
 	note A_, 2
@@ -129,4 +130,4 @@
 	octave 4
 	note B_, 2
 	note A_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/pokemonmarch.asm
+++ b/audio/music/pokemonmarch.asm
@@ -1,72 +1,73 @@
 Music_PokemonMarch:
-	musicheader 4, 1, Music_PokemonMarch_Ch1
-	musicheader 1, 2, Music_PokemonMarch_Ch2
-	musicheader 1, 3, Music_PokemonMarch_Ch3
-	musicheader 1, 4, Music_PokemonMarch_Ch4
+	channel_count 4
+	channel 1, Music_PokemonMarch_Ch1
+	channel 2, Music_PokemonMarch_Ch2
+	channel 3, Music_PokemonMarch_Ch3
+	channel 4, Music_PokemonMarch_Ch4
 
 Music_PokemonMarch_Ch1:
 	tempo 144
-	volume $77
-	stereopanning $f0
-	dutycycle $3
-	tone $0001
-	notetype $c, $42
+	volume 7, 7
+	stereo_panning TRUE, FALSE
+	duty_cycle 3
+	pitch_offset 1
+	note_type 12, 4, 2
 	octave 3
 	note D_, 4
-	intensity $62
+	volume_envelope 6, 2
 	note D_, 4
-	intensity $82
+	volume_envelope 8, 2
 	note D_, 4
-	intensity $a2
+	volume_envelope 10, 2
 	note D_, 4
-	notetype $8, $a2
+	note_type 8, 10, 2
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note D#, 2
 	note C_, 2
 	note D#, 2
 	note C_, 2
-	callchannel .sub1
+	sound_call .sub1
 	note D#, 2
 	note C_, 2
 	note D#, 2
 	note G_, 2
-	callchannel .sub1
+	sound_call .sub1
 	note C_, 2
 	note C_, 2
 	note D#, 2
 	note C_, 2
-	callchannel .sub1
+	sound_call .sub1
 	note D#, 2
 	note C_, 2
 	note C#, 2
 	note D#, 2
-	callchannel .sub2
+	sound_call .sub2
 	note F_, 2
 	note D_, 2
 	note F_, 2
 	note D_, 2
-	callchannel .sub2
+	sound_call .sub2
 	note F_, 2
 	note D_, 2
 	note F_, 2
 	note A_, 2
-	callchannel .sub2
+	sound_call .sub2
 	note D_, 2
 	note D_, 2
 	note F_, 2
 	note D_, 2
-	callchannel .sub2
+	sound_call .sub2
 	note F_, 2
 	note D_, 2
 	note F_, 2
 	note G_, 2
-	callchannel .sub2
+	sound_call .sub2
 	note F_, 2
 	note D_, 2
 	note F_, 2
 	note D_, 2
-	callchannel .sub1
+	sound_call .sub1
 	note D#, 2
 	note C_, 2
 	note D#, 2
@@ -81,9 +82,9 @@
 	note C_, 2
 	octave 2
 	note A#, 2
-	note __, 4
+	rest 4
 	note D#, 2
-	note __, 4
+	rest 4
 	octave 3
 	note D#, 2
 	note D#, 2
@@ -95,35 +96,35 @@
 	note F_, 2
 	note G_, 4
 	note A#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	note __, 4
+	rest 4
 	octave 3
 	note D#, 1
 	note D_, 1
 	note D#, 2
-	note __, 2
+	rest 2
 	note D#, 2
 	note D#, 2
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
 .sub2:
-	note __, 4
+	rest 4
 	note F_, 1
 	note E_, 1
 	note F_, 2
-	note __, 2
+	rest 2
 	note F_, 2
 	note F_, 2
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
 Music_PokemonMarch_Ch2:
-	dutycycle $2
-	vibrato $10, $22
-	notetype $c, $b2
+	duty_cycle 2
+	vibrato 16, 2, 2
+	note_type 12, 11, 2
 	octave 3
 	note G_, 4
 	note G_, 4
@@ -130,21 +131,21 @@
 	note G_, 4
 	note G_, 4
 .mainloop:
-	notetype $c, $b7
+	note_type 12, 11, 7
 	octave 3
 	note G#, 12
-	notetype $8, $b3
+	note_type 8, 11, 3
 	note D#, 2
 	note G#, 2
 	note A#, 2
 	octave 4
 	note C_, 2
-	note __, 16
-	note __, 6
-	notetype $8, $b7
+	rest 16
+	rest 6
+	note_type 8, 11, 7
 	octave 3
 	note G#, 16
-	notetype $8, $b3
+	note_type 8, 11, 3
 	note D#, 2
 	note G#, 4
 	note A#, 2
@@ -159,9 +160,9 @@
 	octave 3
 	note A#, 2
 	note G#, 2
-	notetype $8, $b7
+	note_type 8, 11, 7
 	note A#, 16
-	notetype $8, $b3
+	note_type 8, 11, 3
 	note A#, 2
 	note F_, 2
 	note A#, 2
@@ -168,12 +169,12 @@
 	octave 4
 	note C_, 2
 	note D_, 2
-	note __, 16
-	note __, 6
-	notetype $8, $b7
+	rest 16
+	rest 6
+	note_type 8, 11, 7
 	octave 3
 	note A#, 16
-	notetype $8, $b3
+	note_type 8, 11, 3
 	note F_, 2
 	note A#, 4
 	octave 4
@@ -188,17 +189,17 @@
 	note C_, 2
 	octave 3
 	note B_, 2
-	notetype $8, $b7
+	note_type 8, 11, 7
 	note A#, 16
-	notetype $8, $b3
+	note_type 8, 11, 3
 	note A_, 2
 	note A#, 4
 	octave 4
 	note C_, 2
-	notetype $8, $b7
+	note_type 8, 11, 7
 	octave 3
 	note G#, 16
-	notetype $8, $b3
+	note_type 8, 11, 3
 	note A#, 2
 	note G#, 4
 	note F_, 2
@@ -209,12 +210,12 @@
 	note F#, 2
 	note F_, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 1
 	note D_, 1
 	note D#, 1
-	note __, 5
+	rest 5
 	octave 3
 	note G_, 2
 	note G_, 2
@@ -223,45 +224,45 @@
 	note A_, 2
 	note G#, 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
 	note F#, 1
 	note G_, 1
-	note __, 5
-	loopchannel 0, .mainloop
+	rest 5
+	sound_loop 0, .mainloop
 
 Music_PokemonMarch_Ch3:
-	stereopanning $f
-	notetype $c, $16
-	note __, 16
-	notetype $8, $16
+	stereo_panning FALSE, TRUE
+	note_type 12, 1, 6
+	rest 16
+	note_type 8, 1, 6
 .mainloop:
-	callchannel .sub1
-	note __, 2
+	sound_call .sub1
+	rest 2
 	octave 4
 	note D#, 2
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note G#, 2
 	note D#, 2
-	callchannel .sub1
-	note __, 2
+	sound_call .sub1
+	rest 2
 	octave 4
 	note D#, 2
 	octave 3
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 2
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 2
 	octave 3
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 2
 	octave 3
@@ -271,39 +272,39 @@
 .loop1:
 	octave 3
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 2
 	octave 3
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 2
 	octave 3
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 2
 	octave 3
 	note A_, 2
-	note __, 1
+	rest 1
 	octave 4
 	note F_, 2
-	note __, 1
-	loopchannel 3, .loop1
+	rest 1
+	sound_loop 3, .loop1
 	octave 3
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 2
 	octave 3
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 2
 	octave 3
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 2
 	note D_, 2
@@ -311,17 +312,17 @@
 	octave 3
 	note B_, 2
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 2
 	octave 3
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 2
 	octave 3
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 2
 	octave 3
@@ -329,22 +330,22 @@
 	note G_, 2
 	note A#, 2
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 2
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 2
 	octave 3
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 2
 	octave 3
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 2
 	note D#, 2
@@ -354,10 +355,10 @@
 	note F#, 2
 	note F_, 2
 	note D#, 2
-	note __, 4
+	rest 4
 	octave 3
 	note D#, 2
-	note __, 4
+	rest 4
 	octave 4
 	note G_, 2
 	note G_, 2
@@ -366,94 +367,94 @@
 	note A_, 2
 	note G#, 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note D#, 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note G#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 2
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 2
 	octave 3
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 2
 	octave 3
 	note G_, 2
-	endchannel
+	sound_ret
 
 Music_PokemonMarch_Ch4:
-	stereopanning $f0
-	togglenoise $5
-	notetype $8
-	callchannel .sub2
+	stereo_panning TRUE, FALSE
+	toggle_noise 5
+	drum_speed 8
+	sound_call .sub2
 .mainloop:
-	callchannel .sub1
-	note C_, 4
-	note C_, 2
-	note C_, 4
-	note C_, 2
-	note C_, 4
-	note C_, 5
-	notetype $6
-	note D_, 1
-	note D_, 1
-	note C#, 1
-	note C#, 1
-	notetype $8
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub2
-	note C#, 4
-	note C#, 2
-	note C#, 4
-	note C#, 2
-	note C#, 6
-	note C_, 2
-	notetype $4
-	note __, 5
-	notetype $6
-	note D_, 1
-	note D_, 1
-	notetype $8
-	callchannel .sub2
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	drum_note 1, 4
+	drum_note 1, 2
+	drum_note 1, 4
+	drum_note 1, 2
+	drum_note 1, 4
+	drum_note 1, 5
+	drum_speed 6
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_speed 8
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub2
+	drum_note 2, 4
+	drum_note 2, 2
+	drum_note 2, 4
+	drum_note 2, 2
+	drum_note 2, 6
+	drum_note 1, 2
+	drum_speed 4
+	rest 5
+	drum_speed 6
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_speed 8
+	sound_call .sub2
+	sound_loop 0, .mainloop
 
 .sub1:
-	note C_, 4
-	note C_, 2
-	note C_, 4
-	note C_, 2
-	note C_, 4
-	note D_, 2
-	note D_, 2
-	note C#, 2
-	note C#, 2
-	endchannel
+	drum_note 1, 4
+	drum_note 1, 2
+	drum_note 1, 4
+	drum_note 1, 2
+	drum_note 1, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 2, 2
+	drum_note 2, 2
+	sound_ret
 
 .sub2:
-	note C_, 4
-	note C_, 2
-	note C_, 4
-	note C_, 4
-	note C_, 4
-	note C#, 2
-	note D_, 2
-	note C#, 2
-	endchannel
+	drum_note 1, 4
+	drum_note 1, 2
+	drum_note 1, 4
+	drum_note 1, 4
+	drum_note 1, 4
+	drum_note 2, 2
+	drum_note 3, 2
+	drum_note 2, 2
+	sound_ret
--- a/audio/music/postcredits.asm
+++ b/audio/music/postcredits.asm
@@ -1,16 +1,17 @@
 Music_PostCredits:
-	musicheader 2, 1, Music_PostCredits_Ch1
-	musicheader 1, 2, Music_PostCredits_Ch2
+	channel_count 2
+	channel 1, Music_PostCredits_Ch1
+	channel 2, Music_PostCredits_Ch2
 
 	db $2 ; unused
 
 Music_PostCredits_Ch1:
 	tempo 271
-	volume $77
-	pitchoffset 0, D#
-	dutycycle $2
-	notetype $c, $93
-	note __, 8
+	volume 7, 7
+	transpose 0, 3
+	duty_cycle 2
+	note_type 12, 9, 3
+	rest 8
 .mainloop:
 	octave 3
 	note C_, 2
@@ -19,13 +20,13 @@
 	octave 4
 	note C_, 2
 	note E_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note E_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note E_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note E_, 2
-	intensity $93
+	volume_envelope 9, 3
 	octave 2
 	note B_, 2
 	octave 3
@@ -34,13 +35,13 @@
 	note B_, 2
 	octave 4
 	note D_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note D_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note D_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note D_, 2
-	intensity $93
+	volume_envelope 9, 3
 	octave 2
 	note A#, 2
 	octave 3
@@ -49,13 +50,13 @@
 	note A#, 2
 	octave 4
 	note D_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note D_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note D_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note D_, 2
-	intensity $93
+	volume_envelope 9, 3
 	octave 2
 	note A_, 2
 	octave 3
@@ -64,13 +65,13 @@
 	note A_, 2
 	octave 4
 	note C_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note C_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note C_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note C_, 2
-	intensity $93
+	volume_envelope 9, 3
 	octave 2
 	note G#, 2
 	octave 3
@@ -79,13 +80,13 @@
 	note G#, 2
 	octave 4
 	note C_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note C_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note C_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note C_, 2
-	intensity $93
+	volume_envelope 9, 3
 	octave 2
 	note G_, 2
 	octave 3
@@ -94,13 +95,13 @@
 	note G_, 2
 	octave 4
 	note C_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note C_, 2
-	intensity $63
+	volume_envelope 6, 3
 	note C_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note C_, 2
-	intensity $93
+	volume_envelope 9, 3
 	octave 2
 	note F#, 2
 	note A_, 2
@@ -108,13 +109,13 @@
 	note D_, 2
 	note F#, 2
 	note A_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note A_, 2
-	intensity $63
+	volume_envelope 6, 3
 	note A_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note A_, 2
-	intensity $93
+	volume_envelope 9, 3
 	octave 2
 	note G_, 2
 	octave 3
@@ -122,36 +123,36 @@
 	note D_, 2
 	note G_, 2
 	note G_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note G_, 2
-	intensity $93
+	volume_envelope 9, 3
 	note D_, 2
 	octave 2
 	note G_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_PostCredits_Ch2:
-	pitchoffset 0, D#
-	dutycycle $2
-	notetype $c, $a3
+	transpose 0, 3
+	duty_cycle 2
+	note_type 12, 10, 3
 	octave 5
 	note E_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note E_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note F_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note F_, 2
 .mainloop:
-	intensity $a3
+	volume_envelope 10, 3
 	note G_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note G_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note G_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note G_, 2
-	intensity $93
+	volume_envelope 9, 3
 	octave 6
 	note D_, 2
 	note C_, 2
@@ -161,104 +162,104 @@
 	note C_, 2
 	octave 5
 	note G_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note G_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note G_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note G_, 2
-	intensity $33
+	volume_envelope 3, 3
 	note G_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note E_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note E_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note F_, 2
 	note G_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note G_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note G_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note G_, 2
-	intensity $33
+	volume_envelope 3, 3
 	note G_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note A_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note A_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note E_, 2
 	note G_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note G_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note G_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note F_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note F_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note F_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note D_, 2
 	note E_, 2
 	note F_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note F_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note F_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note F_, 2
-	intensity $33
+	volume_envelope 3, 3
 	note F_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note G_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note G_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note F_, 2
 	note E_, 2
 	note D#, 2
 	note E_, 2
 	note B_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note B_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note B_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note A_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note A_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note D_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note D_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note D_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note D_, 2
-	intensity $33
+	volume_envelope 3, 3
 	note D_, 2
 	note D_, 2
-	intensity $23
+	volume_envelope 2, 3
 	note D_, 2
 	note D_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note G_, 2
-	intensity $73
+	volume_envelope 7, 3
 	octave 4
 	note G_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	octave 5
 	note D_, 2
 	note G_, 2
-	intensity $73
+	volume_envelope 7, 3
 	note G_, 2
-	intensity $53
+	volume_envelope 5, 3
 	note G_, 2
-	intensity $a3
+	volume_envelope 10, 3
 	note E_, 2
 	note F_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/printer.asm
+++ b/audio/music/printer.asm
@@ -1,319 +1,320 @@
 Music_Printer:
-	musicheader 1, 3, Music_Printer_Ch3
+	channel_count 1
+	channel 3, Music_Printer_Ch3
 
 Music_Printer_Ch3:
 	tempo 256
-	notetype $c, $20
+	note_type 12, 2, 0
 	octave 4
 	note B_, 6
 	octave 5
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note B_, 6
 	octave 5
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note E_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 .mainloop:
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C#, 1
 	note C_, 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note E_, 1
 	note D#, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note G#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note G#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note B_, 1
 	note A#, 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note G#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note G#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
--- a/audio/music/profoak.asm
+++ b/audio/music/profoak.asm
@@ -1,16 +1,17 @@
 Music_ProfOak:
-	musicheader 3, 1, Music_ProfOak_Ch1
-	musicheader 1, 2, Music_ProfOak_Ch2
-	musicheader 1, 3, Music_ProfOak_Ch3
+	channel_count 3
+	channel 1, Music_ProfOak_Ch1
+	channel 2, Music_ProfOak_Ch2
+	channel 3, Music_ProfOak_Ch3
 
 Music_ProfOak_Ch1:
 	tempo 118
-	volume $77
-	vibrato $12, $34
-	tone $0001
-	stereopanning $f0
-	dutycycle $3
-	notetype $c, $98
+	volume 7, 7
+	vibrato 18, 3, 4
+	pitch_offset 1
+	stereo_panning TRUE, FALSE
+	duty_cycle 3
+	note_type 12, 9, 8
 	octave 2
 	note F#, 1
 	note B_, 1
@@ -19,27 +20,27 @@
 	note F#, 1
 	note A_, 16
 	note G#, 8
-	intensity $97
+	volume_envelope 9, 7
 	note G#, 8
 .loop1:
-	intensity $91
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub2
-	loopchannel 2, .loop1
+	volume_envelope 9, 1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub2
+	sound_loop 2, .loop1
 .mainloop:
-	callchannel .sub3
-	callchannel .sub3
-	callchannel .sub4
-	callchannel .sub4
-	pitchoffset 0, D_
-	callchannel .sub3
-	callchannel .sub3
-	pitchoffset 0, C_
-	callchannel .sub4
-	callchannel .sub4
-	loopchannel 0, .mainloop
+	sound_call .sub3
+	sound_call .sub3
+	sound_call .sub4
+	sound_call .sub4
+	transpose 0, 2
+	sound_call .sub3
+	sound_call .sub3
+	transpose 0, 0
+	sound_call .sub4
+	sound_call .sub4
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
@@ -52,7 +53,7 @@
 	note E_, 2
 	note G#, 2
 	note E_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 2
@@ -65,7 +66,7 @@
 	note D#, 2
 	note F#, 2
 	note D#, 2
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 2
@@ -76,14 +77,14 @@
 	note C#, 1
 	note E_, 1
 	note C#, 2
-	intensity $92
+	volume_envelope 9, 2
 	note A_, 2
-	intensity $91
+	volume_envelope 9, 1
 	note C#, 2
-	intensity $92
+	volume_envelope 9, 2
 	note E_, 2
-	intensity $91
-	endchannel
+	volume_envelope 9, 1
+	sound_ret
 
 .sub4:
 	octave 2
@@ -90,21 +91,21 @@
 	note B_, 1
 	octave 3
 	note E_, 1
-	intensity $92
+	volume_envelope 9, 2
 	note G#, 4
 	note E_, 4
-	intensity $91
+	volume_envelope 9, 1
 	note E_, 1
 	note G#, 1
-	intensity $92
+	volume_envelope 9, 2
 	note B_, 4
-	intensity $91
-	endchannel
+	volume_envelope 9, 1
+	sound_ret
 
 Music_ProfOak_Ch2:
-	vibrato $12, $34
-	dutycycle $3
-	notetype $c, $a8
+	vibrato 18, 3, 4
+	duty_cycle 3
+	note_type 12, 10, 8
 	octave 3
 	note B_, 1
 	octave 4
@@ -112,11 +113,11 @@
 	note F#, 1
 	note A#, 1
 	note B_, 16
-	intensity $a7
+	volume_envelope 10, 7
 	note B_, 10
-	dutycycle $2
+	duty_cycle 2
 .loop1:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 3
 	note B_, 2
 	octave 4
@@ -125,7 +126,7 @@
 	note E_, 4
 	note D#, 2
 	note C#, 4
-	intensity $91
+	volume_envelope 9, 1
 	note B_, 2
 	octave 5
 	note C#, 2
@@ -133,7 +134,7 @@
 	note E_, 4
 	note D#, 2
 	note C#, 4
-	intensity $b2
+	volume_envelope 11, 2
 	octave 3
 	note B_, 2
 	note A_, 2
@@ -140,9 +141,9 @@
 	note G#, 2
 	note A_, 4
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 4
-	intensity $91
+	volume_envelope 9, 1
 	octave 4
 	note B_, 2
 	note A_, 2
@@ -150,9 +151,9 @@
 	note A_, 4
 	note B_, 2
 	note B_, 4
-	loopchannel 2, .loop1
-	note __, 6
-	intensity $b4
+	sound_loop 2, .loop1
+	rest 6
+	volume_envelope 11, 4
 .mainloop:
 	note C#, 6
 	octave 3
@@ -172,14 +173,14 @@
 	note B_, 1
 	octave 4
 	note E_, 8
-	intensity $82
+	volume_envelope 8, 2
 	note B_, 6
 	note G#, 1
 	note B_, 1
-	intensity $83
+	volume_envelope 8, 3
 	octave 5
 	note E_, 8
-	intensity $b4
+	volume_envelope 11, 4
 	octave 3
 	note A_, 6
 	note F#, 1
@@ -201,111 +202,111 @@
 	octave 4
 	note E_, 1
 	note G#, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_ProfOak_Ch3:
-	stereopanning $f
-	notetype $c, $14
-	note __, 4
+	stereo_panning FALSE, TRUE
+	note_type 12, 1, 4
+	rest 4
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 2
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 2
-	callchannel .sub1
+	sound_call .sub1
 .loop1:
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub2
-	loopchannel 2, .loop1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub2
+	sound_loop 2, .loop1
 .mainloop:
-	callchannel .sub3
-	callchannel .sub3
-	callchannel .sub4
-	callchannel .sub4
-	pitchoffset 0, D_
-	callchannel .sub3
-	callchannel .sub3
-	pitchoffset 0, C_
-	callchannel .sub4
-	callchannel .sub4
-	loopchannel 0, .mainloop
+	sound_call .sub3
+	sound_call .sub3
+	sound_call .sub4
+	sound_call .sub4
+	transpose 0, 2
+	sound_call .sub3
+	sound_call .sub3
+	transpose 0, 0
+	sound_call .sub4
+	sound_call .sub4
+	sound_loop 0, .mainloop
 
 .sub1:
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 2
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note D#, 2
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note E_, 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note C#, 2
-	endchannel
+	sound_ret
 
 .sub4:
 	octave 2
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note E_, 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 2
-	endchannel
+	sound_ret
--- a/audio/music/profoakspokemontalk.asm
+++ b/audio/music/profoakspokemontalk.asm
@@ -1,18 +1,19 @@
 Music_ProfOaksPokemonTalk:
-	musicheader 3, 1, Music_ProfOaksPokemonTalk_Ch1
-	musicheader 1, 2, Music_ProfOaksPokemonTalk_Ch2
-	musicheader 1, 3, Music_ProfOaksPokemonTalk_Ch3
+	channel_count 3
+	channel 1, Music_ProfOaksPokemonTalk_Ch1
+	channel 2, Music_ProfOaksPokemonTalk_Ch2
+	channel 3, Music_ProfOaksPokemonTalk_Ch3
 
 	db $3 ; unused
 
 Music_ProfOaksPokemonTalk_Ch1:
 	tempo 164
-	volume $77
-	stereopanning $f
-	vibrato $6, $25
-	dutycycle $1
-	notetype $c, $94
-	note __, 8
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	vibrato 6, 2, 5
+	duty_cycle 1
+	note_type 12, 9, 4
+	rest 8
 	octave 3
 	note B_, 1
 	octave 4
@@ -31,9 +32,9 @@
 	note F#, 1
 	note G#, 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
 	note A#, 1
 	note B_, 2
@@ -40,13 +41,13 @@
 	note F#, 1
 	note G#, 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note G#, 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	octave 4
 	note D#, 6
@@ -56,23 +57,23 @@
 	note G#, 1
 	note B_, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 1
 	note B_, 1
 	note F#, 1
 	note A#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note A#, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note E_, 2
 	octave 2
@@ -116,27 +117,27 @@
 	note C#, 2
 	octave 3
 	note A#, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
 
 Music_ProfOaksPokemonTalk_Ch2:
-	vibrato $8, $24
-	dutycycle $3
-	notetype $c, $a7
-	stereopanning $ff
+	vibrato 8, 2, 4
+	duty_cycle 3
+	note_type 12, 10, 7
+	stereo_panning TRUE, TRUE
 	octave 3
 	note B_, 1
 	octave 4
@@ -192,26 +193,26 @@
 	note G#, 2
 	note F#, 2
 	note C#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
 
 Music_ProfOaksPokemonTalk_Ch3:
-	vibrato $6, $38
-	notetype $c, $25
-	stereopanning $f0
-	note __, 8
+	vibrato 6, 3, 8
+	note_type 12, 2, 5
+	stereo_panning TRUE, FALSE
+	rest 8
 	octave 3
 	note F#, 1
 	note E_, 1
@@ -252,23 +253,23 @@
 	note F#, 2
 	note D#, 2
 	note E_, 2
-	note __, 4
+	rest 4
 	note E_, 1
 	note E_, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 4
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 1
 	note F#, 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 4
 	note F#, 2
@@ -290,18 +291,18 @@
 	note F#, 2
 	octave 3
 	note A#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A#, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
--- a/audio/music/rivalbattle.asm
+++ b/audio/music/rivalbattle.asm
@@ -1,62 +1,63 @@
 Music_RivalBattle:
-	musicheader 3, 1, Music_RivalBattle_Ch1
-	musicheader 1, 2, Music_RivalBattle_Ch2
-	musicheader 1, 3, Music_RivalBattle_Ch3
+	channel_count 3
+	channel 1, Music_RivalBattle_Ch1
+	channel 2, Music_RivalBattle_Ch2
+	channel 3, Music_RivalBattle_Ch3
 
 Music_RivalBattle_Ch1:
 	tempo 102
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $8, $15
-	notetype $c, $b2
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 8, 1, 5
+	note_type 12, 11, 2
 	octave 3
 	note F#, 2
 	note A#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note A#, 10
-	intensity $b2
+	volume_envelope 11, 2
 	note F#, 2
 	octave 4
 	note C#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note C#, 6
 	note E_, 4
 .loop1:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note A#, 6
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note C#, 6
-	intensity $b2
+	volume_envelope 11, 2
 	note D#, 4
-	loopchannel 3, .loop1
-	intensity $b2
+	sound_loop 3, .loop1
+	volume_envelope 11, 2
 	octave 2
 	note A#, 2
 	octave 3
 	note C#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note C#, 10
 .loop2:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 3
 	note G#, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 6
-	intensity $b2
+	volume_envelope 11, 2
 	octave 4
 	note C#, 4
-	loopchannel 3, .loop2
-	intensity $b2
+	sound_loop 3, .loop2
+	volume_envelope 11, 2
 	octave 3
 	note G#, 2
 	note B_, 4
-	intensity $4d
+	volume_envelope 4, -5
 	note B_, 10
 .mainloop:
-	intensity $b7
+	volume_envelope 11, 7
 	note A#, 6
 	note F#, 6
 	note D#, 4
@@ -64,21 +65,21 @@
 	note F#, 4
 	note G#, 2
 	note A#, 6
-	intensity $b2
+	volume_envelope 11, 2
 	note F_, 1
 	note D#, 1
 	note C#, 1
 	note D#, 1
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note G#, 1
 	note F#, 1
 	note F_, 1
 	note F#, 1
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 4
-	intensity $b6
+	volume_envelope 11, 6
 	note G#, 2
 	note A#, 2
 	note B_, 2
@@ -90,7 +91,7 @@
 	note B_, 2
 	octave 4
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note A#, 6
 	note F#, 6
@@ -106,7 +107,7 @@
 	note C#, 6
 	octave 3
 	note G#, 4
-	intensity $b5
+	volume_envelope 11, 5
 	note C#, 2
 	note F_, 2
 	note G#, 2
@@ -117,32 +118,32 @@
 	note G#, 2
 	note F_, 2
 	note G#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F#, 10
-	intensity $b4
+	volume_envelope 11, 4
 	octave 2
 	note B_, 2
 	octave 3
 	note D#, 2
 	note F#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 4
 	note D#, 4
 	note C#, 2
 	note D#, 6
-	intensity $a0
+	volume_envelope 10, 0
 	note F_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note F_, 8
-	intensity $a0
+	volume_envelope 10, 0
 	octave 2
 	note A#, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note A#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note F#, 10
-	intensity $b5
+	volume_envelope 11, 5
 	octave 2
 	note B_, 2
 	octave 3
@@ -156,17 +157,17 @@
 	note F#, 2
 	note F_, 2
 	note G#, 2
-	intensity $a0
+	volume_envelope 10, 0
 	note A#, 16
-	intensity $a7
+	volume_envelope 10, 7
 	note A#, 16
-	intensity $a0
+	volume_envelope 10, 0
 	note B_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note B_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 4
-	intensity $b5
+	volume_envelope 11, 5
 	octave 4
 	note E_, 2
 	note D#, 2
@@ -203,8 +204,8 @@
 	note A#, 2
 	octave 4
 	note D#, 2
-	loopchannel 2, .loop3
-	intensity $94
+	sound_loop 2, .loop3
+	volume_envelope 9, 4
 	octave 3
 	note D#, 8
 	octave 2
@@ -212,7 +213,7 @@
 	octave 3
 	note G_, 8
 	note F_, 8
-	intensity $96
+	volume_envelope 9, 6
 	octave 2
 	note G#, 8
 	note A#, 8
@@ -219,7 +220,7 @@
 	note B_, 8
 	octave 3
 	note C#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note D#, 8
 	octave 3
@@ -233,16 +234,16 @@
 	note B_, 8
 	octave 4
 	note C#, 8
-	intensity $a0
+	volume_envelope 10, 0
 	note D#, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note D#, 8
-	intensity $a0
+	volume_envelope 10, 0
 	octave 3
 	note G_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note G_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 8
 	note C#, 8
 	note D#, 4
@@ -251,7 +252,7 @@
 	note B_, 4
 	octave 3
 	note C#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	octave 2
 	note A#, 6
 	octave 3
@@ -283,13 +284,13 @@
 	note B_, 6
 	octave 3
 	note C#, 10
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_RivalBattle_Ch2:
-	dutycycle $3
-	vibrato $8, $36
-	tone $0001
-	notetype $c, $c2
+	duty_cycle 3
+	vibrato 8, 3, 6
+	pitch_offset 1
+	note_type 12, 12, 2
 	octave 4
 	note E_, 1
 	note D#, 1
@@ -327,94 +328,94 @@
 	note C_, 1
 	octave 2
 	note B_, 1
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note D#, 6
-	intensity $c7
+	volume_envelope 12, 7
 	octave 3
 	note F#, 6
-	intensity $c2
+	volume_envelope 12, 2
 	note G#, 4
 .loop1:
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 6
-	intensity $c7
+	volume_envelope 12, 7
 	note F#, 6
-	intensity $c2
+	volume_envelope 12, 2
 	note G#, 4
-	loopchannel 2, .loop1
-	intensity $c2
+	sound_loop 2, .loop1
+	volume_envelope 12, 2
 	note D#, 2
 	note F#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note F#, 8
-	intensity $a2
+	volume_envelope 10, 2
 	note B_, 1
 	octave 4
 	note C_, 1
 .loop2:
-	intensity $c2
+	volume_envelope 12, 2
 	note C#, 6
-	intensity $c7
+	volume_envelope 12, 7
 	note E_, 6
-	intensity $c2
+	volume_envelope 12, 2
 	note F#, 4
-	loopchannel 3, .loop2
-	intensity $c2
+	sound_loop 3, .loop2
+	volume_envelope 12, 2
 	note C#, 2
 	note E_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note E_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 6
 .mainloop:
-	callchannel .sub1
-	intensity $b0
+	sound_call .sub1
+	volume_envelope 11, 0
 	note G#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 8
-	callchannel .sub1
-	intensity $4e
+	sound_call .sub1
+	volume_envelope 4, -6
 	note G#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 8
-	intensity $b0
+	volume_envelope 11, 0
 	octave 3
 	note B_, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 6
-	intensity $b0
+	volume_envelope 11, 0
 	octave 4
 	note C#, 8
 	octave 3
 	note B_, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note A#, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note A#, 6
-	intensity $2f
+	volume_envelope 2, -7
 	note D#, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 6
-	intensity $b0
+	volume_envelope 11, 0
 	note B_, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 6
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C#, 8
 	octave 3
 	note B_, 8
-	intensity $b0
+	volume_envelope 11, 0
 	octave 4
 	note D#, 16
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 16
-	intensity $b0
+	volume_envelope 11, 0
 	note E_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 6
-	intensity $c7
+	volume_envelope 12, 7
 	note E_, 2
 	note G#, 2
 	note B_, 2
@@ -422,29 +423,29 @@
 	note C#, 8
 	octave 4
 	note B_, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note A#, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note A#, 6
-	intensity $b0
+	volume_envelope 11, 0
 	note A_, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note A_, 6
-	intensity $b0
+	volume_envelope 11, 0
 	note G#, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 6
-	intensity $b0
+	volume_envelope 11, 0
 	note G_, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note G_, 6
-	intensity $a4
+	volume_envelope 10, 4
 	octave 3
 	note G_, 8
 	note D#, 8
 	note A#, 8
 	note G#, 8
-	intensity $a6
+	volume_envelope 10, 6
 	octave 2
 	note B_, 8
 	octave 3
@@ -451,7 +452,7 @@
 	note C#, 8
 	note D#, 8
 	note F_, 8
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note G_, 8
 	note D#, 8
@@ -463,7 +464,7 @@
 	note C#, 8
 	note D#, 8
 	note F_, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note G_, 16
 	note D#, 16
 	octave 3
@@ -470,82 +471,82 @@
 	note B_, 8
 	note A#, 8
 	note G#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note F_, 8
 .loop3:
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note A#, 6
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C#, 6
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 4
-	loopchannel 3, .loop3
-	intensity $c2
+	sound_loop 3, .loop3
+	volume_envelope 12, 2
 	octave 3
 	note A#, 2
 	octave 4
 	note C#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note C#, 6
-	intensity $9a
+	volume_envelope 9, -2
 	note C#, 4
 .loop4:
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note G#, 6
-	intensity $c7
+	volume_envelope 12, 7
 	note B_, 6
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note C#, 4
-	loopchannel 3, .loop4
-	intensity $c2
+	sound_loop 3, .loop4
+	volume_envelope 12, 2
 	octave 3
 	note G#, 2
 	note B_, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note B_, 6
-	intensity $6a
+	volume_envelope 6, -2
 	octave 4
 	note D_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $c7
+	volume_envelope 12, 7
 	note D#, 10
-	intensity $c4
+	volume_envelope 12, 4
 	octave 3
 	note A#, 2
 	octave 4
 	note D#, 2
 	note F#, 2
-	intensity $c5
+	volume_envelope 12, 5
 	note F_, 4
 	note D#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note C#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note D#, 6
-	intensity $b0
+	volume_envelope 11, 0
 	note F_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
-	endchannel
+	sound_ret
 
 Music_RivalBattle_Ch3:
-	notetype $c, $19
+	note_type 12, 1, -1
 	octave 3
 	note F#, 2
 	note A#, 2
-	note __, 2
+	rest 2
 	note A#, 10
 	octave 3
 	note F#, 2
 	octave 4
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 6
 	octave 3
 	note C#, 2
@@ -558,7 +559,7 @@
 	note E_, 2
 	note D#, 2
 	note C#, 2
-	loopchannel 4, .loop1
+	sound_loop 4, .loop1
 .loop2:
 	octave 3
 	note C#, 2
@@ -571,7 +572,7 @@
 	note C#, 2
 	octave 2
 	note B_, 2
-	loopchannel 3, .loop2
+	sound_loop 3, .loop2
 	octave 3
 	note C#, 2
 	note E_, 2
@@ -583,7 +584,7 @@
 	note C#, 2
 	note D_, 2
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	octave 2
 	note A#, 2
 	octave 4
@@ -600,7 +601,7 @@
 	note A#, 2
 	octave 3
 	note G#, 2
-	callchannel .sub2
+	sound_call .sub2
 	note C#, 2
 	note G#, 2
 	octave 4
@@ -611,7 +612,7 @@
 	note C_, 2
 	octave 2
 	note B_, 2
-	callchannel .sub1
+	sound_call .sub1
 	octave 2
 	note A#, 2
 	octave 3
@@ -628,12 +629,12 @@
 	note A#, 2
 	octave 3
 	note F_, 2
-	callchannel .sub2
+	sound_call .sub2
 .loop3:
 	note C#, 2
 	note G#, 2
-	loopchannel 4, .loop3
-	callchannel .sub3
+	sound_loop 4, .loop3
+	sound_call .sub3
 	note G#, 2
 	note F#, 2
 .loop4:
@@ -641,7 +642,7 @@
 	note A#, 2
 	octave 3
 	note F_, 2
-	loopchannel 4, .loop4
+	sound_loop 4, .loop4
 	octave 2
 	note A#, 2
 	octave 3
@@ -656,17 +657,17 @@
 	note F#, 2
 	note F_, 2
 	note D#, 2
-	callchannel .sub3
+	sound_call .sub3
 	octave 2
 	note B_, 2
 	octave 3
 	note D_, 2
-	callchannel .sub4
+	sound_call .sub4
 	octave 3
 	note D#, 2
 	octave 4
 	note D#, 2
-	callchannel .sub4
+	sound_call .sub4
 	octave 3
 	note D#, 2
 	note A#, 2
@@ -697,31 +698,31 @@
 .loop5:
 	note D#, 2
 	note A#, 2
-	loopchannel 4, .loop5
+	sound_loop 4, .loop5
 .loop6:
 	note D#, 2
 	note A_, 2
-	loopchannel 4, .loop6
+	sound_loop 4, .loop6
 .loop7:
 	note D#, 2
 	note G#, 2
-	loopchannel 4, .loop7
+	sound_loop 4, .loop7
 .loop8:
 	note D#, 2
 	note G_, 2
-	loopchannel 12, .loop8
+	sound_loop 12, .loop8
 .loop9:
 	octave 2
 	note B_, 2
 	octave 3
 	note D#, 2
-	loopchannel 4, .loop9
+	sound_loop 4, .loop9
 .loop10:
 	octave 2
 	note B_, 2
 	octave 3
 	note F#, 2
-	loopchannel 4, .loop10
+	sound_loop 4, .loop10
 	note D#, 2
 	note G_, 2
 	note A#, 2
@@ -780,7 +781,7 @@
 	note A#, 2
 	octave 3
 	note D#, 2
-	loopchannel 7, .loop11
+	sound_loop 7, .loop11
 	note E_, 2
 	note D#, 2
 .loop12:
@@ -788,7 +789,7 @@
 	note A#, 2
 	octave 3
 	note D#, 2
-	loopchannel 6, .loop12
+	sound_loop 6, .loop12
 	octave 2
 	note A#, 2
 	octave 3
@@ -800,7 +801,7 @@
 	note G#, 2
 	octave 3
 	note C#, 2
-	loopchannel 7, .loop13
+	sound_loop 7, .loop13
 	note D_, 2
 	note C#, 2
 .loop14:
@@ -808,7 +809,7 @@
 	note G#, 2
 	octave 3
 	note C#, 2
-	loopchannel 4, .loop14
+	sound_loop 4, .loop14
 	octave 2
 	note B_, 2
 	note G#, 2
@@ -818,7 +819,7 @@
 	note E_, 2
 	note D#, 2
 	note D_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 .sub1loop1:
@@ -826,8 +827,8 @@
 	note A#, 2
 	octave 3
 	note D#, 2
-	loopchannel 4, .sub1loop1
-	endchannel
+	sound_loop 4, .sub1loop1
+	sound_ret
 
 .sub2:
 	note C#, 2
@@ -841,7 +842,7 @@
 	octave 3
 	note C#, 2
 	note G#, 2
-	endchannel
+	sound_ret
 
 .sub3:
 .sub3loop1:
@@ -849,8 +850,8 @@
 	note B_, 2
 	octave 3
 	note F#, 2
-	loopchannel 7, .sub3loop1
-	endchannel
+	sound_loop 7, .sub3loop1
+	sound_ret
 
 .sub4:
 .sub4loop1:
@@ -859,5 +860,5 @@
 	note A#, 2
 	octave 4
 	note D#, 2
-	loopchannel 2, .sub4loop1
-	endchannel
+	sound_loop 2, .sub4loop1
+	sound_ret
--- a/audio/music/rocketbattle.asm
+++ b/audio/music/rocketbattle.asm
@@ -1,15 +1,16 @@
 Music_RocketBattle:
-	musicheader 3, 1, Music_RocketBattle_Ch1
-	musicheader 1, 2, Music_RocketBattle_Ch2
-	musicheader 1, 3, Music_RocketBattle_Ch3
+	channel_count 3
+	channel 1, Music_RocketBattle_Ch1
+	channel 2, Music_RocketBattle_Ch2
+	channel 3, Music_RocketBattle_Ch3
 
 Music_RocketBattle_Ch1:
 	tempo 101
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $10, $15
-	notetype $c, $b2
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 16, 1, 5
+	note_type 12, 11, 2
 	octave 4
 	note E_, 1
 	note D#, 1
@@ -48,35 +49,35 @@
 	octave 2
 	note B_, 1
 .loop1:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 3
 	note C_, 6
 	note C_, 4
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 4
-	loopchannel 3, .loop1
-	intensity $b2
+	sound_loop 3, .loop1
+	volume_envelope 11, 2
 	note C_, 6
 	note C_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 4
 .loop2:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 4
 	note E_, 6
 	note E_, 4
 	note G_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 4
-	loopchannel 3, .loop2
-	intensity $b2
+	sound_loop 3, .loop2
+	volume_envelope 11, 2
 	note E_, 6
 	note E_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 2
 	note D#, 4
-	intensity $b3
+	volume_envelope 11, 3
 	octave 4
 	note C_, 2
 	octave 3
@@ -100,9 +101,9 @@
 	note F_, 2
 	note E_, 2
 	note F_, 2
-	intensity $b5
+	volume_envelope 11, 5
 	note G_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note G_, 2
 	note F_, 2
 	note D#, 2
@@ -109,9 +110,9 @@
 	note D_, 2
 	note C#, 2
 	note D_, 2
-	intensity $b5
+	volume_envelope 11, 5
 	note D#, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note D#, 2
 	note D_, 2
 	note F_, 2
@@ -145,9 +146,9 @@
 	note F_, 2
 	note E_, 2
 	note F_, 2
-	intensity $b5
+	volume_envelope 11, 5
 	note G_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note G_, 2
 	note F_, 2
 	octave 4
@@ -155,24 +156,24 @@
 	note D_, 2
 	note C_, 2
 	note D_, 2
-	intensity $b5
+	volume_envelope 11, 5
 	note F_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	octave 3
 	note F_, 2
 	note G_, 2
 	note G#, 4
-	intensity $b5
+	volume_envelope 11, 5
 	note D_, 4
 	note C_, 4
 	note D_, 4
 	note E_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note F_, 2
 	note A_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note A_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	note A_, 2
 	note G_, 2
 	note F_, 4
@@ -188,7 +189,7 @@
 	note G_, 2
 	note A_, 2
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note E_, 6
 	note D_, 4
@@ -202,11 +203,11 @@
 	note E_, 6
 	note D_, 6
 	note D#, 4
-	intensity $a0
+	volume_envelope 10, 0
 	note E_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note E_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	octave 2
 	note A_, 8
 	note G_, 8
@@ -232,7 +233,7 @@
 	octave 3
 	note D_, 6
 	note C_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	octave 2
 	note A#, 2
 	octave 3
@@ -261,51 +262,51 @@
 	octave 3
 	note A#, 2
 	note G_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note E_, 6
 	note E_, 6
 	note E_, 4
 	note E_, 6
 	note E_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note G_, 2
 	note F_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note E_, 6
 	note E_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note G_, 2
 	note F_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note E_, 6
 	octave 4
 	note D_, 1
 	note D#, 1
-	intensity $a0
+	volume_envelope 10, 0
 	note E_, 8
-	intensity $b2
+	volume_envelope 11, 2
 	octave 3
 	note F_, 6
 	note F_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note A#, 2
 	note G_, 4
 .loop3:
-	intensity $b2
+	volume_envelope 11, 2
 	note F_, 6
 	note F_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note A_, 2
 	note G_, 4
-	loopchannel 2, .loop3
-	intensity $b2
+	sound_loop 2, .loop3
+	volume_envelope 11, 2
 	note F_, 6
 	octave 4
 	note D_, 1
 	note E_, 1
-	intensity $a0
+	volume_envelope 10, 0
 	note F_, 8
-	intensity $b3
+	volume_envelope 11, 3
 	note D_, 2
 	octave 3
 	note A_, 2
@@ -312,10 +313,10 @@
 	note E_, 2
 	note A_, 4
 	note A_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note D_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note D#, 2
 	octave 3
 	note A#, 2
@@ -322,10 +323,10 @@
 	note G_, 2
 	note A#, 4
 	note A#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note D_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note E_, 2
 	note C_, 2
 	octave 3
@@ -333,16 +334,16 @@
 	octave 4
 	note C_, 4
 	note C_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 4
-	intensity $a0
+	volume_envelope 10, 0
 	note E_, 4
-	intensity $a7
+	volume_envelope 10, 7
 	note E_, 6
-	intensity $a0
+	volume_envelope 10, 0
 	octave 3
 	note G#, 6
-	intensity $b3
+	volume_envelope 11, 3
 	note C_, 2
 	note E_, 2
 	note E_, 2
@@ -370,9 +371,9 @@
 	note A#, 2
 	octave 3
 	note C_, 2
-	intensity $b5
+	volume_envelope 11, 5
 	note D_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note D_, 2
 	note C_, 2
 	octave 2
@@ -381,19 +382,19 @@
 	note D_, 2
 	note C#, 2
 	note D_, 2
-	intensity $b5
+	volume_envelope 11, 5
 	note D#, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note D#, 2
 	note D_, 2
 	note F_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_RocketBattle_Ch2:
-	dutycycle $3
-	vibrato $8, $36
-	tone $0001
-	notetype $c, $b2
+	duty_cycle 3
+	vibrato 8, 3, 6
+	pitch_offset 1
+	note_type 12, 11, 2
 	octave 4
 	note A_, 4
 	note A#, 4
@@ -400,36 +401,36 @@
 	note B_, 4
 	octave 5
 	note C_, 1
-	intensity $82
+	volume_envelope 8, 2
 	octave 4
 	note G#, 1
 	note A_, 1
 	note G#, 1
-	intensity $c2
+	volume_envelope 12, 2
 	octave 5
 	note C#, 1
-	intensity $92
+	volume_envelope 9, 2
 	octave 4
 	note G#, 1
 	note A_, 1
 	note G#, 1
-	intensity $c2
+	volume_envelope 12, 2
 	octave 5
 	note D_, 1
-	intensity $a2
+	volume_envelope 10, 2
 	octave 4
 	note G#, 1
 	note A_, 1
 	note G#, 1
-	intensity $c2
+	volume_envelope 12, 2
 	octave 5
 	note D#, 1
-	intensity $b2
+	volume_envelope 11, 2
 	octave 4
 	note G#, 1
 	note A_, 1
 	note G#, 1
-	intensity $c2
+	volume_envelope 12, 2
 	octave 5
 	note E_, 1
 	octave 4
@@ -437,59 +438,59 @@
 	note A_, 1
 	note G#, 1
 .loop1:
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note A_, 6
 	note A_, 4
 	octave 4
 	note C_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 3
 	note A#, 4
-	loopchannel 3, .loop1
-	intensity $c2
+	sound_loop 3, .loop1
+	volume_envelope 12, 2
 	note A_, 6
 	note A_, 6
-	intensity $4a
+	volume_envelope 4, -2
 	note G#, 4
 .loop2:
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note A_, 6
 	note A_, 4
 	octave 5
 	note C_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note A#, 4
-	loopchannel 3, .loop2
-	intensity $c2
+	sound_loop 3, .loop2
+	volume_envelope 12, 2
 	note A_, 6
 	note A_, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note G_, 2
 	note G#, 4
-	callchannel .sub1
-	intensity $b0
+	sound_call .sub1
+	volume_envelope 11, 0
 	note F_, 16
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 16
 .mainloop:
-	callchannel .sub1
-	intensity $b0
+	sound_call .sub1
+	volume_envelope 11, 0
 	note F_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note A#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note A#, 8
-	intensity $c4
+	volume_envelope 12, 4
 	octave 3
 	note A_, 2
 	note G_, 2
 	note A_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C_, 4
 	octave 3
@@ -496,20 +497,20 @@
 	note A#, 2
 	note A_, 2
 	note G_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	note A_, 2
 	octave 4
 	note C_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note C_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 4
-	intensity $c4
+	volume_envelope 12, 4
 	octave 3
 	note A#, 2
 	note A_, 2
 	note A#, 2
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note D_, 4
 	note C_, 2
@@ -516,17 +517,17 @@
 	octave 3
 	note A#, 2
 	note A_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	note A#, 2
 	octave 4
 	note D_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note D_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 6
-	intensity $4f
+	volume_envelope 4, -7
 	note A_, 6
-	intensity $a0
+	volume_envelope 10, 0
 	note G_, 6
 	note F_, 4
 	note E_, 6
@@ -536,47 +537,47 @@
 	note A#, 6
 	note G#, 4
 	note A_, 6
-	intensity $a7
+	volume_envelope 10, 7
 	note A_, 10
-	intensity $3f
+	volume_envelope 3, -7
 	octave 3
 	note D_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 8
-	intensity $3f
+	volume_envelope 3, -7
 	note C#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note C#, 8
-	intensity $3f
+	volume_envelope 3, -7
 	note D_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 8
-	intensity $3f
+	volume_envelope 3, -7
 	note E_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 8
-	intensity $4e
+	volume_envelope 4, -6
 	note F_, 8
-	intensity $a0
+	volume_envelope 10, 0
 	note F_, 8
 	note E_, 16
 	note F_, 16
 	note A_, 16
-	intensity $3f
+	volume_envelope 3, -7
 	note F_, 16
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note D_, 8
 	note C#, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note E_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note E_, 8
-	intensity $3c
+	volume_envelope 3, -4
 	note A_, 6
-	intensity $c7
+	volume_envelope 12, 7
 	note A_, 10
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note A_, 6
 	note A_, 6
@@ -583,45 +584,45 @@
 	note A_, 4
 	note A_, 6
 	note A_, 4
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C_, 2
 	octave 3
 	note A#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note A_, 6
 	note A_, 4
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C_, 2
 	octave 3
 	note A#, 4
-	intensity $c2
+	volume_envelope 12, 2
 	note A_, 6
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note G_, 1
 	note G#, 1
 	note A_, 8
 .loop3:
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note A#, 6
 	note A#, 4
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note D_, 2
 	note C_, 4
-	loopchannel 3, .loop3
-	intensity $c2
+	sound_loop 3, .loop3
+	volume_envelope 12, 2
 	octave 3
 	note A#, 6
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note G_, 1
 	note A_, 1
 	note A#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note A_, 6
 	note G_, 6
 	note A_, 4
@@ -632,13 +633,13 @@
 	note A#, 4
 	note A_, 6
 	note G_, 6
-	intensity $c5
+	volume_envelope 12, 5
 	note A_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note A_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note A_, 8
-	intensity $c6
+	volume_envelope 12, 6
 	octave 3
 	note A_, 6
 	note G#, 6
@@ -646,18 +647,18 @@
 	note A_, 6
 	note G#, 6
 	note E_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note F_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
-	intensity $3d
+	volume_envelope 3, -5
 	note A#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 8
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $c6
+	volume_envelope 12, 6
 	octave 4
 	note A_, 6
 	note G#, 6
@@ -665,10 +666,10 @@
 	note A_, 6
 	note G#, 6
 	note E_, 4
-	endchannel
+	sound_ret
 
 Music_RocketBattle_Ch3:
-	notetype $c, $19
+	note_type 12, 1, -1
 	octave 3
 	note A_, 2
 	octave 4
@@ -701,8 +702,8 @@
 	note B_, 2
 	note A#, 2
 .loop1:
-	callchannel .sub1
-	loopchannel 3, .loop1
+	sound_call .sub1
+	sound_loop 3, .loop1
 	octave 2
 	note A_, 2
 	octave 3
@@ -716,8 +717,8 @@
 	note E_, 2
 	note D_, 2
 .loop2:
-	callchannel .sub1
-	loopchannel 3, .loop2
+	sound_call .sub1
+	sound_loop 3, .loop2
 	octave 2
 	note A_, 2
 	octave 3
@@ -731,14 +732,14 @@
 	note G_, 2
 	note A_, 2
 	note A#, 2
-	callchannel .sub2
-	callchannel .sub3
+	sound_call .sub2
+	sound_call .sub3
 	octave 3
 	note F_, 2
-	callchannel .sub4
+	sound_call .sub4
 .mainloop:
-	callchannel .sub2
-	callchannel .sub3
+	sound_call .sub2
+	sound_call .sub3
 	octave 3
 	note A#, 2
 	octave 2
@@ -755,7 +756,7 @@
 	note F_, 2
 	note E_, 2
 	note D_, 2
-	callchannel .sub5
+	sound_call .sub5
 	octave 2
 	note A_, 2
 	octave 3
@@ -775,7 +776,7 @@
 	note A#, 2
 	octave 3
 	note F_, 2
-	loopchannel 5, .loop3
+	sound_loop 5, .loop3
 	note A#, 2
 	octave 2
 	note A#, 2
@@ -786,7 +787,7 @@
 	note A#, 2
 	octave 3
 	note A#, 2
-	callchannel .sub5
+	sound_call .sub5
 	octave 2
 	note A_, 2
 	octave 3
@@ -801,8 +802,8 @@
 	note F_, 2
 	note E_, 2
 	note D_, 2
-	callchannel .sub5
-	callchannel .sub5
+	sound_call .sub5
+	sound_call .sub5
 .loop4:
 	octave 2
 	note A_, 2
@@ -816,7 +817,7 @@
 	note D_, 2
 	note G_, 2
 	note F_, 2
-	loopchannel 7, .loop4
+	sound_loop 7, .loop4
 	octave 2
 	note A_, 2
 	octave 3
@@ -834,7 +835,7 @@
 	note A#, 2
 	octave 3
 	note F_, 2
-	loopchannel 4, .loop5
+	sound_loop 4, .loop5
 	octave 2
 	note A#, 2
 	octave 3
@@ -850,7 +851,7 @@
 	note A_, 2
 	octave 3
 	note E_, 2
-	loopchannel 13, .loop6
+	sound_loop 13, .loop6
 	octave 2
 	note A_, 2
 	octave 3
@@ -864,7 +865,7 @@
 	note A_, 2
 	octave 3
 	note E_, 2
-	loopchannel 4, .loop7
+	sound_loop 4, .loop7
 	octave 2
 	note A_, 2
 	octave 4
@@ -880,7 +881,7 @@
 	note A#, 2
 	octave 3
 	note F_, 2
-	loopchannel 7, .loop8
+	sound_loop 7, .loop8
 	note E_, 2
 	note F_, 2
 .loop9:
@@ -888,7 +889,7 @@
 	note A#, 2
 	octave 3
 	note F_, 2
-	loopchannel 5, .loop9
+	sound_loop 5, .loop9
 	octave 3
 	note A#, 2
 	octave 4
@@ -897,13 +898,13 @@
 	octave 3
 	note A#, 2
 	note G_, 2
-	callchannel .sub6
+	sound_call .sub6
 	octave 3
 	note E_, 2
-	callchannel .sub3
+	sound_call .sub3
 	octave 3
 	note F_, 2
-	callchannel .sub6
+	sound_call .sub6
 	octave 3
 	note A_, 2
 	octave 2
@@ -922,12 +923,12 @@
 	note A_, 2
 	octave 3
 	note E_, 2
-	callchannel .sub2
-	callchannel .sub3
+	sound_call .sub2
+	sound_call .sub3
 	octave 3
 	note F_, 2
-	callchannel .sub4
-	loopchannel 0, .mainloop
+	sound_call .sub4
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
@@ -942,7 +943,7 @@
 	note E_, 2
 	note G_, 2
 	note F_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 2
@@ -973,7 +974,7 @@
 	note E_, 2
 	note D#, 2
 	note D_, 2
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 2
@@ -988,7 +989,7 @@
 	note A#, 2
 	octave 2
 	note A#, 2
-	endchannel
+	sound_ret
 
 .sub4:
 	octave 2
@@ -1003,7 +1004,7 @@
 	note A#, 2
 	octave 3
 	note F_, 2
-	endchannel
+	sound_ret
 
 .sub5:
 .sub5loop1:
@@ -1011,8 +1012,8 @@
 	note A_, 2
 	octave 3
 	note E_, 2
-	loopchannel 4, .sub5loop1
-	endchannel
+	sound_loop 4, .sub5loop1
+	sound_ret
 
 .sub6:
 	octave 2
@@ -1027,4 +1028,4 @@
 	note A_, 2
 	octave 2
 	note A_, 2
-	endchannel
+	sound_ret
--- a/audio/music/rockethideout.asm
+++ b/audio/music/rockethideout.asm
@@ -1,33 +1,34 @@
 Music_RocketHideout:
-	musicheader 4, 1, Music_RocketHideout_Ch1
-	musicheader 1, 2, Music_RocketHideout_Ch2
-	musicheader 1, 3, Music_RocketHideout_Ch3
-	musicheader 1, 4, Music_RocketHideout_Ch4
+	channel_count 4
+	channel 1, Music_RocketHideout_Ch1
+	channel 2, Music_RocketHideout_Ch2
+	channel 3, Music_RocketHideout_Ch3
+	channel 4, Music_RocketHideout_Ch4
 
 Music_RocketHideout_Ch1:
 	tempo 144
-	volume $77
-	dutycycle $3
-	tone $0004
-	vibrato $10, $44
-	notetype $c, $b3
-	stereopanning $f0
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 4
+	vibrato 16, 4, 4
+	note_type 12, 11, 3
+	stereo_panning TRUE, FALSE
 .mainloop:
-.loop1:
-	note __, 16
-	loopchannel 4, .loop1
+.loop1
+	rest 16
+	sound_loop 4, .loop1
 .loop2:
 	octave 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note A#, 4
 	note A_, 2
-	note __, 6
+	rest 6
 	note D#, 2
 	note A#, 4
 	note A_, 2
-	note __, 8
-	loopchannel 2, .loop2
+	rest 8
+	sound_loop 2, .loop2
 	octave 3
 	note A#, 2
 	note A_, 2
@@ -107,44 +108,44 @@
 	note C#, 2
 	note F_, 2
 	note G_, 2
-	note __, 16
-	intensity $b7
+	rest 16
+	volume_envelope 11, 7
 	octave 2
 	note G#, 16
-	note __, 16
+	rest 16
 	note A_, 16
-	intensity $b3
+	volume_envelope 11, 3
 .loop3:
-	note __, 16
-	loopchannel 4, .loop3
-	loopchannel 0, .mainloop
+	rest 16
+	sound_loop 4, .loop3
+	sound_loop 0, .mainloop
 
 Music_RocketHideout_Ch2:
-	dutycycle $3
-	tone $0002
-	vibrato $0, $f0
-	notetype $c, $c4
-	stereopanning $f
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 0, 15, 0
+	note_type 12, 12, 4
+	stereo_panning FALSE, TRUE
 .mainloop:
 	octave 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note A#, 4
 	note A_, 2
-	note __, 6
+	rest 6
 	note D#, 2
 	note A#, 4
 	note A_, 2
-	note __, 8
+	rest 8
 	note D#, 2
-	note __, 2
+	rest 2
 	note A#, 4
 	note A_, 2
-	note __, 6
+	rest 6
 	note D#, 2
 	note A#, 4
 	note A_, 2
-	note __, 8
+	rest 8
 	octave 3
 	note D#, 12
 	note A#, 2
@@ -182,128 +183,128 @@
 	note C_, 8
 	octave 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note G#, 4
 	note G_, 2
-	note __, 6
-	intensity $c7
+	rest 6
+	volume_envelope 12, 7
 	octave 3
 	note C#, 16
-	intensity $c4
+	volume_envelope 12, 4
 	octave 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note G#, 4
 	note G_, 2
-	note __, 6
-	intensity $c7
+	rest 6
+	volume_envelope 12, 7
 	octave 3
 	note C#, 16
-	intensity $c4
+	volume_envelope 12, 4
 	octave 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note G#, 4
 	note G_, 2
-	note __, 6
+	rest 6
 	note C#, 2
 	note G#, 4
 	note G_, 2
-	note __, 8
+	rest 8
 	note C#, 2
-	note __, 2
+	rest 2
 	note G#, 4
 	note G_, 2
-	note __, 6
+	rest 6
 	note C#, 2
 	note G#, 4
 	note G_, 2
-	note __, 8
-	loopchannel 0, .mainloop
+	rest 8
+	sound_loop 0, .mainloop
 
 Music_RocketHideout_Ch3:
-	notetype $c, $19
+	note_type 12, 1, -1
 .mainloop:
 .loop1:
 	octave 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note A#, 4
 	note A_, 2
-	note __, 6
+	rest 6
 	note D#, 2
 	note A#, 4
 	note A_, 2
-	note __, 8
-	loopchannel 6, .loop1
+	rest 8
+	sound_loop 6, .loop1
 .loop2:
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 4
 	octave 2
 	note B_, 2
-	note __, 6
+	rest 6
 	note F_, 2
 	octave 3
 	note C_, 4
 	octave 2
 	note B_, 2
-	note __, 8
-	loopchannel 2, .loop2
+	rest 8
+	sound_loop 2, .loop2
 .loop3:
 	note C#, 2
-	note __, 2
+	rest 2
 	note G#, 4
 	note G_, 2
-	note __, 6
+	rest 6
 	octave 3
 	note C#, 16
-	loopchannel 2, .loop3
+	sound_loop 2, .loop3
 .loop4:
 	octave 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note G#, 4
 	note G_, 2
-	note __, 6
+	rest 6
 	note C#, 2
 	note G#, 4
 	note G_, 2
-	note __, 8
-	loopchannel 2, .loop4
-	loopchannel 0, .mainloop
+	rest 8
+	sound_loop 2, .loop4
+	sound_loop 0, .mainloop
 
 Music_RocketHideout_Ch4:
-	togglenoise $0
-	notetype $c
-	stereopanning $f
-	note __, 16
-	note __, 16
-	note D_, 1
-	note D_, 1
-	note D#, 1
-	note D#, 1
-	callchannel .sub1
+	toggle_noise 0
+	drum_speed 12
+	stereo_panning FALSE, TRUE
+	rest 16
+	rest 16
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	sound_call .sub1
 .mainloop:
-	callchannel .sub1
-	note E_, 4
-	callchannel .sub1
-	note F_, 4
-	callchannel .sub1
-	note A#, 4
-	callchannel .sub1
-	note F#, 4
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	drum_note 5, 4
+	sound_call .sub1
+	drum_note 6, 4
+	sound_call .sub1
+	drum_note 11, 4
+	sound_call .sub1
+	drum_note 7, 4
+	sound_loop 0, .mainloop
 
 .sub1:
-	stereopanning $f0
-	note D#, 1
-	note D#, 1
-	stereopanning $f
-	note A_, 4
-	note D#, 1
-	note D#, 1
-	stereopanning $f0
-	note A_, 4
-	endchannel
+	stereo_panning TRUE, FALSE
+	drum_note 4, 1
+	drum_note 4, 1
+	stereo_panning FALSE, TRUE
+	drum_note 10, 4
+	drum_note 4, 1
+	drum_note 4, 1
+	stereo_panning TRUE, FALSE
+	drum_note 10, 4
+	sound_ret
--- a/audio/music/rockettheme.asm
+++ b/audio/music/rockettheme.asm
@@ -1,48 +1,49 @@
 Music_RocketTheme:
-	musicheader 4, 1, Music_RocketTheme_Ch1
-	musicheader 1, 2, Music_RocketTheme_Ch2
-	musicheader 1, 3, Music_RocketTheme_Ch3
-	musicheader 1, 4, Music_RocketTheme_Ch4
+	channel_count 4
+	channel 1, Music_RocketTheme_Ch1
+	channel 2, Music_RocketTheme_Ch2
+	channel 3, Music_RocketTheme_Ch3
+	channel 4, Music_RocketTheme_Ch4
 
 Music_RocketTheme_Ch1:
 	tempo 128
-	volume $77
-	dutycycle $3
-	stereopanning $f
-	vibrato $5, $64
-	notetype $c, $a8
+	volume 7, 7
+	duty_cycle 3
+	stereo_panning FALSE, TRUE
+	vibrato 5, 6, 4
+	note_type 12, 10, 8
 	octave 4
 	note C_, 1
 	note D_, 1
 .mainloop:
-	dutycycle $3
-	notetype $c, $a8
-	callchannel Music_LookRocket_Ch1.sub1
-	dutycycle $1
-	intensity $a8
-	callchannel Music_LookRocket_Ch1.sub2
-	callchannel Music_LookRocket_Ch2.sub5
+	duty_cycle 3
+	note_type 12, 10, 8
+	sound_call Music_LookRocket_Ch1.sub1
+	duty_cycle 1
+	volume_envelope 10, 8
+	sound_call Music_LookRocket_Ch1.sub2
+	sound_call Music_LookRocket_Ch2.sub5
 	octave 4
 	note F#, 1
-	note __, 1
-	intensity $53
-	callchannel Music_LookRocket_Ch1.sub3
-	intensity $c3
-	callchannel Music_LookRocket_Ch1.sub3
-	intensity $e3
-	callchannel Music_LookRocket_Ch1.sub3
-	note __, 16
-	dutycycle $0
-	notetype $6, $b3
-	vibrato $6, $64
-	callchannel .sub1
+	rest 1
+	volume_envelope 5, 3
+	sound_call Music_LookRocket_Ch1.sub3
+	volume_envelope 12, 3
+	sound_call Music_LookRocket_Ch1.sub3
+	volume_envelope 14, 3
+	sound_call Music_LookRocket_Ch1.sub3
+	rest 16
+	duty_cycle 0
+	note_type 6, 11, 3
+	vibrato 6, 6, 4
+	sound_call .sub1
 	octave 4
 	note F_, 1
 	note F#, 3
 	note F_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	note D_, 2
 	note D#, 2
@@ -53,21 +54,21 @@
 	note A#, 2
 	octave 4
 	note C_, 2
-	note __, 4
+	rest 4
 	note D_, 4
-	note __, 4
+	rest 4
 	note D#, 4
-	note __, 4
+	rest 4
 	note D#, 2
 	note F#, 2
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note F#, 1
 	note G_, 3
 	note F_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	note D_, 2
 	note D#, 2
@@ -78,9 +79,9 @@
 	note A#, 2
 	octave 3
 	note C_, 2
-	note __, 4
+	rest 4
 	note D_, 4
-	note __, 4
+	rest 4
 	note D#, 4
 	note F_, 2
 	note E_, 2
@@ -87,124 +88,124 @@
 	note D#, 2
 	note D_, 2
 .loop1:
-	note __, 4
+	rest 4
 	note F_, 2
-	note __, 14
+	rest 14
 	note F#, 2
-	note __, 10
-	loopchannel 3, .loop1
-	note __, 4
+	rest 10
+	sound_loop 3, .loop1
+	rest 4
 	note F_, 2
-	note __, 14
+	rest 14
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note D#, 2
 	note C_, 2
 .loop2:
 	note F#, 2
 	note A_, 2
-	loopchannel 4, .loop2
+	sound_loop 4, .loop2
 .loop3:
 	note G_, 2
 	note A#, 2
-	loopchannel 4, .loop3
+	sound_loop 4, .loop3
 .loop4:
 	note G#, 2
 	note B_, 2
-	loopchannel 4, .loop4
+	sound_loop 4, .loop4
 .loop5:
 	octave 3
 	note A_, 2
 	octave 4
 	note C_, 2
-	loopchannel 4, .loop5
-	notetype $c, $b3
-	note __, 16
-	note __, 12
+	sound_loop 4, .loop5
+	note_type 12, 11, 3
+	rest 16
+	rest 12
 	note F_, 2
 	note C_, 1
 	note D_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	note __, 7
+	rest 7
 	note B_, 1
 	octave 4
 	note C_, 2
-	note __, 6
+	rest 6
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 2
-	note __, 6
+	rest 6
 	octave 4
 	note D#, 12
 	note D_, 8
 	octave 3
 	note A#, 2
-	note __, 6
+	rest 6
 	note G_, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note A#, 2
-	note __, 10
-	endchannel
+	rest 10
+	sound_ret
 
 Music_RocketTheme_Ch2:
-	stereopanning $ff
-	vibrato $4, $64
-	dutycycle $3
-	notetype $c, $b7
+	stereo_panning TRUE, TRUE
+	vibrato 4, 6, 4
+	duty_cycle 3
+	note_type 12, 11, 7
 	octave 5
 	note C_, 1
 	note D_, 1
 .mainloop:
-	notetype $c, $b7
-	callchannel Music_LookRocket_Ch2.sub1
-	intensity $b7
-	callchannel Music_LookRocket_Ch2.sub5
+	note_type 12, 11, 7
+	sound_call Music_LookRocket_Ch2.sub1
+	volume_envelope 11, 7
+	sound_call Music_LookRocket_Ch2.sub5
 	octave 5
 	note C_, 1
-	note __, 1
-	callchannel Music_LookRocket_Ch2.sub2
-	intensity $53
-	callchannel Music_LookRocket_Ch2.sub3
-	intensity $c3
-	callchannel Music_LookRocket_Ch2.sub3
-	intensity $e3
-	callchannel Music_LookRocket_Ch2.sub3
-	callchannel Music_LookRocket_Ch2.sub4
-	vibrato $6, $64
-	callchannel .sub1
+	rest 1
+	sound_call Music_LookRocket_Ch2.sub2
+	volume_envelope 5, 3
+	sound_call Music_LookRocket_Ch2.sub3
+	volume_envelope 12, 3
+	sound_call Music_LookRocket_Ch2.sub3
+	volume_envelope 14, 3
+	sound_call Music_LookRocket_Ch2.sub3
+	sound_call Music_LookRocket_Ch2.sub4
+	vibrato 6, 6, 4
+	sound_call .sub1
 	octave 4
 	note A_, 1
-	vibrato $0, $0
-	intensity $b8
+	vibrato 0, 0, 0
+	volume_envelope 11, 8
 	note A#, 14
-	vibrato $5, $22
-	intensity $b7
+	vibrato 5, 2, 2
+	volume_envelope 11, 7
 	note A#, 5
-	vibrato $6, $64
-	notetype $c, $b7
+	vibrato 6, 6, 4
+	note_type 12, 11, 7
 	note A#, 12
-	note __, 2
+	rest 2
 	octave 5
 	note C_, 1
 	note D_, 1
-	callchannel .sub1
+	sound_call .sub1
 	note B_, 1
-	vibrato $0, $0
-	intensity $b8
+	vibrato 0, 0, 0
+	volume_envelope 11, 8
 	octave 4
 	note C_, 14
-	vibrato $5, $22
-	intensity $b7
+	vibrato 5, 2, 2
+	volume_envelope 11, 7
 	note C_, 5
-	vibrato $6, $64
-	notetype $c, $b7
+	vibrato 6, 6, 4
+	note_type 12, 11, 7
 	note C_, 12
 	octave 3
 	note A#, 1
@@ -211,8 +212,8 @@
 	note A_, 1
 	note G#, 1
 	note G_, 1
-	notetype $6, $b7
-	callchannel .sub2
+	note_type 6, 11, 7
+	sound_call .sub2
 	octave 4
 	note D_, 1
 	note D#, 9
@@ -220,22 +221,22 @@
 	note C#, 1
 	note C_, 12
 	note F_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
-	callchannel .sub2
+	rest 2
+	sound_call .sub2
 	octave 3
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note D#, 8
-	note __, 4
+	rest 4
 	note D_, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	octave 3
 	note G_, 2
@@ -287,35 +288,35 @@
 	octave 5
 	note C_, 2
 	note D_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	notetype $6, $b7
-	note __, 7
+	note_type 6, 11, 7
+	rest 7
 	octave 4
 	note D_, 1
 	note D#, 2
-	note __, 6
+	rest 6
 	note D#, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 6
+	rest 6
 	note F#, 12
 	note F_, 8
 	note D#, 2
-	note __, 6
+	rest 6
 	note C_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
 .sub2:
 	octave 3
@@ -327,48 +328,48 @@
 	note F#, 8
 	note F_, 8
 	note C_, 4
-	endchannel
+	sound_ret
 
 Music_RocketTheme_Ch3:
-	stereopanning $f0
-	vibrato $4, $22
-	notetype $c, $14
-	note __, 2
+	stereo_panning TRUE, FALSE
+	vibrato 4, 2, 2
+	note_type 12, 1, 4
+	rest 2
 .mainloop:
-	notetype $c, $14
-	callchannel Music_LookRocket_Ch3.sub1
-	callchannel Music_LookRocket_Ch3.sub4
-	callchannel Music_LookRocket_Ch3.sub4
-	intensity $24
-	callchannel Music_LookRocket_Ch3.sub5
-	intensity $14
-	callchannel Music_LookRocket_Ch3.sub2
-	callchannel Music_LookRocket_Ch3.sub5
-	callchannel Music_LookRocket_Ch3.sub3
-	callchannel Music_LookRocket_Ch3.sub4
-	callchannel Music_LookRocket_Ch3.sub4
-	callchannel Music_LookRocket_Ch3.sub4
-	callchannel Music_LookRocket_Ch3.sub4
-	callchannel Music_LookRocket_Ch3.sub5
-	callchannel Music_LookRocket_Ch3.sub2
-	callchannel Music_LookRocket_Ch3.sub5
-	callchannel Music_LookRocket_Ch3.sub2
+	note_type 12, 1, 4
+	sound_call Music_LookRocket_Ch3.sub1
+	sound_call Music_LookRocket_Ch3.sub4
+	sound_call Music_LookRocket_Ch3.sub4
+	volume_envelope 2, 4
+	sound_call Music_LookRocket_Ch3.sub5
+	volume_envelope 1, 4
+	sound_call Music_LookRocket_Ch3.sub2
+	sound_call Music_LookRocket_Ch3.sub5
+	sound_call Music_LookRocket_Ch3.sub3
+	sound_call Music_LookRocket_Ch3.sub4
+	sound_call Music_LookRocket_Ch3.sub4
+	sound_call Music_LookRocket_Ch3.sub4
+	sound_call Music_LookRocket_Ch3.sub4
+	sound_call Music_LookRocket_Ch3.sub5
+	sound_call Music_LookRocket_Ch3.sub2
+	sound_call Music_LookRocket_Ch3.sub5
+	sound_call Music_LookRocket_Ch3.sub2
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
 	note G_, 1
@@ -375,20 +376,20 @@
 	note E_, 1
 	note C#, 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note C_, 1
 	octave 3
 	note A_, 1
@@ -395,80 +396,80 @@
 	note F#, 1
 	note D#, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 2
 	octave 4
 	note G#, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
 
 Music_RocketTheme_Ch4:
-	togglenoise $3
-	notetype $c
-	note __, 2
+	toggle_noise 3
+	drum_speed 12
+	rest 2
 .mainloop:
-	callchannel Music_LookRocket_Ch4.sub1
-	callchannel Music_LookRocket_Ch4.sub2
-	callchannel Music_LookRocket_Ch4.sub2
-	callchannel Music_LookRocket_Ch4.sub2
-	callchannel Music_LookRocket_Ch4.sub2
-	callchannel Music_LookRocket_Ch4.sub2
-	callchannel Music_LookRocket_Ch4.sub2
-	callchannel Music_LookRocket_Ch4.sub2
-	callchannel Music_LookRocket_Ch4.sub1
+	sound_call Music_LookRocket_Ch4.sub1
+	sound_call Music_LookRocket_Ch4.sub2
+	sound_call Music_LookRocket_Ch4.sub2
+	sound_call Music_LookRocket_Ch4.sub2
+	sound_call Music_LookRocket_Ch4.sub2
+	sound_call Music_LookRocket_Ch4.sub2
+	sound_call Music_LookRocket_Ch4.sub2
+	sound_call Music_LookRocket_Ch4.sub2
+	sound_call Music_LookRocket_Ch4.sub1
 .loop1:
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	note A#, 2
-	note F#, 2
-	note D_, 2
-	note F#, 2
-	loopchannel 11, .loop1
-	callchannel Music_LookRocket_Ch4.sub2
-	callchannel Music_LookRocket_Ch4.sub2
-	callchannel Music_LookRocket_Ch4.sub2
-	callchannel Music_LookRocket_Ch4.sub1
-	callchannel Music_LookRocket_Ch4.sub1
-	loopchannel 0, .mainloop
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 11, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_loop 11, .loop1
+	sound_call Music_LookRocket_Ch4.sub2
+	sound_call Music_LookRocket_Ch4.sub2
+	sound_call Music_LookRocket_Ch4.sub2
+	sound_call Music_LookRocket_Ch4.sub1
+	sound_call Music_LookRocket_Ch4.sub1
+	sound_loop 0, .mainloop
--- a/audio/music/route1.asm
+++ b/audio/music/route1.asm
@@ -1,17 +1,18 @@
 Music_Route1:
-	musicheader 3, 1, Music_Route1_Ch1
-	musicheader 1, 2, Music_Route1_Ch2
-	musicheader 1, 3, Music_Route1_Ch3
+	channel_count 3
+	channel 1, Music_Route1_Ch1
+	channel 2, Music_Route1_Ch2
+	channel 3, Music_Route1_Ch3
 
 	db $3 ; unused
 
 Music_Route1_Ch1:
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	tempo 184
-	volume $77
-	vibrato $16, $11
-	dutycycle $3
-	notetype $c, $83
+	volume 7, 7
+	vibrato 22, 1, 1
+	duty_cycle 3
+	note_type 12, 8, 3
 	octave 4
 	note D_, 1
 	note E_, 1
@@ -53,26 +54,26 @@
 	note A_, 2
 	note G_, 2
 	note F#, 2
-	intensity $81
+	volume_envelope 8, 1
 	octave 5
 	note D_, 2
 	note D_, 2
-	intensity $83
-	note __, 2
+	volume_envelope 8, 3
+	rest 2
 .mainloop:
-	intensity $83
-	note __, 2
+	volume_envelope 8, 3
+	rest 2
 	octave 4
 	note D_, 2
 	octave 3
 	note A_, 2
-	note __, 4
+	rest 4
 	octave 4
 	note D_, 2
 	octave 3
 	note A_, 2
-	note __, 2
-	note __, 2
+	rest 2
+	rest 2
 	octave 4
 	note D_, 2
 	octave 3
@@ -81,23 +82,23 @@
 	note D_, 1
 	octave 3
 	note E_, 2
-	intensity $81
+	volume_envelope 8, 1
 	note G_, 2
 	note G_, 2
-	intensity $83
-	note __, 2
-	note __, 2
+	volume_envelope 8, 3
+	rest 2
+	rest 2
 	octave 4
 	note C#, 2
 	octave 3
 	note A_, 2
-	note __, 4
+	rest 4
 	octave 4
 	note C#, 2
 	octave 3
 	note A_, 2
-	note __, 2
-	note __, 2
+	rest 2
+	rest 2
 	octave 4
 	note C#, 2
 	note C#, 1
@@ -109,13 +110,13 @@
 	note A_, 2
 	octave 4
 	note D_, 2
-	note __, 2
-	note __, 2
+	rest 2
+	rest 2
 	octave 3
 	note F#, 1
 	note G_, 1
 	note A_, 4
-	note __, 2
+	rest 2
 	note D_, 1
 	note E_, 1
 	note F#, 2
@@ -128,15 +129,15 @@
 	note A_, 1
 	note B_, 1
 	note A_, 2
-	intensity $81
+	volume_envelope 8, 1
 	octave 4
 	note G_, 2
 	note G_, 2
-	intensity $83
+	volume_envelope 8, 3
 	octave 3
 	note F#, 1
 	note E_, 1
-	note __, 2
+	rest 2
 	note E_, 1
 	note F#, 1
 	note G_, 6
@@ -148,24 +149,24 @@
 	note E_, 1
 	note F#, 1
 	note G_, 4
-	notetype $8, $83
+	note_type 8, 8, 3
 	note A_, 1
 	note B_, 1
 	note A_, 1
-	notetype $c, $83
+	note_type 12, 8, 3
 	note G_, 1
 	note E_, 1
 	note F#, 2
-	intensity $81
+	volume_envelope 8, 1
 	octave 4
 	note A_, 2
 	note A_, 2
-	intensity $83
+	volume_envelope 8, 3
 	octave 3
 	note A_, 1
 	note G_, 1
-	intensity $77
-	intensity $1d
+	volume_envelope 7, 7
+	volume_envelope 1, -5
 	note F#, 4
 	note A_, 4
 	note G_, 2
@@ -182,8 +183,8 @@
 	octave 3
 	note A_, 1
 	note G_, 1
-	dutycycle $2
-	intensity $87
+	duty_cycle 2
+	volume_envelope 8, 7
 	octave 6
 	note F#, 4
 	note A_, 4
@@ -196,22 +197,22 @@
 	note E_, 2
 	note C#, 2
 	note D_, 2
-	intensity $81
+	volume_envelope 8, 1
 	octave 5
 	note D_, 2
 	note D_, 2
-	note __, 2
-	loopchannel 0, .mainloop
+	rest 2
+	sound_loop 0, .mainloop
 
 Music_Route1_Ch2:
-	stereopanning $f0
-	vibrato $12, $22
-	dutycycle $2
-	notetype $c, $92
+	stereo_panning TRUE, FALSE
+	vibrato 18, 2, 2
+	duty_cycle 2
+	note_type 12, 9, 2
 	octave 4
 	note F#, 1
 	note G_, 1
-	callchannel .sub2
+	sound_call .sub2
 	octave 3
 	note A_, 2
 	note A_, 2
@@ -218,26 +219,26 @@
 	octave 4
 	note F#, 1
 	note G_, 1
-	callchannel .sub3
+	sound_call .sub3
 	note C#, 2
 	note E_, 2
 	note D_, 2
-	intensity $81
+	volume_envelope 8, 1
 	note F#, 2
 	note F#, 2
-	intensity $82
+	volume_envelope 8, 2
 	octave 4
 	note D_, 1
 	note E_, 1
-	dutycycle $2
+	duty_cycle 2
 .mainloop:
-	intensity $82
-	callchannel .sub1
-	intensity $81
+	volume_envelope 8, 2
+	sound_call .sub1
+	volume_envelope 8, 1
 	octave 3
 	note A_, 2
 	note A_, 2
-	intensity $82
+	volume_envelope 8, 2
 	octave 4
 	note C#, 1
 	note D_, 1
@@ -258,15 +259,15 @@
 	note E_, 1
 	note F#, 1
 	note D_, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note D_, 1
 	note E_, 1
-	callchannel .sub1
-	intensity $81
+	sound_call .sub1
+	volume_envelope 8, 1
 	note A_, 2
 	note A_, 2
-	intensity $82
+	volume_envelope 8, 2
 	note C#, 1
 	note D_, 1
 	note E_, 2
@@ -280,47 +281,47 @@
 	note A_, 2
 	octave 4
 	note B_, 4
-	notetype $8, $92
+	note_type 8, 9, 2
 	note C#, 1
 	note D_, 1
 	note C#, 1
-	notetype $c, $92
+	note_type 12, 9, 2
 	octave 3
 	note B_, 1
 	octave 4
 	note C#, 1
 	note D_, 2
-	intensity $81
+	volume_envelope 8, 1
 	octave 5
 	note D_, 2
 	note D_, 2
-	intensity $82
+	volume_envelope 8, 2
 	octave 4
 	note F#, 1
 	note G_, 1
-	callchannel .sub2
-	note __, 4
+	sound_call .sub2
+	rest 4
 	note F#, 1
 	note G_, 1
-	callchannel .sub3
-	notetype $8, $92
+	sound_call .sub3
+	note_type 8, 9, 2
 	note C#, 1
 	note D_, 1
 	note C#, 1
-	notetype $c, $92
+	note_type 12, 9, 2
 	octave 4
 	note B_, 1
 	octave 5
 	note C#, 1
 	note D_, 2
-	intensity $81
+	volume_envelope 8, 1
 	note F#, 2
 	note F#, 2
-	intensity $82
+	volume_envelope 8, 2
 	octave 4
 	note D_, 1
 	note E_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note F#, 2
@@ -338,7 +339,7 @@
 	note G_, 3
 	note F#, 1
 	note E_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	note A_, 2
@@ -358,7 +359,7 @@
 	note D_, 3
 	note F#, 1
 	note E_, 2
-	endchannel
+	sound_ret
 
 .sub3:
 	note A_, 2
@@ -374,47 +375,47 @@
 	note A_, 2
 	octave 5
 	note D_, 2
-	endchannel
+	sound_ret
 
 Music_Route1_Ch3:
-	stereopanning $ff
-	vibrato $10, $23
-	notetype $c, $25
-	note __, 2
+	stereo_panning TRUE, TRUE
+	vibrato 16, 2, 3
+	note_type 12, 2, 5
+	rest 2
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F#, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
 	octave 3
 	note A_, 1
@@ -453,75 +454,75 @@
 	note G_, 1
 	note F#, 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 3
+	rest 3
 .mainloop:
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 2
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 2
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 2
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 2
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 2
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 2
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 2
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 2
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 2
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 2
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 2
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 2
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 2
 	octave 4
@@ -534,22 +535,22 @@
 	note E_, 1
 	octave 2
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 2
 	octave 2
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 2
 	octave 2
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 2
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 2
 	octave 4
@@ -562,29 +563,29 @@
 	note E_, 2
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note E_, 2
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 2
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 2
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 2
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
 	note B_, 1
@@ -600,9 +601,9 @@
 	note D_, 2
 	octave 4
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 4
 	note F#, 4
@@ -640,7 +641,7 @@
 	note D_, 2
 	octave 5
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 3
-	loopchannel 0, .mainloop
+	rest 3
+	sound_loop 0, .mainloop
--- a/audio/music/route12.asm
+++ b/audio/music/route12.asm
@@ -1,20 +1,21 @@
 Music_Route12:
-	musicheader 4, 1, Music_Route12_Ch1
-	musicheader 1, 2, Music_Route12_Ch2
-	musicheader 1, 3, Music_Route12_Ch3
-	musicheader 1, 4, Music_Route12_Ch4
+	channel_count 4
+	channel 1, Music_Route12_Ch1
+	channel 2, Music_Route12_Ch2
+	channel 3, Music_Route12_Ch3
+	channel 4, Music_Route12_Ch4
 
 Music_Route12_Ch1:
 	tempo 148
-	volume $77
-	vibrato $12, $34
-	tone $0001
-	stereopanning $f
-	dutycycle $3
-	notetype $c, $98
+	volume 7, 7
+	vibrato 18, 3, 4
+	pitch_offset 1
+	stereo_panning FALSE, TRUE
+	duty_cycle 3
+	note_type 12, 9, 8
 	octave 3
 	note G#, 1
-	note __, 2
+	rest 2
 	note A_, 1
 	note G#, 8
 	octave 2
@@ -24,27 +25,27 @@
 	note F#, 1
 	note G#, 1
 	note F#, 1
-	note __, 2
+	rest 2
 	note E_, 1
-	intensity $97
+	volume_envelope 9, 7
 	note D#, 12
 .mainloop:
-	dutycycle $2
-	intensity $96
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
+	duty_cycle 2
+	volume_envelope 9, 6
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
 	note E_, 1
-	note __, 2
+	rest 2
 	note F#, 1
 	note E_, 4
 	note B_, 4
 	octave 4
 	note D#, 4
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	intensity $92
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	volume_envelope 9, 2
 	octave 4
 	note E_, 1
 	octave 3
@@ -67,14 +68,14 @@
 	note F_, 1
 	note G#, 1
 	note B_, 1
-	dutycycle $3
-	intensity $7f
+	duty_cycle 3
+	volume_envelope 7, -7
 	octave 4
 	note C#, 3
 	octave 3
 	note B_, 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 4
 	octave 4
 	note C#, 2
@@ -95,7 +96,7 @@
 	note B_, 3
 	note A_, 3
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 4
 	note B_, 2
 	note A_, 2
@@ -115,7 +116,7 @@
 	note D#, 4
 	note F#, 4
 .loop1:
-	intensity $97
+	volume_envelope 9, 7
 	note G#, 1
 	note A_, 1
 	note B_, 4
@@ -124,57 +125,57 @@
 	octave 3
 	note D#, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
 	note F#, 1
 	note G#, 4
-	loopchannel 2, .loop1
-	loopchannel 0, .mainloop
+	sound_loop 2, .loop1
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
 	octave 3
 	note D#, 1
 	note E_, 4
 	note G#, 4
-	endchannel
+	sound_ret
 
 .sub2:
 	note A_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note G#, 1
 	note A_, 4
 	note F#, 4
-	endchannel
+	sound_ret
 
 Music_Route12_Ch2:
-	dutycycle $3
-	vibrato $12, $34
-	notetype $c, $b8
+	duty_cycle 3
+	vibrato 18, 3, 4
+	note_type 12, 11, 8
 	octave 4
 	note E_, 1
-	note __, 2
+	rest 2
 	note F#, 1
 	note E_, 12
 	octave 3
 	note B_, 1
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 1
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note B_, 8
 	note D#, 1
@@ -183,22 +184,22 @@
 	octave 4
 	note D#, 1
 .mainloop:
-	dutycycle $3
-	intensity $b7
-	callchannel .sub1
+	duty_cycle 3
+	volume_envelope 11, 7
+	sound_call .sub1
 	note F#, 1
 	note A_, 1
 	note G#, 1
 	note F#, 1
 	note G#, 2
-	note __, 1
+	rest 1
 	note E_, 1
 	octave 3
 	note B_, 12
-	dutycycle $2
+	duty_cycle 2
 	octave 2
 	note B_, 1
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 1
 	octave 2
@@ -206,8 +207,8 @@
 	octave 3
 	note D#, 4
 	note F#, 4
-	dutycycle $3
-	callchannel .sub1
+	duty_cycle 3
+	sound_call .sub1
 	note A_, 1
 	octave 5
 	note C#, 1
@@ -215,40 +216,40 @@
 	note B_, 1
 	note A_, 1
 	note B_, 2
-	note __, 1
+	rest 1
 	note A_, 1
-	intensity $b8
+	volume_envelope 11, 8
 	note G#, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 6
-	intensity $6f
+	volume_envelope 6, -7
 	note G#, 16
-	dutycycle $2
-	intensity $a8
+	duty_cycle 2
+	volume_envelope 10, 8
 	note A_, 3
 	note G#, 3
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note F#, 10
-	note __, 2
+	rest 2
 	note F#, 4
-	intensity $a8
+	volume_envelope 10, 8
 	note G#, 3
 	note F#, 3
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note E_, 10
-	note __, 2
+	rest 2
 	note E_, 4
 	note F#, 3
 	note D#, 3
 	octave 3
 	note B_, 2
-	intensity $a8
+	volume_envelope 10, 8
 	octave 4
 	note B_, 8
 	note B_, 8
@@ -257,18 +258,18 @@
 	note F#, 1
 	note E_, 14
 	note E_, 10
-	intensity $a4
+	volume_envelope 10, 4
 	note E_, 6
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
 	note E_, 6
-	intensity $b1
+	volume_envelope 11, 1
 	octave 3
 	note B_, 1
 	note B_, 1
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 4
 	octave 4
 	note B_, 4
@@ -275,42 +276,42 @@
 	note A_, 4
 	note G#, 4
 	note F#, 4
-	endchannel
+	sound_ret
 
 Music_Route12_Ch3:
-	vibrato $12, $54
-	notetype $c, $16
+	vibrato 18, 5, 4
+	note_type 12, 1, 6
 	octave 3
 	note G#, 2
-	note __, 4
+	rest 4
 	note G#, 1
 	note A_, 1
 	note B_, 2
-	note __, 2
+	rest 2
 	note E_, 4
 	note D#, 2
-	note __, 4
+	rest 4
 	note D#, 1
 	note E_, 1
 	note F#, 2
-	note __, 2
+	rest 2
 	note D#, 4
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note F#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 3
+	rest 3
 	note D#, 1
 	note E_, 1
 	note F#, 4
 	octave 2
 	note B_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note E_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note B_, 1
 	octave 3
@@ -318,11 +319,11 @@
 	note D_, 4
 	note F_, 4
 	note F#, 13
-	note __, 1
+	rest 1
 	note F#, 1
 	note G#, 1
 	note A_, 5
-	note __, 1
+	rest 1
 	note A_, 1
 	note B_, 1
 	octave 4
@@ -339,7 +340,7 @@
 	note E_, 4
 	octave 2
 	note B_, 5
-	note __, 1
+	rest 1
 	note B_, 1
 	octave 3
 	note D#, 1
@@ -349,103 +350,103 @@
 	note D#, 4
 .loop1:
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 3
+	rest 3
 	note E_, 1
 	note F#, 1
 	note G#, 4
 	note E_, 3
-	note __, 1
-	loopchannel 2, .loop1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 2, .loop1
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 3
+	rest 3
 	note E_, 1
 	note F#, 1
 	note G#, 4
 	note E_, 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 3
+	rest 3
 	note D_, 1
 	note E_, 1
 	note F#, 4
 	note D_, 4
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 3
+	rest 3
 	note E_, 1
 	note F#, 1
 	note G#, 4
 	note E_, 4
-	endchannel
+	sound_ret
 
 Music_Route12_Ch4:
-	togglenoise $4
-	stereopanning $f0
-	notetype $c
-	note B_, 10
-	note C#, 1
-	note C#, 1
-	note D_, 4
-	note B_, 6
-	note C#, 1
-	note C#, 1
-	note D_, 4
-	notetype $6
-	callchannel .sub1
+	toggle_noise 4
+	stereo_panning TRUE, FALSE
+	drum_speed 12
+	drum_note 12, 10
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 4
+	drum_note 12, 6
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 4
+	drum_speed 6
+	sound_call .sub1
 .mainloop:
 .loop1:
-	note D_, 4
-	note D_, 8
-	note C#, 2
-	note C#, 2
-	note D_, 8
-	callchannel .sub1
-	loopchannel 8, .loop1
+	drum_note 3, 4
+	drum_note 3, 8
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 3, 8
+	sound_call .sub1
+	sound_loop 8, .loop1
 .loop2:
-	notetype $c
-	note B_, 10
-	note D_, 1
-	note D_, 1
-	note D_, 6
-	note C#, 1
-	note C#, 1
-	note D_, 6
-	note C#, 1
-	note C#, 1
-	note D_, 4
-	loopchannel 2, .loop2
-	note B_, 16
-	notetype $6
-	callchannel .sub1
-	callchannel .sub1
-	note B_, 16
+	drum_speed 12
+	drum_note 12, 10
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 6
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 6
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 4
+	sound_loop 2, .loop2
+	drum_note 12, 16
+	drum_speed 6
+	sound_call .sub1
+	sound_call .sub1
+	drum_note 12, 16
 .loop3:
-	note D_, 4
-	note D_, 8
-	note C#, 2
-	note C#, 2
-	note D_, 8
-	callchannel .sub1
-	loopchannel 2, .loop3
-	loopchannel 0, .mainloop
+	drum_note 3, 4
+	drum_note 3, 8
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 3, 8
+	sound_call .sub1
+	sound_loop 2, .loop3
+	sound_loop 0, .mainloop
 
 .sub1:
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	endchannel
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	sound_ret
--- a/audio/music/route2.asm
+++ b/audio/music/route2.asm
@@ -1,20 +1,21 @@
 Music_Route2:
-	musicheader 4, 1, Music_Route2_Ch1
-	musicheader 1, 2, Music_Route2_Ch2
-	musicheader 1, 3, Music_Route2_Ch3
-	musicheader 1, 4, Music_Route2_Ch4
+	channel_count 4
+	channel 1, Music_Route2_Ch1
+	channel 2, Music_Route2_Ch2
+	channel 3, Music_Route2_Ch3
+	channel 4, Music_Route2_Ch4
 
 Music_Route2_Ch1:
 	tempo 151
-	volume $77
-	stereopanning $f
-	vibrato $6, $23
-	notetype $c, $b1
-	note __, 16
-	note __, 16
-	callchannel .sub1
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	vibrato 6, 2, 3
+	note_type 12, 11, 1
+	rest 16
+	rest 16
+	sound_call .sub1
 .mainloop:
-	intensity $b1
+	volume_envelope 11, 1
 	octave 3
 	note B_, 4
 	note B_, 4
@@ -25,10 +26,10 @@
 	note E_, 4
 	note E_, 4
 	note E_, 4
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub3
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub3
 	octave 3
 	note G_, 2
 	octave 4
@@ -42,7 +43,7 @@
 	octave 3
 	note B_, 2
 	note G_, 2
-	callchannel .sub3
+	sound_call .sub3
 	note G_, 2
 	octave 4
 	note C_, 2
@@ -53,7 +54,7 @@
 	octave 3
 	note B_, 2
 	note G_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
@@ -63,12 +64,12 @@
 	note C_, 4
 	note C_, 4
 	note C_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 4
 	octave 3
 	note B_, 4
-	intensity $b1
-	endchannel
+	volume_envelope 11, 1
+	sound_ret
 
 .sub2:
 	octave 2
@@ -107,7 +108,7 @@
 	note G#, 2
 	note C_, 2
 	note G#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 2
 	note B_, 2
 	octave 3
@@ -116,8 +117,8 @@
 	note B_, 2
 	octave 3
 	note G_, 2
-	intensity $b1
-	endchannel
+	volume_envelope 11, 1
+	sound_ret
 
 .sub3:
 	note B_, 2
@@ -156,23 +157,23 @@
 	note C_, 2
 	octave 3
 	note A_, 2
-	endchannel
+	sound_ret
 
 Music_Route2_Ch2:
-	stereopanning $ff
-	vibrato $8, $24
-	notetype $c, $b2
-	callchannel .sub1
+	stereo_panning TRUE, TRUE
+	vibrato 8, 2, 4
+	note_type 12, 11, 2
+	sound_call .sub1
 .mainloop:
-	intensity $b2
-	callchannel .sub1
-	dutycycle $2
-	intensity $b5
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub3
-	callchannel .sub3
-	loopchannel 0, .mainloop
+	volume_envelope 11, 2
+	sound_call .sub1
+	duty_cycle 2
+	volume_envelope 11, 5
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub3
+	sound_call .sub3
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
@@ -202,162 +203,162 @@
 	note A_, 4
 	note G#, 4
 	note G#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note G#, 4
 	note G_, 4
-	intensity $b2
-	endchannel
+	volume_envelope 11, 2
+	sound_ret
 
 .sub2:
 	octave 2
 	note C_, 4
-	note __, 2
+	rest 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note G_, 4
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 2
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note F_, 4
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 2
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 4
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 4
 	note D_, 4
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 2
 	note E_, 4
-	note __, 2
+	rest 2
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 1
-	note __, 1
+	rest 1
 	note A_, 4
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 2
-	note __, 2
+	rest 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note F_, 4
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note G_, 4
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 2
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 Music_Route2_Ch3:
-	stereopanning $f0
-	vibrato $16, $15
-	notetype $c, $14
+	stereo_panning TRUE, FALSE
+	vibrato 22, 1, 5
+	note_type 12, 1, 4
 	octave 4
 	note B_, 1
-	note __, 3
+	rest 3
 	note B_, 1
-	note __, 3
+	rest 3
 	note B_, 1
-	note __, 3
+	rest 3
 	note B_, 1
-	note __, 3
+	rest 3
 	octave 5
 	note E_, 1
-	note __, 3
+	rest 3
 	note E_, 1
-	note __, 3
+	rest 3
 	note E_, 1
-	note __, 3
+	rest 3
 	note E_, 1
-	note __, 3
-	callchannel .sub1
+	rest 3
+	sound_call .sub1
 	octave 3
 	note D_, 4
 .mainloop:
-	notetype $c, $15
+	note_type 12, 1, 5
 	octave 3
 	note C_, 4
-	note __, 2
+	rest 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note G_, 4
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 2
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
-	callchannel .sub1
+	rest 1
+	sound_call .sub1
 	octave 3
 	note D_, 2
-	intensity $10
+	volume_envelope 1, 0
 	octave 6
 	note C_, 1
 	note D_, 1
-	callchannel .sub2
-	note __, 4
+	sound_call .sub2
+	rest 4
 	note G_, 8
 	note F_, 2
 	note G_, 2
-	notetype $c, $10
-	callchannel .sub2
-	note __, 16
-	intensity $25
-	callchannel .sub3
-	note __, 4
+	note_type 12, 1, 0
+	sound_call .sub2
+	rest 16
+	volume_envelope 2, 5
+	sound_call .sub3
+	rest 4
 	note D#, 1
 	note E_, 7
 	note D_, 4
@@ -373,8 +374,8 @@
 	octave 6
 	note A_, 4
 	note G_, 4
-	callchannel .sub3
-	note __, 4
+	sound_call .sub3
+	rest 4
 	note G#, 1
 	note A_, 7
 	note B_, 4
@@ -381,40 +382,40 @@
 	note F#, 1
 	note G_, 16
 	note G_, 15
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note F_, 4
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 2
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 4
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 4
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 6
 	note E_, 10
 	note D_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	notetype $6, $10
+	note_type 6, 1, 0
 	octave 5
 	note F#, 1
 	note G_, 15
 	note A_, 4
 	note A#, 4
-	note __, 4
+	rest 4
 	octave 6
 	note C_, 2
 	note D_, 2
@@ -428,12 +429,12 @@
 	note D_, 4
 	note C_, 4
 	note D_, 4
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 5
 	note B_, 16
-	note __, 4
+	rest 4
 	octave 6
 	note C#, 1
 	note D_, 7
@@ -444,72 +445,72 @@
 	note C_, 16
 	note C_, 3
 	note D_, 4
-	note __, 4
+	rest 4
 	note E_, 4
 	note F_, 16
-	endchannel
+	sound_ret
 
 Music_Route2_Ch4:
-	togglenoise $5
-	notetype $c
+	toggle_noise 5
+	drum_speed 12
 .loop1:
-	note A_, 4
-	note A_, 4
-	note A_, 2
-	note B_, 2
-	note A_, 2
-	note B_, 2
-	loopchannel 3, .loop1
-	note A_, 4
-	note A_, 4
-	note A_, 2
-	note A_, 2
-	note D#, 4
+	drum_note 10, 4
+	drum_note 10, 4
+	drum_note 10, 2
+	drum_note 12, 2
+	drum_note 10, 2
+	drum_note 12, 2
+	sound_loop 3, .loop1
+	drum_note 10, 4
+	drum_note 10, 4
+	drum_note 10, 2
+	drum_note 10, 2
+	drum_note 4, 4
 .mainloop:
 .loop2:
-	note A_, 4
-	note A_, 4
-	note A_, 2
-	note A_, 2
-	note B_, 2
-	note A_, 2
-	loopchannel 4, .loop2
+	drum_note 10, 4
+	drum_note 10, 4
+	drum_note 10, 2
+	drum_note 10, 2
+	drum_note 12, 2
+	drum_note 10, 2
+	sound_loop 4, .loop2
 .loop3:
-	note B_, 4
-	note A_, 2
-	note B_, 2
-	note A_, 2
-	note B_, 2
-	note A_, 2
-	note B_, 2
-	loopchannel 7, .loop3
-	note B_, 4
-	note A_, 4
-	note A_, 2
-	note A_, 2
-	note D#, 4
+	drum_note 12, 4
+	drum_note 10, 2
+	drum_note 12, 2
+	drum_note 10, 2
+	drum_note 12, 2
+	drum_note 10, 2
+	drum_note 12, 2
+	sound_loop 7, .loop3
+	drum_note 12, 4
+	drum_note 10, 4
+	drum_note 10, 2
+	drum_note 10, 2
+	drum_note 4, 4
 .loop4:
-	note B_, 4
-	note C_, 4
-	note B_, 2
-	note B_, 2
-	note C_, 4
-	loopchannel 3, .loop4
-	note B_, 4
-	note C_, 4
-	note C#, 2
-	note C_, 2
-	note C#, 4
+	drum_note 12, 4
+	drum_note 1, 4
+	drum_note 12, 2
+	drum_note 12, 2
+	drum_note 1, 4
+	sound_loop 3, .loop4
+	drum_note 12, 4
+	drum_note 1, 4
+	drum_note 2, 2
+	drum_note 1, 2
+	drum_note 2, 4
 .loop5:
-	note B_, 4
-	note C_, 4
-	note B_, 2
-	note B_, 2
-	note C_, 4
-	loopchannel 3, .loop5
-	note B_, 4
-	note C_, 4
-	note D_, 2
-	note D_, 2
-	note D#, 4
-	loopchannel 0, .mainloop
+	drum_note 12, 4
+	drum_note 1, 4
+	drum_note 12, 2
+	drum_note 12, 2
+	drum_note 1, 4
+	sound_loop 3, .loop5
+	drum_note 12, 4
+	drum_note 1, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 4, 4
+	sound_loop 0, .mainloop
--- a/audio/music/route26.asm
+++ b/audio/music/route26.asm
@@ -1,26 +1,27 @@
 Music_Route26:
-	musicheader 4, 1, Music_Route26_Ch1
-	musicheader 1, 2, Music_Route26_Ch2
-	musicheader 1, 3, Music_Route26_Ch3
-	musicheader 1, 4, Music_Route26_Ch4
+	channel_count 4
+	channel 1, Music_Route26_Ch1
+	channel 2, Music_Route26_Ch2
+	channel 3, Music_Route26_Ch3
+	channel 4, Music_Route26_Ch4
 
 Music_Route26_Ch1:
-	stereopanning $f
-	vibrato $12, $23
+	stereo_panning FALSE, TRUE
+	vibrato 18, 2, 3
 	tempo 151
-	volume $77
-	vibrato $14, $23
-	dutycycle $0
-	notetype $c, $a7
+	volume 7, 7
+	vibrato 20, 2, 3
+	duty_cycle 0
+	note_type 12, 10, 7
 	octave 3
 	note D_, 4
-	note __, 4
+	rest 4
 	note D#, 4
-	note __, 4
+	rest 4
 	note F#, 4
-	note __, 4
+	rest 4
 	note G#, 12
-	notetype $8, $a7
+	note_type 8, 10, 7
 	octave 4
 	note C_, 2
 	octave 3
@@ -27,16 +28,16 @@
 	note G#, 2
 	note F#, 2
 .mainloop:
-	dutycycle $0
-	notetype $c, $a7
+	duty_cycle 0
+	note_type 12, 10, 7
 	octave 3
 	note F_, 1
-	note __, 2
+	rest 2
 	note C#, 1
 	note F_, 3
 	note G_, 1
 	note G#, 1
-	note __, 2
+	rest 2
 	note F_, 1
 	octave 4
 	note C#, 4
@@ -46,13 +47,13 @@
 	note A_, 4
 	note F#, 4
 	note F_, 1
-	note __, 1
+	rest 1
 	note C#, 1
 	note F_, 1
 	note G#, 3
 	note G_, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note F_, 1
 	note G#, 1
 	octave 4
@@ -63,12 +64,12 @@
 	note A_, 4
 	note B_, 4
 	note A#, 1
-	note __, 1
+	rest 1
 	note F_, 1
 	note A#, 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
 	octave 4
@@ -75,26 +76,26 @@
 	note C#, 1
 	note F_, 4
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note A#, 4
-	note __, 2
-	notetype $6, $a7
+	rest 2
+	note_type 6, 10, 7
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 2
-	note __, 2
+	rest 2
 	note A#, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
-	notetype $8, $a5
+	rest 2
+	note_type 8, 10, 5
 	note G#, 2
 	octave 4
 	note C#, 2
@@ -109,8 +110,8 @@
 	note C_, 6
 	octave 3
 	note G#, 6
-	dutycycle $2
-	notetype $c, $a5
+	duty_cycle 2
+	note_type 12, 10, 5
 	note A_, 3
 	note G#, 3
 	note F#, 4
@@ -135,36 +136,36 @@
 	note G#, 2
 	note F_, 4
 	note F#, 2
-	notetype $6, $a5
+	note_type 6, 10, 5
 	note G#, 7
 	octave 4
 	note C_, 1
 	note C#, 8
-	notetype $8, $a5
+	note_type 8, 10, 5
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 6
-	notetype $6, $a5
-	note __, 7
+	note_type 6, 10, 5
+	rest 7
 	octave 4
 	note D#, 1
 	note E_, 8
-	notetype $8, $a5
+	note_type 8, 10, 5
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 6
-	note __, 6
-	notetype $c, $a5
+	rest 6
+	note_type 12, 10, 5
 	octave 2
 	note B_, 1
 	note F#, 1
@@ -191,50 +192,50 @@
 	note D#, 4
 	octave 2
 	note B_, 4
-	note __, 4
-	loopchannel 0, .mainloop
+	rest 4
+	sound_loop 0, .mainloop
 
 Music_Route26_Ch2:
-	stereopanning $f0
-	vibrato $14, $23
-	dutycycle $2
-	notetype $c, $c7
+	stereo_panning TRUE, FALSE
+	vibrato 20, 2, 3
+	duty_cycle 2
+	note_type 12, 12, 7
 	octave 1
 	note A#, 4
-	note __, 2
-	notetype $6, $c7
+	rest 2
+	note_type 6, 12, 7
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note G#, 8
-	note __, 4
+	rest 4
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 1
 	note F#, 8
-	note __, 4
+	rest 4
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note F#, 1
-	note __, 1
-	notetype $c, $c7
+	rest 1
+	note_type 12, 12, 7
 	octave 1
 	note G#, 12
-	notetype $8, $c7
+	note_type 8, 12, 7
 	note G#, 2
 	octave 2
 	note C_, 2
 	note D#, 2
 .mainloop:
-	dutycycle $2
-	notetype $c, $c2
+	duty_cycle 2
+	note_type 12, 12, 2
 	octave 2
 	note C#, 6
 	note C#, 1
@@ -253,12 +254,12 @@
 	note B_, 2
 	note B_, 2
 	note B_, 2
-	callchannel .sub1
+	sound_call .sub1
 	note A_, 6
 	note A_, 1
 	octave 2
 	note B_, 1
-	notetype $8, $c2
+	note_type 8, 12, 2
 	octave 1
 	note B_, 2
 	note B_, 2
@@ -267,13 +268,13 @@
 	note B_, 2
 	note B_, 2
 	note B_, 2
-	notetype $c, $c2
-	callchannel .sub1
-	intensity $c7
+	note_type 12, 12, 2
+	sound_call .sub1
+	volume_envelope 12, 7
 	octave 2
 	note F#, 4
-	note __, 2
-	notetype $6, $c2
+	rest 2
+	note_type 6, 12, 2
 	note F#, 2
 	note F#, 2
 	note F#, 4
@@ -280,7 +281,7 @@
 	note F#, 4
 	note D#, 4
 	note D#, 4
-	notetype $8, $c2
+	note_type 8, 12, 2
 .loop1:
 	octave 2
 	note G#, 2
@@ -288,18 +289,18 @@
 	note G#, 2
 	octave 1
 	note G#, 6
-	loopchannel 3, .loop1
+	sound_loop 3, .loop1
 	octave 2
 	note G#, 2
 	note G#, 2
 	note G#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note F#, 1
 	note D#, 1
 	note C_, 1
 	octave 1
 	note G#, 1
-	dutycycle $3
+	duty_cycle 3
 	octave 4
 	note C#, 6
 	note D#, 6
@@ -311,32 +312,32 @@
 	note A_, 2
 	note G#, 6
 	note D#, 2
-	note __, 2
+	rest 2
 	note D#, 2
 	note G#, 2
 	note D#, 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note F_, 2
 	note F#, 6
 	note G#, 4
 	note A_, 8
-	note __, 2
+	rest 2
 	note A_, 2
 	note G#, 2
 	note F#, 2
 	note A_, 8
-	note __, 4
+	rest 4
 	note G#, 2
 	note A_, 2
 	note B_, 12
-	note __, 4
+	rest 4
 	note D#, 12
 	note D#, 1
 	note C#, 1
 	note C_, 1
 	note D#, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note A#, 6
@@ -350,71 +351,71 @@
 	note A#, 2
 	octave 1
 	note A#, 2
-	endchannel
+	sound_ret
 
 Music_Route26_Ch3:
-	stereopanning $ff
-	vibrato $12, $23
-	notetype $c, $14
-	vibrato $18, $23
+	stereo_panning TRUE, TRUE
+	vibrato 18, 2, 3
+	note_type 12, 1, 4
+	vibrato 24, 2, 3
 	octave 4
 	note A#, 4
-	note __, 2
-	notetype $6, $14
+	rest 2
+	note_type 6, 1, 4
 	note F_, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C_, 8
-	note __, 4
+	rest 4
 	octave 4
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C_, 1
-	note __, 1
+	rest 1
 	note C#, 8
-	note __, 4
+	rest 4
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note C#, 1
-	note __, 1
-	notetype $c, $14
+	rest 1
+	note_type 12, 1, 4
 	note D#, 12
-	notetype $8, $14
+	note_type 8, 1, 4
 	note F#, 2
 	note F_, 2
 	note D#, 2
 .mainloop:
-	vibrato $18, $23
-	notetype $c, $14
+	vibrato 24, 2, 3
+	note_type 12, 1, 4
 	octave 5
 	note C#, 1
-	note __, 2
+	rest 2
 	octave 4
 	note G#, 1
-	callchannel .sub1
-	vibrato $25, $13
+	sound_call .sub1
+	vibrato 37, 1, 3
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note G#, 1
 	octave 5
 	note C#, 1
-	callchannel .sub1
+	sound_call .sub1
 	note F_, 1
-	note __, 1
+	rest 1
 	note C#, 1
 	note F_, 1
 	note A#, 8
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 6
 	note C_, 1
-	note __, 1
+	rest 1
 	note C#, 12
 	note D#, 4
 	note C#, 8
@@ -428,100 +429,100 @@
 	note C_, 1
 	octave 5
 	note G#, 1
-	intensity $15
+	volume_envelope 1, 5
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 3
-	notetype $6, $15
+	rest 3
+	note_type 6, 1, 5
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 4
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 6
+	rest 6
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 2
-	note __, 2
+	rest 2
 	note A_, 4
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G#, 2
-	note __, 6
+	rest 6
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 2
-	note __, 2
+	rest 2
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C#, 2
-	note __, 10
+	rest 10
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F_, 2
-	note __, 2
+	rest 2
 	note C#, 4
 	octave 3
 	note F#, 8
-	notetype $8, $15
+	note_type 8, 1, 5
 	octave 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 6
-	note __, 6
+	rest 6
 	octave 4
 	note C_, 6
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 6
-	note __, 6
-	notetype $c, $15
+	rest 6
+	note_type 12, 1, 5
 	octave 2
 	note B_, 16
 	note B_, 8
@@ -528,12 +529,12 @@
 	octave 3
 	note F#, 4
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G#, 1
 	octave 3
 	note C_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 5
@@ -544,122 +545,122 @@
 	note F#, 4
 	note C#, 4
 	note D#, 4
-	endchannel
+	sound_ret
 
 Music_Route26_Ch4:
-	togglenoise $4
-	notetype $c
+	toggle_noise 4
+	drum_speed 12
 .loop1:
-	note B_, 6
-	note D_, 1
-	note D_, 1
-	loopchannel 3, .loop1
-	callchannel .sub3
+	drum_note 12, 6
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_loop 3, .loop1
+	sound_call .sub3
 .mainloop:
-	notetype $6
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	note D_, 12
-	note D_, 2
-	note D_, 2
-	notetype $8
-	note D_, 2
-	note C#, 2
-	note C#, 2
-	note D_, 2
-	note D_, 2
-	note E_, 2
-	notetype $6
-	callchannel .sub1
-	callchannel .sub1
-	notetype $8
+	drum_speed 6
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	drum_note 3, 12
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_speed 8
+	drum_note 3, 2
+	drum_note 2, 2
+	drum_note 2, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 5, 2
+	drum_speed 6
+	sound_call .sub1
+	sound_call .sub1
+	drum_speed 8
 .loop2:
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note B_, 6
-	loopchannel 4, .loop2
-	notetype $6
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 12, 6
+	sound_loop 4, .loop2
+	drum_speed 6
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub2
 .loop3:
-	notetype $6
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	notetype $8
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note B_, 12
-	loopchannel 2, .loop3
-	notetype $c
-	note B_, 16
-	callchannel .sub3
-	loopchannel 0, .mainloop
+	drum_speed 6
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_speed 8
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 12, 12
+	sound_loop 2, .loop3
+	drum_speed 12
+	drum_note 12, 16
+	sound_call .sub3
+	sound_loop 0, .mainloop
 
 .sub1:
-	note E_, 12
-	note D_, 2
-	note D_, 2
-	note D_, 4
-	note D_, 4
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	endchannel
+	drum_note 5, 12
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 3, 4
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	sound_ret
 
 .sub2:
-	note E_, 12
-	note D_, 2
-	note D_, 2
-	note D_, 4
-	note D_, 4
-	note E_, 4
-	note D_, 4
-	endchannel
+	drum_note 5, 12
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 3, 4
+	drum_note 5, 4
+	drum_note 3, 4
+	sound_ret
 
 .sub3:
-	notetype $6
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	notetype $8
-	note D_, 2
-	note D_, 2
-	note E_, 2
-	endchannel
+	drum_speed 6
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_speed 8
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 5, 2
+	sound_ret
--- a/audio/music/route29.asm
+++ b/audio/music/route29.asm
@@ -1,20 +1,21 @@
 Music_Route29:
-	musicheader 4, 1, Music_Route29_Ch1
-	musicheader 1, 2, Music_Route29_Ch2
-	musicheader 1, 3, Music_Route29_Ch3
-	musicheader 1, 4, Music_Route29_Ch4
+	channel_count 4
+	channel 1, Music_Route29_Ch1
+	channel 2, Music_Route29_Ch2
+	channel 3, Music_Route29_Ch3
+	channel 4, Music_Route29_Ch4
 
 Music_Route29_Ch1:
 	tempo 146
-	volume $77
-	dutycycle $3
-	tone $0001
-	vibrato $10, $15
-	stereopanning $f
-	notetype $c, $b2
-	note __, 2
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
+	vibrato 16, 1, 5
+	stereo_panning FALSE, TRUE
+	note_type 12, 11, 2
+	rest 2
 .mainloop:
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 2
 	note E_, 2
@@ -95,7 +96,7 @@
 	note G_, 2
 	note G_, 2
 	note F_, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note A_, 4
 	octave 4
 	note C_, 2
@@ -104,31 +105,31 @@
 	note E_, 4
 	note G_, 2
 	note E_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note G_, 6
-	intensity $b4
+	volume_envelope 11, 4
 	note F_, 4
 	note A_, 2
 	note G_, 2
 	note F_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note A_, 4
-	intensity $b4
+	volume_envelope 11, 4
 	note C#, 4
 	note E_, 2
 	note G_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note E_, 8
-	intensity $b4
+	volume_envelope 11, 4
 	note A_, 2
 	note G_, 2
 	note A_, 2
 	octave 4
 	note C_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	octave 3
 	note A_, 6
-	intensity $b4
+	volume_envelope 11, 4
 	note G_, 2
 	note E_, 2
 	note G_, 2
@@ -142,10 +143,10 @@
 	octave 3
 	note B_, 2
 	note A_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note G_, 4
 	note B_, 4
-	intensity $b4
+	volume_envelope 11, 4
 	note G_, 2
 	note E_, 2
 	octave 4
@@ -162,21 +163,21 @@
 	note C_, 2
 	octave 3
 	note E_, 2
-	intensity $b2
+	volume_envelope 11, 2
 	note C_, 2
 	note G_, 2
 	note G_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_Route29_Ch2:
-	dutycycle $3
-	vibrato $12, $36
-	notetype $c, $c2
+	duty_cycle 3
+	vibrato 18, 3, 6
+	note_type 12, 12, 2
 	octave 4
 	note C_, 1
 	note D_, 1
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note F_, 1
 	note E_, 1
 	note D_, 2
@@ -191,7 +192,7 @@
 	octave 4
 	note C_, 1
 	note D_, 1
-	callchannel .sub1
+	sound_call .sub1
 	note F_, 1
 	note E_, 1
 	note D_, 2
@@ -198,7 +199,7 @@
 	note D_, 2
 	octave 3
 	note B_, 2
-	intensity $c4
+	volume_envelope 12, 4
 	octave 4
 	note C_, 8
 	octave 3
@@ -263,10 +264,10 @@
 	note E_, 2
 	note D_, 2
 	note F_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	note E_, 4
 	note D_, 4
-	intensity $c4
+	volume_envelope 12, 4
 	note C_, 2
 	octave 3
 	note G_, 2
@@ -290,7 +291,7 @@
 	note E_, 2
 	octave 3
 	note G_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note C_, 2
 	note C_, 2
@@ -298,7 +299,7 @@
 	octave 4
 	note C_, 1
 	note D_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note E_, 2
@@ -329,86 +330,86 @@
 	note D_, 2
 	note E_, 2
 	note C_, 2
-	endchannel
+	sound_ret
 
 Music_Route29_Ch3:
-	stereopanning $f0
-	notetype $c, $25
-	vibrato $9, $27
-	note __, 2
+	stereo_panning TRUE, FALSE
+	note_type 12, 2, 5
+	vibrato 9, 2, 7
+	rest 2
 .mainloop:
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 3
+	rest 3
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 3
+	rest 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 3
+	rest 3
 	note E_, 4
 	note G_, 4
 	octave 4
@@ -478,7 +479,7 @@
 	note F_, 6
 	note F_, 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	octave 3
 	note B_, 2
@@ -492,29 +493,29 @@
 	note C_, 4
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 3
-	loopchannel 0, .mainloop
+	rest 3
+	sound_loop 0, .mainloop
 
 Music_Route29_Ch4:
-	stereopanning $f
-	togglenoise $0
-	notetype $c
-	note __, 2
+	stereo_panning FALSE, TRUE
+	toggle_noise 0
+	drum_speed 12
+	rest 2
 .mainloop:
-	note __, 2
-	note F_, 2
-	note F_, 6
-	note F_, 2
-	note F_, 2
-	note F_, 2
-	note __, 2
-	note F_, 4
-	note F_, 4
-	note F_, 2
-	note F_, 4
-	loopchannel 0, .mainloop
+	rest 2
+	drum_note 6, 2
+	drum_note 6, 6
+	drum_note 6, 2
+	drum_note 6, 2
+	drum_note 6, 2
+	rest 2
+	drum_note 6, 4
+	drum_note 6, 4
+	drum_note 6, 2
+	drum_note 6, 4
+	sound_loop 0, .mainloop
--- a/audio/music/route3.asm
+++ b/audio/music/route3.asm
@@ -1,17 +1,18 @@
 Music_Route3:
-	musicheader 4, 1, Music_Route3_Ch1
-	musicheader 1, 2, Music_Route3_Ch2
-	musicheader 1, 3, Music_Route3_Ch3
-	musicheader 1, 4, Music_Route3_Ch4
+	channel_count 4
+	channel 1, Music_Route3_Ch1
+	channel 2, Music_Route3_Ch2
+	channel 3, Music_Route3_Ch3
+	channel 4, Music_Route3_Ch4
 
 Music_Route3_Ch1:
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	tempo 160
-	volume $77
-	notetype $c, $91
-	note __, 10
-	dutycycle $0
-	vibrato $14, $6
+	volume 7, 7
+	note_type 12, 9, 1
+	rest 10
+	duty_cycle 0
+	vibrato 20, 0, 6
 	octave 3
 	note C#, 1
 	note E_, 1
@@ -46,7 +47,7 @@
 	note F#, 1
 	note G#, 1
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note G_, 1
 	note D_, 1
 	octave 2
@@ -131,10 +132,10 @@
 	note B_, 1
 	octave 3
 	note D_, 1
-	intensity $6f
+	volume_envelope 6, -7
 	note G_, 1
 	note D_, 1
-	intensity $77
+	volume_envelope 7, 7
 	octave 2
 	note B_, 1
 	octave 3
@@ -144,7 +145,7 @@
 	note E_, 1
 	note G#, 1
 	note B_, 4
-	intensity $6f
+	volume_envelope 6, -7
 	octave 3
 	note G#, 2
 	note E_, 2
@@ -173,7 +174,7 @@
 	note D_, 2
 	note E_, 2
 	note F_, 2
-	intensity $91
+	volume_envelope 9, 1
 	note F#, 1
 	note D_, 1
 	octave 2
@@ -193,7 +194,7 @@
 	note B_, 1
 	octave 4
 	note D_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 .sub1loop1:
@@ -202,7 +203,7 @@
 	note E_, 1
 	note C#, 1
 	note E_, 1
-	loopchannel 3, .sub1loop1
+	sound_loop 3, .sub1loop1
 	note C#, 1
 	note E_, 1
 	note C#, 1
@@ -212,7 +213,7 @@
 	note E_, 1
 	note C#, 1
 	note E_, 1
-	loopchannel 3, .sub1loop2
+	sound_loop 3, .sub1loop2
 	note C#, 1
 	note E_, 1
 	note C#, 1
@@ -224,7 +225,7 @@
 	note B_, 1
 	octave 3
 	note D_, 1
-	loopchannel 3, .sub1loop3
+	sound_loop 3, .sub1loop3
 	octave 2
 	note B_, 1
 	octave 3
@@ -233,22 +234,22 @@
 	note B_, 1
 	octave 3
 	note D_, 1
-	endchannel
+	sound_ret
 
 Music_Route3_Ch2:
-	stereopanning $f0
-	notetype $c, $5e
-	dutycycle $2
-	vibrato $6, $3
+	stereo_panning TRUE, FALSE
+	note_type 12, 5, -6
+	duty_cycle 2
+	vibrato 6, 0, 3
 	octave 4
 	note E_, 1
 	note G_, 1
 	note G#, 6
-	intensity $87
+	volume_envelope 8, 7
 	note F#, 1
 	note G#, 1
 	note A_, 1
-	note __, 7
+	rest 7
 	note C#, 4
 	note E_, 4
 	note D_, 4
@@ -256,8 +257,8 @@
 	note B_, 4
 	octave 4
 	note C#, 4
-	intensity $a7
-	dutycycle $2
+	volume_envelope 10, 7
+	duty_cycle 2
 	octave 3
 	note A_, 1
 	octave 4
@@ -265,36 +266,36 @@
 	note E_, 1
 	note G#, 1
 .mainloop:
-	intensity $7d
-	callchannel .sub1
+	volume_envelope 7, -5
+	sound_call .sub1
 	note G_, 1
 	note B_, 10
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 6
-	intensity $7d
-	note __, 4
-	dutycycle $3
+	volume_envelope 7, -5
+	rest 4
+	duty_cycle 3
 	note G#, 4
-	callchannel .sub1
+	sound_call .sub1
 	note B_, 1
-	intensity $7d
+	volume_envelope 7, -5
 	octave 5
 	note D_, 5
-	intensity $b7
+	volume_envelope 11, 7
 	octave 5
 	note D_, 5
-	dutycycle $0
+	duty_cycle 0
 	octave 3
 	note D_, 1
 	note G_, 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
 	note B_, 1
 	octave 4
 	note D_, 4
-	intensity $8f
-	dutycycle $2
+	volume_envelope 8, -7
+	duty_cycle 2
 	octave 4
 	note E_, 2
 	note D_, 2
@@ -317,7 +318,7 @@
 	note C#, 3
 	octave 3
 	note A_, 10
-	dutycycle $2
+	duty_cycle 2
 	octave 4
 	note F#, 6
 	note E_, 1
@@ -325,7 +326,7 @@
 	note G#, 6
 	note F#, 1
 	note G#, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note A_, 6
@@ -333,10 +334,10 @@
 	note A_, 1
 	octave 5
 	note C#, 7
-	intensity $b7
+	volume_envelope 11, 7
 	octave 5
 	note C#, 3
-	intensity $7d
+	volume_envelope 7, -5
 	octave 4
 	note E_, 2
 	note A_, 2
@@ -349,12 +350,12 @@
 	note A_, 2
 	note G_, 6
 	note D_, 1
-	endchannel
+	sound_ret
 
 Music_Route3_Ch3:
-	stereopanning $ff
-	vibrato $6, $3
-	notetype $c, $13
+	stereo_panning TRUE, TRUE
+	vibrato 6, 0, 3
+	note_type 12, 1, 3
 	octave 3
 	note B_, 1
 	octave 4
@@ -363,31 +364,31 @@
 	note D_, 1
 	octave 3
 	note B_, 1
-	intensity $14
+	volume_envelope 1, 4
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 1
 	note A_, 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note G#, 2
-	callchannel .sub1
+	sound_call .sub1
 .mainloop:
-	intensity $14
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
+	volume_envelope 1, 4
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
 	note A_, 2
 	octave 3
 	note C#, 2
@@ -401,7 +402,7 @@
 	note B_, 2
 	note G#, 2
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 2
 	note B_, 2
 	octave 3
@@ -415,88 +416,88 @@
 	note C_, 2
 	note C#, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 1
 	note D_, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 2
-	note __, 2
+	rest 2
 	note F#, 1
 	note G#, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 1
 	note A_, 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 2
 	octave 2
 	note G#, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 1
 	note A_, 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 2
 	note G_, 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note G_, 1
 	note G_, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G#, 2
 	note B_, 2
-	endchannel
+	sound_ret
 
 Music_Route3_Ch4:
-	togglenoise $4
-	notetype $c
-	note __, 10
+	toggle_noise 4
+	drum_speed 12
+	rest 10
 .mainloop:
-	notetype $c
-	note D_, 2
-	note D_, 4
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 2
-	notetype $6
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	loopchannel 0, .mainloop
+	drum_speed 12
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_speed 6
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	sound_loop 0, .mainloop
--- a/audio/music/route30.asm
+++ b/audio/music/route30.asm
@@ -1,17 +1,18 @@
 Music_Route30:
-	musicheader 4, 1, Music_Route30_Ch1
-	musicheader 1, 2, Music_Route30_Ch2
-	musicheader 1, 3, Music_Route30_Ch3
-	musicheader 1, 4, Music_Route30_Ch4
+	channel_count 4
+	channel 1, Music_Route30_Ch1
+	channel 2, Music_Route30_Ch2
+	channel 3, Music_Route30_Ch3
+	channel 4, Music_Route30_Ch4
 
 Music_Route30_Ch1:
 	tempo 144
-	volume $77
-	dutycycle $3
-	tone $0001
-	vibrato $10, $15
-	stereopanning $f0
-	notetype $c, $b2
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
+	vibrato 16, 1, 5
+	stereo_panning TRUE, FALSE
+	note_type 12, 11, 2
 	octave 3
 	note D_, 6
 	note D_, 1
@@ -24,12 +25,12 @@
 	note D_, 1
 	note D_, 2
 	note D_, 2
-	intensity $4e
+	volume_envelope 4, -6
 	note C_, 4
 .mainloop:
-	intensity $b6
+	volume_envelope 11, 6
 	note D_, 6
-	intensity $b4
+	volume_envelope 11, 4
 	octave 2
 	note B_, 2
 	octave 3
@@ -37,9 +38,9 @@
 	note E_, 2
 	note D_, 2
 	note E_, 2
-	intensity $b6
+	volume_envelope 11, 6
 	note F_, 6
-	intensity $b4
+	volume_envelope 11, 4
 	note C_, 2
 	note A_, 2
 	note G_, 2
@@ -60,10 +61,10 @@
 	note B_, 1
 	octave 4
 	note C_, 1
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note B_, 12
-	intensity $b5
+	volume_envelope 11, 5
 	note F_, 6
 	note C_, 2
 	note A_, 2
@@ -86,11 +87,11 @@
 	note E_, 1
 	note D_, 1
 	note E_, 1
-	intensity $b6
+	volume_envelope 11, 6
 	note D_, 4
 	note G_, 4
 	note D_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	octave 2
 	note B_, 1
 	octave 3
@@ -99,7 +100,7 @@
 	note B_, 1
 	octave 3
 	note C_, 1
-	intensity $b6
+	volume_envelope 11, 6
 	octave 2
 	note B_, 4
 	octave 3
@@ -106,7 +107,7 @@
 	note D_, 4
 	octave 2
 	note B_, 4
-	intensity $b4
+	volume_envelope 11, 4
 	octave 3
 	note F_, 2
 	note E_, 2
@@ -116,7 +117,7 @@
 	note G_, 2
 	note F_, 2
 	note E_, 2
-	intensity $b6
+	volume_envelope 11, 6
 	note A_, 4
 	note B_, 4
 	octave 4
@@ -131,9 +132,9 @@
 	note C_, 2
 	octave 3
 	note G_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 14
-	intensity $b6
+	volume_envelope 11, 6
 	note F_, 2
 	note E_, 2
 	note D_, 2
@@ -167,7 +168,7 @@
 	note G_, 2
 	octave 4
 	note D_, 2
-	intensity $b5
+	volume_envelope 11, 5
 	octave 3
 	note B_, 2
 	octave 4
@@ -181,13 +182,13 @@
 	note B_, 2
 	octave 4
 	note D_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_Route30_Ch2:
-	dutycycle $3
-	vibrato $12, $36
-	stereopanning $f
-	notetype $c, $c2
+	duty_cycle 3
+	vibrato 18, 3, 6
+	stereo_panning FALSE, TRUE
+	note_type 12, 12, 2
 	octave 3
 	note G_, 6
 	note G_, 1
@@ -200,13 +201,13 @@
 	note G_, 1
 	note G_, 2
 	note G_, 2
-	intensity $c4
+	volume_envelope 12, 4
 	note D_, 1
 	note E_, 1
 	note F_, 1
 	note F#, 1
 .mainloop:
-	intensity $c7
+	volume_envelope 12, 7
 	note G_, 10
 	octave 4
 	note D_, 2
@@ -222,15 +223,15 @@
 	note E_, 1
 	note D_, 1
 	note E_, 1
-	intensity $b0
+	volume_envelope 11, 0
 	note D_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 8
-	intensity $3f
+	volume_envelope 3, -7
 	note D_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note C_, 10
 	note C_, 2
 	octave 3
@@ -259,11 +260,11 @@
 	note F_, 8
 	note A_, 8
 	note G_, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note D_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 10
-	intensity $c7
+	volume_envelope 12, 7
 	note C_, 4
 	octave 3
 	note B_, 4
@@ -279,63 +280,63 @@
 	note C_, 8
 	octave 4
 	note B_, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note G_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note G_, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note B_, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note G_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note G_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	octave 3
 	note F#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_Route30_Ch3:
-	notetype $c, $27
+	note_type 12, 2, 7
 	octave 2
 	note G_, 1
-	note __, 5
+	rest 5
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 5
+	rest 5
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 .mainloop:
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 2
-	note __, 2
+	rest 2
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 2
 	note A_, 2
@@ -343,16 +344,16 @@
 	note F_, 1
 	note F_, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 2
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 2
 	octave 3
 	note D_, 2
@@ -360,16 +361,16 @@
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 2
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 2
 	note D_, 2
@@ -377,15 +378,15 @@
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 2
 	octave 2
@@ -393,16 +394,16 @@
 	note F_, 1
 	note F_, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 2
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 2
 	note F_, 2
@@ -410,7 +411,7 @@
 	note F_, 1
 	note F_, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 2
 	octave 2
@@ -417,7 +418,7 @@
 	note F_, 2
 	note F#, 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 2
 	octave 3
 	note G_, 2
@@ -425,14 +426,14 @@
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 2
 	octave 3
@@ -441,7 +442,7 @@
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 2
 	octave 2
@@ -448,7 +449,7 @@
 	note G_, 2
 	note G#, 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 2
 	octave 2
@@ -456,31 +457,31 @@
 	note A_, 1
 	note A_, 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 2
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 2
 	note E_, 2
 	note C_, 1
 	note C_, 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 2
 	note D_, 2
@@ -488,28 +489,28 @@
 	note B_, 1
 	note B_, 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 2
 	note A_, 2
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 2
 	octave 2
@@ -517,31 +518,31 @@
 	note A_, 1
 	note A_, 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 2
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 2
 	note E_, 2
 	note C_, 1
 	note C_, 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 2
 	note D_, 2
@@ -549,15 +550,15 @@
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note E_, 2
 	note D_, 2
@@ -565,105 +566,105 @@
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 2
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
 
 Music_Route30_Ch4:
-	togglenoise $3
-	notetype $c
-	callchannel .sub1
-	callchannel .sub2
+	toggle_noise 3
+	drum_speed 12
+	sound_call .sub1
+	sound_call .sub2
 .mainloop:
-	callchannel .sub3
-	callchannel .sub4
-	callchannel .sub4
-	callchannel .sub5
-	callchannel .sub4
-	callchannel .sub3
-	callchannel .sub4
-	callchannel .sub5
-	callchannel .sub4
-	callchannel .sub4
-	callchannel .sub3
-	callchannel .sub4
-	callchannel .sub4
-	callchannel .sub4
-	callchannel .sub3
-	callchannel .sub5
-	loopchannel 0, .mainloop
+	sound_call .sub3
+	sound_call .sub4
+	sound_call .sub4
+	sound_call .sub5
+	sound_call .sub4
+	sound_call .sub3
+	sound_call .sub4
+	sound_call .sub5
+	sound_call .sub4
+	sound_call .sub4
+	sound_call .sub3
+	sound_call .sub4
+	sound_call .sub4
+	sound_call .sub4
+	sound_call .sub3
+	sound_call .sub5
+	sound_loop 0, .mainloop
 
 .sub1:
-	note D_, 2
-	note F#, 2
-	note F#, 2
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 2
-	note D_, 4
-	endchannel
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 7, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 4
+	sound_ret
 
 .sub2:
-	note D_, 2
-	note F#, 2
-	note F#, 2
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 2
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	endchannel
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 7, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_ret
 
 .sub3:
-	note D_, 2
-	note F#, 2
-	note F#, 2
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	endchannel
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 7, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	sound_ret
 
 .sub4:
-	note D_, 2
-	note F#, 2
-	note F#, 2
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note F#, 2
-	note D_, 2
-	note D_, 2
-	endchannel
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 7, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	sound_ret
 
 .sub5:
-	note D_, 2
-	note F#, 2
-	note F#, 2
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 2
-	notetype $6
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	notetype $c
-	endchannel
+	drum_note 3, 2
+	drum_note 7, 2
+	drum_note 7, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_speed 6
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_speed 12
+	sound_ret
--- a/audio/music/route36.asm
+++ b/audio/music/route36.asm
@@ -1,32 +1,33 @@
 Music_Route36:
-	musicheader 4, 1, Music_Route36_Ch1
-	musicheader 1, 2, Music_Route36_Ch2
-	musicheader 1, 3, Music_Route36_Ch3
-	musicheader 1, 4, Music_Route36_Ch4
+	channel_count 4
+	channel 1, Music_Route36_Ch1
+	channel 2, Music_Route36_Ch2
+	channel 3, Music_Route36_Ch3
+	channel 4, Music_Route36_Ch4
 
 Music_Route36_Ch1:
 	tempo 144
-	volume $77
-	dutycycle $3
-	tone $0001
-	vibrato $10, $15
-	stereopanning $f
-	notetype $c, $b3
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
+	vibrato 16, 1, 5
+	stereo_panning FALSE, TRUE
+	note_type 12, 11, 3
 	octave 3
 	note C_, 4
 	note C_, 6
 	note F_, 1
 	note E_, 1
-	intensity $b5
+	volume_envelope 11, 5
 	note F_, 8
-	intensity $b3
+	volume_envelope 11, 3
 	note F_, 6
 	note A#, 1
 	note A_, 1
-	intensity $5d
+	volume_envelope 5, -5
 	note A#, 4
 .mainloop:
-	intensity $b5
+	volume_envelope 11, 5
 	note F_, 4
 	note A_, 2
 	note G_, 2
@@ -53,10 +54,10 @@
 	note D#, 4
 	octave 3
 	note A#, 2
-	intensity $b6
+	volume_envelope 11, 6
 	octave 4
 	note F_, 10
-	intensity $b5
+	volume_envelope 11, 5
 	note C_, 2
 	note F_, 2
 	note C_, 2
@@ -68,7 +69,7 @@
 	note C_, 2
 	octave 3
 	note A#, 4
-	intensity $b4
+	volume_envelope 11, 4
 	note A_, 2
 	octave 4
 	note D_, 2
@@ -82,7 +83,7 @@
 	note A_, 2
 	octave 4
 	note D_, 2
-	intensity $a4
+	volume_envelope 10, 4
 	octave 3
 	note A_, 2
 	octave 4
@@ -97,8 +98,8 @@
 	note A_, 2
 	octave 4
 	note D_, 2
-	stereopanning $f0
-	intensity $95
+	stereo_panning TRUE, FALSE
+	volume_envelope 9, 5
 	octave 3
 	note D_, 6
 	octave 2
@@ -110,11 +111,11 @@
 	octave 3
 	note D_, 6
 	note E_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	note D_, 6
 	note A_, 6
 	note G_, 4
-	intensity $a5
+	volume_envelope 10, 5
 	octave 2
 	note A_, 6
 	octave 3
@@ -125,7 +126,7 @@
 	note A_, 6
 	octave 3
 	note D_, 4
-	intensity $b5
+	volume_envelope 11, 5
 	note F#, 6
 	note E_, 6
 	note C#, 4
@@ -141,7 +142,7 @@
 	note G_, 6
 	note C_, 2
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 6
 	note G_, 4
 	note D_, 2
@@ -157,25 +158,25 @@
 	note B_, 2
 	note A_, 6
 	note D_, 6
-	stereopanning $f
-	intensity $b5
+	stereo_panning FALSE, TRUE
+	volume_envelope 11, 5
 	note D#, 2
 	note E_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_Route36_Ch2:
-	dutycycle $3
-	vibrato $10, $36
-	stereopanning $f0
-	notetype $c, $c2
+	duty_cycle 3
+	vibrato 16, 3, 6
+	stereo_panning TRUE, FALSE
+	note_type 12, 12, 2
 	octave 3
 	note F_, 2
 	note C_, 1
 	note F_, 1
-	intensity $c7
+	volume_envelope 12, 7
 	note A_, 8
 	note C_, 4
-	intensity $c3
+	volume_envelope 12, 3
 	octave 4
 	note C_, 2
 	octave 3
@@ -182,15 +183,15 @@
 	note A_, 1
 	octave 4
 	note C_, 1
-	intensity $c7
+	volume_envelope 12, 7
 	note F_, 8
 	octave 3
 	note G_, 4
 .mainloop:
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C_, 10
-	intensity $c4
+	volume_envelope 12, 4
 	octave 3
 	note A_, 2
 	octave 4
@@ -197,25 +198,25 @@
 	note C_, 2
 	note A_, 2
 	note G_, 3
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 1
-	intensity $c7
+	volume_envelope 12, 7
 	note D#, 12
 	note C_, 10
-	intensity $c4
+	volume_envelope 12, 4
 	octave 3
 	note A_, 2
 	octave 4
 	note C_, 2
 	note F_, 2
-	intensity $c2
+	volume_envelope 12, 2
 	note D#, 2
 	note D#, 1
 	note F_, 1
-	intensity $c7
+	volume_envelope 12, 7
 	note G_, 12
 	note A_, 10
-	intensity $c4
+	volume_envelope 12, 4
 	note F_, 2
 	note A_, 2
 	octave 5
@@ -223,15 +224,15 @@
 	octave 4
 	note A#, 3
 	note A_, 1
-	intensity $c7
+	volume_envelope 12, 7
 	note G_, 8
 	note A#, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note A_, 16
-	intensity $b7
+	volume_envelope 11, 7
 	note A_, 16
-	stereopanning $f
-	intensity $a4
+	stereo_panning FALSE, TRUE
+	volume_envelope 10, 4
 	octave 3
 	note A_, 6
 	note G_, 6
@@ -239,21 +240,21 @@
 	note E_, 6
 	note F#, 6
 	note G_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note A_, 2
 	note F#, 1
 	note A_, 1
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note D_, 12
-	intensity $a4
+	volume_envelope 10, 4
 	octave 3
 	note F#, 2
 	note D_, 1
 	note F#, 1
-	intensity $a7
+	volume_envelope 10, 7
 	note A_, 12
-	intensity $c7
+	volume_envelope 12, 7
 	note A_, 6
 	note G_, 6
 	note F#, 4
@@ -260,63 +261,63 @@
 	note B_, 6
 	note A_, 6
 	note G_, 4
-	intensity $c3
+	volume_envelope 12, 3
 	note A_, 2
 	note F#, 1
 	note A_, 1
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note D_, 12
-	intensity $c3
+	volume_envelope 12, 3
 	octave 3
 	note F#, 2
 	note D_, 1
 	note F#, 1
-	intensity $c7
+	volume_envelope 12, 7
 	note A_, 12
-	intensity $c2
+	volume_envelope 12, 2
 	note G_, 2
 	note E_, 1
 	note G_, 1
-	intensity $b0
+	volume_envelope 11, 0
 	octave 4
 	note C_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 10
-	intensity $c5
+	volume_envelope 12, 5
 	octave 3
 	note G_, 2
 	note E_, 1
 	note G_, 1
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note C_, 8
 	note C#, 4
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 	note D_, 6
 	note A_, 6
 	note G_, 2
 	note F#, 2
-	intensity $b0
+	volume_envelope 11, 0
 	note D_, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 8
-	stereopanning $f0
-	intensity $c4
+	stereo_panning TRUE, FALSE
+	volume_envelope 12, 4
 	octave 3
 	note F#, 1
 	note G_, 1
 	note A_, 1
 	note B_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_Route36_Ch3:
-	notetype $c, $25
+	note_type 12, 2, 5
 	octave 3
 	note F_, 1
-	note __, 3
+	rest 3
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 4
 	octave 3
@@ -324,9 +325,9 @@
 	note F_, 2
 	note C_, 2
 	note D#, 1
-	note __, 3
+	rest 3
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F_, 4
 	octave 2
@@ -464,58 +465,58 @@
 	note D_, 2
 	note D#, 2
 	note E_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_Route36_Ch4:
-	togglenoise $1
-	notetype $c
-	callchannel .sub1
-	callchannel .sub3
+	toggle_noise 1
+	drum_speed 12
+	sound_call .sub1
+	sound_call .sub3
 .mainloop:
 .loop1:
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub3
-	loopchannel 2, .loop1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub3
+	sound_loop 2, .loop1
 .loop2:
-	note A#, 4
-	note A_, 2
-	note F_, 4
-	note B_, 1
-	note B_, 1
-	note A_, 4
-	loopchannel 11, .loop2
-	callchannel .sub3
-	loopchannel 0, .mainloop
+	drum_note 11, 4
+	drum_note 10, 2
+	drum_note 6, 4
+	drum_note 12, 1
+	drum_note 12, 1
+	drum_note 10, 4
+	sound_loop 11, .loop2
+	sound_call .sub3
+	sound_loop 0, .mainloop
 
 .sub1:
-	note A_, 4
-	note A_, 6
-	note A#, 1
-	note A#, 1
-	note A_, 2
-	note A#, 2
-	endchannel
+	drum_note 10, 4
+	drum_note 10, 6
+	drum_note 11, 1
+	drum_note 11, 1
+	drum_note 10, 2
+	drum_note 11, 2
+	sound_ret
 
 .sub2:
-	note A_, 4
-	note A_, 6
-	note B_, 1
-	note A#, 1
-	note A_, 4
-	endchannel
+	drum_note 10, 4
+	drum_note 10, 6
+	drum_note 12, 1
+	drum_note 11, 1
+	drum_note 10, 4
+	sound_ret
 
 .sub3:
-	note A_, 4
-	note A_, 6
-	note A#, 1
-	note A#, 1
-	note A_, 2
-	notetype $6
-	note A#, 1
-	note A#, 1
-	note A_, 1
-	note A_, 1
-	notetype $c
-	endchannel
+	drum_note 10, 4
+	drum_note 10, 6
+	drum_note 11, 1
+	drum_note 11, 1
+	drum_note 10, 2
+	drum_speed 6
+	drum_note 11, 1
+	drum_note 11, 1
+	drum_note 10, 1
+	drum_note 10, 1
+	drum_speed 12
+	sound_ret
--- a/audio/music/route37.asm
+++ b/audio/music/route37.asm
@@ -1,29 +1,30 @@
 Music_Route37:
-	musicheader 4, 1, Music_Route37_Ch1
-	musicheader 1, 2, Music_Route37_Ch2
-	musicheader 1, 3, Music_Route37_Ch3
-	musicheader 1, 4, Music_Route37_Ch4
+	channel_count 4
+	channel 1, Music_Route37_Ch1
+	channel 2, Music_Route37_Ch2
+	channel 3, Music_Route37_Ch3
+	channel 4, Music_Route37_Ch4
 
 Music_Route37_Ch1:
 	tempo 144
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $10, $22
-	notetype $c, $b3
-	note __, 16
-	note __, 16
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 16, 2, 2
+	note_type 12, 11, 3
+	rest 16
+	rest 16
 .mainloop:
-	intensity $b3
-	note __, 2
+	volume_envelope 11, 3
+	rest 2
 	octave 2
 	note F#, 2
 	note B_, 2
 	octave 3
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 10
-	intensity $b3
+	volume_envelope 11, 3
 	note E_, 4
 	note D#, 4
 	note C#, 4
@@ -33,19 +34,19 @@
 	note D#, 3
 	octave 2
 	note B_, 1
-	intensity $b7
+	volume_envelope 11, 7
 	note F#, 8
 	note B_, 8
 	octave 3
 	note B_, 12
-	intensity $b3
-	note __, 2
+	volume_envelope 11, 3
+	rest 2
 	octave 2
 	note F#, 2
 	note B_, 2
 	octave 3
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 10
 	octave 2
 	note A_, 4
@@ -66,39 +67,39 @@
 	note F#, 4
 	note E_, 2
 	note D#, 4
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 .loop1:
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note C#, 4
-	loopchannel 2, .loop1
-	callchannel .sub2
+	sound_loop 2, .loop1
+	sound_call .sub2
 	octave 3
 	note F#, 4
-	callchannel .sub2
+	sound_call .sub2
 	octave 3
 	note F#, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note E_, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note G#, 4
-	callchannel .sub2
+	sound_call .sub2
 	octave 4
 	note D#, 4
-	callchannel .sub2
+	sound_call .sub2
 	octave 3
 	note F_, 4
-	stereopanning $ff
-	callchannel .sub2
-	note __, 4
-	callchannel .sub2
-	note __, 4
-	loopchannel 0, .mainloop
+	stereo_panning TRUE, TRUE
+	sound_call .sub2
+	rest 4
+	sound_call .sub2
+	rest 4
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $c2
+	volume_envelope 12, 2
 	octave 2
 	note A_, 2
 	note A_, 1
@@ -109,11 +110,11 @@
 	note A_, 1
 	note A_, 1
 	note A_, 2
-	intensity $b7
-	endchannel
+	volume_envelope 11, 7
+	sound_ret
 
 .sub2:
-	intensity $c2
+	volume_envelope 12, 2
 	octave 2
 	note B_, 2
 	note B_, 1
@@ -124,43 +125,43 @@
 	note B_, 1
 	note B_, 1
 	note B_, 2
-	intensity $b7
-	endchannel
+	volume_envelope 11, 7
+	sound_ret
 
 Music_Route37_Ch2:
-	dutycycle $3
-	vibrato $1c, $12
-	notetype $c, $c2
+	duty_cycle 3
+	vibrato 28, 1, 2
+	note_type 12, 12, 2
 	octave 2
 	note B_, 2
-	notetype $c, $c1
+	note_type 12, 12, 1
 	note B_, 1
 	note B_, 1
-	intensity $c2
+	volume_envelope 12, 2
 	note B_, 2
-	intensity $c1
+	volume_envelope 12, 1
 	note B_, 1
 	note B_, 1
 	note B_, 1
 	note B_, 1
-	intensity $c2
+	volume_envelope 12, 2
 	note B_, 6
 	note B_, 2
-	intensity $c1
+	volume_envelope 12, 1
 	note B_, 1
 	note B_, 1
-	intensity $c2
+	volume_envelope 12, 2
 	note B_, 2
-	intensity $c1
+	volume_envelope 12, 1
 	note B_, 1
 	note B_, 1
 	note B_, 1
 	note B_, 1
-	intensity $c2
+	volume_envelope 12, 2
 	note B_, 2
 .mainloop:
-	callchannel .sub1
-	intensity $c6
+	sound_call .sub1
+	volume_envelope 12, 6
 	octave 4
 	note C#, 4
 	octave 3
@@ -167,14 +168,14 @@
 	note B_, 4
 	note A_, 4
 	note E_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note F#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note F#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note D#, 12
-	callchannel .sub1
-	intensity $c7
+	sound_call .sub1
+	volume_envelope 12, 7
 	octave 4
 	note C#, 4
 	octave 3
@@ -182,14 +183,14 @@
 	octave 4
 	note C#, 4
 	note E_, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note D#, 16
-	intensity $b0
+	volume_envelope 11, 0
 	note D#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 8
-	intensity $c4
-	note __, 4
+	volume_envelope 12, 4
+	rest 4
 	octave 3
 	note A_, 3
 	octave 4
@@ -196,29 +197,29 @@
 	note E_, 1
 	note A_, 4
 	note G#, 4
-	intensity $a0
+	volume_envelope 10, 0
 	note C#, 6
 	note D#, 6
 	note E_, 4
-	intensity $c3
+	volume_envelope 12, 3
 	note F#, 3
 	note E_, 1
-	intensity $b0
+	volume_envelope 11, 0
 	note D#, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 6
-	intensity $c3
+	volume_envelope 12, 3
 	octave 3
 	note B_, 3
 	note F#, 1
-	intensity $b0
+	volume_envelope 11, 0
 	octave 4
 	note D#, 6
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note D#, 6
-	intensity $c4
-	note __, 4
+	volume_envelope 12, 4
+	rest 4
 	octave 3
 	note A_, 3
 	octave 4
@@ -225,76 +226,76 @@
 	note E_, 1
 	note A_, 4
 	note G#, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note C#, 6
 	note D#, 6
 	note E_, 4
-	intensity $c3
+	volume_envelope 12, 3
 	note F#, 3
 	note D#, 1
-	intensity $b0
+	volume_envelope 11, 0
 	note B_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 6
-	intensity $c3
+	volume_envelope 12, 3
 	note B_, 3
 	note F#, 1
-	intensity $b0
+	volume_envelope 11, 0
 	octave 5
 	note D#, 6
-	intensity $b7
+	volume_envelope 11, 7
 	octave 5
 	note D#, 6
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note F#, 2
 	note F#, 1
 	note F#, 1
 	note F#, 2
-	intensity $c1
+	volume_envelope 12, 1
 	note F#, 1
 	note F#, 1
 	note F#, 1
 	note F#, 1
-	intensity $c2
+	volume_envelope 12, 2
 	note F#, 6
 	note F#, 2
 	note F#, 1
 	note F#, 1
 	note F#, 2
-	intensity $c1
+	volume_envelope 12, 1
 	note F#, 1
 	note F#, 1
 	note F#, 1
 	note F#, 1
-	intensity $c2
+	volume_envelope 12, 2
 	note F#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $c7
+	volume_envelope 12, 7
 	octave 3
 	note F#, 4
-	intensity $b0
+	volume_envelope 11, 0
 	note B_, 5
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 5
-	intensity $c3
+	volume_envelope 12, 3
 	note F#, 2
 	note F#, 2
 	note B_, 2
-	endchannel
+	sound_ret
 
 Music_Route37_Ch3:
-	stereopanning $f0
-	notetype $c, $14
+	stereo_panning TRUE, FALSE
+	note_type 12, 1, 4
 .loop1:
 	octave 2
 	note F#, 2
-	note __, 6
-	loopchannel 4, .loop1
+	rest 6
+	sound_loop 4, .loop1
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note A_, 2
 	octave 3
 	note C#, 2
@@ -308,9 +309,9 @@
 .loop2:
 	note D#, 2
 	note F#, 2
-	loopchannel 4, .loop2
-	callchannel .sub1
-	callchannel .sub1
+	sound_loop 4, .loop2
+	sound_call .sub1
+	sound_call .sub1
 	note A_, 2
 	octave 3
 	note C#, 2
@@ -323,43 +324,43 @@
 	note C#, 2
 	octave 2
 	note A_, 2
-	callchannel .sub1
+	sound_call .sub1
 .loop3:
 	octave 2
 	note B_, 2
 	octave 3
 	note D#, 2
-	loopchannel 4, .loop3
+	sound_loop 4, .loop3
 .loop4:
 	octave 2
 	note A_, 2
 	octave 3
 	note C#, 2
-	loopchannel 7, .loop4
+	sound_loop 7, .loop4
 	note E_, 2
 	note C#, 2
-	callchannel .sub2
+	sound_call .sub2
 .loop5:
 	octave 2
 	note B_, 2
 	octave 3
 	note F#, 2
-	loopchannel 4, .loop5
+	sound_loop 4, .loop5
 .loop6:
 	octave 2
 	note A_, 2
 	octave 3
 	note C#, 2
-	loopchannel 7, .loop6
+	sound_loop 7, .loop6
 	note E_, 2
 	note C#, 2
-	callchannel .sub2
-	callchannel .sub1
+	sound_call .sub2
+	sound_call .sub1
 .loop7:
 	note F#, 2
-	note __, 6
-	loopchannel 4, .loop7
-	loopchannel 0, .mainloop
+	rest 6
+	sound_loop 4, .loop7
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
@@ -371,7 +372,7 @@
 	note B_, 2
 	note F#, 2
 	note B_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 2
@@ -390,38 +391,38 @@
 	note B_, 2
 	octave 3
 	note D#, 2
-	endchannel
+	sound_ret
 
 Music_Route37_Ch4:
-	stereopanning $f
-	togglenoise $0
+	stereo_panning FALSE, TRUE
+	toggle_noise 0
 .mainloop:
-	notetype $c
-	callchannel .sub1
-	note D_, 1
-	note D#, 1
-	note D#, 1
-	note D_, 1
-	callchannel .sub1
-	notetype $6
-	note D#, 1
-	note D#, 1
-	note D#, 1
-	note D#, 1
-	note D#, 1
-	note D_, 1
-	note D_, 1
-	note D_, 1
-	loopchannel 0, .mainloop
+	drum_speed 12
+	sound_call .sub1
+	drum_note 3, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 1
+	sound_call .sub1
+	drum_speed 6
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	sound_loop 0, .mainloop
 
 .sub1:
-	note D_, 2
-	note D#, 1
-	note D#, 1
-	note D_, 2
-	note D#, 1
-	note D#, 1
-	note D_, 2
-	note D#, 1
-	note D#, 1
-	endchannel
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 4, 1
+	sound_ret
--- a/audio/music/ruinsofalphinterior.asm
+++ b/audio/music/ruinsofalphinterior.asm
@@ -1,22 +1,23 @@
 Music_RuinsOfAlphInterior:
-	musicheader 3, 1, Music_RuinsOfAlphInterior_Ch1
-	musicheader 1, 2, Music_RuinsOfAlphInterior_Ch2
-	musicheader 1, 3, Music_RuinsOfAlphInterior_Ch3
+	channel_count 3
+	channel 1, Music_RuinsOfAlphInterior_Ch1
+	channel 2, Music_RuinsOfAlphInterior_Ch2
+	channel 3, Music_RuinsOfAlphInterior_Ch3
 
 Music_RuinsOfAlphInterior_Ch1:
 	tempo 224
-	volume $77
-	dutycycle $0
-	stereopanning $f0
-	notetype $c, $44
-	note __, 1
-	loopchannel 0, Music_RuinsOfAlphInterior_Ch2.mainloop
+	volume 7, 7
+	duty_cycle 0
+	stereo_panning TRUE, FALSE
+	note_type 12, 4, 4
+	rest 1
+	sound_loop 0, Music_RuinsOfAlphInterior_Ch2.mainloop
 
 Music_RuinsOfAlphInterior_Ch2:
-	tone $0002
-	dutycycle $0
-	stereopanning $f
-	notetype $c, $a4
+	pitch_offset 2
+	duty_cycle 0
+	stereo_panning FALSE, TRUE
+	note_type 12, 10, 4
 .mainloop:
 	octave 4
 	note C_, 4
@@ -32,10 +33,10 @@
 	note C_, 4
 	octave 3
 	note A#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_RuinsOfAlphInterior_Ch3:
-	notetype $c, $10
+	note_type 12, 1, 0
 .mainloop:
 	octave 2
 	note G#, 2
@@ -42,5 +43,5 @@
 	octave 3
 	note C#, 2
 	note E_, 2
-	note __, 10
-	loopchannel 0, .mainloop
+	rest 10
+	sound_loop 0, .mainloop
--- a/audio/music/ruinsofalphradio.asm
+++ b/audio/music/ruinsofalphradio.asm
@@ -1,29 +1,30 @@
 Music_RuinsOfAlphRadio:
-	musicheader 3, 1, Music_RuinsOfAlphRadio_Ch1
-	musicheader 1, 2, Music_RuinsOfAlphRadio_Ch2
-	musicheader 1, 3, Music_RuinsOfAlphRadio_Ch3
+	channel_count 3
+	channel 1, Music_RuinsOfAlphRadio_Ch1
+	channel 2, Music_RuinsOfAlphRadio_Ch2
+	channel 3, Music_RuinsOfAlphRadio_Ch3
 
 Music_RuinsOfAlphRadio_Ch1:
 	tempo 160
-	volume $77
-	dutycycle $0
-	tone $0118
-	vibrato $0, $f0
-	stereopanning $f0
+	volume 7, 7
+	duty_cycle 0
+	pitch_offset 280
+	vibrato 0, 15, 0
+	stereo_panning TRUE, FALSE
 .mainloop:
-	notetype $6, $71
-	callchannel .sub1
-	notetype $c, $a1
-	note __, 16
-	note __, 16
-	callchannel .sub2
-	notetype $c, $a1
-	note __, 16
-	note __, 16
-	callchannel .sub1
-	notetype $c, $a1
-	note __, 16
-	loopchannel 0, .mainloop
+	note_type 6, 7, 1
+	sound_call .sub1
+	note_type 12, 10, 1
+	rest 16
+	rest 16
+	sound_call .sub2
+	note_type 12, 10, 1
+	rest 16
+	rest 16
+	sound_call .sub1
+	note_type 12, 10, 1
+	rest 16
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
@@ -32,7 +33,7 @@
 	note G_, 1
 	note F#, 1
 	note C_, 8
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 4
@@ -44,30 +45,30 @@
 	note G_, 1
 	octave 5
 	note C_, 8
-	endchannel
+	sound_ret
 
 Music_RuinsOfAlphRadio_Ch2:
-	dutycycle $1
-	vibrato $1, $e0
+	duty_cycle 1
+	vibrato 1, 14, 0
 .mainloop:
-	stereopanning $f
-	notetype $6, $81
-	callchannel Music_RuinsOfAlphRadio_Ch1.sub1
-	notetype $c, $a1
-	note __, 16
-	note __, 16
-	notetype $6, $81
-	callchannel Music_RuinsOfAlphRadio_Ch1.sub2
-	notetype $c, $a1
-	note __, 16
-	loopchannel 0, .mainloop
+	stereo_panning FALSE, TRUE
+	note_type 6, 8, 1
+	sound_call Music_RuinsOfAlphRadio_Ch1.sub1
+	note_type 12, 10, 1
+	rest 16
+	rest 16
+	note_type 6, 8, 1
+	sound_call Music_RuinsOfAlphRadio_Ch1.sub2
+	note_type 12, 10, 1
+	rest 16
+	sound_loop 0, .mainloop
 
 Music_RuinsOfAlphRadio_Ch3:
-	notetype $6, $26
+	note_type 6, 2, 6
 .mainloop:
 	octave 2
 	note C_, 1
 	note C#, 1
 	note C_, 1
-	note __, 16
-	loopchannel 0, .mainloop
+	rest 16
+	sound_loop 0, .mainloop
--- a/audio/music/showmearound.asm
+++ b/audio/music/showmearound.asm
@@ -1,15 +1,16 @@
 Music_ShowMeAround:
-	musicheader 4, 1, Music_ShowMeAround_Ch1
-	musicheader 1, 2, Music_ShowMeAround_Ch2
-	musicheader 1, 3, Music_ShowMeAround_Ch3
-	musicheader 1, 4, Music_ShowMeAround_Ch4
+	channel_count 4
+	channel 1, Music_ShowMeAround_Ch1
+	channel 2, Music_ShowMeAround_Ch2
+	channel 3, Music_ShowMeAround_Ch3
+	channel 4, Music_ShowMeAround_Ch4
 
 Music_ShowMeAround_Ch1:
 	tempo 144
-	volume $77
-	stereopanning $f
-	dutycycle $2
-	notetype $c, $b1
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	duty_cycle 2
+	note_type 12, 11, 1
 	octave 4
 	note B_, 2
 	note A_, 2
@@ -28,43 +29,43 @@
 	note E_, 1
 	note G#, 8
 .mainloop:
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	callchannel Music_ShowMeAround_Ch2.sub3
-	callchannel .sub1
-	callchannel Music_ShowMeAround_Ch2.sub3
-	callchannel .sub1
-	loopchannel 0, .mainloop
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	sound_call Music_ShowMeAround_Ch2.sub3
+	sound_call .sub1
+	sound_call Music_ShowMeAround_Ch2.sub3
+	sound_call .sub1
+	sound_loop 0, .mainloop
 
 .sub1:
-	note __, 4
+	rest 4
 	octave 3
 	note C#, 1
-	note __, 5
+	rest 5
 	note D_, 4
 	note C_, 1
-	note __, 1
-	note __, 4
+	rest 1
+	rest 4
 	octave 2
 	note E_, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 3
-	endchannel
+	rest 3
+	sound_ret
 
 Music_ShowMeAround_Ch2:
-	stereopanning $ff
-	dutycycle $2
-	notetype $c, $b1
+	stereo_panning TRUE, TRUE
+	duty_cycle 2
+	note_type 12, 11, 1
 	octave 5
 	note E_, 2
 	note D_, 2
@@ -82,11 +83,11 @@
 	octave 5
 	note D_, 1
 	note E_, 8
-	dutycycle $1
+	duty_cycle 1
 .mainloop:
-	callchannel .sub3
-	callchannel .sub3
-	callchannel .sub1
+	sound_call .sub3
+	sound_call .sub3
+	sound_call .sub1
 	note A_, 4
 	octave 3
 	note A_, 2
@@ -97,7 +98,7 @@
 	note C#, 2
 	octave 3
 	note B_, 4
-	callchannel .sub1
+	sound_call .sub1
 	note A_, 2
 	note A_, 2
 	note G#, 2
@@ -107,7 +108,7 @@
 	note A_, 2
 	note A_, 2
 	note A_, 4
-	callchannel .sub2
+	sound_call .sub2
 	note A_, 4
 	octave 5
 	note C#, 2
@@ -119,10 +120,10 @@
 	note F#, 1
 	note F_, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note D#, 1
 	note E_, 1
-	callchannel .sub2
+	sound_call .sub2
 	note A_, 2
 	octave 5
 	note E_, 2
@@ -134,7 +135,7 @@
 	note A_, 2
 	note A_, 2
 	note A_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
@@ -144,7 +145,7 @@
 	note E_, 4
 	note D_, 2
 	note F#, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 5
@@ -156,52 +157,52 @@
 	note F#, 2
 	octave 4
 	note A_, 2
-	endchannel
+	sound_ret
 
 .sub3:
-	note __, 4
+	rest 4
 	octave 3
 	note C#, 1
-	note __, 5
+	rest 5
 	note D_, 4
 	note C_, 1
-	note __, 1
-	note __, 2
+	rest 1
+	rest 2
 	note C#, 1
-	note __, 5
+	rest 5
 	octave 2
 	note E_, 1
-	note __, 3
+	rest 3
 	note A#, 2
 	note B_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 Music_ShowMeAround_Ch3:
-	stereopanning $f0
-	vibrato $10, $22
-	notetype $6, $25
+	stereo_panning TRUE, FALSE
+	vibrato 16, 2, 2
+	note_type 6, 2, 5
 	octave 2
 	note B_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 1
-	note __, 3
+	rest 3
 	note E_, 1
-	note __, 3
+	rest 3
 	note G#, 1
-	note __, 3
+	rest 3
 	note B_, 1
-	note __, 3
+	rest 3
 	octave 4
 	note D_, 1
-	note __, 3
+	rest 3
 	note E_, 1
-	note __, 3
+	rest 3
 	note G#, 1
-	note __, 3
+	rest 3
 	note D_, 2
-	note __, 6
+	rest 6
 	note D_, 2
 	octave 3
 	note B_, 2
@@ -208,8 +209,8 @@
 	note G#, 2
 	note B_, 2
 	note E_, 2
-	note __, 6
-	intensity $14
+	rest 6
+	volume_envelope 1, 4
 	octave 2
 	note B_, 1
 	note A#, 1
@@ -218,132 +219,132 @@
 	note G_, 1
 	note F_, 1
 	note E_, 2
-	intensity $14
+	volume_envelope 1, 4
 .mainloop:
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub2
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub2
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
 	note A_, 2
-	note __, 6
+	rest 6
 	octave 4
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 8
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 2
-	note __, 6
+	rest 6
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 2
-	note __, 6
+	rest 6
 	note C#, 4
 	note D_, 2
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
 .sub2:
 	octave 2
 	note A_, 2
-	note __, 6
+	rest 6
 	octave 4
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 8
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G#, 2
-	note __, 6
+	rest 6
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A_, 2
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
 Music_ShowMeAround_Ch4:
-	togglenoise $3
-	notetype $c
-	note __, 16
-	note __, 8
-	note D_, 2
-	note D#, 2
-	note F#, 4
+	toggle_noise 3
+	drum_speed 12
+	rest 16
+	rest 8
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 7, 4
 .mainloop:
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub2
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub2
+	sound_loop 0, .mainloop
 
 .sub1:
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note G_, 2
-	note G_, 2
-	note F#, 4
-	note D_, 2
-	note D#, 2
-	note F#, 4
-	note D_, 2
-	note G_, 2
-	note G_, 2
-	note D_, 2
-	note D#, 2
-	endchannel
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 7, 4
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 7, 4
+	drum_note 3, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 3, 2
+	drum_note 4, 2
+	sound_ret
 
 .sub2:
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note G_, 2
-	note G_, 2
-	note F#, 4
-	note D_, 2
-	note D#, 2
-	note F#, 4
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note D_, 2
-	note F#, 2
-	endchannel
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 7, 4
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 7, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_ret
--- a/audio/music/sprouttower.asm
+++ b/audio/music/sprouttower.asm
@@ -1,21 +1,22 @@
 Music_SproutTower:
-	musicheader 4, 1, Music_SproutTower_Ch1
-	musicheader 1, 2, Music_SproutTower_Ch2
-	musicheader 1, 3, Music_SproutTower_Ch3
-	musicheader 1, 4, Music_SproutTower_Ch4
+	channel_count 4
+	channel 1, Music_SproutTower_Ch1
+	channel 2, Music_SproutTower_Ch2
+	channel 3, Music_SproutTower_Ch3
+	channel 4, Music_SproutTower_Ch4
 
 Music_SproutTower_Ch1:
 	tempo 176
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $8, $45
-	stereopanning $f
-	notetype $c, $a3
-	note __, 16
-	note __, 16
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 8, 4, 5
+	stereo_panning FALSE, TRUE
+	note_type 12, 10, 3
+	rest 16
+	rest 16
 .mainloop:
-	note __, 6
+	rest 6
 	octave 3
 	note F_, 2
 	note F#, 4
@@ -39,9 +40,9 @@
 	note F_, 2
 	note D#, 2
 	note C#, 2
-	intensity $a5
+	volume_envelope 10, 5
 	note C_, 8
-	intensity $a3
+	volume_envelope 10, 3
 	note C#, 2
 	note C_, 2
 	octave 2
@@ -48,9 +49,9 @@
 	note A#, 2
 	octave 3
 	note C#, 2
-	intensity $a7
+	volume_envelope 10, 7
 	note C_, 16
-	intensity $a3
+	volume_envelope 10, 3
 	note F_, 4
 	note F_, 4
 	note F#, 4
@@ -59,13 +60,13 @@
 	note F_, 4
 	note D#, 4
 	note D#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_SproutTower_Ch2:
-	dutycycle $3
-	tone $0001
-	vibrato $8, $48
-	notetype $c, $b2
+	duty_cycle 3
+	pitch_offset 1
+	vibrato 8, 4, 8
+	note_type 12, 11, 2
 	octave 3
 	note F_, 4
 	note F_, 4
@@ -76,7 +77,7 @@
 	note D#, 4
 	note D#, 4
 .mainloop:
-	intensity $b5
+	volume_envelope 11, 5
 	octave 4
 	note C_, 4
 	octave 3
@@ -91,9 +92,9 @@
 	octave 3
 	note A#, 2
 	note F#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
-	intensity $b5
+	volume_envelope 11, 5
 	note F#, 4
 	note A#, 4
 	octave 4
@@ -108,15 +109,15 @@
 	note D#, 2
 	note C#, 2
 	note C_, 8
-	intensity $b5
+	volume_envelope 11, 5
 	note C#, 2
 	note C_, 2
 	octave 3
 	note A#, 2
 	note F#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note A#, 8
-	intensity $b5
+	volume_envelope 11, 5
 	octave 4
 	note C_, 2
 	octave 3
@@ -123,9 +124,9 @@
 	note A#, 2
 	note F#, 2
 	note D#, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 8
-	intensity $b3
+	volume_envelope 11, 3
 	note F_, 4
 	note F_, 4
 	note F#, 4
@@ -132,51 +133,51 @@
 	note A#, 2
 	note F_, 1
 	note A#, 1
-	intensity $b7
+	volume_envelope 11, 7
 	octave 4
 	note C_, 16
-	note __, 16
-	loopchannel 0, .mainloop
+	rest 16
+	sound_loop 0, .mainloop
 
 Music_SproutTower_Ch3:
-	vibrato $14, $e8
-	notetype $c, $14
+	vibrato 20, 14, 8
+	note_type 12, 1, 4
 	octave 3
 	note F_, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	note F_, 2
 	note F#, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	note F_, 2
 	note F#, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 .mainloop:
-	note __, 4
+	rest 4
 	note C_, 2
 	note F_, 2
 	note F#, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	note F_, 2
 	note F#, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F_, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A#, 2
 	octave 3
@@ -183,15 +184,15 @@
 	note D#, 2
 	note F#, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	note F_, 2
 	note F#, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note F_, 8
 	note F#, 4
@@ -201,42 +202,42 @@
 	note F#, 4
 	note F_, 16
 	note F_, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	note F_, 2
 	note F#, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F_, 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	note F_, 2
 	note F#, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_SproutTower_Ch4:
-	togglenoise $0
-	notetype $c
-	note __, 4
+	toggle_noise 0
+	drum_speed 12
+	rest 4
 .mainloop:
-	note F#, 4
-	stereopanning $f0
-	note D#, 4
-	note F#, 2
-	stereopanning $f
-	note D#, 2
-	stereopanning $ff
-	note F#, 4
-	note F#, 4
-	stereopanning $f
-	note D#, 4
-	note F#, 2
-	stereopanning $f0
-	note D#, 2
-	stereopanning $ff
-	note F#, 4
-	loopchannel 0, .mainloop
+	drum_note 7, 4
+	stereo_panning TRUE, FALSE
+	drum_note 4, 4
+	drum_note 7, 2
+	stereo_panning FALSE, TRUE
+	drum_note 4, 2
+	stereo_panning TRUE, TRUE
+	drum_note 7, 4
+	drum_note 7, 4
+	stereo_panning FALSE, TRUE
+	drum_note 4, 4
+	drum_note 7, 2
+	stereo_panning TRUE, FALSE
+	drum_note 4, 2
+	stereo_panning TRUE, TRUE
+	drum_note 7, 4
+	sound_loop 0, .mainloop
--- a/audio/music/ssaqua.asm
+++ b/audio/music/ssaqua.asm
@@ -1,48 +1,49 @@
 Music_SSAqua:
-	musicheader 4, 1, Music_SSAqua_Ch1
-	musicheader 1, 2, Music_SSAqua_Ch2
-	musicheader 1, 3, Music_SSAqua_Ch3
-	musicheader 1, 4, Music_SSAqua_Ch4
+	channel_count 4
+	channel 1, Music_SSAqua_Ch1
+	channel 2, Music_SSAqua_Ch2
+	channel 3, Music_SSAqua_Ch3
+	channel 4, Music_SSAqua_Ch4
 
 Music_SSAqua_Ch1:
 	tempo 117
-	volume $77
-	stereopanning $f
-	tone $0001
-	vibrato $12, $33
-	dutycycle $2
-	notetype $6, $97
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	pitch_offset 1
+	vibrato 18, 3, 3
+	duty_cycle 2
+	note_type 6, 9, 7
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 .mainloop:
 	octave 2
 	note G_, 16
-	note __, 8
+	rest 8
 	note G_, 2
-	note __, 2
-	notetype $c, $97
+	rest 2
+	note_type 12, 9, 7
 	note G_, 2
 	note G_, 10
-	note __, 4
-	notetype $6, $97
+	rest 4
+	note_type 6, 9, 7
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 16
-	note __, 8
+	rest 8
 	note G_, 2
-	note __, 2
-	notetype $c, $97
+	rest 2
+	note_type 12, 9, 7
 	note G_, 2
 	note G_, 8
-	note __, 8
-	dutycycle $1
-	intensity $61
-	callchannel Music_SSAqua_Ch2.sub4
+	rest 8
+	duty_cycle 1
+	volume_envelope 6, 1
+	sound_call Music_SSAqua_Ch2.sub4
 	octave 5
 	note G_, 1
 	octave 4
@@ -67,29 +68,29 @@
 	note B_, 1
 	note A_, 1
 	note G_, 1
-	callchannel Music_SSAqua_Ch2.sub4
-	callchannel Music_SSAqua_Ch2.sub5
-	note __, 16
-	note __, 16
-	note __, 16
-	intensity $97
-	note __, 14
-	notetype $6, $97
+	sound_call Music_SSAqua_Ch2.sub4
+	sound_call Music_SSAqua_Ch2.sub5
+	rest 16
+	rest 16
+	rest 16
+	volume_envelope 9, 7
+	rest 14
+	note_type 6, 9, 7
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
-	note __, 1
-	notetype $c, $97
-	note __, 16
-	note __, 16
-	intensity $95
-	note __, 2
+	rest 1
+	note_type 12, 9, 7
+	rest 16
+	rest 16
+	volume_envelope 9, 5
+	rest 2
 	octave 4
 	note C_, 1
 	note E_, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note E_, 1
 	note C_, 1
 	octave 3
@@ -116,8 +117,8 @@
 	octave 4
 	note G_, 1
 	note F#, 1
-	dutycycle $2
-	intensity $97
+	duty_cycle 2
+	volume_envelope 9, 7
 	note G_, 8
 	note F#, 8
 	note E_, 8
@@ -125,12 +126,12 @@
 	octave 3
 	note B_, 8
 	note A#, 2
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F#, 2
-	intensity $75
+	volume_envelope 7, 5
 	octave 5
 	note A_, 4
 	note F#, 4
@@ -137,36 +138,36 @@
 	note D_, 4
 	octave 4
 	note A#, 2
-	notetype $6, $97
+	note_type 6, 9, 7
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
-	note __, 1
-	intensity $97
+	rest 1
+	volume_envelope 9, 7
 	note G_, 16
 	note A_, 16
 	note B_, 4
-	note __, 4
+	rest 4
 	note B_, 4
-	note __, 4
+	rest 4
 	octave 4
 	note E_, 8
 	note G_, 8
 	note F#, 1
-	vibrato $0, $0
-	intensity $88
+	vibrato 0, 0, 0
+	volume_envelope 8, 8
 	note G_, 10
-	vibrato $2, $23
-	intensity $87
+	vibrato 2, 2, 3
+	volume_envelope 8, 7
 	note G_, 9
-	vibrato $8, $33
+	vibrato 8, 3, 3
 	note C_, 4
 	note E_, 4
 	note C_, 4
 	note D_, 12
 	note F#, 12
-	note __, 8
+	rest 8
 	octave 2
 	note B_, 2
 	octave 3
@@ -179,10 +180,10 @@
 	octave 4
 	note D_, 2
 	note F#, 2
-	notetype $c, $97
-	note __, 7
-	note __, 16
-	note __, 16
+	note_type 12, 9, 7
+	rest 7
+	rest 16
+	rest 16
 	note G_, 8
 	note F#, 1
 	note D_, 1
@@ -207,24 +208,24 @@
 	octave 4
 	note D_, 1
 	note F#, 1
-	note __, 7
-	note __, 16
-	note __, 2
+	rest 7
+	rest 16
+	rest 2
 	note E_, 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	notetype $6, $97
-	note __, 1
+	note_type 6, 9, 7
+	rest 1
 	note C_, 1
 	note C#, 4
 	octave 3
 	note B_, 2
-	note __, 2
+	rest 2
 	note A_, 3
-	note __, 1
+	rest 1
 	note G_, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note D_, 2
 	octave 2
@@ -246,27 +247,27 @@
 	note D_, 2
 	note F#, 2
 	note A_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_SSAqua_Ch2:
-	stereopanning $f0
-	dutycycle $2
-	vibrato $8, $33
-	notetype $c, $b7
-	note __, 2
+	stereo_panning TRUE, FALSE
+	duty_cycle 2
+	vibrato 8, 3, 3
+	note_type 12, 11, 7
+	rest 2
 .mainloop:
-	notetype $c, $b7
-	dutycycle $1
-	intensity $61
-	callchannel .sub4
-	callchannel .sub5
-	dutycycle $2
-	intensity $d7
-	callchannel .sub3
+	note_type 12, 11, 7
+	duty_cycle 1
+	volume_envelope 6, 1
+	sound_call .sub4
+	sound_call .sub5
+	duty_cycle 2
+	volume_envelope 13, 7
+	sound_call .sub3
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note G_, 6
 	note G_, 1
@@ -274,30 +275,30 @@
 	octave 4
 	note C#, 1
 	note E_, 1
-	pitchoffset 0, CC
-	callchannel .sub3
-	pitchoffset 0, C_
+	transpose 0, 12
+	sound_call .sub3
+	transpose 0, 0
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 4
 	note G_, 6
-	note __, 2
-	dutycycle $3
-	intensity $b7
+	rest 2
+	duty_cycle 3
+	volume_envelope 11, 7
 	octave 3
 	note B_, 1
 	octave 4
 	note C_, 1
-	callchannel .sub1
+	sound_call .sub1
 	note G_, 4
-	note __, 4
+	rest 4
 	note G_, 8
 	note A_, 8
 	note B_, 8
-	notetype $c, $b7
+	note_type 12, 11, 7
 	octave 5
 	note C_, 10
 	note D_, 2
@@ -306,26 +307,26 @@
 	note G_, 2
 	note B_, 6
 	note A_, 6
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 1
 	octave 4
 	note C_, 1
-	callchannel .sub1
+	sound_call .sub1
 	note G_, 4
-	note __, 4
+	rest 4
 	note G_, 8
 	note A_, 8
 	note B_, 8
 	octave 5
 	note D#, 1
-	vibrato $0, $0
-	intensity $98
+	vibrato 0, 0, 0
+	volume_envelope 9, 8
 	note E_, 10
-	vibrato $4, $23
-	intensity $97
+	vibrato 4, 2, 3
+	volume_envelope 9, 7
 	note E_, 9
-	vibrato $8, $23
+	vibrato 8, 2, 3
 	note D_, 4
 	note C_, 4
 	octave 4
@@ -332,64 +333,64 @@
 	note G_, 4
 	note B_, 12
 	note A_, 12
-	note __, 4
-	dutycycle $0
+	rest 4
+	duty_cycle 0
 	note B_, 2
 	note A_, 2
-	callchannel .sub2
-	notetype $6, $b7
+	sound_call .sub2
+	note_type 6, 11, 7
 	note G#, 1
 	note A_, 11
 	note G_, 2
 	note F#, 2
 	note G_, 12
-	note __, 4
-	note __, 4
+	rest 4
+	rest 4
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note A_, 16
 	note A#, 12
 	note B_, 2
 	note A_, 2
-	callchannel .sub2
-	notetype $6, $b7
+	sound_call .sub2
+	note_type 6, 11, 7
 	note G#, 1
 	note A_, 11
 	note B_, 4
 	note G_, 12
-	note __, 4
-	note __, 4
+	rest 4
+	rest 4
 	octave 5
 	note C_, 4
 	note D_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 1
+	rest 1
 	octave 4
 	note A#, 1
 	note B_, 4
 	note A_, 2
-	note __, 2
+	rest 2
 	note G_, 4
 	note E_, 2
-	note __, 2
+	rest 2
 	note F#, 8
 	note G_, 8
 	note A_, 8
-	note __, 8
-	loopchannel 0, .mainloop
+	rest 8
+	sound_loop 0, .mainloop
 
 .sub1:
 	note D_, 6
@@ -408,51 +409,51 @@
 	octave 4
 	note C_, 1
 	note D_, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note A#, 2
-	note __, 2
+	rest 2
 	note B_, 6
 	note F#, 6
-	note __, 4
-	dutycycle $1
-	notetype $6, $b7
+	rest 4
+	duty_cycle 1
+	note_type 6, 11, 7
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 5
 	note D_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	dutycycle $3
+	rest 1
+	duty_cycle 3
 	note E_, 2
 	note F#, 2
 	note G_, 12
@@ -464,41 +465,41 @@
 	note G_, 4
 	note E_, 2
 	note F#, 2
-	endchannel
+	sound_ret
 
 .sub2:
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note B_, 10
 	note F#, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub3:
 	octave 3
 	note D_, 10
 	note E_, 1
-	note __, 3
+	rest 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note C#, 12
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 8
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 1
-	note __, 3
+	rest 3
 	note A_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub4:
 	octave 5
@@ -573,7 +574,7 @@
 	octave 4
 	note A_, 1
 	note G_, 1
-	endchannel
+	sound_ret
 
 .sub5:
 	octave 5
@@ -599,36 +600,36 @@
 	note C#, 1
 	octave 3
 	note G_, 1
-	endchannel
+	sound_ret
 
 Music_SSAqua_Ch3:
-	stereopanning $ff
-	vibrato $8, $34
-	notetype $6, $15
+	stereo_panning TRUE, TRUE
+	vibrato 8, 3, 4
+	note_type 6, 1, 5
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 .mainloop:
 	note G_, 16
-	note __, 8
+	rest 8
 	note G_, 2
-	note __, 2
-	notetype $c, $15
+	rest 2
+	note_type 12, 1, 5
 	note G_, 2
 	note G_, 10
-	note __, 4
-	notetype $6, $15
+	rest 4
+	note_type 6, 1, 5
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 16
-	note __, 8
+	rest 8
 	note G_, 2
-	note __, 2
-	notetype $c, $15
+	rest 2
+	note_type 12, 1, 5
 	note G_, 2
 	note G_, 8
 	note B_, 1
@@ -641,532 +642,532 @@
 	note B_, 1
 	octave 4
 	note E_, 1
-	callchannel .sub1
-	callchannel .sub1
+	sound_call .sub1
+	sound_call .sub1
 .loop1:
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
-	loopchannel 4, .loop1
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub3
+	rest 1
+	sound_loop 4, .loop1
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub3
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 1
-	note __, 3
-	callchannel .sub3
+	rest 3
+	sound_call .sub3
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 1
-	note __, 3
+	rest 3
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	loopchannel 0, .mainloop
+	rest 1
+	sound_loop 0, .mainloop
 
 .sub1:
-	notetype $6, $15
+	note_type 6, 1, 5
 	octave 2
 	note G_, 2
-	note __, 6
+	rest 6
 	note G_, 2
-	note __, 6
+	rest 6
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G_, 2
-	note __, 4
+	rest 4
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 2
-	note __, 6
+	rest 6
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note G_, 2
-	note __, 4
+	rest 4
 	note G_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 .sub2:
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 4
 	note F#, 4
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note B_, 4
 	note G_, 4
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note E_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 1
-	note __, 3
+	rest 3
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 1
-	note __, 3
-	endchannel
+	rest 3
+	sound_ret
 
 .sub3:
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note F#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 1
-	note __, 3
+	rest 3
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D#, 1
-	note __, 3
-	endchannel
+	rest 3
+	sound_ret
 
 Music_SSAqua_Ch4:
-	togglenoise $3
-	notetype $c
-	note __, 2
+	toggle_noise 3
+	drum_speed 12
+	rest 2
 .mainloop:
 .loop1:
-	note G#, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G#, 1
-	note G_, 1
-	loopchannel 12, .loop1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub3
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub3
-	loopchannel 0, .mainloop
+	drum_note 9, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 9, 1
+	drum_note 8, 1
+	sound_loop 12, .loop1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub3
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub3
+	sound_loop 0, .mainloop
 
 .sub1:
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note G_, 1
-	note G_, 1
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note G_, 1
-	note G_, 1
-	endchannel
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	sound_ret
 
 .sub2:
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note G_, 1
-	note G_, 1
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note F#, 2
-	endchannel
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_ret
 
 .sub3:
-	note A#, 2
-	note G_, 1
-	note G_, 1
-	note D_, 2
-	note G_, 1
-	note G_, 1
-	note D_, 1
-	note D_, 1
-	note D_, 2
-	note D_, 2
-	note C_, 2
-	endchannel
+	drum_note 11, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 1, 2
+	sound_ret
--- a/audio/music/successfulcapture.asm
+++ b/audio/music/successfulcapture.asm
@@ -1,22 +1,23 @@
 Music_SuccessfulCapture:
-	musicheader 3, 1, Music_SuccessfulCapture_Ch1
-	musicheader 1, 2, Music_SuccessfulCapture_Ch2
-	musicheader 1, 3, Music_SuccessfulCapture_Ch3
+	channel_count 3
+	channel 1, Music_SuccessfulCapture_Ch1
+	channel 2, Music_SuccessfulCapture_Ch2
+	channel 3, Music_SuccessfulCapture_Ch3
 
 Music_SuccessfulCapture_Ch1:
 	tempo 126
-	volume $77
-	dutycycle $3
-	tone $0001
-	notetype $c, $a1
-	jumpchannel Music_WildPokemonVictory_Ch1.body
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
+	note_type 12, 10, 1
+	sound_jump Music_WildPokemonVictory_Ch1.body
 
 Music_SuccessfulCapture_Ch2:
-	vibrato $12, $24
-	notetype $c, $c1
-	dutycycle $2
-	jumpchannel Music_WildPokemonVictory_Ch2.body
+	vibrato 18, 2, 4
+	note_type 12, 12, 1
+	duty_cycle 2
+	sound_jump Music_WildPokemonVictory_Ch2.body
 
 Music_SuccessfulCapture_Ch3:
-	notetype $c, $25
-	jumpchannel Music_WildPokemonVictory_Ch3.body
+	note_type 12, 2, 5
+	sound_jump Music_WildPokemonVictory_Ch3.body
--- a/audio/music/suicunebattle.asm
+++ b/audio/music/suicunebattle.asm
@@ -1,15 +1,16 @@
 Music_SuicuneBattle:
-	musicheader 3, 1, Music_SuicuneBattle_Ch1
-	musicheader 1, 2, Music_SuicuneBattle_Ch2
-	musicheader 1, 3, Music_SuicuneBattle_Ch3
+	channel_count 3
+	channel 1, Music_SuicuneBattle_Ch1
+	channel 2, Music_SuicuneBattle_Ch2
+	channel 3, Music_SuicuneBattle_Ch3
 
 Music_SuicuneBattle_Ch1:
 	tempo 101
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $12, $15
-	notetype $c, $b7
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 18, 1, 5
+	note_type 12, 11, 7
 	octave 4
 	note A_, 1
 	note G#, 1
@@ -29,7 +30,7 @@
 	note C#, 4
 	octave 2
 	note A#, 2
-	notetype $c, $b2
+	note_type 12, 11, 2
 	note A_, 2
 	note A_, 4
 	note A_, 2
@@ -41,11 +42,11 @@
 	note A_, 2
 	note A_, 2
 	note A_, 2
-	notetype $c, $b3
+	note_type 12, 11, 3
 	octave 4
 	note F_, 4
 	note E_, 2
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 2
 	note A_, 4
 	note A_, 2
@@ -57,11 +58,11 @@
 	note A_, 2
 	note A_, 2
 	note A_, 2
-	notetype $c, $b3
+	note_type 12, 11, 3
 	octave 4
 	note F_, 4
 	note E_, 2
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 2
 	note A_, 4
 	note A_, 2
@@ -73,11 +74,11 @@
 	note A_, 2
 	note A_, 2
 	note A_, 2
-	notetype $c, $b3
+	note_type 12, 11, 3
 	octave 4
 	note F_, 4
 	note E_, 2
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 2
 	note A_, 4
 	note A_, 2
@@ -95,7 +96,7 @@
 	note E_, 1
 	note G#, 1
 .mainloop:
-	notetype $c, $b4
+	note_type 12, 11, 4
 	octave 2
 	note A_, 2
 	note B_, 2
@@ -246,12 +247,12 @@
 	note A_, 2
 	note G_, 2
 	note C_, 2
-	notetype $c, $b3
+	note_type 12, 11, 3
 	octave 2
 	note B_, 2
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	note E_, 4
 	note D_, 2
 	note C_, 2
@@ -271,24 +272,24 @@
 	note C_, 2
 	octave 2
 	note G_, 2
-	note __, 2
-	notetype $c, $b6
+	rest 2
+	note_type 12, 11, 6
 	octave 3
 	note G_, 10
-	notetype $c, $b3
+	note_type 12, 11, 3
 	note C_, 2
 	octave 2
 	note G_, 2
-	note __, 2
-	notetype $c, $b7
+	rest 2
+	note_type 12, 11, 7
 	octave 3
 	note G_, 10
-	notetype $c, $b3
+	note_type 12, 11, 3
 	octave 2
 	note B_, 2
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	note E_, 4
 	note D_, 2
 	note C_, 2
@@ -329,7 +330,7 @@
 	note C_, 2
 	octave 3
 	note G_, 2
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 2
 	note B_, 2
 	note B_, 6
@@ -338,31 +339,31 @@
 	note B_, 2
 	note B_, 6
 	note B_, 2
-	notetype $c, $b4
+	note_type 12, 11, 4
 	octave 3
 	note C_, 6
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 2
 	note B_, 2
 	note B_, 2
-	notetype $c, $b5
+	note_type 12, 11, 5
 	octave 1
 	note F#, 4
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 2
 	note B_, 2
 	note B_, 2
-	notetype $c, $b5
+	note_type 12, 11, 5
 	octave 1
 	note F#, 4
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 2
 	note B_, 2
 	note B_, 2
-	notetype $c, $b5
+	note_type 12, 11, 5
 	octave 1
 	note F#, 4
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 2
 	note B_, 2
 	octave 3
@@ -374,61 +375,61 @@
 	note A_, 1
 	octave 4
 	note C_, 1
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 3
 	note B_, 2
 	note B_, 2
-	notetype $c, $b5
+	note_type 12, 11, 5
 	octave 1
 	note F#, 4
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 3
 	note B_, 2
 	note B_, 2
-	notetype $c, $b5
+	note_type 12, 11, 5
 	octave 1
 	note F#, 4
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 3
 	note B_, 2
 	note B_, 2
-	notetype $c, $b5
+	note_type 12, 11, 5
 	octave 1
 	note F#, 4
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 3
 	note B_, 2
-	notetype $c, $b5
+	note_type 12, 11, 5
 	octave 4
 	note C_, 6
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 3
 	note B_, 2
 	note B_, 2
-	notetype $c, $b4
+	note_type 12, 11, 4
 	octave 1
 	note F#, 4
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 3
 	note B_, 2
 	note B_, 2
-	notetype $c, $b4
+	note_type 12, 11, 4
 	octave 1
 	note F#, 4
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 3
 	note B_, 2
 	note B_, 2
-	notetype $c, $b4
+	note_type 12, 11, 4
 	octave 1
 	note F#, 4
-	notetype $c, $b2
+	note_type 12, 11, 2
 	octave 3
 	note B_, 2
-	notetype $c, $b5
+	note_type 12, 11, 5
 	octave 4
 	note C_, 6
-	notetype $c, $b7
+	note_type 12, 11, 7
 	octave 2
 	note B_, 8
 	note E_, 8
@@ -442,7 +443,7 @@
 	note C_, 2
 	note D_, 2
 	note C_, 2
-	notetype $c, $a0
+	note_type 12, 10, 0
 	octave 1
 	note F#, 8
 	note B_, 8
@@ -453,22 +454,22 @@
 	note B_, 8
 	note E_, 8
 	note F_, 8
-	notetype $c, $a7
+	note_type 12, 10, 7
 	note F_, 8
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	notetype $c, $b2
-	note __, 4
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	note_type 12, 11, 2
+	rest 4
 	octave 3
 	note D_, 8
 	note D_, 8
@@ -487,19 +488,19 @@
 	note F_, 8
 	note F_, 4
 	note E_, 8
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 16
-	vibrato $8, $24
-	dutycycle $2
-	notetype $c, $96
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	rest 16
+	vibrato 8, 2, 4
+	duty_cycle 2
+	note_type 12, 9, 6
 	octave 4
 	note E_, 6
 	note F#, 6
@@ -507,15 +508,15 @@
 	note A_, 4
 	octave 4
 	note A_, 16
-	vibrato $12, $15
-	dutycycle $3
-	loopchannel 0, .mainloop
+	vibrato 18, 1, 5
+	duty_cycle 3
+	sound_loop 0, .mainloop
 
 Music_SuicuneBattle_Ch2:
-	dutycycle $3
-	vibrato $14, $34
-	tone $0001
-	notetype $c, $c3
+	duty_cycle 3
+	vibrato 20, 3, 4
+	pitch_offset 1
+	note_type 12, 12, 3
 	octave 5
 	note E_, 1
 	octave 4
@@ -556,33 +557,33 @@
 	octave 4
 	note E_, 1
 	note A_, 6
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 2
 	note E_, 8
 	note E_, 8
 	note E_, 8
-	notetype $c, $c3
+	note_type 12, 12, 3
 	octave 4
 	note A#, 4
-	notetype $c, $c2
+	note_type 12, 12, 2
 	note A_, 4
 	octave 2
 	note E_, 8
 	note E_, 8
 	note E_, 8
-	notetype $c, $c3
+	note_type 12, 12, 3
 	octave 4
 	note A#, 4
-	notetype $c, $c2
+	note_type 12, 12, 2
 	note A_, 4
 	octave 4
 	note E_, 8
 	note E_, 8
 	note E_, 8
-	notetype $c, $c3
+	note_type 12, 12, 3
 	octave 4
 	note A#, 4
-	notetype $c, $c2
+	note_type 12, 12, 2
 	note A_, 4
 	octave 4
 	note E_, 8
@@ -590,19 +591,19 @@
 	note E_, 8
 	note E_, 4
 .mainloop:
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 3
 	note A_, 8
 	note B_, 8
 	note D_, 8
-	notetype $c, $b0
+	note_type 12, 11, 0
 	octave 4
 	note D_, 8
-	notetype $c, $b6
+	note_type 12, 11, 6
 	note D_, 8
-	vibrato $10, $24
-	dutycycle $2
-	notetype $c, $a4
+	vibrato 16, 2, 4
+	duty_cycle 2
+	note_type 12, 10, 4
 	octave 5
 	note A_, 6
 	note B_, 6
@@ -609,9 +610,9 @@
 	note D_, 4
 	octave 6
 	note D_, 8
-	vibrato $14, $34
-	dutycycle $3
-	notetype $c, $c7
+	vibrato 20, 3, 4
+	duty_cycle 3
+	note_type 12, 12, 7
 	octave 4
 	note C_, 8
 	note D_, 8
@@ -619,31 +620,31 @@
 	note G_, 8
 	octave 4
 	note F_, 8
-	notetype $c, $b0
+	note_type 12, 11, 0
 	note E_, 10
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note E_, 6
-	notetype $c, $a5
+	note_type 12, 10, 5
 	octave 2
 	note G_, 4
 	note A_, 4
 	note G_, 4
 	note B_, 4
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 3
 	note A_, 8
 	note B_, 8
 	note D_, 8
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 4
 	note D_, 8
-	notetype $c, $4c
+	note_type 12, 4, -4
 	note D_, 4
-	notetype $c, $c6
+	note_type 12, 12, 6
 	note D_, 4
-	notetype $c, $a4
-	vibrato $8, $24
-	dutycycle $2
+	note_type 12, 10, 4
+	vibrato 8, 2, 4
+	duty_cycle 2
 	octave 5
 	note A_, 6
 	note B_, 6
@@ -650,9 +651,9 @@
 	note D_, 4
 	octave 6
 	note D_, 8
-	vibrato $14, $34
-	notetype $c, $c7
-	dutycycle $3
+	vibrato 20, 3, 4
+	note_type 12, 12, 7
+	duty_cycle 3
 	octave 4
 	note C_, 8
 	note D_, 8
@@ -660,18 +661,18 @@
 	note G_, 8
 	octave 4
 	note F_, 8
-	notetype $c, $4c
+	note_type 12, 4, -4
 	note E_, 8
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note E_, 8
-	notetype $c, $c6
+	note_type 12, 12, 6
 	note C_, 8
 	note G_, 8
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 3
 	note F#, 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note B_, 4
 	note A_, 2
 	note G_, 2
@@ -686,23 +687,23 @@
 	note F#, 2
 	note G_, 2
 	note C_, 2
-	note __, 2
-	notetype $c, $c7
+	rest 2
+	note_type 12, 12, 7
 	octave 4
 	note C_, 10
-	notetype $c, $c3
+	note_type 12, 12, 3
 	octave 4
 	note G_, 2
 	note C_, 2
-	note __, 2
-	notetype $c, $c7
+	rest 2
+	note_type 12, 12, 7
 	octave 5
 	note C_, 10
-	notetype $c, $c3
+	note_type 12, 12, 3
 	octave 4
 	note F#, 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note B_, 4
 	note A_, 2
 	note G_, 2
@@ -715,12 +716,12 @@
 	note F#, 2
 	note E_, 2
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note G_, 8
 	note F#, 8
 	note E_, 8
 	note G_, 8
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 3
 	note F#, 2
 	note F#, 6
@@ -729,85 +730,85 @@
 	note F#, 2
 	note F#, 6
 	note F#, 2
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note G_, 6
-	notetype $c, $c2
+	note_type 12, 12, 2
 	note F#, 2
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 1
 	note B_, 4
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 3
 	note F#, 2
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 1
 	note B_, 4
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 3
 	note F#, 2
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 1
 	note B_, 4
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 3
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note G_, 6
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 4
 	note F#, 2
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 1
 	note B_, 4
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 4
 	note F#, 2
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 1
 	note B_, 4
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 4
 	note F#, 2
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 1
 	note B_, 4
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 4
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note G_, 6
-	notetype $c, $c2
+	note_type 12, 12, 2
 	note F#, 2
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 1
 	note B_, 4
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 4
 	note F#, 2
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 1
 	note B_, 4
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 4
 	note F#, 2
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 1
 	note B_, 4
-	notetype $c, $c2
+	note_type 12, 12, 2
 	octave 4
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note G_, 6
-	notetype $c, $b0
+	note_type 12, 11, 0
 	octave 3
 	note F#, 8
 	octave 2
@@ -820,10 +821,10 @@
 	note B_, 8
 	octave 3
 	note C_, 8
-	notetype $c, $b7
+	note_type 12, 11, 7
 	octave 3
 	note C_, 8
-	notetype $c, $c7
+	note_type 12, 12, 7
 	octave 1
 	note B_, 8
 	octave 2
@@ -833,13 +834,13 @@
 	note E_, 8
 	octave 1
 	note B_, 8
-	notetype $c, $b0
+	note_type 12, 11, 0
 	octave 2
 	note C_, 10
-	notetype $c, $b7
+	note_type 12, 11, 7
 	octave 2
 	note C_, 6
-	notetype $c, $c3
+	note_type 12, 12, 3
 	octave 1
 	note B_, 2
 	octave 2
@@ -1060,9 +1061,9 @@
 	octave 4
 	note D_, 2
 	note G_, 2
-	notetype $c, $c2
+	note_type 12, 12, 2
 	note A_, 8
-	notetype $c, $c3
+	note_type 12, 12, 3
 	octave 2
 	note A_, 2
 	note B_, 2
@@ -1184,12 +1185,12 @@
 	note E_, 2
 	note A_, 2
 	note B_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_SuicuneBattle_Ch3:
-	notetype $c, $18
-	note __, 16
-	note __, 4
+	note_type 12, 1, 8
+	rest 16
+	rest 4
 	octave 2
 	note A_, 4
 	note D_, 2
@@ -1278,7 +1279,7 @@
 	octave 2
 	note D_, 2
 	note E_, 2
-	notetype $c, $16
+	note_type 12, 1, 6
 .mainloop:
 	octave 1
 	note A_, 2
@@ -1581,24 +1582,24 @@
 	note G_, 2
 	note F#, 2
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 2
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 2
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 2
 	note G_, 6
 	note F#, 2
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 2
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 2
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 2
 	note G_, 6
 	note B_, 2
@@ -1662,27 +1663,27 @@
 	note B_, 8
 	octave 2
 	note C_, 16
-	note __, 4
+	rest 4
 	octave 1
 	note B_, 2
-	note __, 6
+	rest 6
 	note B_, 2
-	note __, 2
-	note __, 4
+	rest 2
+	rest 4
 	note B_, 2
-	note __, 6
+	rest 6
 	note B_, 2
-	note __, 2
-	note __, 4
+	rest 2
+	rest 4
 	note B_, 2
-	note __, 6
+	rest 6
 	note B_, 2
-	note __, 2
-	note __, 4
+	rest 2
+	rest 4
 	note B_, 2
-	note __, 6
+	rest 6
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
 	octave 2
 	note F_, 2
@@ -1889,7 +1890,7 @@
 	note D_, 2
 	note G#, 2
 	note A_, 4
-	note __, 4
+	rest 4
 	octave 1
 	note A_, 2
 	octave 2
@@ -2053,4 +2054,4 @@
 	note E_, 2
 	note D_, 2
 	note E_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
--- a/audio/music/surf.asm
+++ b/audio/music/surf.asm
@@ -1,78 +1,79 @@
 Music_Surf:
-	musicheader 3, 1, Music_Surf_Ch1
-	musicheader 1, 2, Music_Surf_Ch2
-	musicheader 1, 3, Music_Surf_Ch3
+	channel_count 3
+	channel 1, Music_Surf_Ch1
+	channel 2, Music_Surf_Ch2
+	channel 3, Music_Surf_Ch3
 
 	db $3 ; unused
 
 Music_Surf_Ch1:
 	tempo 108
-	volume $77
-	notetype $c, $a7
-	stereopanning $f
+	volume 7, 7
+	note_type 12, 10, 7
+	stereo_panning FALSE, TRUE
 .mainloop:
-	dutycycle $2
-	vibrato $10, $24
-	intensity $73
+	duty_cycle 2
+	vibrato 16, 2, 4
+	volume_envelope 7, 3
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
-	intensity $73
+	rest 1
+	volume_envelope 7, 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
-	intensity $73
+	rest 1
+	volume_envelope 7, 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	intensity $93
-	note __, 1
+	volume_envelope 9, 3
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
-	intensity $a7
+	rest 1
+	volume_envelope 10, 7
 	note F_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	intensity $b7
-	note __, 1
+	volume_envelope 11, 7
+	rest 1
 	note A#, 2
 	note G#, 2
 	note F_, 2
 	note D_, 2
-	notetype $8, $c7
+	note_type 8, 12, 7
 	octave 2
 	note A#, 2
 	octave 3
 	note D_, 2
 	note F_, 2
-	intensity $f7
+	volume_envelope 15, 7
 	note G#, 2
 	note A#, 2
 	octave 4
 	note D_, 2
-	dutycycle $0
-	callchannel .sub1
-	dutycycle $1
-	notetype $8, $a7
-	callchannel .sub1
-	callchannel .sub2
+	duty_cycle 0
+	sound_call .sub1
+	duty_cycle 1
+	note_type 8, 10, 7
+	sound_call .sub1
+	sound_call .sub2
 	octave 4
 	note C_, 2
 	octave 3
@@ -85,26 +86,26 @@
 	note C_, 2
 	note D#, 2
 	note G_, 2
-	dutycycle $1
-	notetype $6, $97
-	callchannel .sub2
-	intensity $a8
+	duty_cycle 1
+	note_type 6, 9, 7
+	sound_call .sub2
+	volume_envelope 10, 8
 	note G#, 6
 	note A_, 6
 	note A#, 3
 	octave 4
 	note D_, 3
-	intensity $a8
-	dutycycle $1
-	callchannel .sub3
+	volume_envelope 10, 8
+	duty_cycle 1
+	sound_call .sub3
 	octave 3
 	note D#, 8
 	note G#, 8
 	note D#, 8
-	dutycycle $3
-	notetype $8, $98
-	callchannel .sub3
-	notetype $c, $a7
+	duty_cycle 3
+	note_type 8, 9, 8
+	sound_call .sub3
+	note_type 12, 10, 7
 	octave 3
 	note D#, 12
 	octave 2
@@ -117,89 +118,89 @@
 	note B_, 2
 	octave 3
 	note D#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	notetype $c, $a7
+	note_type 12, 10, 7
 	octave 3
 	note D#, 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 4
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 4
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 4
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
-	notetype $6, $a7
+	rest 1
+	note_type 6, 10, 7
 	octave 3
 	note A#, 1
 	note B_, 15
@@ -211,7 +212,7 @@
 	note F_, 8
 	note C#, 4
 	note D_, 4
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 4
@@ -226,7 +227,7 @@
 	note D#, 4
 	note G_, 4
 	note G#, 4
-	notetype $8, $92
+	note_type 8, 9, 2
 	note A#, 2
 	note F_, 2
 	note D_, 2
@@ -251,7 +252,7 @@
 	note A#, 2
 	octave 4
 	note D_, 2
-	notetype $6, $97
+	note_type 6, 9, 7
 	note C#, 1
 	note D_, 15
 	note G_, 4
@@ -264,7 +265,7 @@
 	note G_, 4
 	note A_, 4
 	note A#, 4
-	notetype $8, $92
+	note_type 8, 9, 2
 	octave 5
 	note C_, 2
 	octave 4
@@ -277,7 +278,7 @@
 	note C_, 2
 	octave 3
 	note G_, 2
-	endchannel
+	sound_ret
 
 .sub3:
 	octave 3
@@ -286,7 +287,7 @@
 	note A#, 3
 	octave 4
 	note D#, 9
-	notetype $6, $58
+	note_type 6, 5, 8
 	note D_, 1
 	note C#, 1
 	note C_, 1
@@ -296,7 +297,7 @@
 	note A_, 1
 	note G#, 1
 	note G_, 1
-	intensity $a8
+	volume_envelope 10, 8
 	note D#, 4
 	note D_, 4
 	note D#, 4
@@ -316,7 +317,7 @@
 	octave 4
 	note C_, 4
 	note F_, 12
-	intensity $58
+	volume_envelope 5, 8
 	note D#, 1
 	note D_, 1
 	note C#, 1
@@ -326,7 +327,7 @@
 	note A#, 1
 	note A_, 1
 	note G_, 1
-	intensity $a8
+	volume_envelope 10, 8
 	note G#, 8
 	octave 4
 	note D#, 4
@@ -336,30 +337,30 @@
 	note D#, 8
 	octave 2
 	note B_, 8
-	endchannel
+	sound_ret
 
 Music_Surf_Ch2:
 .mainloop:
-	notetype $c, $c2
-	stereopanning $f0
-	dutycycle $2
-	vibrato $14, $23
+	note_type 12, 12, 2
+	stereo_panning TRUE, FALSE
+	duty_cycle 2
+	vibrato 20, 2, 3
 .loop1:
 	octave 1
 	note A#, 4
 	octave 2
 	note A#, 1
-	note __, 3
+	rest 3
 	note A#, 1
-	note __, 3
-	loopchannel 3, .loop1
+	rest 3
+	sound_loop 3, .loop1
 	octave 1
 	note A#, 4
 	octave 2
 	note F_, 1
-	note __, 3
+	rest 3
 	note A#, 1
-	note __, 3
+	rest 3
 .loop2:
 	note D#, 4
 	note G_, 2
@@ -395,47 +396,47 @@
 	note B_, 4
 	note A#, 4
 	note G#, 4
-	loopchannel 2, .loop2
-	intensity $c7
-	callchannel .sub1
+	sound_loop 2, .loop2
+	volume_envelope 12, 7
+	sound_call .sub1
 	note D#, 4
 	note D_, 4
 	note C#, 4
-	callchannel .sub1
+	sound_call .sub1
 	note D_, 4
 	note D#, 4
 	octave 1
 	note A#, 4
-	notetype $6, $b8
-	callchannel .sub2
-	dutycycle $1
-	intensity $b8
-	callchannel .sub3
-	dutycycle $2
-	callchannel .sub4
-	dutycycle $1
-	intensity $b8
-	callchannel .sub5
+	note_type 6, 11, 8
+	sound_call .sub2
+	duty_cycle 1
+	volume_envelope 11, 8
+	sound_call .sub3
+	duty_cycle 2
+	sound_call .sub4
+	duty_cycle 1
+	volume_envelope 11, 8
+	sound_call .sub5
 	octave 3
 	note B_, 16
 	octave 4
 	note C#, 8
-	pitchoffset 0, CC
-	dutycycle $3
-	callchannel .sub2
-	intensity $b8
-	dutycycle $1
-	callchannel .sub3
-	dutycycle $3
-	callchannel .sub4
-	intensity $b8
-	dutycycle $1
-	callchannel .sub5
-	pitchoffset 0, C_
-	notetype $c, $b8
+	transpose 0, 12
+	duty_cycle 3
+	sound_call .sub2
+	volume_envelope 11, 8
+	duty_cycle 1
+	sound_call .sub3
+	duty_cycle 3
+	sound_call .sub4
+	volume_envelope 11, 8
+	duty_cycle 1
+	sound_call .sub5
+	transpose 0, 0
+	note_type 12, 11, 8
 	octave 4
 	note B_, 12
-	dutycycle $2
+	duty_cycle 2
 	note A#, 4
 	note G#, 4
 	note D#, 4
@@ -442,7 +443,7 @@
 	note G#, 4
 	note A#, 4
 	note B_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 1
@@ -480,7 +481,7 @@
 	octave 3
 	note F_, 4
 	note G_, 4
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 4
@@ -488,7 +489,7 @@
 	note D#, 4
 	note F_, 4
 	note G_, 12
-	intensity $58
+	volume_envelope 5, 8
 	note F#, 1
 	note F_, 1
 	note E_, 1
@@ -499,7 +500,7 @@
 	octave 3
 	note B_, 1
 	note A_, 1
-	endchannel
+	sound_ret
 
 .sub3:
 	note A#, 7
@@ -512,7 +513,7 @@
 	octave 4
 	note C_, 16
 	note G_, 8
-	endchannel
+	sound_ret
 
 .sub4:
 	note F#, 1
@@ -520,7 +521,7 @@
 	note F_, 4
 	note G_, 4
 	note G#, 12
-	intensity $58
+	volume_envelope 5, 8
 	note G_, 1
 	note F#, 1
 	note F_, 1
@@ -530,7 +531,7 @@
 	note C#, 1
 	octave 3
 	note B_, 1
-	endchannel
+	sound_ret
 
 .sub5:
 	octave 4
@@ -540,13 +541,13 @@
 	note A#, 8
 	note G#, 8
 	note D#, 8
-	endchannel
+	sound_ret
 
 Music_Surf_Ch3:
 .mainloop:
-	stereopanning $ff
-	notetype $c, $15
-	vibrato $16, $23
+	stereo_panning TRUE, TRUE
+	note_type 12, 1, 5
+	vibrato 22, 2, 3
 	octave 4
 	note A#, 12
 	octave 5
@@ -556,12 +557,12 @@
 	note F_, 4
 	note G_, 4
 	note G#, 4
-	intensity $12
+	volume_envelope 1, 2
 	note A#, 12
-	note __, 4
+	rest 4
 	note G#, 4
 	note G_, 4
-	notetype $6, $12
+	note_type 6, 1, 2
 	note F#, 1
 	note G_, 15
 	note G#, 4
@@ -569,12 +570,12 @@
 	note F_, 16
 	octave 4
 	note A#, 8
-	notetype $c, $12
+	note_type 12, 1, 2
 	octave 5
 	note G#, 16
 	note G_, 4
 	note F_, 4
-	notetype $6, $12
+	note_type 6, 1, 2
 	note E_, 1
 	note F_, 15
 	note G_, 4
@@ -581,12 +582,12 @@
 	note F_, 4
 	note D#, 16
 	note F_, 8
-	notetype $c, $14
+	note_type 12, 1, 4
 	note A#, 12
-	note __, 4
+	rest 4
 	note G#, 4
 	note G_, 4
-	notetype $6, $14
+	note_type 6, 1, 4
 	note F#, 1
 	note G_, 15
 	note G#, 4
@@ -594,12 +595,12 @@
 	note F_, 16
 	octave 4
 	note A#, 8
-	notetype $c, $14
+	note_type 12, 1, 4
 	octave 5
 	note G#, 16
 	note G_, 4
 	note F_, 4
-	notetype $6, $14
+	note_type 6, 1, 4
 	note E_, 1
 	note F_, 15
 	note G_, 4
@@ -607,11 +608,11 @@
 	note D#, 16
 	octave 6
 	note D#, 8
-	notetype $c, $13
+	note_type 12, 1, 3
 	note C_, 16
 	note D_, 4
 	note D#, 4
-	notetype $6, $13
+	note_type 6, 1, 3
 	note D_, 1
 	note D#, 15
 	note D_, 4
@@ -620,10 +621,10 @@
 	note D_, 16
 	octave 6
 	note D_, 8
-	notetype $c, $13
+	note_type 12, 1, 3
 	octave 5
 	note A#, 12
-	notetype $6, $13
+	note_type 6, 1, 3
 	note A_, 1
 	note A#, 7
 	octave 6
@@ -634,12 +635,12 @@
 	note D_, 4
 	note D#, 16
 	note D_, 8
-	notetype $c, $14
+	note_type 12, 1, 4
 	note C_, 12
 	note C_, 4
 	note D_, 4
 	note D#, 4
-	notetype $6, $14
+	note_type 6, 1, 4
 	note D_, 1
 	note D#, 15
 	note D_, 4
@@ -648,22 +649,22 @@
 	note D_, 16
 	octave 6
 	note D_, 8
-	notetype $c, $14
+	note_type 12, 1, 4
 	octave 5
 	note A#, 12
-	notetype $6, $14
+	note_type 6, 1, 4
 	note A_, 1
 	note A#, 7
 	octave 6
 	note C_, 8
 	note D_, 8
-	notetype $c, $14
+	note_type 12, 1, 4
 	note F_, 12
 	note G_, 8
 	octave 5
 	note A#, 4
-	intensity $15
-	callchannel .sub1
+	volume_envelope 1, 5
+	sound_call .sub1
 	octave 2
 	note B_, 4
 	octave 3
@@ -672,7 +673,7 @@
 	note G#, 4
 	note A#, 4
 	note B_, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 2
 	note B_, 4
 	octave 3
@@ -685,38 +686,38 @@
 	note D#, 8
 	octave 2
 	note B_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note D#, 4
 	note G_, 1
-	note __, 3
+	rest 3
 	note A#, 1
-	note __, 3
+	rest 3
 	note D#, 4
 	note G_, 1
-	note __, 3
+	rest 3
 	note A#, 1
-	note __, 3
+	rest 3
 	note C#, 4
 	note G_, 1
-	note __, 3
+	rest 3
 	note A#, 1
-	note __, 3
+	rest 3
 	note C#, 4
 	note G_, 1
-	note __, 3
+	rest 3
 	note A#, 1
-	note __, 3
+	rest 3
 	note C_, 4
 	note F_, 1
-	note __, 3
+	rest 3
 	note G#, 1
-	note __, 3
+	rest 3
 	note C_, 4
 	note F_, 1
-	note __, 3
+	rest 3
 	note G#, 1
-	note __, 3
-	endchannel
+	rest 3
+	sound_ret
--- a/audio/music/tintower.asm
+++ b/audio/music/tintower.asm
@@ -1,18 +1,19 @@
 Music_TinTower:
-	musicheader 4, 1, Music_TinTower_Ch1
-	musicheader 1, 2, Music_TinTower_Ch2
-	musicheader 1, 3, Music_TinTower_Ch3
-	musicheader 1, 4, Music_TinTower_Ch4
+	channel_count 4
+	channel 1, Music_TinTower_Ch1
+	channel 2, Music_TinTower_Ch2
+	channel 3, Music_TinTower_Ch3
+	channel 4, Music_TinTower_Ch4
 
 Music_TinTower_Ch1:
 	tempo 208
-	volume $77
-	dutycycle $3
-	tone $0004
-	vibrato $8, $45
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 4
+	vibrato 8, 4, 5
 .mainloop:
-	stereopanning $f0
-	notetype $c, $a5
+	stereo_panning TRUE, FALSE
+	note_type 12, 10, 5
 	octave 3
 	note G_, 4
 	note C_, 4
@@ -63,25 +64,25 @@
 	note G_, 4
 	octave 3
 	note G_, 8
-	intensity $a2
+	volume_envelope 10, 2
 	octave 2
 	note G_, 4
 	note G_, 12
 	note G_, 4
 	note G_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note G_, 4
-	intensity $a2
+	volume_envelope 10, 2
 	note G#, 4
 	note G#, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note G_, 4
-	intensity $a2
+	volume_envelope 10, 2
 	note G#, 4
 	note G#, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note A#, 4
-	intensity $a2
+	volume_envelope 10, 2
 	note G_, 4
 	note G_, 12
 	note G_, 4
@@ -90,19 +91,19 @@
 	note G_, 12
 	note G_, 4
 	note G_, 8
-	intensity $a5
+	volume_envelope 10, 5
 	octave 3
 	note A#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_TinTower_Ch2:
-	dutycycle $3
-	tone $0002
-	vibrato $18, $44
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 24, 4, 4
 .mainloop:
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 .loop1:
-	notetype $c, $b5
+	note_type 12, 11, 5
 	octave 4
 	note C_, 4
 	note C_, 4
@@ -131,28 +132,28 @@
 	note C_, 4
 	octave 4
 	note C_, 8
-	stereopanning $f
-	loopchannel 2, .loop1
-	intensity $b2
+	stereo_panning FALSE, TRUE
+	sound_loop 2, .loop1
+	volume_envelope 11, 2
 	octave 3
 	note C_, 4
 	note C_, 12
 	note C_, 4
 	note C_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note C#, 4
 	note C#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note C_, 4
-	intensity $b2
+	volume_envelope 11, 2
 	note C#, 4
 	note C#, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 4
-	intensity $90
-	stereopanning $ff
+	volume_envelope 9, 0
+	stereo_panning TRUE, TRUE
 	note G_, 4
 	octave 4
 	note C_, 4
@@ -180,17 +181,17 @@
 	note C_, 4
 	octave 4
 	note C_, 6
-	intensity $95
+	volume_envelope 9, 5
 	note C#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_TinTower_Ch3:
-	notetype $c, $14
+	note_type 12, 1, 4
 .mainloop:
-	note __, 16
-	note __, 16
-	note __, 16
-	note __, 10
+	rest 16
+	rest 16
+	rest 16
+	rest 10
 	octave 2
 	note G_, 2
 	note G#, 2
@@ -212,34 +213,34 @@
 	note C_, 8
 	octave 3
 	note C_, 1
-	note __, 3
+	rest 3
 	note C_, 1
-	note __, 11
+	rest 11
 	note C_, 1
-	note __, 3
+	rest 3
 	note C_, 1
-	note __, 7
+	rest 7
 	note C_, 4
 	note C#, 1
-	note __, 3
+	rest 3
 	note C#, 1
-	note __, 7
+	rest 7
 	note C_, 4
 	note C#, 1
-	note __, 3
+	rest 3
 	note C#, 1
-	note __, 7
+	rest 7
 	note D#, 4
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	note C_, 1
-	note __, 3
+	rest 3
 	note C_, 1
-	note __, 11
+	rest 11
 	note C_, 1
-	note __, 3
+	rest 3
 	note C_, 1
-	note __, 3
-	stereopanning $ff
+	rest 3
+	stereo_panning TRUE, TRUE
 	octave 2
 	note A#, 2
 	octave 3
@@ -246,46 +247,46 @@
 	note C_, 2
 	note C#, 2
 	note D#, 2
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	note C_, 1
-	note __, 3
+	rest 3
 	note C_, 1
-	note __, 11
+	rest 11
 	note C_, 1
-	note __, 3
+	rest 3
 	note C_, 1
-	note __, 11
-	stereopanning $ff
-	loopchannel 0, .mainloop
+	rest 11
+	stereo_panning TRUE, TRUE
+	sound_loop 0, .mainloop
 
 Music_TinTower_Ch4:
-	togglenoise $0
-	notetype $c
+	toggle_noise 0
+	drum_speed 12
 .mainloop:
-	stereopanning $f
-	note G_, 2
-	stereopanning $f0
-	note G_, 1
-	note G_, 1
-	stereopanning $f
-	note G_, 2
-	stereopanning $f0
-	note F_, 4
-	stereopanning $f
-	note G_, 2
-	note G_, 2
-	note F_, 2
-	stereopanning $f0
-	note G_, 2
-	stereopanning $f
-	note G_, 1
-	note G_, 1
-	stereopanning $f0
-	note G_, 2
-	stereopanning $f
-	note F_, 4
-	stereopanning $f0
-	note G_, 2
-	note G_, 2
-	note F_, 2
-	loopchannel 0, .mainloop
+	stereo_panning FALSE, TRUE
+	drum_note 8, 2
+	stereo_panning TRUE, FALSE
+	drum_note 8, 1
+	drum_note 8, 1
+	stereo_panning FALSE, TRUE
+	drum_note 8, 2
+	stereo_panning TRUE, FALSE
+	drum_note 6, 4
+	stereo_panning FALSE, TRUE
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 6, 2
+	stereo_panning TRUE, FALSE
+	drum_note 8, 2
+	stereo_panning FALSE, TRUE
+	drum_note 8, 1
+	drum_note 8, 1
+	stereo_panning TRUE, FALSE
+	drum_note 8, 2
+	stereo_panning FALSE, TRUE
+	drum_note 6, 4
+	stereo_panning TRUE, FALSE
+	drum_note 8, 2
+	drum_note 8, 2
+	drum_note 6, 2
+	sound_loop 0, .mainloop
--- a/audio/music/titlescreen.asm
+++ b/audio/music/titlescreen.asm
@@ -1,36 +1,37 @@
 Music_TitleScreen:
-	musicheader 4, 1, Music_TitleScreen_Ch1
-	musicheader 1, 2, Music_TitleScreen_Ch2
-	musicheader 1, 3, Music_TitleScreen_Ch3
-	musicheader 1, 4, Music_TitleScreen_Ch4
+	channel_count 4
+	channel 1, Music_TitleScreen_Ch1
+	channel 2, Music_TitleScreen_Ch2
+	channel 3, Music_TitleScreen_Ch3
+	channel 4, Music_TitleScreen_Ch4
 
 Music_TitleScreen_Ch1:
 	tempo 134
-	volume $77
-	dutycycle $3
-	tone $0002
-	vibrato $10, $12
-	stereopanning $f0
-	notetype $c, $a7
-	intensity $a0
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 2
+	vibrato 16, 1, 2
+	stereo_panning TRUE, FALSE
+	note_type 12, 10, 7
+	volume_envelope 10, 0
 	octave 3
-	note __, 4
-	intensity $a7
+	rest 4
+	volume_envelope 10, 7
 	octave 2
 	note G_, 1
-	note __, 2
+	rest 2
 	note A_, 1
 	note B_, 8
 	note G_, 4
 	octave 3
 	note C_, 1
-	note __, 2
+	rest 2
 	note D_, 1
 	note E_, 8
 	note C_, 4
 	octave 2
 	note B_, 1
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 1
 	octave 2
@@ -37,16 +38,16 @@
 	note B_, 8
 	note A_, 4
 	note A_, 1
-	note __, 2
+	rest 2
 	note B_, 1
 	octave 3
 	note C_, 6
 	note E_, 4
 	note F#, 2
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 	octave 4
 	note G_, 1
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	octave 3
 	note D_, 5
 	octave 2
@@ -60,7 +61,7 @@
 	note F_, 6
 	note C_, 4
 	note D_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note D#, 1
 	note E_, 1
 	note F_, 6
@@ -67,7 +68,7 @@
 	note E_, 1
 	note D#, 1
 	note D_, 8
-	notetype $8, $a7
+	note_type 8, 10, 7
 	note C_, 4
 	octave 2
 	note B_, 4
@@ -87,22 +88,22 @@
 	note E_, 4
 	note E_, 4
 	note C_, 4
-	notetype $8, $a0
+	note_type 8, 10, 0
 	octave 2
 	note B_, 6
-	notetype $8, $a7
+	note_type 8, 10, 7
 	note B_, 6
-	notetype $8, $a7
+	note_type 8, 10, 7
 	octave 3
 	note F_, 4
 	note E_, 4
 	note C_, 4
-	notetype $8, $a0
+	note_type 8, 10, 0
 	note D_, 6
-	notetype $8, $a7
+	note_type 8, 10, 7
 	note D_, 6
-	notetype $8, $a7
-	note __, 3
+	note_type 8, 10, 7
+	rest 3
 	octave 2
 	note B_, 3
 	octave 3
@@ -120,7 +121,7 @@
 	note F_, 9
 	note C_, 6
 	note D_, 9
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note D#, 1
 	note E_, 1
 	note F_, 6
@@ -127,7 +128,7 @@
 	note E_, 1
 	note D#, 1
 	note D_, 8
-	notetype $8, $a7
+	note_type 8, 10, 7
 	note C_, 4
 	octave 2
 	note B_, 4
@@ -138,7 +139,7 @@
 	note B_, 3
 	octave 3
 	note D_, 9
-	notetype $8, $b7
+	note_type 8, 11, 7
 	note G_, 3
 	note A_, 4
 	note G_, 4
@@ -150,29 +151,29 @@
 	note G_, 3
 	note D_, 6
 	note G_, 3
-	notetype $8, $54
+	note_type 8, 5, 4
 	octave 2
 	note G_, 3
 	note B_, 3
-	notetype $8, $94
+	note_type 8, 9, 4
 	octave 3
 	note D_, 3
 	note G_, 3
 	tempo 136
-	notetype $8, $b4
+	note_type 8, 11, 4
 	note F_, 3
 	note A_, 3
-	notetype $8, $d4
+	note_type 8, 13, 4
 	octave 4
 	note C_, 3
 	note F_, 3
 	tempo 138
-	notetype $8, $b4
+	note_type 8, 11, 4
 	note D_, 9
 	note C_, 9
 	octave 3
 	note A#, 6
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note F_, 1
 	note E_, 1
 	note D_, 1
@@ -184,7 +185,7 @@
 	note E_, 6
 	octave 3
 	note G_, 2
-	notetype $8, $b7
+	note_type 8, 11, 7
 	note A_, 4
 	note G_, 4
 	note F_, 4
@@ -194,33 +195,33 @@
 	tempo 136
 	note C#, 6
 	tempo 134
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note C_, 4
 	note C_, 4
 	note C#, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note C_, 4
 	note C_, 4
 	note C#, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note E_, 4
 	note E_, 4
 	note C_, 4
-	notetype $c, $a0
+	note_type 12, 10, 0
 	note D_, 6
-	notetype $c, $a7
+	note_type 12, 10, 7
 	note D_, 10
-	intensity $a0
+	volume_envelope 10, 0
 	note C_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note C_, 8
-	intensity $a0
+	volume_envelope 10, 0
 	octave 2
 	note B_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	note B_, 8
 	octave 3
 	note C_, 8
@@ -239,25 +240,25 @@
 	note F#, 1
 	note F_, 8
 	note E_, 8
-	intensity $a0
+	volume_envelope 10, 0
 	note D_, 16
-	intensity $a7
+	volume_envelope 10, 7
 	note D_, 16
-	intensity $a3
+	volume_envelope 10, 3
 	octave 2
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 5
+	rest 5
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
-	notetype $8, $b2
+	rest 3
+	note_type 8, 11, 2
 	note A_, 2
 	note A_, 2
 	note A_, 2
@@ -264,19 +265,19 @@
 	note A_, 2
 	note A_, 2
 	note F#, 2
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 1
 	note G_, 1
-	note __, 11
-	endchannel
+	rest 11
+	sound_ret
 
 .sub1:
-	notetype $c, $c3
+	note_type 12, 12, 3
 	note D_, 1
 .sub1loop1:
-	note __, 1
+	rest 1
 	octave 2
 	note D_, 1
 	octave 1
@@ -283,19 +284,19 @@
 	note A_, 1
 	octave 2
 	note D_, 1
-	loopchannel 5, .sub1loop1
-	note __, 1
+	sound_loop 5, .sub1loop1
+	rest 1
 	note D_, 1
 	octave 1
 	note A_, 1
-	notetype $8, $b7
-	endchannel
+	note_type 8, 11, 7
+	sound_ret
 
 Music_TitleScreen_Ch2:
-	dutycycle $3
-	vibrato $14, $12
-	notetype $c, $c7
-	intensity $a4
+	duty_cycle 3
+	vibrato 20, 1, 2
+	note_type 12, 12, 7
+	volume_envelope 10, 4
 	octave 1
 	note G_, 1
 	octave 2
@@ -303,21 +304,21 @@
 	note G_, 1
 	octave 3
 	note C_, 1
-	intensity $c2
+	volume_envelope 12, 2
 	octave 3
 	note B_, 1
-	note __, 2
+	rest 2
 	note A_, 1
-	intensity $b0
+	volume_envelope 11, 0
 	note G_, 6
-	intensity $b7
+	volume_envelope 11, 7
 	note G_, 6
-	note __, 16
-	note __, 16
-	intensity $c7
+	rest 16
+	rest 16
+	volume_envelope 12, 7
 	octave 4
 	note C_, 1
-	note __, 2
+	rest 2
 	note D_, 1
 	note E_, 8
 	note F#, 2
@@ -328,26 +329,26 @@
 	note B_, 2
 	octave 4
 	note D_, 8
-	stereopanning $f0
-	intensity $97
+	stereo_panning TRUE, FALSE
+	volume_envelope 9, 7
 	octave 2
 	note A_, 4
 	note F_, 4
-	stereopanning $ff
-	intensity $c7
+	stereo_panning TRUE, TRUE
+	volume_envelope 12, 7
 	octave 4
 	note F_, 6
 	note E_, 1
 	note D#, 1
 	note D_, 8
-	stereopanning $f0
-	intensity $97
+	stereo_panning TRUE, FALSE
+	volume_envelope 9, 7
 	octave 2
 	note A_, 6
 	octave 3
 	note C_, 2
-	stereopanning $f
-	intensity $a3
+	stereo_panning FALSE, TRUE
+	volume_envelope 10, 3
 	octave 4
 	note D_, 4
 	note D_, 2
@@ -355,21 +356,21 @@
 	note C_, 2
 	octave 3
 	note B_, 4
-	stereopanning $ff
-	intensity $c7
+	stereo_panning TRUE, TRUE
+	volume_envelope 12, 7
 	octave 3
 	note G_, 6
 	note B_, 2
 	octave 4
 	note D_, 8
-	stereopanning $f0
-	intensity $97
+	stereo_panning TRUE, FALSE
+	volume_envelope 9, 7
 	octave 2
 	note A_, 2
 	note F_, 4
 	note A_, 2
-	stereopanning $ff
-	notetype $8, $c7
+	stereo_panning TRUE, TRUE
+	note_type 8, 12, 7
 	octave 4
 	note C_, 4
 	octave 3
@@ -377,12 +378,12 @@
 	octave 4
 	note C_, 4
 	note D_, 12
-	stereopanning $f0
-	notetype $8, $b7
+	stereo_panning TRUE, FALSE
+	note_type 8, 11, 7
 	octave 2
 	note A_, 9
-	stereopanning $f
-	notetype $c, $c7
+	stereo_panning FALSE, TRUE
+	note_type 12, 12, 7
 	note G_, 1
 	note A_, 1
 	note B_, 6
@@ -389,29 +390,29 @@
 	note E_, 1
 	note F#, 1
 	note G_, 4
-	notetype $c, $4b
+	note_type 12, 4, -3
 	note A_, 4
-	stereopanning $ff
-	notetype $c, $c7
+	stereo_panning TRUE, TRUE
+	note_type 12, 12, 7
 	octave 3
 	note G_, 6
 	note B_, 2
 	octave 4
 	note D_, 8
-	stereopanning $f0
-	intensity $97
+	stereo_panning TRUE, FALSE
+	volume_envelope 9, 7
 	octave 2
 	note A_, 2
 	note F_, 6
-	stereopanning $ff
-	intensity $c7
+	stereo_panning TRUE, TRUE
+	volume_envelope 12, 7
 	octave 4
 	note F_, 6
 	note E_, 1
 	note D#, 1
 	note D_, 8
-	stereopanning $f0
-	intensity $97
+	stereo_panning TRUE, FALSE
+	volume_envelope 9, 7
 	octave 3
 	note C_, 2
 	octave 2
@@ -418,24 +419,24 @@
 	note A_, 6
 	note B_, 6
 	note G_, 2
-	notetype $8, $c7
+	note_type 8, 12, 7
 	note F_, 4
 	note G_, 4
 	note F_, 4
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 	octave 3
 	note G_, 9
 	note B_, 3
 	octave 4
 	note D_, 12
-	stereopanning $f0
-	notetype $8, $a7
+	stereo_panning TRUE, FALSE
+	note_type 8, 10, 7
 	octave 3
 	note D_, 4
 	note C_, 4
 	note D_, 4
-	stereopanning $ff
-	notetype $8, $c7
+	stereo_panning TRUE, TRUE
+	note_type 8, 12, 7
 	octave 4
 	note F_, 4
 	note E_, 4
@@ -442,58 +443,58 @@
 	note F_, 4
 	note G_, 9
 	note A#, 3
-	notetype $c, $b0
+	note_type 12, 11, 0
 	note G_, 8
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note G_, 8
-	intensity $c6
+	volume_envelope 12, 6
 	note A_, 4
-	intensity $5d
+	volume_envelope 5, -5
 	note A_, 4
-	intensity $c7
+	volume_envelope 12, 7
 	note A#, 6
-	intensity $c3
+	volume_envelope 12, 3
 	note F_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note F_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	octave 3
 	note A#, 8
-	intensity $c7
+	volume_envelope 12, 7
 	octave 4
 	note A#, 4
 	note B_, 4
 	octave 5
 	note C_, 6
-	intensity $c3
+	volume_envelope 12, 3
 	octave 4
 	note G_, 2
-	intensity $c7
+	volume_envelope 12, 7
 	note G_, 8
-	intensity $a7
+	volume_envelope 10, 7
 	octave 3
 	note E_, 8
-	intensity $c7
+	volume_envelope 12, 7
 	octave 5
 	note C_, 4
 	note C#, 4
-	tone $0001
-	stereopanning $f
-	callchannel .sub1
+	pitch_offset 1
+	stereo_panning FALSE, TRUE
+	sound_call .sub1
 	note C#, 4
-	callchannel .sub1
+	sound_call .sub1
 	note C#, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note A_, 4
-	stereopanning $ff
-	tone 0
-	notetype $c, $b0
+	stereo_panning TRUE, TRUE
+	pitch_offset 0
+	note_type 12, 11, 0
 	octave 3
 	note B_, 6
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note B_, 10
-	intensity $c7
+	volume_envelope 12, 7
 	note A_, 8
 	note F_, 6
 	note E_, 1
@@ -502,11 +503,11 @@
 	note G_, 8
 	note F_, 8
 	note A_, 8
-	intensity $b0
+	volume_envelope 11, 0
 	note G_, 8
-	intensity $b7
+	volume_envelope 11, 7
 	note G_, 8
-	intensity $c7
+	volume_envelope 12, 7
 	note F_, 8
 	octave 4
 	note F_, 6
@@ -520,25 +521,25 @@
 	note A_, 6
 	note F_, 1
 	note A_, 1
-	intensity $b0
+	volume_envelope 11, 0
 	note G_, 16
-	intensity $b7
+	volume_envelope 11, 7
 	note G_, 16
-	intensity $c2
+	volume_envelope 12, 2
 	octave 4
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 5
+	rest 5
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
-	intensity $90
+	rest 3
+	volume_envelope 9, 0
 	note G_, 4
-	notetype $8, $c2
+	note_type 8, 12, 2
 	octave 3
 	note F_, 2
 	note F_, 2
@@ -546,16 +547,16 @@
 	note F_, 2
 	note F_, 2
 	note F#, 2
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note G_, 1
-	note __, 11
-	endchannel
+	rest 11
+	sound_ret
 
 .sub1:
-	notetype $c, $b2
+	note_type 12, 11, 2
 	note D_, 1
 .sub1loop1:
 	octave 3
@@ -564,35 +565,35 @@
 	note D_, 1
 	note A_, 1
 	note D_, 1
-	loopchannel 5, .sub1loop1
+	sound_loop 5, .sub1loop1
 	octave 3
 	note A_, 1
 	octave 4
 	note D_, 1
 	note A_, 1
-	notetype $8, $b7
+	note_type 8, 11, 7
 	octave 5
 	note C_, 4
 	note C_, 4
-	endchannel
+	sound_ret
 
 Music_TitleScreen_Ch3:
-	stereopanning $f
-	vibrato $10, $14
-	tone $0001
-	notetype $c, $16
+	stereo_panning FALSE, TRUE
+	vibrato 16, 1, 4
+	pitch_offset 1
+	note_type 12, 1, 6
 	octave 3
 	octave 3
-	note __, 4
+	rest 4
 	octave 2
 	note G_, 2
 	note D_, 1
 	note C#, 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note G_, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 2
 	note G_, 2
 	note D_, 2
@@ -602,10 +603,10 @@
 	note B_, 1
 	octave 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note F_, 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 2
 	note F_, 2
 	note C_, 2
@@ -613,10 +614,10 @@
 	note D_, 1
 	note C#, 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note G_, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 2
 	note G_, 2
 	note D_, 2
@@ -624,7 +625,7 @@
 	note F_, 1
 	note E_, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	note F_, 2
 	note A_, 4
@@ -767,10 +768,10 @@
 	note G_, 6
 	note E_, 4
 	note D_, 1
-	note __, 1
-	stereopanning $ff
-	notetype $c, $16
-	tone 0
+	rest 1
+	stereo_panning TRUE, TRUE
+	note_type 12, 1, 6
+	pitch_offset 0
 	octave 4
 	note A_, 2
 	octave 5
@@ -779,17 +780,17 @@
 	note G_, 2
 	note F#, 2
 	note D_, 1
-	note __, 2
+	rest 2
 	note E_, 1
 	note F#, 4
-	notetype $8, $16
+	note_type 8, 1, 6
 	octave 3
 	note C_, 4
 	note C_, 4
 	note C#, 4
-	notetype $c, $16
+	note_type 12, 1, 6
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note A_, 2
 	octave 5
@@ -798,18 +799,18 @@
 	note G_, 2
 	note F#, 2
 	note B_, 1
-	note __, 2
+	rest 2
 	note A_, 1
 	note A_, 4
-	notetype $8, $16
+	note_type 8, 1, 6
 	octave 3
 	note C_, 4
 	note C_, 4
 	note C#, 4
-	notetype $c, $16
+	note_type 12, 1, 6
 	note D_, 1
-	note __, 1
-	notetype $c, $16
+	rest 1
+	note_type 12, 1, 6
 	octave 4
 	note A_, 2
 	octave 5
@@ -820,15 +821,15 @@
 	note F#, 1
 	note E_, 1
 	note D_, 6
-	tone $0001
-	notetype $8, $16
+	pitch_offset 1
+	note_type 8, 1, 6
 	octave 3
 	note C_, 4
 	note C_, 4
 	note E_, 2
 	note F#, 2
-	stereopanning $f
-	notetype $c, $16
+	stereo_panning FALSE, TRUE
+	note_type 12, 1, 6
 	note G_, 16
 	note F_, 16
 	note G_, 8
@@ -849,35 +850,35 @@
 	note E_, 1
 	note F_, 16
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 5
+	rest 5
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 5
+	rest 5
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 2
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 5
+	rest 5
 	note G_, 1
 	note G_, 1
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 1
-	note __, 3
-	notetype $8, $16
+	rest 3
+	note_type 8, 1, 6
 	note F_, 2
 	note F_, 2
 	note F_, 2
@@ -884,286 +885,286 @@
 	note F_, 2
 	note F_, 2
 	note A_, 2
-	notetype $c, $16
+	note_type 12, 1, 6
 	note G_, 1
-	note __, 3
+	rest 3
 	octave 1
 	note G_, 1
-	note __, 11
-	endchannel
+	rest 11
+	sound_ret
 
 Music_TitleScreen_Ch4:
-	togglenoise $5
-	stereopanning $f0
-	notetype $c
-	note __, 4
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	note C_, 1
-	note C_, 1
-	note C_, 6
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	note C_, 1
-	note C_, 1
-	note C_, 3
-	note C_, 1
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	note C_, 1
-	note C_, 1
-	note C_, 4
-	note D#, 2
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	notetype $6
-	note D_, 1
-	note D_, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C_, 1
-	note C_, 1
-	notetype $c
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub2
-	note C_, 2
-	note D#, 2
-	note C_, 2
-	note D#, 2
-	note D#, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	notetype $6
-	note C#, 1
-	note C#, 1
-	note C_, 1
-	note C_, 1
-	notetype $c
-	callchannel .sub1
-	note C_, 2
-	note D#, 2
-	note C_, 2
-	note F_, 2
-	note D#, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	note C_, 2
-	callchannel .sub2
-	note C_, 2
-	note D#, 2
-	note C_, 2
-	note D#, 2
-	note D#, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub2
-	note C_, 2
-	note D#, 2
-	note C_, 2
-	note D#, 2
-	note D#, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	notetype $6
-	note C#, 1
-	note D_, 1
-	note D_, 1
-	note C#, 1
-	notetype $c
-	callchannel .sub1
-	callchannel .sub2
-	note C_, 2
-	note D#, 2
-	note C_, 2
-	note F_, 2
-	note D#, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	note D#, 2
-	note C_, 2
-	note D#, 2
-	note D#, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	notetype $6
-	note D_, 1
-	note D_, 1
-	note C#, 1
-	note C#, 1
-	notetype $c
-	note A_, 2
-	note D#, 4
-	note A_, 4
-	note D#, 2
-	note A_, 4
-	note A_, 2
-	note D#, 4
-	note A_, 4
-	note D#, 2
-	note A_, 2
-	note A_, 2
-	note A_, 2
-	note D#, 4
-	note A_, 4
-	note D#, 2
-	note A_, 4
-	note A_, 4
-	note A_, 4
-	note A_, 2
-	note D_, 1
-	note D_, 1
-	note C#, 1
-	note C#, 1
-	note C_, 1
-	note C_, 1
-	callchannel .sub3
-	callchannel .sub4
-	note C#, 1
-	note D_, 1
-	note D_, 1
-	note C#, 1
-	notetype $c
-	callchannel .sub3
-	callchannel .sub4
-	note D_, 1
-	note D_, 1
-	note C#, 1
-	note C#, 1
-	notetype $c
-	callchannel .sub3
-	callchannel .sub4
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	note C#, 1
-	notetype $c
-	note G#, 16
+	toggle_noise 5
+	stereo_panning TRUE, FALSE
+	drum_speed 12
+	rest 4
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 6
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 3
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 4
+	drum_note 4, 2
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_speed 6
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_speed 12
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub2
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_speed 6
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_speed 12
+	sound_call .sub1
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 1, 2
+	drum_note 6, 2
+	drum_note 4, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_note 1, 2
+	sound_call .sub2
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub2
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_speed 6
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_speed 12
+	sound_call .sub1
+	sound_call .sub2
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 1, 2
+	drum_note 6, 2
+	drum_note 4, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_speed 6
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_speed 12
+	drum_note 10, 2
+	drum_note 4, 4
+	drum_note 10, 4
+	drum_note 4, 2
+	drum_note 10, 4
+	drum_note 10, 2
+	drum_note 4, 4
+	drum_note 10, 4
+	drum_note 4, 2
+	drum_note 10, 2
+	drum_note 10, 2
+	drum_note 10, 2
+	drum_note 4, 4
+	drum_note 10, 4
+	drum_note 4, 2
+	drum_note 10, 4
+	drum_note 10, 4
+	drum_note 10, 4
+	drum_note 10, 2
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	sound_call .sub3
+	sound_call .sub4
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_speed 12
+	sound_call .sub3
+	sound_call .sub4
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_speed 12
+	sound_call .sub3
+	sound_call .sub4
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_speed 12
+	drum_note 9, 16
 .loop1:
-	note __, 16
-	loopchannel 6, .loop1
-	note __, 12
-	notetype $6
-	note D_, 1
-	note C#, 1
-	note D_, 1
-	note C#, 1
-	note D_, 1
-	note C#, 1
-	note C_, 1
-	note C_, 1
-	notetype $c
-	note C_, 4
-	note C_, 6
-	note C_, 1
-	note C_, 1
-	note C_, 4
-	note C_, 4
-	note C_, 6
-	note C_, 1
-	note C_, 1
-	note C_, 4
-	note C_, 4
-	note C_, 6
-	note C_, 1
-	note C_, 1
-	note C_, 4
-	note C_, 4
-	note C_, 4
-	notetype $8
-	note C_, 2
-	note C_, 2
-	note C_, 2
-	notetype $6
-	note C#, 1
-	note C#, 1
-	note D_, 1
-	note D_, 1
-	note C#, 1
-	note C#, 1
-	note C_, 1
-	note C_, 1
-	notetype $c
-	note C_, 4
-	note B_, 4
-	endchannel
+	rest 16
+	sound_loop 6, .loop1
+	rest 12
+	drum_speed 6
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_speed 12
+	drum_note 1, 4
+	drum_note 1, 6
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 4
+	drum_note 1, 4
+	drum_note 1, 6
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 4
+	drum_note 1, 4
+	drum_note 1, 6
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 4
+	drum_note 1, 4
+	drum_note 1, 4
+	drum_speed 8
+	drum_note 1, 2
+	drum_note 1, 2
+	drum_note 1, 2
+	drum_speed 6
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 2, 1
+	drum_note 2, 1
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_speed 12
+	drum_note 1, 4
+	drum_note 12, 4
+	sound_ret
 
 .sub1:
-	note C_, 2
-	note D#, 2
-	note C_, 2
-	note D#, 2
-	note F_, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	note D#, 2
-	endchannel
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 6, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_note 4, 2
+	sound_ret
 
 .sub2:
-	note C_, 2
-	note D#, 2
-	note C_, 2
-	note F_, 2
-	note D#, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	note D#, 2
-	endchannel
+	drum_note 1, 2
+	drum_note 4, 2
+	drum_note 1, 2
+	drum_note 6, 2
+	drum_note 4, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_note 4, 2
+	sound_ret
 
 .sub3:
 .sub3loop1:
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	loopchannel 4, .sub3loop1
-	endchannel
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	sound_loop 4, .sub3loop1
+	sound_ret
 
 .sub4:
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	note C_, 2
-	note C_, 1
-	note C_, 1
-	notetype $8
-	note C_, 4
-	note C_, 4
-	endchannel
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_note 1, 2
+	drum_note 1, 1
+	drum_note 1, 1
+	drum_speed 8
+	drum_note 1, 4
+	drum_note 1, 4
+	sound_ret
--- a/audio/music/trainervictory.asm
+++ b/audio/music/trainervictory.asm
@@ -1,14 +1,15 @@
 Music_TrainerVictory:
-	musicheader 3, 1, Music_TrainerVictory_Ch1
-	musicheader 1, 2, Music_TrainerVictory_Ch2
-	musicheader 1, 3, Music_TrainerVictory_Ch3
+	channel_count 3
+	channel 1, Music_TrainerVictory_Ch1
+	channel 2, Music_TrainerVictory_Ch2
+	channel 3, Music_TrainerVictory_Ch3
 
 Music_TrainerVictory_Ch1:
 	tempo 120
-	volume $77
-	dutycycle $2
-	tone $0001
-	notetype $8, $b1
+	volume 7, 7
+	duty_cycle 2
+	pitch_offset 1
+	note_type 8, 11, 1
 	octave 4
 	note E_, 2
 	note E_, 2
@@ -16,14 +17,14 @@
 	note E_, 2
 	note F#, 2
 	note G_, 2
-	intensity $b6
+	volume_envelope 11, 6
 	note A_, 12
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 .mainloop:
 .loop1:
-	intensity $72
-	callchannel .sub1
-	intensity $51
+	volume_envelope 7, 2
+	sound_call .sub1
+	volume_envelope 5, 1
 	note C#, 2
 	note E_, 2
 	note F#, 2
@@ -31,31 +32,31 @@
 	note B_, 2
 	octave 4
 	note C#, 2
-	intensity $72
+	volume_envelope 7, 2
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 2
 	note E_, 6
-	loopchannel 2, .loop1
-	callchannel .sub1
+	sound_loop 2, .loop1
+	sound_call .sub1
 	note A_, 2
-	note __, 2
+	rest 2
 	note F_, 2
 	note A_, 6
 	note A#, 2
-	note __, 2
+	rest 2
 	note G_, 2
 	note A#, 6
 .loop2:
-	intensity $72
+	volume_envelope 7, 2
 	octave 4
 	note D_, 2
 	note C#, 2
 	octave 3
 	note A_, 2
-	loopchannel 3, .loop2
+	sound_loop 3, .loop2
 	note F#, 2
 	note A_, 2
 	octave 4
@@ -66,28 +67,28 @@
 	octave 3
 	note B_, 2
 	note A_, 2
-	loopchannel 3, .loop3
+	sound_loop 3, .loop3
 	note E_, 2
 	note F#, 2
 	note G_, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note F#, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	note F#, 6
 	note G_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	note G_, 6
-	endchannel
+	sound_ret
 
 Music_TrainerVictory_Ch2:
-	vibrato $12, $34
-	dutycycle $3
-	notetype $8, $d1
+	vibrato 18, 3, 4
+	duty_cycle 3
+	note_type 8, 13, 1
 	octave 4
 	note A_, 2
 	note A_, 2
@@ -96,62 +97,62 @@
 	note B_, 2
 	octave 5
 	note C#, 2
-	intensity $d6
+	volume_envelope 13, 6
 	note D_, 12
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 .mainloop:
 .loop1:
-	notetype $8, $82
-	callchannel .sub1
+	note_type 8, 8, 2
+	sound_call .sub1
 	note F#, 2
-	note __, 2
+	rest 2
 	note G_, 2
 	note A_, 6
 	note E_, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note G_, 6
-	loopchannel 2, .loop1
-	callchannel .sub1
+	sound_loop 2, .loop1
+	sound_call .sub1
 	note F_, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	note F_, 6
 	note G_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	note G_, 6
-	notetype $c, $88
+	note_type 12, 8, 8
 	note F#, 16
 	note E_, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 2
 	octave 4
 	note D_, 6
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 2
 	octave 4
 	note E_, 6
-	endchannel
+	sound_ret
 
 Music_TrainerVictory_Ch3:
-	notetype $8, $25
+	note_type 8, 2, 5
 	octave 3
 	note G_, 6
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 6
 	note D_, 2
 	note C#, 2
@@ -159,10 +160,10 @@
 	note B_, 2
 .mainloop:
 .loop1:
-	callchannel .sub1
+	sound_call .sub1
 	octave 3
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 2
 	note A_, 2
 	note F#, 2
@@ -169,22 +170,22 @@
 	note C#, 2
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 6
-	loopchannel 2, .loop1
-	callchannel .sub1
+	sound_loop 2, .loop1
+	sound_call .sub1
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
 	note A_, 2
 	note F_, 2
 	note C_, 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	octave 4
 	note D_, 2
@@ -209,12 +210,12 @@
 	note G_, 2
 	note E_, 2
 	note C#, 2
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 2
 	octave 3
 	note F#, 2
@@ -222,7 +223,7 @@
 	octave 2
 	note A_, 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
 	octave 3
 	note G_, 2
@@ -229,4 +230,4 @@
 	note E_, 2
 	octave 2
 	note B_, 2
-	endchannel
+	sound_ret
--- a/audio/music/unioncave.asm
+++ b/audio/music/unioncave.asm
@@ -1,21 +1,22 @@
 Music_UnionCave:
-	musicheader 4, 1, Music_UnionCave_Ch1
-	musicheader 1, 2, Music_UnionCave_Ch2
-	musicheader 1, 3, Music_UnionCave_Ch3
-	musicheader 1, 4, Music_UnionCave_Ch4
+	channel_count 4
+	channel 1, Music_UnionCave_Ch1
+	channel 2, Music_UnionCave_Ch2
+	channel 3, Music_UnionCave_Ch3
+	channel 4, Music_UnionCave_Ch4
 
 Music_UnionCave_Ch1:
 	tempo 160
-	volume $77
-	dutycycle $1
-	tone $0002
-	vibrato $18, $34
-	stereopanning $f
+	volume 7, 7
+	duty_cycle 1
+	pitch_offset 2
+	vibrato 24, 3, 4
+	stereo_panning FALSE, TRUE
 .mainloop:
-	notetype $c, $b3
+	note_type 12, 11, 3
 .loop1:
-	callchannel .sub1
-	loopchannel 4, .loop1
+	sound_call .sub1
+	sound_loop 4, .loop1
 .loop2:
 	octave 2
 	note G#, 2
@@ -25,7 +26,7 @@
 	note C#, 2
 	note E_, 2
 	note F_, 4
-	loopchannel 8, .loop2
+	sound_loop 8, .loop2
 .loop3:
 	octave 2
 	note A_, 2
@@ -35,9 +36,9 @@
 	note D_, 2
 	note F_, 2
 	note F#, 4
-	loopchannel 4, .loop3
-	note __, 4
-	intensity $80
+	sound_loop 4, .loop3
+	rest 4
+	volume_envelope 8, 0
 	note F_, 16
 	note F#, 16
 	note G_, 16
@@ -52,17 +53,17 @@
 	note C_, 8
 	octave 3
 	note A_, 8
-	intensity $95
-	tone $0004
-	callchannel .sub1
-	tone $0008
-	callchannel .sub1
-	tone $000c
-	callchannel .sub1
-	tone $0010
-	callchannel .sub1
-	tone $0002
-	loopchannel 0, .mainloop
+	volume_envelope 9, 5
+	pitch_offset 4
+	sound_call .sub1
+	pitch_offset 8
+	sound_call .sub1
+	pitch_offset 12
+	sound_call .sub1
+	pitch_offset 16
+	sound_call .sub1
+	pitch_offset 2
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
@@ -70,19 +71,19 @@
 	octave 3
 	note C#, 2
 	note E_, 12
-	endchannel
+	sound_ret
 
 Music_UnionCave_Ch2:
-	dutycycle $3
-	vibrato $8, $24
+	duty_cycle 3
+	vibrato 8, 2, 4
 .mainloop:
-	notetype $c, $c4
-	callchannel .sub1
-	intensity $c5
-	callchannel .sub1
-	intensity $c7
-	callchannel .sub1
-	intensity $c4
+	note_type 12, 12, 4
+	sound_call .sub1
+	volume_envelope 12, 5
+	sound_call .sub1
+	volume_envelope 12, 7
+	sound_call .sub1
+	volume_envelope 12, 4
 	note C#, 4
 	octave 3
 	note B_, 4
@@ -111,8 +112,8 @@
 	note C#, 8
 	note D_, 4
 	note C#, 4
-	note __, 4
-	intensity $a0
+	rest 4
+	volume_envelope 10, 0
 	note C_, 16
 	note C#, 16
 	note D_, 16
@@ -121,17 +122,17 @@
 	note D#, 16
 	note A#, 16
 	note A_, 16
-	intensity $a5
-	vibrato $6, $44
-	callchannel .sub2
-	vibrato $4, $33
-	callchannel .sub2
-	vibrato $2, $22
-	callchannel .sub2
-	vibrato $1, $41
-	callchannel .sub2
-	vibrato $8, $24
-	loopchannel 0, .mainloop
+	volume_envelope 10, 5
+	vibrato 6, 4, 4
+	sound_call .sub2
+	vibrato 4, 3, 3
+	sound_call .sub2
+	vibrato 2, 2, 2
+	sound_call .sub2
+	vibrato 1, 4, 1
+	sound_call .sub2
+	vibrato 8, 2, 4
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 4
@@ -163,7 +164,7 @@
 	note C_, 8
 	note C#, 4
 	note C_, 4
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 2
@@ -171,43 +172,43 @@
 	octave 3
 	note C#, 2
 	note E_, 12
-	endchannel
+	sound_ret
 
 Music_UnionCave_Ch3:
-	notetype $c, $16
-	stereopanning $f0
+	note_type 12, 1, 6
+	stereo_panning TRUE, FALSE
 .mainloop:
 .loop1:
-	note __, 16
-	loopchannel 7, .loop1
-	note __, 14
+	rest 16
+	sound_loop 7, .loop1
+	rest 14
 	octave 4
 	note C_, 2
 .loop2:
-	note __, 2
+	rest 2
 	octave 3
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	note G#, 2
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 2
-	loopchannel 4, .loop2
+	sound_loop 4, .loop2
 .loop3:
-	note __, 2
+	rest 2
 	octave 3
 	note F_, 2
-	note __, 2
+	rest 2
 	note F_, 2
 	note A_, 2
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 2
-	loopchannel 4, .loop3
-	note __, 4
+	sound_loop 4, .loop3
+	rest 4
 	note C_, 8
 	octave 3
 	note B_, 8
@@ -228,33 +229,33 @@
 	octave 3
 	note A_, 2
 	note G_, 2
-	loopchannel 3, .loop4
+	sound_loop 3, .loop4
 	note A_, 4
 	note G_, 4
 	note A#, 8
 .loop5:
-	note __, 16
-	loopchannel 4, .loop5
-	loopchannel 0, .mainloop
+	rest 16
+	sound_loop 4, .loop5
+	sound_loop 0, .mainloop
 
 Music_UnionCave_Ch4:
-	togglenoise $1
-	notetype $c
+	toggle_noise 1
+	drum_speed 12
 .mainloop:
-	stereopanning $f0
-	note E_, 4
-	stereopanning $ff
-	note F_, 4
-	stereopanning $f
-	note G#, 4
-	note __, 8
-	stereopanning $f
-	note E_, 4
-	stereopanning $ff
-	note F_, 4
-	stereopanning $f0
-	note G#, 4
-	note __, 8
-	loopchannel 0, .mainloop
+	stereo_panning TRUE, FALSE
+	drum_note 5, 4
+	stereo_panning TRUE, TRUE
+	drum_note 6, 4
+	stereo_panning FALSE, TRUE
+	drum_note 9, 4
+	rest 8
+	stereo_panning FALSE, TRUE
+	drum_note 5, 4
+	stereo_panning TRUE, TRUE
+	drum_note 6, 4
+	stereo_panning TRUE, FALSE
+	drum_note 9, 4
+	rest 8
+	sound_loop 0, .mainloop
 
-	loopchannel 0, .mainloop ; unused
+	sound_loop 0, .mainloop ; unused
--- a/audio/music/vermilioncity.asm
+++ b/audio/music/vermilioncity.asm
@@ -1,16 +1,17 @@
 Music_VermilionCity:
-	musicheader 3, 1, Music_VermilionCity_Ch1
-	musicheader 1, 2, Music_VermilionCity_Ch2
-	musicheader 1, 3, Music_VermilionCity_Ch3
+	channel_count 3
+	channel 1, Music_VermilionCity_Ch1
+	channel 2, Music_VermilionCity_Ch2
+	channel 3, Music_VermilionCity_Ch3
 
 	db $3 ; unused
 
 Music_VermilionCity_Ch1:
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	tempo 176
-	volume $77
-	dutycycle $2
-	notetype $c, $65
+	volume 7, 7
+	duty_cycle 2
+	note_type 12, 6, 5
 	octave 4
 	note B_, 4
 	note G#, 4
@@ -28,21 +29,21 @@
 	note B_, 1
 	octave 5
 	note D_, 1
-	vibrato $10, $23
+	vibrato 16, 2, 3
 .mainloop:
-	dutycycle $1
-	notetype $c, $85
-	callchannel .sub1
+	duty_cycle 1
+	note_type 12, 8, 5
+	sound_call .sub1
 	note F_, 4
 	octave 4
 	note D_, 4
 	note C#, 4
 	note E_, 4
-	callchannel .sub1
-	callchannel .sub2
-	dutycycle $2
-	notetype $c, $85
-	callchannel .sub1
+	sound_call .sub1
+	sound_call .sub2
+	duty_cycle 2
+	note_type 12, 8, 5
+	sound_call .sub1
 	note F_, 4
 	octave 4
 	note D_, 4
@@ -57,22 +58,22 @@
 	note A_, 1
 	note E_, 1
 	note C_, 1
-	callchannel .sub1
-	callchannel .sub2
-	intensity $93
-	dutycycle $0
-	note __, 2
+	sound_call .sub1
+	sound_call .sub2
+	volume_envelope 9, 3
+	duty_cycle 0
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	callchannel .sub3
-	callchannel .sub3
-	intensity $87
-	dutycycle $2
+	sound_call .sub3
+	sound_call .sub3
+	volume_envelope 8, 7
+	duty_cycle 2
 	octave 4
 	note D_, 8
 	octave 3
@@ -89,7 +90,7 @@
 	note B_, 4
 	octave 3
 	note D_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
@@ -99,7 +100,7 @@
 	note A_, 2
 	note E_, 2
 	note G#, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	note D_, 2
@@ -112,10 +113,10 @@
 	octave 3
 	note A_, 2
 	note E_, 2
-	endchannel
+	sound_ret
 
 .sub3:
-	note __, 2
+	rest 2
 	note F#, 2
 	note A_, 2
 	note F#, 2
@@ -125,7 +126,7 @@
 	note F#, 2
 	note A_, 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note G#, 2
 	note B_, 2
 	note G#, 2
@@ -135,13 +136,13 @@
 	note G#, 2
 	note B_, 2
 	note G#, 2
-	endchannel
+	sound_ret
 
 Music_VermilionCity_Ch2:
-	stereopanning $ff
-	dutycycle $3
-	notetype $c, $77
-	vibrato $10, $23
+	stereo_panning TRUE, TRUE
+	duty_cycle 3
+	note_type 12, 7, 7
+	vibrato 16, 2, 3
 	octave 5
 	note E_, 4
 	note D_, 4
@@ -153,12 +154,12 @@
 	note F#, 4
 	note G#, 4
 .mainloop:
-	notetype $c, $97
-	callchannel .sub1
+	note_type 12, 9, 7
+	sound_call .sub1
 	note G#, 2
-	callchannel .sub1
+	sound_call .sub1
 	note E_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note B_, 4
 	octave 4
@@ -165,8 +166,8 @@
 	note C#, 4
 	note D_, 4
 	note E_, 4
-	callchannel .sub2
-	callchannel .sub2
+	sound_call .sub2
+	sound_call .sub2
 	note F#, 6
 	note E_, 1
 	note F#, 1
@@ -176,16 +177,16 @@
 	note A_, 1
 	note G#, 8
 	note G#, 14
-	notetype $6, $57
-	note __, 1
+	note_type 6, 5, 7
+	rest 1
 	octave 4
 	note E_, 1
 	note G#, 1
 	note B_, 1
-	notetype $c, $87
+	note_type 12, 8, 7
 	octave 5
 	note E_, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 1
@@ -209,7 +210,7 @@
 	note E_, 2
 	octave 1
 	note A_, 2
-	endchannel
+	sound_ret
 
 .sub2:
 	note F#, 8
@@ -218,12 +219,12 @@
 	note G#, 4
 	note F#, 4
 	note E_, 4
-	endchannel
+	sound_ret
 
 Music_VermilionCity_Ch3:
-	stereopanning $f0
-	vibrato $22, $23
-	notetype $c, $25
+	stereo_panning TRUE, FALSE
+	vibrato 34, 2, 3
+	note_type 12, 2, 5
 	octave 2
 	note E_, 4
 	note B_, 4
@@ -242,16 +243,16 @@
 	octave 2
 	note B_, 1
 .mainloop:
-	notetype $c, $22
-	callchannel .sub1
+	note_type 12, 2, 2
+	sound_call .sub1
 	octave 5
 	note A_, 6
-	intensity $24
+	volume_envelope 2, 4
 	note E_, 1
 	note G#, 1
-	callchannel .sub1
+	sound_call .sub1
 	note A_, 8
-	intensity $14
+	volume_envelope 1, 4
 	octave 3
 	note D_, 4
 	note C#, 4
@@ -260,18 +261,18 @@
 	note A_, 4
 	octave 3
 	note D_, 2
-	note __, 4
+	rest 4
 	note D_, 1
 	note D_, 1
-	callchannel .sub2
+	sound_call .sub2
 	octave 4
 	note D_, 2
 	octave 3
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	callchannel .sub2
-	intensity $25
+	sound_call .sub2
+	volume_envelope 2, 5
 	octave 3
 	note E_, 8
 	octave 4
@@ -284,11 +285,11 @@
 	note E_, 16
 	octave 3
 	note E_, 14
-	intensity $22
+	volume_envelope 2, 2
 	octave 5
 	note E_, 1
 	note G#, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 5
@@ -313,25 +314,25 @@
 	note C#, 1
 	octave 5
 	note B_, 1
-	endchannel
+	sound_ret
 
 .sub2:
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note E_, 2
-	note __, 4
+	rest 4
 	note E_, 1
 	note E_, 1
 	octave 4
 	note E_, 1
-	note __, 1
+	rest 1
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 1
 	octave 4
 	note C#, 1
-	endchannel
+	sound_ret
--- a/audio/music/victoryroad.asm
+++ b/audio/music/victoryroad.asm
@@ -1,31 +1,32 @@
 Music_VictoryRoad:
-	musicheader 4, 1, Music_VictoryRoad_Ch1
-	musicheader 1, 2, Music_VictoryRoad_Ch2
-	musicheader 1, 3, Music_VictoryRoad_Ch3
-	musicheader 1, 4, Music_VictoryRoad_Ch4
+	channel_count 4
+	channel 1, Music_VictoryRoad_Ch1
+	channel 2, Music_VictoryRoad_Ch2
+	channel 3, Music_VictoryRoad_Ch3
+	channel 4, Music_VictoryRoad_Ch4
 
 Music_VictoryRoad_Ch1:
 	tempo 144
-	volume $77
-	stereopanning $f
-	dutycycle $3
-	tone $0002
-	notetype $c, $b3
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	duty_cycle 3
+	pitch_offset 2
+	note_type 12, 11, 3
 .mainloop:
 .loop1:
-	callchannel .sub1
-	loopchannel 6, .loop1
+	sound_call .sub1
+	sound_loop 6, .loop1
 .loop2:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note A_, 1
 	octave 3
 	note C#, 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 1
-	intensity $b7
+	volume_envelope 11, 7
 	octave 3
 	note C#, 3
 	octave 2
@@ -36,23 +37,23 @@
 	note A_, 1
 	octave 3
 	note G#, 3
-	loopchannel 2, .loop2
+	sound_loop 2, .loop2
 .loop3:
-	callchannel .sub1
-	loopchannel 2, .loop3
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_loop 2, .loop3
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $b2
+	volume_envelope 11, 2
 	octave 2
 	note G_, 1
 	note B_, 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	intensity $b7
+	volume_envelope 11, 7
 	note B_, 3
 	note G_, 1
 	octave 3
@@ -61,20 +62,20 @@
 	note G_, 1
 	octave 3
 	note F#, 3
-	endchannel
+	sound_ret
 
 Music_VictoryRoad_Ch2:
-	dutycycle $3
-	vibrato $10, $24
+	duty_cycle 3
+	vibrato 16, 2, 4
 .mainloop:
-	notetype $c, $c2
-	callchannel .sub1
-	note __, 2
-	callchannel .sub1
-	note __, 1
+	note_type 12, 12, 2
+	sound_call .sub1
+	rest 2
+	sound_call .sub1
+	rest 1
 	octave 4
 	note C_, 1
-	notetype $c, $b0
+	note_type 12, 11, 0
 	note E_, 8
 	octave 5
 	note C_, 4
@@ -82,33 +83,33 @@
 	note B_, 4
 	note E_, 15
 	note D#, 1
-	notetype $c, $b0
+	note_type 12, 11, 0
 	note E_, 8
 	octave 5
 	note C_, 4
 	octave 4
 	note B_, 4
-	notetype $c, $b0
+	note_type 12, 11, 0
 	octave 5
 	note E_, 8
-	notetype $c, $b7
+	note_type 12, 11, 7
 	note E_, 8
-	notetype $c, $c7
+	note_type 12, 12, 7
 	note D_, 8
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	note C#, 4
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	octave 4
 	note A_, 4
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 	octave 5
 	note C_, 8
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	octave 4
 	note A#, 4
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	note F_, 4
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 	note A_, 12
 	note D_, 1
 	note F#, 1
@@ -116,84 +117,84 @@
 	octave 5
 	note C#, 1
 	note D_, 16
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note F#, 1
 	note F#, 1
-	note __, 2
+	rest 2
 	note G#, 1
 	note G#, 1
-	note __, 2
+	rest 2
 	note A_, 1
 	note A_, 1
-	endchannel
+	sound_ret
 
 Music_VictoryRoad_Ch3:
-	stereopanning $f0
-	notetype $c, $28
+	stereo_panning TRUE, FALSE
+	note_type 12, 2, 8
 .mainloop:
 .loop1:
-	callchannel .sub1
-	loopchannel 6, .loop1
+	sound_call .sub1
+	sound_loop 6, .loop1
 .loop2:
 	note D_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note F_, 1
 	note A_, 3
 	note D_, 1
 	note B_, 1
-	note __, 2
+	rest 2
 	note D_, 1
 	note B_, 3
-	loopchannel 2, .loop2
+	sound_loop 2, .loop2
 .loop3:
-	callchannel .sub1
-	loopchannel 2, .loop3
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_loop 2, .loop3
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note D#, 1
 	note G_, 3
 	note C_, 1
 	note A_, 1
-	note __, 2
+	rest 2
 	note C_, 1
 	note A_, 3
-	endchannel
+	sound_ret
 
 Music_VictoryRoad_Ch4:
-	togglenoise $0
-	notetype $c
+	toggle_noise 0
+	drum_speed 12
 .mainloop:
-	note D_, 2
-	note D_, 2
-	note D#, 1
-	note D_, 3
-	note D#, 1
-	note D_, 3
-	note D#, 1
-	note D_, 3
-	note D_, 2
-	note D_, 2
-	note D#, 1
-	note D_, 3
-	note D#, 1
-	note D#, 1
-	note D_, 2
-	note D#, 1
-	note D_, 2
-	note D#, 1
-	loopchannel 0, .mainloop
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 3, 3
+	drum_note 4, 1
+	drum_note 3, 3
+	drum_note 4, 1
+	drum_note 3, 3
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 3, 3
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 3, 2
+	drum_note 4, 1
+	sound_loop 0, .mainloop
--- a/audio/music/violetcity.asm
+++ b/audio/music/violetcity.asm
@@ -1,40 +1,41 @@
 Music_VioletCity:
-	musicheader 4, 1, Music_VioletCity_Ch1
-	musicheader 1, 2, Music_VioletCity_Ch2
-	musicheader 1, 3, Music_VioletCity_Ch3
-	musicheader 1, 4, Music_VioletCity_Ch4
+	channel_count 4
+	channel 1, Music_VioletCity_Ch1
+	channel 2, Music_VioletCity_Ch2
+	channel 3, Music_VioletCity_Ch3
+	channel 4, Music_VioletCity_Ch4
 
 Music_VioletCity_Ch1:
 	tempo 164
-	volume $77
-	vibrato $12, $25
-	dutycycle $2
-	notetype $c, $95
-	note __, 16
-	stereopanning $f0
+	volume 7, 7
+	vibrato 18, 2, 5
+	duty_cycle 2
+	note_type 12, 9, 5
+	rest 16
+	stereo_panning TRUE, FALSE
 	octave 2
 	note E_, 1
 	note G#, 1
 	note B_, 1
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 	octave 3
 	note D#, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note G#, 2
 	note F#, 2
 	note C#, 2
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	octave 2
 	note D#, 1
 	note F#, 1
 	note A#, 1
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 	octave 3
 	note C#, 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note D#, 4
 	note G#, 2
 	note D#, 2
@@ -46,10 +47,10 @@
 	note B_, 1
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 4
-	notetype $6, $91
+	note_type 6, 9, 1
 	octave 3
 	note C#, 2
 	note F_, 2
@@ -57,16 +58,16 @@
 	note F_, 2
 	note G#, 2
 	note B_, 2
-	intensity $a4
+	volume_envelope 10, 4
 	octave 2
 	note B_, 8
-	note __, 4
+	rest 4
 	octave 3
 	note C#, 12
-	note __, 8
+	rest 8
 .mainloop:
-	notetype $6, $95
-	note __, 4
+	note_type 6, 9, 5
+	rest 4
 	octave 2
 	note B_, 2
 	octave 3
@@ -75,14 +76,14 @@
 	note D#, 2
 	note E_, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note G#, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
-	stereopanning $f0
+	rest 2
+	stereo_panning TRUE, FALSE
 	octave 4
 	note C#, 2
 	octave 3
@@ -90,7 +91,7 @@
 	note E_, 2
 	octave 4
 	note C#, 2
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 	note C_, 2
 	octave 3
 	note G#, 2
@@ -97,15 +98,15 @@
 	note E_, 2
 	octave 4
 	note C_, 2
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	octave 3
 	note B_, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note A#, 8
-	stereopanning $ff
-	note __, 4
+	stereo_panning TRUE, TRUE
+	rest 4
 	note C#, 2
 	note E_, 2
 	note A#, 4
@@ -114,60 +115,60 @@
 	note C#, 2
 	octave 3
 	note A#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
-	stereopanning $f
+	rest 2
+	stereo_panning FALSE, TRUE
 	note D#, 8
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 	note E_, 8
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 	note F_, 2
-	note __, 2
+	rest 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note G_, 4
-	stereopanning $ff
+	stereo_panning TRUE, TRUE
 	note G#, 2
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	note B_, 4
 	note G#, 2
 	note G#, 2
 	note A#, 2
-	note __, 2
+	rest 2
 	note A#, 2
-	note __, 2
+	rest 2
 	note D#, 4
 	note F#, 2
-	note __, 2
-	notetype $c, $95
-	note __, 8
+	rest 2
+	note_type 12, 9, 5
+	rest 8
 	octave 4
 	note F_, 3
-	dutycycle $1
-	notetype $6, $75
+	duty_cycle 1
+	note_type 6, 7, 5
 	note G#, 1
 	note B_, 1
 	octave 5
 	note D#, 8
-	notetype $c, $93
-	dutycycle $2
-	note __, 16
-	notetype $6, $91
-	stereopanning $f0
+	note_type 12, 9, 3
+	duty_cycle 2
+	rest 16
+	note_type 6, 9, 1
+	stereo_panning TRUE, FALSE
 	octave 3
 	note E_, 2
 	octave 2
@@ -175,7 +176,7 @@
 	note G#, 2
 	octave 3
 	note E_, 2
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 	octave 2
 	note B_, 2
 	note G#, 2
@@ -182,13 +183,13 @@
 	note B_, 2
 	octave 3
 	note E_, 2
-	intensity $a4
-	stereopanning $ff
+	volume_envelope 10, 4
+	stereo_panning TRUE, TRUE
 	note D#, 8
-	note __, 8
-	dutycycle $3
-	intensity $84
-	note __, 4
+	rest 8
+	duty_cycle 3
+	volume_envelope 8, 4
+	rest 4
 	note G_, 2
 	note A_, 2
 	note B_, 4
@@ -195,7 +196,7 @@
 	octave 4
 	note D_, 4
 	note C#, 4
-	notetype $8, $84
+	note_type 8, 8, 4
 	octave 3
 	note B_, 1
 	octave 4
@@ -203,18 +204,18 @@
 	octave 3
 	note B_, 1
 	note A_, 3
-	notetype $c, $84
+	note_type 12, 8, 4
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	note C#, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	note D_, 4
 	note E_, 4
 	note F#, 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
 	octave 4
 	note C#, 1
@@ -221,18 +222,18 @@
 	note D_, 2
 	note F#, 2
 	note E_, 2
-	notetype $8, $84
+	note_type 8, 8, 4
 	note D_, 1
 	note E_, 1
 	note D_, 1
 	note C#, 3
-	notetype $c, $84
+	note_type 12, 8, 4
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	octave 4
 	note E_, 4
@@ -245,11 +246,11 @@
 	octave 4
 	note E_, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
 	note A#, 1
 	note B_, 4
-	note __, 4
+	rest 4
 	note G#, 1
 	note F_, 1
 	octave 3
@@ -257,11 +258,11 @@
 	octave 4
 	note F_, 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
 	note A#, 1
 	note B_, 4
-	note __, 4
+	rest 4
 	note C#, 1
 	octave 3
 	note B_, 1
@@ -285,7 +286,7 @@
 	note A#, 1
 	octave 5
 	note C#, 1
-	dutycycle $2
+	duty_cycle 2
 	octave 4
 	note C#, 6
 	note C_, 1
@@ -293,21 +294,21 @@
 	note B_, 1
 	octave 4
 	note C#, 4
-	note __, 4
-	loopchannel 0, .mainloop
+	rest 4
+	sound_loop 0, .mainloop
 
 Music_VioletCity_Ch2:
-	vibrato $12, $24
-	dutycycle $2
-	notetype $c, $c7
-	note __, 16
+	vibrato 18, 2, 4
+	duty_cycle 2
+	note_type 12, 12, 7
+	rest 16
 	octave 3
 	note G#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D#, 4
 	note C#, 2
@@ -315,11 +316,11 @@
 	note A#, 2
 	note G#, 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 4
 	octave 3
@@ -327,11 +328,11 @@
 	note A#, 2
 	note B_, 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	note G#, 4
 	note A#, 2
 	note B_, 2
@@ -342,63 +343,63 @@
 	note F#, 2
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note C#, 6
-	note __, 2
+	rest 2
 	note D#, 1
 	note E_, 1
 .mainloop:
-	intensity $b7
+	volume_envelope 11, 7
 	note F#, 4
-	note __, 2
+	rest 2
 	note F#, 1
 	note G#, 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note E_, 14
 	note C#, 1
 	note D#, 1
 	note E_, 4
-	note __, 2
+	rest 2
 	note E_, 1
 	note F#, 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note D#, 12
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 1
 	octave 4
 	note C#, 1
 	note D#, 4
-	note __, 2
+	rest 2
 	note D#, 1
 	note E_, 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 2
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note D#, 4
 	note G#, 4
 	note B_, 3
-	note __, 3
+	rest 3
 	note C#, 1
 	note D#, 1
 	note E_, 2
@@ -421,10 +422,10 @@
 	note C#, 1
 	octave 3
 	note B_, 12
-	note __, 4
-	intensity $a7
-	dutycycle $3
-	note __, 2
+	rest 4
+	volume_envelope 10, 7
+	duty_cycle 3
+	rest 2
 	note B_, 1
 	octave 4
 	note C#, 1
@@ -431,24 +432,24 @@
 	note D_, 2
 	note F#, 2
 	note E_, 2
-	notetype $8, $a7
+	note_type 8, 10, 7
 	note D_, 1
 	note E_, 1
 	note D_, 1
 	note C#, 3
-	notetype $c, $a7
+	note_type 12, 10, 7
 	octave 3
 	note B_, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 2
 	octave 4
 	note E_, 4
 	note D_, 4
 	note C#, 2
-	note __, 2
+	rest 2
 	note G_, 1
 	note A_, 1
 	note B_, 2
@@ -455,7 +456,7 @@
 	octave 5
 	note D_, 2
 	note C#, 2
-	notetype $8, $a7
+	note_type 8, 10, 7
 	octave 4
 	note B_, 1
 	octave 5
@@ -463,15 +464,15 @@
 	octave 4
 	note B_, 1
 	note A_, 3
-	notetype $c, $a7
+	note_type 12, 10, 7
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	note C#, 1
-	note __, 1
+	rest 1
 	note F#, 2
-	vibrato $0, $0
-	intensity $87
+	vibrato 0, 0, 0
+	volume_envelope 8, 7
 	octave 5
 	note E_, 4
 	note F#, 4
@@ -478,49 +479,49 @@
 	note D_, 1
 	note E_, 1
 	note F#, 12
-	note __, 2
+	rest 2
 	note D_, 1
 	note E_, 1
 	note F#, 12
-	note __, 2
+	rest 2
 	octave 4
 	note A#, 1
 	note B_, 1
 	octave 5
 	note C#, 11
-	note __, 5
-	vibrato $12, $24
-	intensity $a7
-	dutycycle $2
+	rest 5
+	vibrato 18, 2, 4
+	volume_envelope 10, 7
+	duty_cycle 2
 	octave 4
 	note A#, 6
 	note A_, 1
 	note G#, 1
 	note F#, 4
-	note __, 2
+	rest 2
 	note D#, 1
 	note E_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 Music_VioletCity_Ch3:
-	notetype $c, $25
-	note __, 16
-	note __, 6
+	note_type 12, 2, 5
+	rest 16
+	rest 6
 	octave 4
 	note E_, 4
-	note __, 6
-	note __, 6
+	rest 6
+	rest 6
 	octave 3
 	note G#, 4
-	note __, 6
-	note __, 6
+	rest 6
+	rest 6
 	note F_, 4
-	note __, 6
+	rest 6
 	octave 2
 	note F#, 4
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note A_, 1
 	note G#, 1
@@ -528,65 +529,65 @@
 	octave 2
 	note A#, 2
 .mainloop:
-	notetype $c, $25
+	note_type 12, 2, 5
 	note B_, 1
-	note __, 5
+	rest 5
 	note B_, 1
 	note B_, 1
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 2
 	octave 2
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 1
-	note __, 5
+	rest 5
 	note C#, 1
 	note C#, 1
-	note __, 2
+	rest 2
 	note C#, 1
-	note __, 1
+	rest 1
 	note G#, 2
 	octave 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 5
+	rest 5
 	note F#, 1
 	note F#, 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note F#, 2
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note B_, 1
-	note __, 5
+	rest 5
 	note B_, 1
 	note B_, 1
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 4
 	note G#, 1
-	note __, 5
+	rest 5
 	note G#, 1
 	note G#, 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note F#, 2
 	note F#, 1
-	note __, 1
-	notetype $6, $25
+	rest 1
+	note_type 6, 2, 5
 	octave 3
 	note C#, 2
 	note F_, 2
@@ -599,68 +600,68 @@
 	note B_, 2
 	octave 4
 	note C#, 6
-	notetype $c, $25
-	note __, 5
-	notetype $6, $25
+	note_type 12, 2, 5
+	rest 5
+	note_type 6, 2, 5
 	octave 2
 	note E_, 2
-	note __, 10
+	rest 10
 	note E_, 2
 	note E_, 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C#, 4
 	note C_, 4
 	octave 2
 	note B_, 2
-	note __, 10
+	rest 10
 	note B_, 2
 	note B_, 2
-	note __, 4
+	rest 4
 	note B_, 2
-	note __, 2
+	rest 2
 	note A_, 8
-	callchannel .sub1
+	sound_call .sub1
 	note F#, 2
-	note __, 10
+	rest 10
 	note B_, 2
 	note B_, 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note A#, 8
 	note A_, 2
-	note __, 2
-	callchannel .sub1
+	rest 2
+	sound_call .sub1
 	note F#, 2
-	note __, 10
+	rest 10
 	note B_, 2
 	note B_, 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note A#, 8
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note E_, 2
-	note __, 10
+	rest 10
 	note E_, 2
 	note E_, 2
-	note __, 4
+	rest 4
 	note E_, 2
-	note __, 2
+	rest 2
 	note B_, 4
 	note G#, 2
 	note F#, 2
 	note F_, 2
-	note __, 10
+	rest 10
 	note F_, 2
 	note F_, 2
-	note __, 4
+	rest 4
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 4
 	octave 3
@@ -667,14 +668,14 @@
 	note A#, 2
 	note G#, 2
 	note F#, 2
-	note __, 10
+	rest 10
 	note F#, 2
 	note F#, 2
 	octave 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note F#, 4
 	octave 2
@@ -685,90 +686,90 @@
 	note G#, 2
 	note A_, 2
 	note A#, 8
-	note __, 4
+	rest 4
 	octave 2
 	note A#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	note G_, 2
-	note __, 10
+	rest 10
 	note G_, 2
 	note G_, 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note E_, 4
 	octave 2
 	note A_, 4
-	endchannel
+	sound_ret
 
 Music_VioletCity_Ch4:
-	togglenoise $3
-	notetype $c
-	note D#, 2
-	note D_, 2
-	note D#, 1
-	note D#, 1
-	note D_, 2
-	note D_, 4
-	note F#, 4
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	note D_, 2
-	note D#, 1
-	note D#, 1
-	note D_, 2
-	note C_, 8
-	note D#, 2
+	toggle_noise 3
+	drum_speed 12
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 2
+	drum_note 3, 4
+	drum_note 7, 4
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	drum_note 3, 2
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 2
+	drum_note 1, 8
+	drum_note 4, 2
 .mainloop:
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	callchannel .sub2
-	loopchannel 0, .mainloop
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_call .sub2
+	sound_loop 0, .mainloop
 
 .sub1:
-	note D_, 1
-	note D_, 1
-	note D#, 1
-	note D#, 1
-	note D_, 2
-	note G_, 2
-	note G_, 1
-	note G_, 1
-	note F#, 2
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	endchannel
+	drum_note 3, 1
+	drum_note 3, 1
+	drum_note 4, 1
+	drum_note 4, 1
+	drum_note 3, 2
+	drum_note 8, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 7, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	sound_ret
 
 .sub2:
-	note D#, 2
-	note G_, 1
-	note G_, 1
-	note G_, 1
-	note __, 1
-	note D#, 1
-	note D#, 1
-	note __, 2
-	note D#, 2
-	note D_, 2
-	note D#, 2
-	endchannel
+	drum_note 4, 2
+	drum_note 8, 1
+	drum_note 8, 1
+	drum_note 8, 1
+	rest 1
+	drum_note 4, 1
+	drum_note 4, 1
+	rest 2
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 4, 2
+	sound_ret
--- a/audio/music/viridiancity.asm
+++ b/audio/music/viridiancity.asm
@@ -1,53 +1,54 @@
 Music_ViridianCity:
-	musicheader 4, 1, Music_ViridianCity_Ch1
-	musicheader 1, 2, Music_ViridianCity_Ch2
-	musicheader 1, 3, Music_ViridianCity_Ch3
-	musicheader 1, 4, Music_ViridianCity_Ch4
+	channel_count 4
+	channel 1, Music_ViridianCity_Ch1
+	channel 2, Music_ViridianCity_Ch2
+	channel 3, Music_ViridianCity_Ch3
+	channel 4, Music_ViridianCity_Ch4
 
 Music_ViridianCity_Ch1:
 	tempo 157
-	volume $77
-	stereopanning $f
-	dutycycle $2
-	vibrato $12, $34
-	notetype $c, $a7
+	volume 7, 7
+	stereo_panning FALSE, TRUE
+	duty_cycle 2
+	vibrato 18, 3, 4
+	note_type 12, 10, 7
 	octave 3
 	note F#, 1
-	note __, 3
+	rest 3
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 2
-	note __, 2
+	rest 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 4
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 3
+	rest 3
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 2
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
-	note __, 4
+	rest 1
+	rest 4
 	note G_, 8
-	note __, 4
+	rest 4
 .mainloop:
-	callchannel .sub1
-	note __, 4
-	callchannel .sub1
+	sound_call .sub1
+	rest 4
+	sound_call .sub1
 	octave 4
 	note C_, 4
-	callchannel .sub2
+	sound_call .sub2
 	octave 4
 	note B_, 2
 	note G_, 2
@@ -57,35 +58,35 @@
 	note F#, 2
 	note E_, 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 3
+	rest 3
 	note F#, 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
-	note __, 2
+	rest 1
+	rest 2
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
-	intensity $87
+	rest 1
+	volume_envelope 8, 7
 	octave 5
 	note F#, 4
 	note F_, 4
-	intensity $a7
+	volume_envelope 10, 7
 	octave 3
 	note G_, 6
 	note B_, 8
 	octave 4
 	note E_, 2
-	note __, 2
+	rest 2
 	note E_, 2
 	octave 3
 	note B_, 4
@@ -97,27 +98,27 @@
 	note A_, 2
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 3
+	rest 3
 	note D_, 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
-	note __, 2
+	rest 1
+	rest 2
 	note F#, 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	note D#, 2
 	note C_, 2
 	octave 3
 	note B_, 2
 	note A_, 2
-	callchannel .sub2
+	sound_call .sub2
 	octave 4
 	note A_, 2
 	note G_, 2
@@ -127,38 +128,38 @@
 	note F#, 2
 	note E_, 2
 	note F#, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 3
+	rest 3
 	note F#, 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
-	note __, 2
+	rest 1
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	note F#, 2
 	note G_, 6
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note E_, 4
 	note F#, 2
 	note G_, 6
 	note E_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note G_, 2
 	octave 4
 	note E_, 2
-	note __, 2
+	rest 2
 	note F#, 6
 	note D_, 4
 	octave 3
@@ -165,86 +166,86 @@
 	note A_, 4
 	note F#, 4
 	note G_, 1
-	note __, 3
+	rest 3
 	note G_, 8
 	note A#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 3
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 2
-	note __, 4
+	rest 4
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 4
-	note __, 2
+	rest 2
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note C_, 2
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
-	note __, 3
+	rest 3
 	note G_, 2
-	note __, 4
+	rest 4
 	note G_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note B_, 2
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 4
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 3
+	rest 3
 	note D_, 2
-	note __, 4
+	rest 4
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note G_, 4
-	note __, 2
+	rest 2
 	octave 4
 	note C#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note D_, 4
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 1
-	note __, 3
+	rest 3
 	note F#, 2
-	note __, 4
+	rest 4
 	note F#, 2
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
-	note __, 4
+	rest 1
+	rest 4
 	note G_, 8
-	endchannel
+	sound_ret
 
 .sub2:
 	octave 3
@@ -251,306 +252,306 @@
 	note B_, 2
 	note D_, 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 3
+	rest 3
 	note G_, 2
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 1
-	note __, 1
-	note __, 2
+	rest 1
+	rest 2
 	octave 3
 	note B_, 2
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	endchannel
+	rest 1
+	sound_ret
 
 Music_ViridianCity_Ch2:
-	vibrato $10, $46
-	dutycycle $1
-	notetype $c, $b7
-	stereopanning $f0
+	vibrato 16, 4, 6
+	duty_cycle 1
+	note_type 12, 11, 7
+	stereo_panning TRUE, FALSE
 	octave 2
 	note D_, 4
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 4
-	note __, 4
+	rest 4
 	note D_, 4
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C#, 4
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note D_, 4
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 4
-	note __, 2
+	rest 2
 	note E_, 1
-	note __, 1
-	note __, 4
+	rest 1
+	rest 4
 	note E_, 8
-	note __, 4
+	rest 4
 .mainloop:
-	callchannel .sub1
-	note __, 4
-	callchannel .sub1
+	sound_call .sub1
+	rest 4
+	sound_call .sub1
 	octave 2
 	note F#, 4
-	callchannel .sub2
+	sound_call .sub2
 	note G_, 4
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 4
 	octave 2
 	note B_, 2
-	callchannel .sub3
-	note __, 2
+	sound_call .sub3
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 4
 	note C_, 4
-	callchannel .sub4
+	sound_call .sub4
 	note E_, 4
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note E_, 2
 	note B_, 2
 	note G_, 4
 	note D_, 4
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 4
 	note C_, 2
 	note C#, 2
-	note __, 2
+	rest 2
 	note D#, 2
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note D#, 2
 	note C_, 2
 	octave 2
 	note A_, 2
 	note F#, 2
-	callchannel .sub2
+	sound_call .sub2
 	note G_, 4
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note B_, 4
 	note G_, 2
-	callchannel .sub3
-	note __, 2
+	sound_call .sub3
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note D#, 2
-	callchannel .sub4
+	sound_call .sub4
 	note E_, 4
-	note __, 2
+	rest 2
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 4
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note D_, 4
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 4
-	note __, 2
+	rest 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 3
+	rest 3
 	note E_, 8
 	octave 1
 	note A_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 2
 	note D_, 4
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 4
-	note __, 4
+	rest 4
 	note D#, 4
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note C_, 4
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note E_, 4
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 4
-	note __, 4
+	rest 4
 	note E_, 4
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note D_, 4
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 4
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 4
-	note __, 4
+	rest 4
 	octave 2
 	note A_, 4
-	note __, 2
+	rest 2
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note G_, 4
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note D_, 4
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 4
-	note __, 2
+	rest 2
 	note E_, 1
-	note __, 1
-	note __, 4
+	rest 1
+	rest 4
 	note E_, 8
-	endchannel
+	sound_ret
 
 .sub2:
 	note G_, 4
-	note __, 2
+	rest 2
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 4
 	octave 2
 	note F_, 2
 	note F#, 2
-	endchannel
+	sound_ret
 
 .sub3:
 	note F#, 4
-	note __, 2
+	rest 2
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 4
 	octave 2
 	note E_, 2
 	note F_, 2
-	endchannel
+	sound_ret
 
 .sub4:
 	octave 2
 	note E_, 4
-	note __, 2
+	rest 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 4
 	note D_, 2
 	note D#, 2
-	endchannel
+	sound_ret
 
 Music_ViridianCity_Ch3:
-	vibrato $12, $24
-	notetype $c, $13
-	stereopanning $ff
+	vibrato 18, 2, 4
+	note_type 12, 1, 3
+	stereo_panning TRUE, TRUE
 	octave 4
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 2
-	note __, 4
+	rest 4
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 4
-	note __, 2
+	rest 2
 	octave 5
 	note F#, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 4
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 3
+	rest 3
 	note A_, 2
-	note __, 4
+	rest 4
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 5
 	note D_, 1
-	note __, 1
-	note __, 4
+	rest 1
+	rest 4
 	note D_, 8
 	note F#, 2
 	note G_, 2
 .mainloop:
-	intensity $13
-	callchannel .sub1
+	volume_envelope 1, 3
+	sound_call .sub1
 	octave 5
 	note F#, 2
 	note G_, 2
-	callchannel .sub1
+	sound_call .sub1
 	note E_, 4
-	vibrato $18, $25
-	intensity $25
+	vibrato 24, 2, 5
+	volume_envelope 2, 5
 	note B_, 12
 	note G_, 4
 	octave 6
@@ -569,7 +570,7 @@
 	note E_, 2
 	note F#, 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note G_, 2
 	note F#, 4
 	note E_, 4
@@ -577,7 +578,7 @@
 	note F#, 12
 	note D_, 4
 	note A_, 4
-	note __, 4
+	rest 4
 	octave 6
 	note C_, 8
 	octave 5
@@ -586,57 +587,57 @@
 	note C#, 2
 	note D_, 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 5
 	note B_, 2
-	note __, 2
+	rest 2
 	note A_, 10
 	note A_, 2
 	note B_, 2
 	octave 6
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 5
 	note B_, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note G_, 12
 	note G_, 2
 	note A_, 2
 	note A#, 6
 	note A_, 2
-	note __, 2
+	rest 2
 	note G_, 2
 	note A#, 2
-	note __, 2
+	rest 2
 	note A_, 14
-	note __, 4
+	rest 4
 	note D_, 1
-	note __, 3
+	rest 3
 	note D_, 8
 	note E_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
 	octave 5
 	note A_, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 6
-	note __, 2
+	rest 6
+	rest 2
 	note F#, 2
 	note G_, 2
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 2
 	note G_, 2
 	note F#, 2
@@ -644,32 +645,32 @@
 	note E_, 2
 	octave 4
 	note B_, 2
-	note __, 4
+	rest 4
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 5
 	note G_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 2
+	rest 2
 	octave 4
 	note B_, 1
-	note __, 1
+	rest 1
 	note B_, 4
 	octave 5
 	note E_, 2
 	note F#, 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note F#, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 6
-	note __, 2
+	rest 6
+	rest 2
 	note E_, 2
 	note F#, 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note G_, 2
 	note F#, 2
 	note E_, 2
@@ -677,106 +678,106 @@
 	note D_, 2
 	octave 4
 	note A_, 2
-	note __, 4
+	rest 4
 	note A_, 2
-	note __, 2
+	rest 2
 	octave 5
 	note D_, 1
-	note __, 1
-	note __, 4
+	rest 1
+	rest 4
 	note D_, 8
-	endchannel
+	sound_ret
 
 Music_ViridianCity_Ch4:
-	togglenoise $3
-	notetype $c
-	callchannel .sub1
-	callchannel .sub2
+	toggle_noise 3
+	drum_speed 12
+	sound_call .sub1
+	sound_call .sub2
 .mainloop:
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub1
-	callchannel .sub2
-	callchannel .sub3
-	callchannel .sub4
-	callchannel .sub3
-	callchannel .sub3
-	callchannel .sub3
-	callchannel .sub4
-	callchannel .sub3
-	callchannel .sub3
-	loopchannel 0, .mainloop
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub1
+	sound_call .sub2
+	sound_call .sub3
+	sound_call .sub4
+	sound_call .sub3
+	sound_call .sub3
+	sound_call .sub3
+	sound_call .sub4
+	sound_call .sub3
+	sound_call .sub3
+	sound_loop 0, .mainloop
 
 .sub1:
-	note E_, 2
-	note E_, 2
-	note D_, 2
-	note E_, 4
-	note D_, 2
-	note E_, 2
-	note F#, 2
-	note E_, 2
-	note E_, 2
-	note D_, 4
-	note E_, 2
-	note D_, 2
-	note E_, 2
-	note F#, 2
-	endchannel
+	drum_note 5, 2
+	drum_note 5, 2
+	drum_note 3, 2
+	drum_note 5, 4
+	drum_note 3, 2
+	drum_note 5, 2
+	drum_note 7, 2
+	drum_note 5, 2
+	drum_note 5, 2
+	drum_note 3, 4
+	drum_note 5, 2
+	drum_note 3, 2
+	drum_note 5, 2
+	drum_note 7, 2
+	sound_ret
 
 .sub2:
-	note E_, 2
-	note E_, 2
-	note D_, 2
-	note E_, 4
-	note D_, 2
-	note E_, 2
-	note F#, 2
-	note E_, 2
-	note E_, 2
-	note F#, 4
-	note D_, 2
-	note D_, 2
-	note A#, 2
-	note A#, 2
-	endchannel
+	drum_note 5, 2
+	drum_note 5, 2
+	drum_note 3, 2
+	drum_note 5, 4
+	drum_note 3, 2
+	drum_note 5, 2
+	drum_note 7, 2
+	drum_note 5, 2
+	drum_note 5, 2
+	drum_note 7, 4
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 11, 2
+	drum_note 11, 2
+	sound_ret
 
 .sub3:
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note D#, 2
-	note D#, 2
-	note F#, 2
-	note D_, 4
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note D#, 2
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note D#, 2
-	endchannel
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 4
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 4, 2
+	sound_ret
 
 .sub4:
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note D#, 2
-	note D#, 2
-	note F#, 2
-	note D_, 4
-	note D#, 2
-	note F#, 2
-	note D_, 2
-	note D#, 2
-	note D#, 2
-	note D_, 2
-	note D_, 2
-	note F#, 2
-	endchannel
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 4
+	drum_note 4, 2
+	drum_note 7, 2
+	drum_note 3, 2
+	drum_note 4, 2
+	drum_note 4, 2
+	drum_note 3, 2
+	drum_note 3, 2
+	drum_note 7, 2
+	sound_ret
--- a/audio/music/wildpokemonvictory.asm
+++ b/audio/music/wildpokemonvictory.asm
@@ -1,48 +1,49 @@
 Music_WildPokemonVictory:
-	musicheader 3, 1, Music_WildPokemonVictory_Ch1
-	musicheader 1, 2, Music_WildPokemonVictory_Ch2
-	musicheader 1, 3, Music_WildPokemonVictory_Ch3
+	channel_count 3
+	channel 1, Music_WildPokemonVictory_Ch1
+	channel 2, Music_WildPokemonVictory_Ch2
+	channel 3, Music_WildPokemonVictory_Ch3
 
 Music_WildPokemonVictory_Ch1:
 	tempo 126
-	volume $77
-	dutycycle $3
-	tone $0001
-	notetype $c, $b1
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
+	note_type 12, 11, 1
 	octave 3
 	note B_, 1
 	note A_, 1
 	note G#, 1
 	note F#, 1
-	intensity $b6
+	volume_envelope 11, 6
 	note E_, 12
 .body:
-	stereopanning $f
+	stereo_panning FALSE, TRUE
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note F#, 2
 	note F#, 2
 	note F#, 4
-	callchannel .sub1
+	sound_call .sub1
 	note G#, 4
-	intensity $78
+	volume_envelope 7, 8
 	octave 3
 	note G_, 4
-	pitchoffset 0, C#
-	callchannel .sub1
+	transpose 0, 1
+	sound_call .sub1
 	note F#, 2
 	note F#, 2
 	note F#, 4
-	callchannel .sub1
+	sound_call .sub1
 	note G#, 4
-	pitchoffset 0, C_
-	intensity $78
+	transpose 0, 0
+	volume_envelope 7, 8
 	octave 3
 	note F#, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $71
+	volume_envelope 7, 1
 	octave 3
 	note G#, 1
 	note B_, 1
@@ -65,46 +66,46 @@
 	note E_, 2
 	note E_, 2
 	note A_, 2
-	endchannel
+	sound_ret
 
 Music_WildPokemonVictory_Ch2:
-	vibrato $12, $24
-	dutycycle $2
-	notetype $c, $d1
+	vibrato 18, 2, 4
+	duty_cycle 2
+	note_type 12, 13, 1
 	octave 4
 	note E_, 1
 	note F#, 1
 	note G#, 1
 	note A_, 1
-	intensity $d6
+	volume_envelope 13, 6
 	note B_, 12
 .body:
-	stereopanning $f0
+	stereo_panning TRUE, FALSE
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note B_, 2
 	note B_, 2
 	note B_, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note B_, 4
-	intensity $81
+	volume_envelope 8, 1
 	note C_, 1
 	note E_, 1
 	note G_, 1
 	note A#, 1
-	pitchoffset 0, C#
-	callchannel .sub1
+	transpose 0, 1
+	sound_call .sub1
 	octave 4
 	note B_, 2
 	note B_, 2
 	note B_, 4
-	callchannel .sub1
+	sound_call .sub1
 	octave 4
 	note B_, 4
-	pitchoffset 0, C_
-	intensity $81
+	transpose 0, 0
+	volume_envelope 8, 1
 	octave 3
 	note B_, 1
 	octave 4
@@ -111,10 +112,10 @@
 	note D#, 1
 	note F#, 1
 	note A_, 1
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $81
+	volume_envelope 8, 1
 	octave 4
 	note B_, 2
 	note A_, 2
@@ -127,56 +128,56 @@
 	note C#, 2
 	note C#, 2
 	note C#, 4
-	endchannel
+	sound_ret
 
 Music_WildPokemonVictory_Ch3:
-	notetype $c, $20
-	note __, 6
+	note_type 12, 2, 0
+	rest 6
 	octave 6
 	note D#, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 3
+	rest 3
 	note E_, 1
-	note __, 3
+	rest 3
 .body:
 .mainloop:
-	callchannel .sub1
+	sound_call .sub1
 	note D#, 2
 	note C#, 2
 	octave 2
 	note B_, 2
-	note __, 2
-	callchannel .sub1
+	rest 2
+	sound_call .sub1
 	note E_, 2
-	note __, 2
+	rest 2
 	note C_, 4
-	pitchoffset 0, C#
-	callchannel .sub1
+	transpose 0, 1
+	sound_call .sub1
 	note D#, 2
 	note C#, 2
 	octave 2
 	note B_, 2
-	note __, 2
-	callchannel .sub1
+	rest 2
+	sound_call .sub1
 	note E_, 2
-	note __, 2
-	pitchoffset 0, C_
+	rest 2
+	transpose 0, 0
 	octave 2
 	note B_, 4
-	loopchannel 0, .mainloop
+	sound_loop 0, .mainloop
 
 .sub1:
-	intensity $25
+	volume_envelope 2, 5
 	octave 3
 	note E_, 2
-	note __, 4
+	rest 4
 	note E_, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	note C#, 2
-	note __, 4
+	rest 4
 	note C#, 2
-	endchannel
+	sound_ret
--- a/audio/sfx.asm
+++ b/audio/sfx.asm
@@ -1,459 +1,564 @@
 Sfx_PokeballsPlacedOnTable:
-	musicheader 1, 5, Sfx_PokeballsPlacedOnTable_Ch5
+	channel_count 1
+	channel 5, Sfx_PokeballsPlacedOnTable_Ch5
 
 Sfx_BallWobble:
-	musicheader 1, 5, Sfx_BallWobble_Ch5
+	channel_count 1
+	channel 5, Sfx_BallWobble_Ch5
 
 Sfx_Potion:
-	musicheader 1, 5, Sfx_Potion_Ch5
+	channel_count 1
+	channel 5, Sfx_Potion_Ch5
 
 Sfx_FullHeal:
-	musicheader 1, 5, Sfx_FullHeal_Ch5
+	channel_count 1
+	channel 5, Sfx_FullHeal_Ch5
 
 Sfx_Menu:
-	musicheader 1, 8, Sfx_Menu_Ch8
+	channel_count 1
+	channel 8, Sfx_Menu_Ch8
 
-Sfx_ReadText2:
 Sfx_ReadText:
-	musicheader 1, 5, Sfx_ReadText2_Ch5
+Sfx_ReadText2:
+	channel_count 1
+	channel 5, Sfx_ReadText2_Ch5
 
 Sfx_Poison:
-	musicheader 1, 5, Sfx_Poison_Ch5
+	channel_count 1
+	channel 5, Sfx_Poison_Ch5
 
 Sfx_GotSafariBalls:
-	musicheader 1, 5, Sfx_GotSafariBalls_Ch5
+	channel_count 1
+	channel 5, Sfx_GotSafariBalls_Ch5
 
 Sfx_BootPc:
-	musicheader 1, 5, Sfx_BootPc_Ch5
+	channel_count 1
+	channel 5, Sfx_BootPc_Ch5
 
 Sfx_ShutDownPc:
-	musicheader 1, 5, Sfx_ShutDownPc_Ch5
+	channel_count 1
+	channel 5, Sfx_ShutDownPc_Ch5
 
 Sfx_ChoosePcOption:
-	musicheader 1, 5, Sfx_ChoosePcOption_Ch5
+	channel_count 1
+	channel 5, Sfx_ChoosePcOption_Ch5
 
 Sfx_EscapeRope:
-	musicheader 1, 5, Sfx_EscapeRope_Ch5
+	channel_count 1
+	channel 5, Sfx_EscapeRope_Ch5
 
 Sfx_PushButton:
-	musicheader 1, 5, Sfx_PushButton_Ch5
+	channel_count 1
+	channel 5, Sfx_PushButton_Ch5
 
 Sfx_SecondPartOfItemfinder:
-	musicheader 1, 5, Sfx_SecondPartOfItemfinder_Ch5
+	channel_count 1
+	channel 5, Sfx_SecondPartOfItemfinder_Ch5
 
 Sfx_WarpTo:
-	musicheader 1, 5, Sfx_WarpTo_Ch5
+	channel_count 1
+	channel 5, Sfx_WarpTo_Ch5
 
 Sfx_WarpFrom:
-	musicheader 1, 5, Sfx_WarpFrom_Ch5
+	channel_count 1
+	channel 5, Sfx_WarpFrom_Ch5
 
 Sfx_ChangeDexMode:
-	musicheader 1, 5, Sfx_ChangeDexMode_Ch5
+	channel_count 1
+	channel 5, Sfx_ChangeDexMode_Ch5
 
 Sfx_JumpOverLedge:
-	musicheader 1, 5, Sfx_JumpOverLedge_Ch5
+	channel_count 1
+	channel 5, Sfx_JumpOverLedge_Ch5
 
 Sfx_GrassRustle:
-	musicheader 1, 8, Sfx_GrassRustle_Ch8
+	channel_count 1
+	channel 8, Sfx_GrassRustle_Ch8
 
 Sfx_Fly:
-	musicheader 1, 8, Sfx_Fly_Ch8
+	channel_count 1
+	channel 8, Sfx_Fly_Ch8
 
 Sfx_Wrong:
-	musicheader 2, 5, Sfx_Wrong_Ch5
-	musicheader 1, 6, Sfx_Wrong_Ch6
+	channel_count 2
+	channel 5, Sfx_Wrong_Ch5
+	channel 6, Sfx_Wrong_Ch6
 
 Sfx_Squeak:
-	musicheader 1, 5, Sfx_Squeak_Ch5
+	channel_count 1
+	channel 5, Sfx_Squeak_Ch5
 
 Sfx_Strength:
-	musicheader 1, 8, Sfx_Strength_Ch8
+	channel_count 1
+	channel 8, Sfx_Strength_Ch8
 
 Sfx_Boat:
-	musicheader 2, 5, Sfx_Boat_Ch5
-	musicheader 1, 6, Sfx_Boat_Ch6
+	channel_count 2
+	channel 5, Sfx_Boat_Ch5
+	channel 6, Sfx_Boat_Ch6
 
 Sfx_WallOpen:
-	musicheader 1, 5, Sfx_WallOpen_Ch5
+	channel_count 1
+	channel 5, Sfx_WallOpen_Ch5
 
 Sfx_PlacePuzzlePieceDown:
-	musicheader 1, 8, Sfx_PlacePuzzlePieceDown_Ch8
+	channel_count 1
+	channel 8, Sfx_PlacePuzzlePieceDown_Ch8
 
 Sfx_EnterDoor:
-	musicheader 1, 8, Sfx_EnterDoor_Ch8
+	channel_count 1
+	channel 8, Sfx_EnterDoor_Ch8
 
 Sfx_SwitchPokemon:
-	musicheader 2, 5, Sfx_SwitchPokemon_Ch5
-	musicheader 1, 6, Sfx_SwitchPokemon_Ch6
+	channel_count 2
+	channel 5, Sfx_SwitchPokemon_Ch5
+	channel 6, Sfx_SwitchPokemon_Ch6
 
 Sfx_Tally:
-	musicheader 2, 5, Sfx_Tally_Ch5
-	musicheader 1, 6, Sfx_Tally_Ch6
+	channel_count 2
+	channel 5, Sfx_Tally_Ch5
+	channel 6, Sfx_Tally_Ch6
 
 Sfx_Transaction:
-	musicheader 2, 5, Sfx_Transaction_Ch5
-	musicheader 1, 6, Sfx_Transaction_Ch6
+	channel_count 2
+	channel 5, Sfx_Transaction_Ch5
+	channel 6, Sfx_Transaction_Ch6
 
 Sfx_Bump:
-	musicheader 1, 5, Sfx_Bump_Ch5
+	channel_count 1
+	channel 5, Sfx_Bump_Ch5
 
 Sfx_ExitBuilding:
-	musicheader 1, 8, Sfx_ExitBuilding_Ch8
+	channel_count 1
+	channel 8, Sfx_ExitBuilding_Ch8
 
 Sfx_Save:
-	musicheader 2, 5, Sfx_Save_Ch5
-	musicheader 1, 6, Sfx_Save_Ch6
+	channel_count 2
+	channel 5, Sfx_Save_Ch5
+	channel 6, Sfx_Save_Ch6
 
 Sfx_Save_Ch5:
-	dutycycle $2
-	sound __,  3, $f1, $0700
-	sound __,  2, $e1, $0600
-	sound __,  2, $e1, $0680
-	sound __,  2, $e1, $06c0
-	sound __,  3, $e1, $0700
-	sound __,  3, $e1, $07c0
-	sound __, 16, $f2, $07e0
-	endchannel
+	duty_cycle 2
+	square_note 2, 15, 1, 1792
+	square_note 1, 14, 1, 1536
+	square_note 1, 14, 1, 1664
+	square_note 1, 14, 1, 1728
+	square_note 2, 14, 1, 1792
+	square_note 2, 14, 1, 1984
+	square_note 15, 15, 2, 2016
+	sound_ret
 
 Sfx_Save_Ch6:
-	dutycycle $2
-	sound __,  3, $8, 0
-	sound __,  3, $a1, $0701
-	sound __,  2, $91, $0601
-	sound __,  2, $91, $0681
-	sound __,  2, $91, $06c1
-	sound __,  3, $91, $0701
-	sound __,  3, $91, $07c1
-	sound __, 16, $d2, $07e1
-	endchannel
+	duty_cycle 2
+	square_note 2, 0, 8, 0
+	square_note 2, 10, 1, 1793
+	square_note 1, 9, 1, 1537
+	square_note 1, 9, 1, 1665
+	square_note 1, 9, 1, 1729
+	square_note 2, 9, 1, 1793
+	square_note 2, 9, 1, 1985
+	square_note 15, 13, 2, 2017
+	sound_ret
 
 Sfx_Pokeflute:
-	musicheader 1, 7, Sfx_Pokeflute_Ch7
+	channel_count 1
+	channel 7, Sfx_Pokeflute_Ch7
 
 Sfx_ElevatorEnd:
-	musicheader 1, 5, Sfx_ElevatorEnd_Ch5
+	channel_count 1
+	channel 5, Sfx_ElevatorEnd_Ch5
 
 Sfx_ThrowBall:
-	musicheader 2, 5, Sfx_ThrowBall_Ch5
-	musicheader 1, 6, Sfx_ThrowBall_Ch6
+	channel_count 2
+	channel 5, Sfx_ThrowBall_Ch5
+	channel 6, Sfx_ThrowBall_Ch6
 
 Sfx_BallPoof:
-	musicheader 2, 5, Sfx_BallPoof_Ch5
-	musicheader 1, 8, Sfx_BallPoof_Ch8
+	channel_count 2
+	channel 5, Sfx_BallPoof_Ch5
+	channel 8, Sfx_BallPoof_Ch8
 
 Sfx_Unknown3A:
-	musicheader 2, 5, Sfx_Unknown3A_Ch5
-	musicheader 1, 8, Sfx_Unknown3A_Ch8
+	channel_count 2
+	channel 5, Sfx_Unknown3A_Ch5
+	channel 8, Sfx_Unknown3A_Ch8
 
 Sfx_Run:
-	musicheader 1, 8, Sfx_Run_Ch8
+	channel_count 1
+	channel 8, Sfx_Run_Ch8
 
 Sfx_SlotMachineStart:
-	musicheader 2, 5, Sfx_SlotMachineStart_Ch5
-	musicheader 1, 6, Sfx_SlotMachineStart_Ch6
+	channel_count 2
+	channel 5, Sfx_SlotMachineStart_Ch5
+	channel 6, Sfx_SlotMachineStart_Ch6
 
 Sfx_Call:
-	musicheader 1, 5, Sfx_Call_Ch5
+	channel_count 1
+	channel 5, Sfx_Call_Ch5
 
 Sfx_Unknown60:
-	musicheader 1, 8, Sfx_Unknown60_Ch8
+	channel_count 1
+	channel 8, Sfx_Unknown60_Ch8
 
 Sfx_Unknown61:
-	musicheader 1, 8, Sfx_Unknown61_Ch8
+	channel_count 1
+	channel 8, Sfx_Unknown61_Ch8
 
 Sfx_SwitchPockets:
-	musicheader 1, 8, Sfx_SwitchPockets_Ch8
+	channel_count 1
+	channel 8, Sfx_SwitchPockets_Ch8
 
 Sfx_Unknown63:
-	musicheader 1, 8, Sfx_Unknown63_Ch8
+	channel_count 1
+	channel 8, Sfx_Unknown63_Ch8
 
 Sfx_Burn:
-	musicheader 1, 8, Sfx_Burn_Ch8
+	channel_count 1
+	channel 8, Sfx_Burn_Ch8
 
 Sfx_TitleScreenEntrance:
-	musicheader 1, 8, Sfx_TitleScreenEntrance_Ch8
+	channel_count 1
+	channel 8, Sfx_TitleScreenEntrance_Ch8
 
 Sfx_Unknown66:
-	musicheader 1, 5, Sfx_Unknown66_Ch5
+	channel_count 1
+	channel 5, Sfx_Unknown66_Ch5
 
 Sfx_GetCoinFromSlots:
-	musicheader 1, 5, Sfx_GetCoinFromSlots_Ch5
+	channel_count 1
+	channel 5, Sfx_GetCoinFromSlots_Ch5
 
 Sfx_PayDay:
-	musicheader 2, 5, Sfx_PayDay_Ch5
-	musicheader 1, 6, Sfx_PayDay_Ch6
+	channel_count 2
+	channel 5, Sfx_PayDay_Ch5
+	channel 6, Sfx_PayDay_Ch6
 
 Sfx_Metronome:
-	musicheader 1, 5, Sfx_Metronome_Ch5
+	channel_count 1
+	channel 5, Sfx_Metronome_Ch5
 
 Sfx_Peck:
-	musicheader 1, 8, Sfx_Peck_Ch8
+	channel_count 1
+	channel 8, Sfx_Peck_Ch8
 
 Sfx_Kinesis:
-	musicheader 1, 5, Sfx_Kinesis_Ch5
+	channel_count 1
+	channel 5, Sfx_Kinesis_Ch5
 
 Sfx_Lick:
-	musicheader 1, 5, Sfx_Lick_Ch5
+	channel_count 1
+	channel 5, Sfx_Lick_Ch5
 
 Sfx_Pound:
-	musicheader 1, 8, Sfx_Pound_Ch8
+	channel_count 1
+	channel 8, Sfx_Pound_Ch8
 
 Sfx_MovePuzzlePiece:
-	musicheader 1, 8, Sfx_MovePuzzlePiece_Ch8
+	channel_count 1
+	channel 8, Sfx_MovePuzzlePiece_Ch8
 
 Sfx_CometPunch:
-	musicheader 1, 8, Sfx_CometPunch_Ch8
+	channel_count 1
+	channel 8, Sfx_CometPunch_Ch8
 
 Sfx_MegaPunch:
-	musicheader 1, 8, Sfx_MegaPunch_Ch8
+	channel_count 1
+	channel 8, Sfx_MegaPunch_Ch8
 
 Sfx_Scratch:
-	musicheader 1, 8, Sfx_Scratch_Ch8
+	channel_count 1
+	channel 8, Sfx_Scratch_Ch8
 
 Sfx_Vicegrip:
-	musicheader 1, 8, Sfx_Vicegrip_Ch8
+	channel_count 1
+	channel 8, Sfx_Vicegrip_Ch8
 
 Sfx_RazorWind:
-	musicheader 1, 8, Sfx_RazorWind_Ch8
+	channel_count 1
+	channel 8, Sfx_RazorWind_Ch8
 
 Sfx_Cut:
-	musicheader 1, 8, Sfx_Cut_Ch8
+	channel_count 1
+	channel 8, Sfx_Cut_Ch8
 
 Sfx_WingAttack:
-	musicheader 1, 8, Sfx_WingAttack_Ch8
+	channel_count 1
+	channel 8, Sfx_WingAttack_Ch8
 
 Sfx_Whirlwind:
-	musicheader 1, 8, Sfx_Whirlwind_Ch8
+	channel_count 1
+	channel 8, Sfx_Whirlwind_Ch8
 
 Sfx_Bind:
-	musicheader 1, 8, Sfx_Bind_Ch8
+	channel_count 1
+	channel 8, Sfx_Bind_Ch8
 
 Sfx_VineWhip:
-	musicheader 1, 8, Sfx_VineWhip_Ch8
+	channel_count 1
+	channel 8, Sfx_VineWhip_Ch8
 
 Sfx_DoubleKick:
-	musicheader 1, 8, Sfx_DoubleKick_Ch8
+	channel_count 1
+	channel 8, Sfx_DoubleKick_Ch8
 
 Sfx_MegaKick:
-	musicheader 1, 8, Sfx_MegaKick_Ch8
+	channel_count 1
+	channel 8, Sfx_MegaKick_Ch8
 
 Sfx_Headbutt:
-	musicheader 1, 8, Sfx_Headbutt_Ch8
+	channel_count 1
+	channel 8, Sfx_Headbutt_Ch8
 
 Sfx_HornAttack:
-	musicheader 1, 8, Sfx_HornAttack_Ch8
+	channel_count 1
+	channel 8, Sfx_HornAttack_Ch8
 
 Sfx_Tackle:
-	musicheader 1, 8, Sfx_Tackle_Ch8
+	channel_count 1
+	channel 8, Sfx_Tackle_Ch8
 
 Sfx_PoisonSting:
-	musicheader 1, 8, Sfx_PoisonSting_Ch8
+	channel_count 1
+	channel 8, Sfx_PoisonSting_Ch8
 
 Sfx_Powder:
-	musicheader 1, 8, Sfx_Powder_Ch8
+	channel_count 1
+	channel 8, Sfx_Powder_Ch8
 
 Sfx_Doubleslap:
-	musicheader 1, 8, Sfx_Doubleslap_Ch8
+	channel_count 1
+	channel 8, Sfx_Doubleslap_Ch8
 
 Sfx_Bite:
-	musicheader 2, 5, Sfx_Bite_Ch5
-	musicheader 1, 8, Sfx_Bite_Ch8
+	channel_count 2
+	channel 5, Sfx_Bite_Ch5
+	channel 8, Sfx_Bite_Ch8
 
 Sfx_JumpKick:
-	musicheader 1, 8, Sfx_JumpKick_Ch8
+	channel_count 1
+	channel 8, Sfx_JumpKick_Ch8
 
 Sfx_Stomp:
-	musicheader 1, 8, Sfx_Stomp_Ch8
+	channel_count 1
+	channel 8, Sfx_Stomp_Ch8
 
 Sfx_TailWhip:
-	musicheader 1, 8, Sfx_TailWhip_Ch8
+	channel_count 1
+	channel 8, Sfx_TailWhip_Ch8
 
 Sfx_KarateChop:
-	musicheader 1, 8, Sfx_KarateChop_Ch8
+	channel_count 1
+	channel 8, Sfx_KarateChop_Ch8
 
 Sfx_Submission:
-	musicheader 1, 8, Sfx_Submission_Ch8
+	channel_count 1
+	channel 8, Sfx_Submission_Ch8
 
 Sfx_WaterGun:
-	musicheader 2, 5, Sfx_WaterGun_Ch5
-	musicheader 1, 8, Sfx_WaterGun_Ch8
+	channel_count 2
+	channel 5, Sfx_WaterGun_Ch5
+	channel 8, Sfx_WaterGun_Ch8
 
 Sfx_SwordsDance:
-	musicheader 1, 8, Sfx_SwordsDance_Ch8
+	channel_count 1
+	channel 8, Sfx_SwordsDance_Ch8
 
 Sfx_Thunder:
-	musicheader 1, 8, Sfx_Thunder_Ch8
+	channel_count 1
+	channel 8, Sfx_Thunder_Ch8
 
 Sfx_Supersonic:
-	musicheader 3, 5, Sfx_Supersonic_Ch5
-	musicheader 1, 6, Sfx_Supersonic_Ch6
-	musicheader 1, 8, Sfx_Supersonic_Ch8
+	channel_count 3
+	channel 5, Sfx_Supersonic_Ch5
+	channel 6, Sfx_Supersonic_Ch6
+	channel 8, Sfx_Supersonic_Ch8
 
 Sfx_Leer:
-	musicheader 3, 5, Sfx_Leer_Ch5
-	musicheader 1, 6, Sfx_Leer_Ch6
-	musicheader 1, 8, Sfx_Leer_Ch8
+	channel_count 3
+	channel 5, Sfx_Leer_Ch5
+	channel 6, Sfx_Leer_Ch6
+	channel 8, Sfx_Leer_Ch8
 
 Sfx_Ember:
-	musicheader 2, 5, Sfx_Ember_Ch5
-	musicheader 1, 8, Sfx_Ember_Ch8
+	channel_count 2
+	channel 5, Sfx_Ember_Ch5
+	channel 8, Sfx_Ember_Ch8
 
 Sfx_Bubblebeam:
-	musicheader 3, 5, Sfx_Bubblebeam_Ch5
-	musicheader 1, 6, Sfx_Bubblebeam_Ch6
-	musicheader 1, 8, Sfx_Bubblebeam_Ch8
+	channel_count 3
+	channel 5, Sfx_Bubblebeam_Ch5
+	channel 6, Sfx_Bubblebeam_Ch6
+	channel 8, Sfx_Bubblebeam_Ch8
 
 Sfx_HydroPump:
-	musicheader 2, 5, Sfx_HydroPump_Ch5
-	musicheader 1, 8, Sfx_HydroPump_Ch8
+	channel_count 2
+	channel 5, Sfx_HydroPump_Ch5
+	channel 8, Sfx_HydroPump_Ch8
 
 Sfx_Surf:
-	musicheader 3, 5, Sfx_Surf_Ch5
-	musicheader 1, 6, Sfx_Surf_Ch6
-	musicheader 1, 8, Sfx_Surf_Ch8
+	channel_count 3
+	channel 5, Sfx_Surf_Ch5
+	channel 6, Sfx_Surf_Ch6
+	channel 8, Sfx_Surf_Ch8
 
 Sfx_Psybeam:
-	musicheader 3, 5, Sfx_Psybeam_Ch5
-	musicheader 1, 6, Sfx_Psybeam_Ch6
-	musicheader 1, 8, Sfx_Psybeam_Ch8
+	channel_count 3
+	channel 5, Sfx_Psybeam_Ch5
+	channel 6, Sfx_Psybeam_Ch6
+	channel 8, Sfx_Psybeam_Ch8
 
 Sfx_Charge:
-	musicheader 3, 5, Sfx_Charge_Ch5
-	musicheader 1, 6, Sfx_Charge_Ch6
-	musicheader 1, 8, Sfx_Charge_Ch8
+	channel_count 3
+	channel 5, Sfx_Charge_Ch5
+	channel 6, Sfx_Charge_Ch6
+	channel 8, Sfx_Charge_Ch8
 
 Sfx_Thundershock:
-	musicheader 3, 5, Sfx_Thundershock_Ch5
-	musicheader 1, 6, Sfx_Thundershock_Ch6
-	musicheader 1, 8, Sfx_Thundershock_Ch8
+	channel_count 3
+	channel 5, Sfx_Thundershock_Ch5
+	channel 6, Sfx_Thundershock_Ch6
+	channel 8, Sfx_Thundershock_Ch8
 
 Sfx_Psychic:
-	musicheader 3, 5, Sfx_Psychic_Ch5
-	musicheader 1, 6, Sfx_Psychic_Ch6
-	musicheader 1, 8, Sfx_Psychic_Ch8
+	channel_count 3
+	channel 5, Sfx_Psychic_Ch5
+	channel 6, Sfx_Psychic_Ch6
+	channel 8, Sfx_Psychic_Ch8
 
 Sfx_Screech:
-	musicheader 2, 5, Sfx_Screech_Ch5
-	musicheader 1, 6, Sfx_Screech_Ch6
+	channel_count 2
+	channel 5, Sfx_Screech_Ch5
+	channel 6, Sfx_Screech_Ch6
 
 Sfx_BoneClub:
-	musicheader 2, 5, Sfx_BoneClub_Ch5
-	musicheader 1, 6, Sfx_BoneClub_Ch6
+	channel_count 2
+	channel 5, Sfx_BoneClub_Ch5
+	channel 6, Sfx_BoneClub_Ch6
 
 Sfx_Sharpen:
-	musicheader 2, 5, Sfx_Sharpen_Ch5
-	musicheader 1, 6, Sfx_Sharpen_Ch6
+	channel_count 2
+	channel 5, Sfx_Sharpen_Ch5
+	channel 6, Sfx_Sharpen_Ch6
 
 Sfx_EggBomb:
-	musicheader 3, 5, Sfx_EggBomb_Ch5
-	musicheader 1, 6, Sfx_EggBomb_Ch6
-	musicheader 1, 8, Sfx_EggBomb_Ch8
+	channel_count 3
+	channel 5, Sfx_EggBomb_Ch5
+	channel 6, Sfx_EggBomb_Ch6
+	channel 8, Sfx_EggBomb_Ch8
 
 Sfx_Sing:
-	musicheader 2, 5, Sfx_Sing_Ch5
-	musicheader 1, 6, Sfx_Sing_Ch6
+	channel_count 2
+	channel 5, Sfx_Sing_Ch5
+	channel 6, Sfx_Sing_Ch6
 
 Sfx_HyperBeam:
-	musicheader 3, 5, Sfx_HyperBeam_Ch5
-	musicheader 1, 6, Sfx_HyperBeam_Ch6
-	musicheader 1, 8, Sfx_HyperBeam_Ch8
+	channel_count 3
+	channel 5, Sfx_HyperBeam_Ch5
+	channel 6, Sfx_HyperBeam_Ch6
+	channel 8, Sfx_HyperBeam_Ch8
 
 Sfx_Shine:
-	musicheader 1, 5, Sfx_Shine_Ch5
+	channel_count 1
+	channel 5, Sfx_Shine_Ch5
 
 Sfx_Unknown5F:
-	musicheader 3, 5, Sfx_Unknown5F_Ch5
-	musicheader 1, 6, Sfx_Unknown5F_Ch6
-
+	channel_count 3
+	channel 5, Sfx_Unknown5F_Ch5
+	channel 6, Sfx_Unknown5F_Ch6
 Sfx_Sandstorm:
-	musicheader 1, 8, Sfx_Sandstorm_Ch8
+	channel 8, Sfx_Sandstorm_Ch8
 
 Sfx_HangUp:
-	musicheader 1, 5, Sfx_HangUp_Ch5
+	channel_count 1
+	channel 5, Sfx_HangUp_Ch5
 
 Sfx_NoSignal:
-	musicheader 1, 5, Sfx_NoSignal_Ch5
+	channel_count 1
+	channel 5, Sfx_NoSignal_Ch5
 
 Sfx_Elevator:
-	musicheader 4, 5, Sfx_Elevator_Ch5
-	musicheader 1, 6, Sfx_Elevator_Ch6
-	musicheader 1, 7, Sfx_Elevator_Ch7
-	musicheader 1, 8, Sfx_Elevator_Ch8
+	channel_count 4
+	channel 5, Sfx_Elevator_Ch5
+	channel 6, Sfx_Elevator_Ch6
+	channel 7, Sfx_Elevator_Ch7
+	channel 8, Sfx_Elevator_Ch8
 
-Sfx_DexFanfare5079:
 Sfx_LevelUp:
-	musicheader 4, 5, Sfx_DexFanfare5079_Ch5
-	musicheader 1, 6, Sfx_DexFanfare5079_Ch6
-	musicheader 1, 7, Sfx_DexFanfare5079_Ch7
-	musicheader 1, 8, Sfx_DexFanfare5079_Ch8
+Sfx_DexFanfare5079:
+	channel_count 4
+	channel 5, Sfx_LevelUp_Ch5
+	channel 6, Sfx_LevelUp_Ch6
+	channel 7, Sfx_LevelUp_Ch7
+	channel 8, Sfx_LevelUp_Ch8
 
-Sfx_DexFanfare5079_Ch5:
 Sfx_LevelUp_Ch5:
-	togglesfx
+Sfx_DexFanfare5079_Ch5:
+	toggle_sfx
 	tempo 120
-	volume $77
-	dutycycle $2
-	notetype $8, $b1
+	volume 7, 7
+	duty_cycle 2
+	note_type 8, 11, 1
 	octave 3
 	note B_, 2
 	note B_, 2
 	note B_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	octave 4
 	note G#, 12
-	endchannel
+	sound_ret
 
-Sfx_DexFanfare5079_Ch6:
 Sfx_LevelUp_Ch6:
-	togglesfx
-	dutycycle $2
-	notetype $8, $c1
+Sfx_DexFanfare5079_Ch6:
+	toggle_sfx
+	duty_cycle 2
+	note_type 8, 12, 1
 	octave 4
 	note E_, 2
 	note E_, 2
 	note E_, 2
-	intensity $c3
+	volume_envelope 12, 3
 	note B_, 12
-	endchannel
+	sound_ret
 
-Sfx_DexFanfare5079_Ch7:
 Sfx_LevelUp_Ch7:
-	togglesfx
-	notetype $8, $25
+Sfx_DexFanfare5079_Ch7:
+	toggle_sfx
+	note_type 8, 2, 5
 	octave 4
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	octave 5
 	note E_, 5
-	intensity $35
+	volume_envelope 3, 5
 	note E_, 3
-	note __, 4
-	endchannel
+	rest 4
+	sound_ret
 
-Sfx_DexFanfare5079_Ch8:
 Sfx_LevelUp_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $c
+Sfx_DexFanfare5079_Ch8:
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 12
 	note C_, 12
-	endchannel
+	sound_ret
 
 Sfx_KeyItem:
-	musicheader 4, 5, Sfx_KeyItem_Ch5
-	musicheader 1, 6, Sfx_KeyItem_Ch6
-	musicheader 1, 7, Sfx_KeyItem_Ch7
-	musicheader 1, 8, Sfx_KeyItem_Ch8
+	channel_count 4
+	channel 5, Sfx_KeyItem_Ch5
+	channel 6, Sfx_KeyItem_Ch6
+	channel 7, Sfx_KeyItem_Ch7
+	channel 8, Sfx_KeyItem_Ch8
 
 Sfx_KeyItem_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 120
-	volume $77
-	dutycycle $2
-	notetype $6, $b1
+	volume 7, 7
+	duty_cycle 2
+	note_type 6, 11, 1
 	octave 3
 	note B_, 4
 	note B_, 2
@@ -461,14 +566,14 @@
 	note B_, 4
 	octave 4
 	note E_, 4
-	intensity $b3
+	volume_envelope 11, 3
 	note G#, 16
-	endchannel
+	sound_ret
 
 Sfx_KeyItem_Ch6:
-	togglesfx
-	dutycycle $2
-	notetype $6, $c1
+	toggle_sfx
+	duty_cycle 2
+	note_type 6, 12, 1
 	octave 4
 	note E_, 4
 	note E_, 2
@@ -475,73 +580,74 @@
 	note E_, 2
 	note E_, 4
 	note G#, 4
-	intensity $c3
+	volume_envelope 12, 3
 	note B_, 16
-	endchannel
+	sound_ret
 
 Sfx_KeyItem_Ch7:
-	togglesfx
-	notetype $6, $25
+	toggle_sfx
+	note_type 6, 2, 5
 	octave 4
 	note G#, 2
-	note __, 2
+	rest 2
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 2
-	note __, 2
+	rest 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 5
 	note E_, 8
-	intensity $35
+	volume_envelope 3, 5
 	note E_, 4
-	note __, 4
-	endchannel
+	rest 4
+	sound_ret
 
 Sfx_KeyItem_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $c
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 12
 	note C_, 16
-	endchannel
+	sound_ret
 
 Sfx_DexFanfare2049:
-	musicheader 4, 5, Sfx_DexFanfare2049_Ch5
-	musicheader 1, 6, Sfx_DexFanfare2049_Ch6
-	musicheader 1, 7, Sfx_DexFanfare2049_Ch7
-	musicheader 1, 8, Sfx_DexFanfare2049_Ch8
+	channel_count 4
+	channel 5, Sfx_DexFanfare2049_Ch5
+	channel 6, Sfx_DexFanfare2049_Ch6
+	channel 7, Sfx_DexFanfare2049_Ch7
+	channel 8, Sfx_DexFanfare2049_Ch8
 
 Sfx_DexFanfare2049_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 104
-	volume $77
-	dutycycle $2
-	notetype $c, $88
+	volume 7, 7
+	duty_cycle 2
+	note_type 12, 8, 8
 	octave 3
 	note A_, 4
-	note __, 2
+	rest 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A#, 4
-	note __, 2
+	rest 2
 	note A#, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note A#, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
 Sfx_DexFanfare2049_Ch6:
-	togglesfx
-	dutycycle $2
-	notetype $c, $c1
+	toggle_sfx
+	duty_cycle 2
+	note_type 12, 12, 1
 	octave 5
 	note F_, 2
 	note E_, 2
@@ -556,49 +662,50 @@
 	note F_, 4
 	note G_, 4
 	note F_, 8
-	endchannel
+	sound_ret
 
 Sfx_DexFanfare2049_Ch7:
-	togglesfx
-	notetype $c, $25
+	toggle_sfx
+	note_type 12, 2, 5
 	octave 4
 	note F_, 4
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 4
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note A_, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note F_, 2
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
 Sfx_DexFanfare2049_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $c
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 12
 	note C_, 16
-	note __, 16
-	endchannel
+	rest 16
+	sound_ret
 
 Sfx_Item:
-	musicheader 4, 5, Sfx_Item_Ch5
-	musicheader 1, 6, Sfx_Item_Ch6
-	musicheader 1, 7, Sfx_Item_Ch7
-	musicheader 1, 8, Sfx_Item_Ch8
+	channel_count 4
+	channel 5, Sfx_Item_Ch5
+	channel 6, Sfx_Item_Ch6
+	channel 7, Sfx_Item_Ch7
+	channel 8, Sfx_Item_Ch8
 
 Sfx_Item_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 108
-	volume $77
-	vibrato $8, $27
-	dutycycle $2
-	notetype $8, $b2
+	volume 7, 7
+	vibrato 8, 2, 7
+	duty_cycle 2
+	note_type 8, 11, 2
 	octave 4
 	note C_, 6
 	note C_, 2
@@ -608,14 +715,14 @@
 	note G_, 4
 	note G_, 4
 	note F_, 12
-	note __, 12
-	endchannel
+	rest 12
+	sound_ret
 
 Sfx_Item_Ch6:
-	togglesfx
-	vibrato $8, $27
-	dutycycle $2
-	notetype $8, $c3
+	toggle_sfx
+	vibrato 8, 2, 7
+	duty_cycle 2
+	note_type 8, 12, 3
 	octave 4
 	note A_, 6
 	note A_, 2
@@ -625,60 +732,61 @@
 	note A#, 4
 	note A#, 4
 	note A_, 12
-	note __, 12
-	endchannel
+	rest 12
+	sound_ret
 
 Sfx_Item_Ch7:
-	togglesfx
-	notetype $8, $25
+	toggle_sfx
+	note_type 8, 2, 5
 	octave 4
 	note F_, 4
-	note __, 2
+	rest 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note D#, 2
-	note __, 2
+	rest 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note E_, 2
-	note __, 2
+	rest 2
 	note F_, 6
-	intensity $35
+	volume_envelope 3, 5
 	note F_, 4
-	note __, 14
-	endchannel
+	rest 14
+	sound_ret
 
 Sfx_Item_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $c
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 12
 	note C_, 16
-	note __, 16
-	endchannel
+	rest 16
+	sound_ret
 
 Sfx_CaughtMon:
-	musicheader 4, 5, Sfx_CaughtMon_Ch5
-	musicheader 1, 6, Sfx_CaughtMon_Ch6
-	musicheader 1, 7, Sfx_CaughtMon_Ch7
-	musicheader 1, 8, Sfx_CaughtMon_Ch8
+	channel_count 4
+	channel 5, Sfx_CaughtMon_Ch5
+	channel 6, Sfx_CaughtMon_Ch6
+	channel 7, Sfx_CaughtMon_Ch7
+	channel 8, Sfx_CaughtMon_Ch8
 
 Sfx_CaughtMon_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 112
-	volume $77
-	vibrato $8, $27
-	dutycycle $2
-	notetype $8, $b3
+	volume 7, 7
+	vibrato 8, 2, 7
+	duty_cycle 2
+	note_type 8, 11, 3
 	octave 4
 	note C_, 6
 	octave 3
 	note A_, 6
 	note F_, 12
-	intensity $b1
+	volume_envelope 11, 1
 	octave 4
 	note D#, 2
 	note D#, 2
@@ -686,20 +794,20 @@
 	note D#, 2
 	note D#, 2
 	note G_, 2
-	intensity $b3
+	volume_envelope 11, 3
 	note F_, 12
-	endchannel
+	sound_ret
 
 Sfx_CaughtMon_Ch6:
-	togglesfx
-	dutycycle $2
-	vibrato $8, $27
-	notetype $8, $c3
+	toggle_sfx
+	duty_cycle 2
+	vibrato 8, 2, 7
+	note_type 8, 12, 3
 	octave 4
 	note A_, 6
 	note F_, 6
 	note C_, 12
-	intensity $c1
+	volume_envelope 12, 1
 	note A#, 2
 	note A#, 2
 	note A#, 2
@@ -706,13 +814,13 @@
 	note G_, 2
 	note G_, 2
 	note A#, 2
-	intensity $c3
+	volume_envelope 12, 3
 	note A_, 12
-	endchannel
+	sound_ret
 
 Sfx_CaughtMon_Ch7:
-	togglesfx
-	notetype $8, $25
+	toggle_sfx
+	note_type 8, 2, 5
 	octave 3
 	note C_, 12
 	note C_, 6
@@ -724,32 +832,33 @@
 	note G_, 6
 	note A#, 6
 	note A_, 6
-	intensity $35
+	volume_envelope 3, 5
 	note A_, 3
-	note __, 3
-	endchannel
+	rest 3
+	sound_ret
 
 Sfx_CaughtMon_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $c
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 12
 	note C_, 16
-	note __, 16
-	endchannel
+	rest 16
+	sound_ret
 
 Sfx_DexFanfare80109:
-	musicheader 4, 5, Sfx_DexFanfare80109_Ch5
-	musicheader 1, 6, Sfx_DexFanfare80109_Ch6
-	musicheader 1, 7, Sfx_DexFanfare80109_Ch7
-	musicheader 1, 8, Sfx_DexFanfare80109_Ch8
+	channel_count 4
+	channel 5, Sfx_DexFanfare80109_Ch5
+	channel 6, Sfx_DexFanfare80109_Ch6
+	channel 7, Sfx_DexFanfare80109_Ch7
+	channel 8, Sfx_DexFanfare80109_Ch8
 
 Sfx_DexFanfare80109_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 112
-	volume $77
-	vibrato $8, $27
-	dutycycle $2
-	notetype $c, $b1
+	volume 7, 7
+	vibrato 8, 2, 7
+	duty_cycle 2
+	note_type 12, 11, 1
 	octave 4
 	note D#, 2
 	note D#, 1
@@ -765,15 +874,15 @@
 	note F_, 2
 	note F_, 1
 	note F_, 1
-	intensity $a5
+	volume_envelope 10, 5
 	note A#, 16
-	endchannel
+	sound_ret
 
 Sfx_DexFanfare80109_Ch6:
-	togglesfx
-	vibrato $8, $27
-	dutycycle $2
-	notetype $c, $c1
+	toggle_sfx
+	vibrato 8, 2, 7
+	duty_cycle 2
+	note_type 12, 12, 1
 	octave 4
 	note G_, 2
 	note G_, 1
@@ -787,64 +896,66 @@
 	note A#, 2
 	note A#, 1
 	note A#, 1
-	intensity $b5
+	volume_envelope 11, 5
 	octave 5
 	note D#, 16
-	endchannel
+	sound_ret
 
 Sfx_DexFanfare80109_Ch7:
-	togglesfx
-	notetype $c, $25
+	toggle_sfx
+	note_type 12, 2, 5
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 2
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 2
 	octave 4
 	note D#, 1
-	note __, 1
+	rest 1
 	note C_, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A#, 2
 	note D#, 4
-	intensity $35
+	volume_envelope 3, 5
 	note D#, 3
-	note __, 9
-	endchannel
+	rest 9
+	sound_ret
 
 Sfx_DexFanfare80109_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $c
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 12
 	note C_, 16
-	note __, 16
-	endchannel
+	rest 16
+	sound_ret
 
 Sfx_Fanfare2:
-	musicheader 3, 5, Sfx_Fanfare2_Ch5
-	musicheader 1, 6, Sfx_Fanfare2_Ch6
-	musicheader 1, 8, Sfx_Fanfare2_Ch8
+	channel_count 3
+	channel 5, Sfx_Fanfare2_Ch5
+	channel 6, Sfx_Fanfare2_Ch6
+	channel 8, Sfx_Fanfare2_Ch8
 
-UnusedSfx:
-	musicheader 4, 5, UnusedSfx_Ch5
-	musicheader 1, 6, UnusedSfx_Ch6
-	musicheader 1, 7, UnusedSfx_Ch7
-	musicheader 1, 8, UnusedSfx_Ch8
+Sfx_Unused:
+	channel_count 4
+	channel 5, Sfx_Unused_Ch5
+	channel 6, Sfx_Unused_Ch6
+	channel 7, Sfx_Unused_Ch7
+	channel 8, Sfx_Unused_Ch8
 
-UnusedSfx_Ch5:
-	togglesfx
+Sfx_Unused_Ch5:
+	toggle_sfx
 	tempo 124
-	volume $77
-	vibrato $8, $27
-	dutycycle $2
-	notetype $c, $b1
+	volume 7, 7
+	vibrato 8, 2, 7
+	duty_cycle 2
+	note_type 12, 11, 1
 	octave 4
 	note F_, 2
 	note F_, 1
@@ -858,15 +969,15 @@
 	note C_, 2
 	note E_, 1
 	note E_, 1
-	intensity $a5
+	volume_envelope 10, 5
 	note F_, 16
-	endchannel
+	sound_ret
 
-UnusedSfx_Ch6:
-	togglesfx
-	vibrato $8, $27
-	dutycycle $2
-	notetype $c, $c1
+Sfx_Unused_Ch6:
+	toggle_sfx
+	vibrato 8, 2, 7
+	duty_cycle 2
+	note_type 12, 12, 1
 	octave 4
 	note A_, 2
 	note A_, 1
@@ -882,13 +993,13 @@
 	note A#, 2
 	note A#, 1
 	note A#, 1
-	intensity $b5
+	volume_envelope 11, 5
 	note A_, 16
-	endchannel
+	sound_ret
 
-UnusedSfx_Ch7:
-	togglesfx
-	notetype $c, $25
+Sfx_Unused_Ch7:
+	toggle_sfx
+	note_type 12, 2, 5
 	octave 4
 	note F_, 8
 	note C_, 2
@@ -896,37 +1007,39 @@
 	note G_, 2
 	note A#, 2
 	note A_, 4
-	intensity $35
+	volume_envelope 3, 5
 	note A_, 3
-	note __, 9
-	endchannel
+	rest 9
+	sound_ret
 
-UnusedSfx_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $c
+Sfx_Unused_Ch8:
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 12
 	note C_, 16
-	note __, 16
-	endchannel
+	rest 16
+	sound_ret
 
 Sfx_Fanfare:
-	musicheader 3, 5, Sfx_Fanfare_Ch5
-	musicheader 1, 6, Sfx_Fanfare_Ch6
-	musicheader 1, 8, Sfx_Fanfare_Ch8
+	channel_count 3
+	channel 5, Sfx_Fanfare_Ch5
+	channel 6, Sfx_Fanfare_Ch6
+	channel 8, Sfx_Fanfare_Ch8
 
 Sfx_RegisterPhoneNumber:
-	musicheader 4, 5, Sfx_RegisterPhoneNumber_Ch5
-	musicheader 1, 6, Sfx_RegisterPhoneNumber_Ch6
-	musicheader 1, 7, Sfx_RegisterPhoneNumber_Ch7
-	musicheader 1, 8, Sfx_RegisterPhoneNumber_Ch8
+	channel_count 4
+	channel 5, Sfx_RegisterPhoneNumber_Ch5
+	channel 6, Sfx_RegisterPhoneNumber_Ch6
+	channel 7, Sfx_RegisterPhoneNumber_Ch7
+	channel 8, Sfx_RegisterPhoneNumber_Ch8
 
 Sfx_RegisterPhoneNumber_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 124
-	volume $77
-	dutycycle $3
-	notetype $c, $a2
-	note __, 2
+	volume 7, 7
+	duty_cycle 3
+	note_type 12, 10, 2
+	rest 2
 	octave 3
 	note C_, 4
 	note G#, 4
@@ -941,16 +1054,16 @@
 	octave 4
 	note C#, 3
 	note C_, 2
-	note __, 8
-	endchannel
+	rest 8
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_RegisterPhoneNumber_Ch6:
-	togglesfx
-	dutycycle $3
-	notetype $c, $c2
-	note __, 2
+	toggle_sfx
+	duty_cycle 3
+	note_type 12, 12, 2
+	rest 2
 	octave 4
 	note D#, 2
 	note C#, 2
@@ -957,7 +1070,7 @@
 	note C_, 2
 	note D#, 2
 	note F_, 2
-	note __, 1
+	rest 1
 	note G#, 3
 	octave 5
 	note C_, 2
@@ -965,54 +1078,55 @@
 	octave 4
 	note G_, 3
 	note G#, 2
-	note __, 8
-	endchannel
+	rest 8
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_RegisterPhoneNumber_Ch7:
-	togglesfx
-	notetype $c, $25
-	note __, 2
+	toggle_sfx
+	note_type 12, 2, 5
+	rest 2
 	octave 3
 	note D#, 7
-	note __, 1
+	rest 1
 	note G#, 2
-	note __, 1
+	rest 1
 	note C_, 2
-	note __, 1
+	rest 1
 	note G#, 2
 	note G_, 2
-	note __, 1
+	rest 1
 	note A#, 3
 	note G#, 2
-	note __, 8
-	endchannel
+	rest 8
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_RegisterPhoneNumber_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $c
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 12
 	note C_, 2
-	note __, 16
-	note __, 16
-	endchannel
+	rest 16
+	rest 16
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
-Sfx_3RdPlace:
-	musicheader 3, 5, Sfx_3RdPlace_Ch5
-	musicheader 1, 6, Sfx_3RdPlace_Ch6
-	musicheader 1, 7, Sfx_3RdPlace_Ch7
+Sfx_3rdPlace:
+	channel_count 3
+	channel 5, Sfx_3rdPlace_Ch5
+	channel 6, Sfx_3rdPlace_Ch6
+	channel 7, Sfx_3rdPlace_Ch7
 
-Sfx_3RdPlace_Ch5:
-	togglesfx
+Sfx_3rdPlace_Ch5:
+	toggle_sfx
 	tempo 120
-	volume $77
-	dutycycle $2
-	notetype $c, $a4
+	volume 7, 7
+	duty_cycle 2
+	note_type 12, 10, 4
 	octave 4
 	note F_, 1
 	note A_, 1
@@ -1019,17 +1133,17 @@
 	octave 5
 	note C_, 1
 	note F_, 1
-	note __, 1
+	rest 1
 	note C_, 1
 	note D_, 6
-	endchannel
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
-Sfx_3RdPlace_Ch6:
-	togglesfx
-	dutycycle $2
-	notetype $c, $b4
+Sfx_3rdPlace_Ch6:
+	toggle_sfx
+	duty_cycle 2
+	note_type 12, 11, 4
 	octave 4
 	note A_, 1
 	octave 5
@@ -1036,16 +1150,16 @@
 	note C_, 1
 	note F_, 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note F_, 1
 	note G_, 6
-	endchannel
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
-Sfx_3RdPlace_Ch7:
-	togglesfx
-	notetype $c, $25
+Sfx_3rdPlace_Ch7:
+	toggle_sfx
+	note_type 12, 2, 5
 	octave 3
 	note A_, 1
 	note F_, 1
@@ -1052,28 +1166,29 @@
 	note A_, 1
 	octave 4
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note A_, 1
 	note B_, 6
-	endchannel
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_GetEgg:
-	musicheader 4, 5, Sfx_GetEgg_Ch5
-	musicheader 1, 6, Sfx_GetEgg_Ch6
-	musicheader 1, 7, Sfx_GetEgg_Ch7
-	musicheader 1, 8, Sfx_GetEgg_Ch8
+	channel_count 4
+	channel 5, Sfx_GetEgg_Ch5
+	channel 6, Sfx_GetEgg_Ch6
+	channel 7, Sfx_GetEgg_Ch7
+	channel 8, Sfx_GetEgg_Ch8
 
 Sfx_GetEgg_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 120
-	volume $77
-	vibrato $12, $34
-	dutycycle $2
-	notetype $8, $a1
-	note __, 2
+	volume 7, 7
+	vibrato 18, 3, 4
+	duty_cycle 2
+	note_type 8, 10, 1
+	rest 2
 	octave 3
 	note C_, 2
 	note F_, 2
@@ -1082,55 +1197,55 @@
 	note A#, 2
 	octave 4
 	note D_, 2
-	intensity $a2
+	volume_envelope 10, 2
 	note F_, 6
-	intensity $a1
-	dutycycle $3
+	volume_envelope 10, 1
+	duty_cycle 3
 	octave 3
 	note E_, 2
 	note G_, 2
 	octave 4
 	note C_, 2
-	intensity $a4
+	volume_envelope 10, 4
 	note F_, 9
-	note __, 9
-	endchannel
+	rest 9
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_GetEgg_Ch6:
-	togglesfx
-	vibrato $12, $34
-	dutycycle $3
-	notetype $8, $c2
-	note __, 2
+	toggle_sfx
+	vibrato 18, 3, 4
+	duty_cycle 3
+	note_type 8, 12, 2
+	rest 2
 	octave 4
 	note F_, 2
-	note __, 2
+	rest 2
 	note A_, 2
-	intensity $c1
+	volume_envelope 12, 1
 	note A#, 2
 	note A_, 2
 	note A#, 2
-	intensity $c2
+	volume_envelope 12, 2
 	octave 5
 	note C_, 6
-	intensity $c1
+	volume_envelope 12, 1
 	octave 4
 	note C_, 2
 	note E_, 2
 	note G_, 2
-	intensity $c4
+	volume_envelope 12, 4
 	note A_, 9
-	note __, 9
-	endchannel
+	rest 9
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_GetEgg_Ch7:
-	togglesfx
-	notetype $8, $25
-	note __, 2
+	toggle_sfx
+	note_type 8, 2, 5
+	rest 2
 	octave 3
 	note C_, 6
 	octave 2
@@ -1141,45 +1256,46 @@
 	note G_, 2
 	note A#, 6
 	note A_, 9
-	note __, 9
-	endchannel
+	rest 9
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_GetEgg_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $8
-	note __, 2
-	notetype $c
-	note __, 16
-	note __, 12
-	endchannel
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 8
+	rest 2
+	drum_speed 12
+	rest 16
+	rest 12
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_MoveDeleted:
-	musicheader 4, 5, Sfx_MoveDeleted_Ch5
-	musicheader 1, 6, Sfx_MoveDeleted_Ch6
-	musicheader 1, 7, Sfx_MoveDeleted_Ch7
-	musicheader 1, 8, Sfx_MoveDeleted_Ch8
+	channel_count 4
+	channel 5, Sfx_MoveDeleted_Ch5
+	channel 6, Sfx_MoveDeleted_Ch6
+	channel 7, Sfx_MoveDeleted_Ch7
+	channel 8, Sfx_MoveDeleted_Ch8
 
 Sfx_MoveDeleted_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 116
-	volume $77
-	dutycycle $2
-	vibrato $c, $44
-	notetype $c, $a4
-	note __, 8
+	volume 7, 7
+	duty_cycle 2
+	vibrato 12, 4, 4
+	note_type 12, 10, 4
+	rest 8
 	octave 2
 	note G_, 1
-	note __, 2
+	rest 2
 	note C#, 1
 	note E_, 1
 	note D#, 1
 	note E_, 4
-	intensity $a1
+	volume_envelope 10, 1
 	note G_, 2
 	note F_, 2
 	note E_, 2
@@ -1186,19 +1302,19 @@
 	note D_, 2
 	note G#, 2
 	note B_, 2
-	intensity $a6
+	volume_envelope 10, 6
 	octave 3
 	note D_, 10
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_MoveDeleted_Ch6:
-	togglesfx
-	dutycycle $3
-	vibrato $c, $44
-	notetype $c, $74
+	toggle_sfx
+	duty_cycle 3
+	vibrato 12, 4, 4
+	note_type 12, 7, 4
 	octave 1
 	note B_, 1
 	octave 2
@@ -1205,83 +1321,84 @@
 	note D_, 1
 	note F_, 1
 	note G#, 1
-	intensity $94
+	volume_envelope 9, 4
 	note D_, 1
 	note F_, 1
 	note G#, 1
 	note B_, 1
-	intensity $b4
+	volume_envelope 11, 4
 	octave 3
 	note C#, 1
-	note __, 2
+	rest 2
 	octave 2
 	note A#, 1
 	octave 3
 	note C#, 4
-	note __, 2
-	intensity $b1
+	rest 2
+	volume_envelope 11, 1
 	note C#, 2
 	note D#, 2
 	note E_, 2
-	intensity $b6
+	volume_envelope 11, 6
 	note F_, 16
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_MoveDeleted_Ch7:
-	togglesfx
-	notetype $6, $25
+	toggle_sfx
+	note_type 6, 2, 5
 	octave 2
 	note G#, 8
 	note A_, 8
 	note A#, 2
-	note __, 4
+	rest 4
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 8
-	note __, 4
+	rest 4
 	octave 3
 	note C#, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A#, 2
-	note __, 2
-	notetype $c, $20
+	rest 2
+	note_type 12, 2, 0
 	note B_, 16
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_MoveDeleted_Ch8:
-	togglesfx
-	sfxtogglenoise $3
-	notetype $c
+	toggle_sfx
+	sfx_toggle_noise 3
+	drum_speed 12
 	note F_, 8
-	note __, 16
-	note __, 16
-	note __, 6
-	endchannel
+	rest 16
+	rest 16
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_2ndPlace:
-	musicheader 4, 5, Sfx_2ndPlace_Ch5
-	musicheader 1, 6, Sfx_2ndPlace_Ch6
-	musicheader 1, 7, Sfx_2ndPlace_Ch7
-	musicheader 1, 8, Sfx_2ndPlace_Ch8
+	channel_count 4
+	channel 5, Sfx_2ndPlace_Ch5
+	channel 6, Sfx_2ndPlace_Ch6
+	channel 7, Sfx_2ndPlace_Ch7
+	channel 8, Sfx_2ndPlace_Ch8
 
 Sfx_2ndPlace_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 116
-	volume $77
-	dutycycle $2
-	vibrato $c, $34
-	notetype $8, $a1
+	volume 7, 7
+	duty_cycle 2
+	vibrato 12, 3, 4
+	note_type 8, 10, 1
 	octave 4
 	note E_, 2
 	note E_, 2
@@ -1302,17 +1419,17 @@
 	note A_, 2
 	note A_, 2
 	note A_, 2
-	intensity $a7
+	volume_envelope 10, 7
 	note B_, 12
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_2ndPlace_Ch6:
-	togglesfx
-	dutycycle $2
-	notetype $8, $b1
+	toggle_sfx
+	duty_cycle 2
+	note_type 8, 11, 1
 	octave 4
 	note G_, 2
 	note G_, 2
@@ -1319,86 +1436,87 @@
 	note G_, 2
 	note A_, 4
 	note B_, 2
-	intensity $b4
+	volume_envelope 11, 4
 	octave 5
 	note C_, 12
-	intensity $b1
+	volume_envelope 11, 1
 	note C_, 2
 	note C_, 2
 	note C_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 12
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_2ndPlace_Ch7:
-	togglesfx
-	notetype $8, $25
+	toggle_sfx
+	note_type 8, 2, 5
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note F_, 2
 	octave 2
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note F_, 2
 	octave 2
 	note F_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note F_, 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note G_, 12
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_2ndPlace_Ch8:
-	togglesfx
-	sfxtogglenoise $3
-	notetype $8
-.loop
+	toggle_sfx
+	sfx_toggle_noise 3
+	drum_speed 8
+Sfx_2ndPlace_branch_f0fd7:
 	note C#, 1
-	loopchannel 6, .loop
+	sound_loop 6, Sfx_2ndPlace_branch_f0fd7
 	note B_, 12
 	note B_, 12
 	note B_, 12
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_1stPlace:
-	musicheader 4, 5, Sfx_1stPlace_Ch5
-	musicheader 1, 6, Sfx_1stPlace_Ch6
-	musicheader 1, 7, Sfx_1stPlace_Ch7
-	musicheader 1, 8, Sfx_1stPlace_Ch8
+	channel_count 4
+	channel 5, Sfx_1stPlace_Ch5
+	channel 6, Sfx_1stPlace_Ch6
+	channel 7, Sfx_1stPlace_Ch7
+	channel 8, Sfx_1stPlace_Ch8
 
 Sfx_1stPlace_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 124
-	volume $77
-	dutycycle $3
-	vibrato $c, $34
-	notetype $c, $a1
+	volume 7, 7
+	duty_cycle 3
+	vibrato 12, 3, 4
+	note_type 12, 10, 1
 	octave 5
 	note D_, 2
 	octave 4
@@ -1409,13 +1527,13 @@
 	note F_, 1
 	note D_, 1
 	note F_, 1
-	intensity $91
+	volume_envelope 9, 1
 	note D_, 1
 	octave 4
 	note A#, 1
 	note F_, 1
 	note A#, 1
-	intensity $81
+	volume_envelope 8, 1
 	octave 5
 	note D_, 1
 	octave 4
@@ -1422,69 +1540,69 @@
 	note A#, 1
 	note F_, 1
 	note D_, 1
-	intensity $a1
+	volume_envelope 10, 1
 	note C_, 2
 	note E_, 2
 	note G_, 2
-	intensity $a7
+	volume_envelope 10, 7
 	note A_, 10
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_1stPlace_Ch6:
-	togglesfx
-	dutycycle $3
-	vibrato $c, $34
-	notetype $c, $c1
+	toggle_sfx
+	duty_cycle 3
+	vibrato 12, 3, 4
+	note_type 12, 12, 1
 	octave 3
 	note B_, 2
 	note G_, 2
 	note B_, 2
-	intensity $b6
+	volume_envelope 11, 6
 	octave 4
 	note D_, 12
-	intensity $c1
+	volume_envelope 12, 1
 	note E_, 2
 	note G_, 2
 	octave 5
 	note C_, 2
-	intensity $b7
+	volume_envelope 11, 7
 	note D_, 10
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_1stPlace_Ch7:
-	togglesfx
-	notetype $c, $25
+	toggle_sfx
+	note_type 12, 2, 5
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 6
 	note F_, 6
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	note D_, 10
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_1stPlace_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $6
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 6
 	note D_, 4
 	note D_, 4
 	note D_, 4
@@ -1495,119 +1613,120 @@
 	note D_, 4
 	note D_, 4
 	note D_, 4
-	notetype $c
+	drum_speed 12
 	note B_, 10
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_ChooseACard:
-	musicheader 4, 5, Sfx_ChooseACard_Ch5
-	musicheader 1, 6, Sfx_ChooseACard_Ch6
-	musicheader 1, 7, Sfx_ChooseACard_Ch7
-	musicheader 1, 8, Sfx_ChooseACard_Ch8
+	channel_count 4
+	channel 5, Sfx_ChooseACard_Ch5
+	channel 6, Sfx_ChooseACard_Ch6
+	channel 7, Sfx_ChooseACard_Ch7
+	channel 8, Sfx_ChooseACard_Ch8
 
 Sfx_ChooseACard_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 152
-	volume $77
-	dutycycle $3
-	notetype $6, $a4
+	volume 7, 7
+	duty_cycle 3
+	note_type 6, 10, 4
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note C#, 4
 	octave 3
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note D_, 4
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	note E_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note E_, 4
-	intensity $71
+	volume_envelope 7, 1
 	octave 3
 	note E_, 1
 	note F#, 1
 	note G#, 1
 	note A_, 1
-	intensity $91
+	volume_envelope 9, 1
 	note B_, 1
 	octave 4
 	note C#, 1
 	note D_, 1
 	note D#, 1
-	intensity $a4
+	volume_envelope 10, 4
 	note E_, 4
-	note __, 12
-	endchannel
+	rest 12
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_ChooseACard_Ch6:
-	togglesfx
-	dutycycle $3
-	notetype $6, $b4
+	toggle_sfx
+	duty_cycle 3
+	note_type 6, 11, 4
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note E_, 4
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note F_, 4
 	octave 3
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	octave 4
 	note G_, 4
 	note G#, 8
 	note A_, 4
-	note __, 12
-	endchannel
+	rest 12
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_ChooseACard_Ch7:
-	togglesfx
-	notetype $6, $25
+	toggle_sfx
+	note_type 6, 2, 5
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 4
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 4
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 4
 	octave 3
@@ -1617,15 +1736,15 @@
 	note B_, 2
 	note G#, 2
 	note A_, 4
-	note __, 12
-	endchannel
+	rest 12
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_ChooseACard_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $6
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 6
 	note D_, 2
 	note C#, 2
 	note B_, 4
@@ -1643,71 +1762,72 @@
 	note C#, 2
 	note D_, 2
 	note B_, 16
-	endchannel
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_GetTm:
-	musicheader 4, 5, Sfx_GetTm_Ch5
-	musicheader 1, 6, Sfx_GetTm_Ch6
-	musicheader 1, 7, Sfx_GetTm_Ch7
-	musicheader 1, 8, Sfx_GetTm_Ch8
+	channel_count 4
+	channel 5, Sfx_GetTm_Ch5
+	channel 6, Sfx_GetTm_Ch6
+	channel 7, Sfx_GetTm_Ch7
+	channel 8, Sfx_GetTm_Ch8
 
 Sfx_GetTm_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 144
-	volume $77
-	dutycycle $3
-	vibrato $8, $24
-	notetype $c, $a3
+	volume 7, 7
+	duty_cycle 3
+	vibrato 8, 2, 4
+	note_type 12, 10, 3
 	octave 4
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 3
 	note B_, 1
 	octave 4
 	note D_, 1
 	note G_, 6
-	intensity $b1
+	volume_envelope 11, 1
 	note E_, 2
 	note F#, 2
 	note G_, 2
-	intensity $a5
+	volume_envelope 10, 5
 	note F#, 8
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_GetTm_Ch6:
-	togglesfx
-	dutycycle $3
-	vibrato $8, $24
-	notetype $c, $b3
+	toggle_sfx
+	duty_cycle 3
+	vibrato 8, 2, 4
+	note_type 12, 11, 3
 	octave 4
 	note G_, 1
-	note __, 1
+	rest 1
 	note D_, 1
 	note G_, 1
 	note B_, 6
-	intensity $c1
+	volume_envelope 12, 1
 	note A_, 2
 	note B_, 2
 	octave 5
 	note C_, 2
-	intensity $b5
+	volume_envelope 11, 5
 	note D_, 8
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_GetTm_Ch7:
-	togglesfx
-	notetype $6, $25
+	toggle_sfx
+	note_type 6, 2, 5
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	note G_, 2
 	note B_, 2
 	octave 3
@@ -1714,29 +1834,29 @@
 	note D_, 4
 	octave 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 4
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	octave 2
 	note B_, 2
-	note __, 2
+	rest 2
 	octave 3
 	note C_, 4
 	octave 2
 	note A_, 16
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_GetTm_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $6
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 6
 	note D_, 4
 	note C#, 2
 	note D_, 2
@@ -1748,40 +1868,41 @@
 	note C#, 1
 	note D_, 2
 	note B_, 16
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_GetBadge:
-	musicheader 4, 5, Sfx_GetBadge_Ch5
-	musicheader 1, 6, Sfx_GetBadge_Ch6
-	musicheader 1, 7, Sfx_GetBadge_Ch7
-	musicheader 1, 8, Sfx_GetBadge_Ch8
+	channel_count 4
+	channel 5, Sfx_GetBadge_Ch5
+	channel 6, Sfx_GetBadge_Ch6
+	channel 7, Sfx_GetBadge_Ch7
+	channel 8, Sfx_GetBadge_Ch8
 
 Sfx_GetBadge_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 120
-	volume $77
-	dutycycle $2
-	vibrato $8, $24
-	notetype $6, $92
+	volume 7, 7
+	duty_cycle 2
+	vibrato 8, 2, 4
+	note_type 6, 9, 2
 	octave 4
 	note F_, 3
-	callchannel Sfx_GetBadge_branch_f11aa
+	sound_call Sfx_GetBadge_branch_f11aa
 	note A#, 3
-	pitchoffset 0, D_
-	callchannel Sfx_GetBadge_branch_f11aa
-	pitchoffset 0, C_
-	intensity $a7
+	transpose 0, 2
+	sound_call Sfx_GetBadge_branch_f11aa
+	transpose 0, 0
+	volume_envelope 10, 7
 	note A_, 16
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_GetBadge_branch_f11aa:
-	note __, 5
+	rest 5
 	octave 3
 	note F_, 2
 	note G#, 2
@@ -1800,71 +1921,71 @@
 	octave 4
 	note C#, 2
 	note F_, 2
-	endchannel
+	sound_ret
 
 Sfx_GetBadge_Ch6:
-	togglesfx
-	dutycycle $3
-	vibrato $8, $24
-	notetype $6, $b5
+	toggle_sfx
+	duty_cycle 3
+	vibrato 8, 2, 4
+	note_type 6, 11, 5
 	octave 5
 	note C#, 3
-	note __, 3
+	rest 3
 	octave 4
 	note G#, 1
-	note __, 1
+	rest 1
 	note G#, 8
 	octave 3
 	note C#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note G#, 2
-	note __, 1
-	intensity $95
+	rest 1
+	volume_envelope 9, 5
 	octave 5
 	note C_, 1
-	intensity $b5
+	volume_envelope 11, 5
 	note C#, 2
-	note __, 2
+	rest 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note D#, 3
-	note __, 3
+	rest 3
 	octave 4
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 8
 	octave 3
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A#, 2
-	note __, 1
-	intensity $95
+	rest 1
+	volume_envelope 9, 5
 	octave 5
 	note D_, 1
-	intensity $b5
+	volume_envelope 11, 5
 	note D#, 8
 	note F_, 16
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_GetBadge_Ch7:
-	togglesfx
-	notetype $6, $25
+	toggle_sfx
+	note_type 6, 2, 5
 	octave 2
 	note G#, 3
-	note __, 3
+	rest 3
 	octave 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note C#, 8
 	note G#, 2
-	note __, 2
+	rest 2
 	note F_, 2
-	note __, 2
+	rest 2
 	note C#, 2
 	note C_, 2
 	octave 2
@@ -1871,30 +1992,30 @@
 	note A#, 2
 	note G#, 2
 	note G_, 3
-	note __, 3
+	rest 3
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 8
 	note A#, 2
-	note __, 2
+	rest 2
 	note G_, 2
-	note __, 2
+	rest 2
 	note G_, 2
 	note F_, 2
 	note G_, 2
 	note D#, 2
 	note F_, 16
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_GetBadge_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $6
-.loop
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 6
+Sfx_GetBadge_branch_f1220:
 	note B_, 12
 	note D_, 1
 	note D_, 1
@@ -1909,28 +2030,29 @@
 	note C#, 1
 	note C#, 1
 	note C#, 1
-	loopchannel 2, .loop
+	sound_loop 2, Sfx_GetBadge_branch_f1220
 	note B_, 16
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_QuitSlots:
-	musicheader 4, 5, Sfx_QuitSlots_Ch5
-	musicheader 1, 6, Sfx_QuitSlots_Ch6
-	musicheader 1, 7, Sfx_QuitSlots_Ch7
-	musicheader 1, 8, Sfx_QuitSlots_Ch8
+	channel_count 4
+	channel 5, Sfx_QuitSlots_Ch5
+	channel 6, Sfx_QuitSlots_Ch6
+	channel 7, Sfx_QuitSlots_Ch7
+	channel 8, Sfx_QuitSlots_Ch8
 
 Sfx_QuitSlots_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 144
-	volume $77
-	dutycycle $2
-	notetype $8, $82
+	volume 7, 7
+	duty_cycle 2
+	note_type 8, 8, 2
 	octave 3
 	note G#, 2
-	note __, 4
+	rest 4
 	note C#, 2
 	note F_, 2
 	note G#, 2
@@ -1947,18 +2069,18 @@
 	note A#, 2
 	note G#, 2
 	note F#, 2
-	intensity $97
+	volume_envelope 9, 7
 	note G#, 14
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_QuitSlots_Ch6:
-	togglesfx
-	dutycycle $2
-	notetype $8, $b3
-	note __, 3
+	toggle_sfx
+	duty_cycle 2
+	note_type 8, 11, 3
+	rest 3
 	octave 4
 	note B_, 1
 	octave 5
@@ -1966,7 +2088,7 @@
 	octave 4
 	note G#, 4
 	note A#, 2
-	intensity $c1
+	volume_envelope 12, 1
 	note B_, 4
 	note A#, 2
 	note G#, 4
@@ -1974,25 +2096,25 @@
 	note F#, 4
 	note F_, 2
 	note D#, 4
-	intensity $b7
+	volume_envelope 11, 7
 	note F_, 14
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_QuitSlots_Ch7:
-	togglesfx
-	notetype $8, $25
+	toggle_sfx
+	note_type 8, 2, 5
 	octave 3
 	note C#, 2
-	note __, 2
+	rest 2
 	note F_, 2
 	note D#, 2
 	note C#, 2
 	note G#, 2
 	note D_, 2
-	note __, 2
+	rest 2
 	note D_, 2
 	octave 2
 	note G#, 2
@@ -2000,22 +2122,22 @@
 	octave 3
 	note D_, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	octave 2
 	note A#, 2
 	octave 3
 	note C_, 2
-	note __, 2
+	rest 2
 	note C#, 14
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_QuitSlots_Ch8:
-	togglesfx
-	sfxtogglenoise $3
-	notetype $8
+	toggle_sfx
+	sfx_toggle_noise 3
+	drum_speed 8
 	note D#, 6
 	note D_, 4
 	note D#, 2
@@ -2027,20 +2149,21 @@
 	note D#, 2
 	note D_, 4
 	note B_, 14
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_Protect:
-	musicheader 2, 5, Sfx_Protect_Ch5
-	musicheader 1, 8, Sfx_Protect_Ch8
+	channel_count 2
+	channel 5, Sfx_Protect_Ch5
+	channel 8, Sfx_Protect_Ch8
 
 Sfx_Protect_Ch5:
-	togglesfx
-	notetype $1, $f1
-	dutycycle $0
-.loop
+	toggle_sfx
+	note_type 1, 15, 1
+	duty_cycle 0
+Sfx_Protect_branch_f12c0:
 	octave 5
 	note F_, 5
 	note A_, 5
@@ -2053,335 +2176,354 @@
 	octave 6
 	note C#, 5
 	note E_, 5
-	loopchannel 3, .loop
-	intensity $c1
+	sound_loop 3, Sfx_Protect_branch_f12c0
+	volume_envelope 12, 1
 	octave 5
 	note F_, 5
 	note A_, 5
-	intensity $91
+	volume_envelope 9, 1
 	octave 6
 	note C_, 5
 	note E_, 5
-	intensity $71
+	volume_envelope 7, 1
 	octave 5
 	note F#, 5
 	note A#, 5
-	intensity $51
+	volume_envelope 5, 1
 	octave 6
 	note C#, 5
 	note E_, 5
-	endchannel
+	sound_ret
 
 Sfx_Protect_Ch8:
-	noise __, 10, $9e, $0
-	noise __, 10, $be, $11
-	loopchannel 6, Sfx_Protect_Ch8
-	noise __, 10, $a7, $0
-	noise C_,  1, $75, $11
-	endchannel
+	noise_note 9, 9, -6, 0
+	noise_note 9, 11, -6, 17
+	sound_loop 6, Sfx_Protect_Ch8
+	noise_note 9, 10, 7, 0
+	noise_note 16, 7, 5, 17
+	sound_ret
 
 Sfx_Sketch:
-	musicheader 1, 5, Sfx_Sketch_Ch5
+	channel_count 1
+	channel 5, Sfx_Sketch_Ch5
 
 Sfx_Sketch_Ch5:
-	dutycycle $1
-	soundinput $a5
-.loop
-	sound __,  3, $f1, $06e0
-	sound __, 14, $af, $05b0
-	sound __,  5, $0, 0
-	sound __, 10, $f4, $0718
-	loopchannel 3, .loop
-	soundinput $8
-	endchannel
+	duty_cycle 1
+	pitch_sweep 10, 5
+Sfx_Sketch_branch_f12fd:
+	square_note 2, 15, 1, 1760
+	square_note 13, 10, -7, 1456
+	square_note 4, 0, 0, 0
+	square_note 9, 15, 4, 1816
+	sound_loop 3, Sfx_Sketch_branch_f12fd
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_RainDance:
-	musicheader 1, 8, Sfx_RainDance_Ch8
+	channel_count 1
+	channel 8, Sfx_RainDance_Ch8
 
 Sfx_RainDance_Ch8:
-	noise __, 12, $7d, $50
-	noise __,  7, $7d, $4f
-	noise __, 12, $7f, $47
-	noise __, 16, $6e, $22
-	loopchannel 3, Sfx_RainDance_Ch8
-	noise __,  7, $6d, $50
-	noise __,  6, $5d, $4f
-	noise __,  6, $4f, $47
-	noise __, 11, $32, $46
-	endchannel
+	noise_note 11, 7, -5, 80
+	noise_note 6, 7, -5, 79
+	noise_note 11, 7, -7, 71
+	noise_note 15, 6, -6, 34
+	sound_loop 3, Sfx_RainDance_Ch8
+	noise_note 6, 6, -5, 80
+	noise_note 5, 5, -5, 79
+	noise_note 5, 4, -7, 71
+	noise_note 10, 3, 2, 70
+	sound_ret
 
 Sfx_Aeroblast:
-	musicheader 2, 5, Sfx_Aeroblast_Ch5
-	musicheader 1, 8, Sfx_Aeroblast_Ch8
+	channel_count 2
+	channel 5, Sfx_Aeroblast_Ch5
+	channel 8, Sfx_Aeroblast_Ch8
 
 Sfx_Aeroblast_Ch5:
-	sound_duty 2, 0, 3, 3
-	soundinput $f5
-	sound C_, 13, $f8, $0580
-	soundinput $8
-	endchannel
+	duty_cycle_pattern 3, 3, 0, 2
+	pitch_sweep 15, 5
+	square_note 28, 15, 8, 1408
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Aeroblast_Ch8:
-	noise __,  5, $f8, $6c
-	noise __,  5, $c8, $5c
-	noise __,  5, $78, $5b
-	noise C_,  1, $31, $5a
-	endchannel
+	noise_note 4, 15, 8, 108
+	noise_note 4, 12, 8, 92
+	noise_note 4, 7, 8, 91
+	noise_note 16, 3, 1, 90
+	sound_ret
 
 Sfx_Spark:
-	musicheader 1, 8, Sfx_Spark_Ch8
+	channel_count 1
+	channel 8, Sfx_Spark_Ch8
 
 Sfx_Spark_Ch8:
-	noise __,  5, $f8, $5d
-	noise __,  5, $d8, $6f
-	loopchannel 2, Sfx_Spark_Ch8
-	endchannel
+	noise_note 4, 15, 8, 93
+	noise_note 4, 13, 8, 111
+	sound_loop 2, Sfx_Spark_Ch8
+	sound_ret
 
 Sfx_Curse:
-	musicheader 2, 5, Sfx_Curse_Ch5
-	musicheader 1, 8, Sfx_Curse_Ch8
+	channel_count 2
+	channel 5, Sfx_Curse_Ch5
+	channel 8, Sfx_Curse_Ch8
 
 Sfx_Curse_Ch5:
-	dutycycle $3
-	sound __,  5, $f2, $0483
-	sound __,  5, $f2, $0511
-	sound __,  5, $f2, $0589
-	sound __,  5, $f2, $05ed
-	endchannel
+	duty_cycle 3
+	square_note 4, 15, 2, 1155
+	square_note 4, 15, 2, 1297
+	square_note 4, 15, 2, 1417
+	square_note 4, 15, 2, 1517
+	sound_ret
 
 Sfx_Curse_Ch8:
-	noise C_,  5, $9a, $9
-	endchannel
+	noise_note 20, 9, -2, 9
+	sound_ret
 
 Sfx_Rage:
-	musicheader 2, 5, Sfx_Rage_Ch5
-	musicheader 1, 8, Sfx_Rage_Ch8
+	channel_count 2
+	channel 5, Sfx_Rage_Ch5
+	channel 8, Sfx_Rage_Ch8
 
 Sfx_Rage_Ch5:
-	dutycycle $0
-	sound __,  4, $d1, $07b0
-	sound __,  4, $d1, $07c2
-	sound C_,  9, $d2, $07d5
-	endchannel
+	duty_cycle 0
+	square_note 3, 13, 1, 1968
+	square_note 3, 13, 1, 1986
+	square_note 24, 13, 2, 2005
+	sound_ret
 
 Sfx_Rage_Ch8:
-	noise __,  4, $f4, $1a
-	noise __,  4, $f4, $19
-	noise C_,  9, $f2, $18
-	endchannel
+	noise_note 3, 15, 4, 26
+	noise_note 3, 15, 4, 25
+	noise_note 24, 15, 2, 24
+	sound_ret
 
 Sfx_Thief:
-	musicheader 1, 8, Sfx_Thief_Ch8
+	channel_count 1
+	channel 8, Sfx_Thief_Ch8
 
 Sfx_Thief_Ch8:
-	noise __,  1, $0, $0
-	noise __,  5, $e1, $12
-	noise __,  1, $0, $0
-	noise __,  3, $b1, $22
-	loopchannel 2, Sfx_Thief_Ch8
-	endchannel
+	noise_note 0, 0, 0, 0
+	noise_note 4, 14, 1, 18
+	noise_note 0, 0, 0, 0
+	noise_note 2, 11, 1, 34
+	sound_loop 2, Sfx_Thief_Ch8
+	sound_ret
 
 Sfx_Thief2:
-	musicheader 1, 5, Sfx_Thief2_Ch5
+	channel_count 1
+	channel 5, Sfx_Thief2_Ch5
 
 Sfx_Thief2_Ch5:
-	togglesfx
-	notetype $2, $f4
-	dutycycle $0
+	toggle_sfx
+	note_type 2, 15, 4
+	duty_cycle 0
 	octave 4
 	note C#, 3
 	note A#, 3
-	intensity $d2
+	volume_envelope 13, 2
 	note C#, 3
 	note A#, 3
-	intensity $b1
+	volume_envelope 11, 1
 	note C_, 3
 	note A_, 3
-	intensity $81
+	volume_envelope 8, 1
 	note C_, 3
 	note A_, 3
-	togglesfx
-	endchannel
+	toggle_sfx
+	sound_ret
 
 Sfx_SpiderWeb:
-	musicheader 2, 5, Sfx_SpiderWeb_Ch5
-	musicheader 1, 8, Sfx_SpiderWeb_Ch8
+	channel_count 2
+	channel 5, Sfx_SpiderWeb_Ch5
+	channel 8, Sfx_SpiderWeb_Ch8
 
 Sfx_SpiderWeb_Ch5:
-	dutycycle $0
-	sound C#,  1, $7f, $0720
-	soundinput $95
-	sound __,  5, $f8, $0620
-	sound __,  5, $e8, $0630
-	sound __,  5, $d8, $0640
-	sound __,  5, $95, $0620
-	sound __,  5, $73, $0630
-	sound __,  5, $51, $0640
-	soundinput $8
-	endchannel
+	duty_cycle 0
+	square_note 32, 7, -7, 1824
+	pitch_sweep 9, 5
+	square_note 4, 15, 8, 1568
+	square_note 4, 14, 8, 1584
+	square_note 4, 13, 8, 1600
+	square_note 4, 9, 5, 1568
+	square_note 4, 7, 3, 1584
+	square_note 4, 5, 1, 1600
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_SpiderWeb_Ch8:
-	noise C#,  1, $ef, $0
-	endchannel
+	noise_note 32, 14, -7, 0
+	sound_ret
 
 Sfx_MindReader:
-	musicheader 2, 5, Sfx_MindReader_Ch5
-	musicheader 1, 8, Sfx_MindReader_Ch8
+	channel_count 2
+	channel 5, Sfx_MindReader_Ch5
+	channel 8, Sfx_MindReader_Ch8
 
 Sfx_MindReader_Ch5:
-	togglesfx
-	dutycycle $2
-	notetype $2, $f1
+	toggle_sfx
+	duty_cycle 2
+	note_type 2, 15, 1
 	octave 5
 	note C_, 3
-	intensity $41
+	volume_envelope 4, 1
 	note C_, 3
-	intensity $f1
+	volume_envelope 15, 1
 	note C#, 3
-	intensity $41
+	volume_envelope 4, 1
 	note C#, 3
-	intensity $f1
+	volume_envelope 15, 1
 	note D_, 3
-	intensity $41
+	volume_envelope 4, 1
 	note D_, 3
-	togglesfx
-	endchannel
+	toggle_sfx
+	sound_ret
 
 Sfx_MindReader_Ch8:
-	noise C_,  2, $af, $19
-	noise C_,  3, $af, $18
-	endchannel
+	noise_note 17, 10, -7, 25
+	noise_note 18, 10, -7, 24
+	sound_ret
 
 Sfx_Nightmare:
-	musicheader 1, 5, Sfx_Nightmare_Ch5
+	channel_count 1
+	channel 5, Sfx_Nightmare_Ch5
 
 Sfx_Nightmare_Ch5:
-	dutycycle $0
-	soundinput $34
-.loop
-	sound __,  4, $ba, $0631
-	sound __,  3, $0, 0
-	sound __,  4, $f8, $0621
-	sound __,  3, $0, 0
-	sound __,  4, $f8, $0611
-	sound __,  3, $0, 0
-	sound __,  4, $e8, $0601
-	sound __,  3, $0, 0
-	sound __,  4, $e8, $05f1
-	sound __,  3, $0, 0
-	loopchannel 2, .loop
-	soundinput $8
-	endchannel
+	duty_cycle 0
+	pitch_sweep 3, 4
+Sfx_Nightmare_branch_f1424:
+	square_note 3, 11, -2, 1585
+	square_note 2, 0, 0, 0
+	square_note 3, 15, 8, 1569
+	square_note 2, 0, 0, 0
+	square_note 3, 15, 8, 1553
+	square_note 2, 0, 0, 0
+	square_note 3, 14, 8, 1537
+	square_note 2, 0, 0, 0
+	square_note 3, 14, 8, 1521
+	square_note 2, 0, 0, 0
+	sound_loop 2, Sfx_Nightmare_branch_f1424
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Snore:
-	musicheader 1, 8, Sfx_Snore_Ch8
+	channel_count 1
+	channel 8, Sfx_Snore_Ch8
 
 Sfx_Snore_Ch8:
-	noise __,  3, $ea, $4b
-	noise __,  3, $ea, $5b
-	noise __,  3, $0, $0
-	noise __,  5, $ee, $47
-	noise __,  5, $ee, $46
-	noise __,  5, $ee, $45
-	endchannel
+	noise_note 2, 14, -2, 75
+	noise_note 2, 14, -2, 91
+	noise_note 2, 0, 0, 0
+	noise_note 4, 14, -6, 71
+	noise_note 4, 14, -6, 70
+	noise_note 4, 14, -6, 69
+	sound_ret
 
 Sfx_SweetKiss:
-	musicheader 1, 5, Sfx_SweetKiss_Ch5
+	channel_count 1
+	channel 5, Sfx_SweetKiss_Ch5
 
 Sfx_SweetKiss_Ch5:
-	dutycycle $2
-.loop
-	sound __,  3, $c1, $07c8
-	sound __,  3, $d1, $07da
-	loopchannel 2, .loop
-	sound C_, 11, $f1, $07e2
-	endchannel
+	duty_cycle 2
+Sfx_SweetKiss_branch_f146e:
+	square_note 2, 12, 1, 1992
+	square_note 2, 13, 1, 2010
+	sound_loop 2, Sfx_SweetKiss_branch_f146e
+	square_note 26, 15, 1, 2018
+	sound_ret
 
 Sfx_SweetKiss2:
-	musicheader 1, 5, Sfx_SweetKiss2_Ch5
+	channel_count 1
+	channel 5, Sfx_SweetKiss2_Ch5
 
 Sfx_SweetKiss2_Ch5:
-	dutycycle $0
-	soundinput $97
-	sound __,  3, $f4, $0772
-	sound __,  5, $0, 0
-	sound __,  3, $c4, $0772
-	sound __,  5, $0, 0
-	sound __,  3, $b4, $0772
-	sound __,  5, $0, 0
-	sound __,  3, $a1, $0772
-	soundinput $8
-	endchannel
+	duty_cycle 0
+	pitch_sweep 9, 7
+	square_note 2, 15, 4, 1906
+	square_note 4, 0, 0, 0
+	square_note 2, 12, 4, 1906
+	square_note 4, 0, 0, 0
+	square_note 2, 11, 4, 1906
+	square_note 4, 0, 0, 0
+	square_note 2, 10, 1, 1906
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_BellyDrum:
-	musicheader 2, 5, Sfx_BellyDrum_Ch5
-	musicheader 1, 8, Sfx_BellyDrum_Ch8
+	channel_count 2
+	channel 5, Sfx_BellyDrum_Ch5
+	channel 8, Sfx_BellyDrum_Ch8
 
 Sfx_BellyDrum_Ch5:
-	dutycycle $2
-	soundinput $ac
-	sound __, 13, $f1, $05a3
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 10, -4
+	square_note 12, 15, 1, 1443
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_BellyDrum_Ch8:
-	noise __, 13, $b1, $6c
-	endchannel
+	noise_note 12, 11, 1, 108
+	sound_ret
 
 Sfx_Unknown7F:
-	musicheader 1, 5, Sfx_Unknown7F_Ch5
+	channel_count 1
+	channel 5, Sfx_Unknown7F_Ch5
 
 Sfx_Unknown7F_Ch5:
-	dutycycle $2
-	soundinput $95
-	sound __,  3, $c9, $03b3
-	sound __,  6, $f8, $0463
-	sound __,  5, $d1, $0543
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 9, 5
+	square_note 2, 12, -1, 947
+	square_note 5, 15, 8, 1123
+	square_note 4, 13, 1, 1347
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_SludgeBomb:
-	musicheader 2, 5, Sfx_SludgeBomb_Ch5
-	musicheader 1, 8, Sfx_SludgeBomb_Ch8
+	channel_count 2
+	channel 5, Sfx_SludgeBomb_Ch5
+	channel 8, Sfx_SludgeBomb_Ch8
 
 Sfx_SludgeBomb_Ch5:
-	dutycycle $2
-	soundinput $c5
-	sound __,  4, $f8, $0581
-	sound __,  2, $0, 0
-	soundinput $cb
-	sound C_,  1, $f2, $05d1
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 12, 5
+	square_note 3, 15, 8, 1409
+	square_note 1, 0, 0, 0
+	pitch_sweep 12, -3
+	square_note 16, 15, 2, 1489
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_SludgeBomb_Ch8:
-	noise __,  4, $e2, $6e
-	noise __,  2, $0, $0
-	noise C_,  1, $e2, $6d
-	endchannel
+	noise_note 3, 14, 2, 110
+	noise_note 1, 0, 0, 0
+	noise_note 16, 14, 2, 109
+	sound_ret
 
 Sfx_Foresight:
-	musicheader 1, 5, Sfx_Foresight_Ch5
+	channel_count 1
+	channel 5, Sfx_Foresight_Ch5
 
 Sfx_Foresight_Ch5:
-	sound __,  4, $f4, $07b5
-	sound __,  4, $f5, $07c8
-	sound __,  9, $f4, $07da
-	sound __,  3, $0, 0
-	sound __,  9, $c1, $07da
-	sound __,  3, $0, 0
-	sound __,  9, $91, $07da
-	endchannel
+	square_note 3, 15, 4, 1973
+	square_note 3, 15, 5, 1992
+	square_note 8, 15, 4, 2010
+	square_note 2, 0, 0, 0
+	square_note 8, 12, 1, 2010
+	square_note 2, 0, 0, 0
+	square_note 8, 9, 1, 2010
+	sound_ret
 
 Sfx_Spite:
-	musicheader 1, 5, Sfx_Spite_Ch5
+	channel_count 1
+	channel 5, Sfx_Spite_Ch5
 
 Sfx_Spite_Ch5:
-	togglesfx
-	vibrato $0, $12
-	dutycycle $3
-	soundinput $fd
-	notetype $3, $f8
+	toggle_sfx
+	vibrato 0, 1, 2
+	duty_cycle 3
+	pitch_sweep 15, -5
+	note_type 3, 15, 8
 	octave 3
 	note F_, 3
 	note G#, 3
@@ -2389,326 +2531,346 @@
 	note E_, 3
 	note G_, 3
 	note A#, 3
-	intensity $bf
+	volume_envelope 11, -7
 	note D#, 3
 	note F#, 3
 	note A_, 3
-	intensity $5f
+	volume_envelope 5, -7
 	note D_, 3
-	intensity $2f
+	volume_envelope 2, -7
 	note F_, 3
 	note G#, 3
-	soundinput $8
-	togglesfx
-	endchannel
+	pitch_sweep 0, 8
+	toggle_sfx
+	sound_ret
 
 Sfx_Outrage:
-	musicheader 1, 8, Sfx_Outrage_Ch8
+	channel_count 1
+	channel 8, Sfx_Outrage_Ch8
 
 Sfx_Outrage_Ch8:
-	noise __, 12, $ea, $6c
-	noise __, 12, $ea, $6b
-	noise __, 12, $ea, $6a
-	noise __, 12, $ea, $69
-	noise __, 12, $e1, $59
-	endchannel
+	noise_note 11, 14, -2, 108
+	noise_note 11, 14, -2, 107
+	noise_note 11, 14, -2, 106
+	noise_note 11, 14, -2, 105
+	noise_note 11, 14, 1, 89
+	sound_ret
 
 Sfx_PerishSong:
-	musicheader 2, 5, Sfx_PerishSong_Ch5
-	musicheader 1, 6, Sfx_PerishSong_Ch6
+	channel_count 2
+	channel 5, Sfx_PerishSong_Ch5
+	channel 6, Sfx_PerishSong_Ch6
 
 Sfx_PerishSong_Ch5:
-	togglesfx
-	dutycycle $0
-	vibrato $12, $53
-	notetype $8, $af
+	toggle_sfx
+	duty_cycle 0
+	vibrato 18, 5, 3
+	note_type 8, 10, -7
 	octave 4
 	note A_, 9
 	note G#, 9
-	togglesfx
-	endchannel
+	toggle_sfx
+	sound_ret
 
 Sfx_PerishSong_Ch6:
-	togglesfx
-	dutycycle $0
-	vibrato $12, $53
-	notetype $8, $af
+	toggle_sfx
+	duty_cycle 0
+	vibrato 18, 5, 3
+	note_type 8, 10, -7
 	octave 4
 	note C_, 9
 	octave 3
 	note B_, 9
-	togglesfx
-	endchannel
+	toggle_sfx
+	sound_ret
 
 Sfx_GigaDrain:
-	musicheader 2, 5, Sfx_GigaDrain_Ch5
-	musicheader 1, 8, Sfx_GigaDrain_Ch8
+	channel_count 2
+	channel 5, Sfx_GigaDrain_Ch5
+	channel 8, Sfx_GigaDrain_Ch8
 
 Sfx_GigaDrain_Ch5:
-	dutycycle $2
-	soundinput $97
-	sound __,  5, $f8, $0680
-	sound C_,  5, $f8, $0680
-	sound C_,  5, $c8, $0660
-	sound C_,  5, $a8, $0670
-	sound C_,  5, $88, $0680
-	sound C_,  5, $f8, $0561
-	sound C_,  5, $c8, $0541
-	sound C_,  5, $a8, $0521
-	sound C_,  5, $88, $0511
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 9, 7
+	square_note 4, 15, 8, 1664
+	square_note 20, 15, 8, 1664
+	square_note 20, 12, 8, 1632
+	square_note 20, 10, 8, 1648
+	square_note 20, 8, 8, 1664
+	square_note 20, 15, 8, 1377
+	square_note 20, 12, 8, 1345
+	square_note 20, 10, 8, 1313
+	square_note 20, 8, 8, 1297
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_GigaDrain_Ch8:
-	noise __,  5, $c8, $44
-	noise C_,  5, $c8, $50
-	noise C_,  5, $c8, $52
-	noise C_,  5, $c8, $54
-	noise C_,  5, $c8, $56
-	noise D#,  1, $c7, $57
-	endchannel
+	noise_note 4, 12, 8, 68
+	noise_note 20, 12, 8, 80
+	noise_note 20, 12, 8, 82
+	noise_note 20, 12, 8, 84
+	noise_note 20, 12, 8, 86
+	noise_note 64, 12, 7, 87
+	sound_ret
 
 Sfx_Attract:
-	musicheader 1, 5, Sfx_Attract_Ch5
+	channel_count 1
+	channel 5, Sfx_Attract_Ch5
 
 Sfx_Attract_Ch5:
-	dutycycle $0
-	soundinput $77
-	sound __,  5, $a9, $06f0
-	sound __, 13, $f8, $0720
-	soundinput $7f
-	sound __,  9, $f1, $0740
-	soundinput $8
-	endchannel
+	duty_cycle 0
+	pitch_sweep 7, 7
+	square_note 4, 10, -1, 1776
+	square_note 12, 15, 8, 1824
+	pitch_sweep 7, -7
+	square_note 8, 15, 1, 1856
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Kinesis2:
-	musicheader 1, 5, Sfx_Kinesis2_Ch5
+	channel_count 1
+	channel 5, Sfx_Kinesis2_Ch5
 
 Sfx_Kinesis2_Ch5:
-	dutycycle $0
-	sound __,  3, $f3, $0796
-	sound __,  3, $23, $0796
-	sound C_,  5, $f1, $07c4
-	endchannel
+	duty_cycle 0
+	square_note 2, 15, 3, 1942
+	square_note 2, 2, 3, 1942
+	square_note 20, 15, 1, 1988
+	sound_ret
 
 Sfx_ZapCannon:
-	musicheader 1, 8, Sfx_ZapCannon_Ch8
+	channel_count 1
+	channel 8, Sfx_ZapCannon_Ch8
 
 Sfx_ZapCannon_Ch8:
-	noise __,  3, $e1, $49
-	noise __,  1, $0, $0
-	loopchannel 8, Sfx_ZapCannon_Ch8
-	noise __,  9, $e1, $49
-	endchannel
+	noise_note 2, 14, 1, 73
+	noise_note 0, 0, 0, 0
+	sound_loop 8, Sfx_ZapCannon_Ch8
+	noise_note 8, 14, 1, 73
+	sound_ret
 
 Sfx_MeanLook:
-	musicheader 1, 5, Sfx_MeanLook_Ch5
+	channel_count 1
+	channel 5, Sfx_MeanLook_Ch5
 
 Sfx_MeanLook_Ch5:
-	soundinput $77
-	dutycycle $3
-	sound __,  3, $f8, $0720
-.loop
-	sound __,  2, $88, $0660
-	sound __,  3, $f8, $0790
-	loopchannel 5, .loop
-	sound __, 13, $f8, $0700
-	sound __, 13, $c8, $0720
-	sound __, 13, $a8, $0700
-	sound __, 13, $78, $0720
-	sound __, 13, $48, $0700
-	sound __, 13, $28, $0720
-	soundinput $8
-	endchannel
+	pitch_sweep 7, 7
+	duty_cycle 3
+	square_note 2, 15, 8, 1824
+Sfx_MeanLook_branch_f15fa:
+	square_note 1, 8, 8, 1632
+	square_note 2, 15, 8, 1936
+	sound_loop 5, Sfx_MeanLook_branch_f15fa
+	square_note 12, 15, 8, 1792
+	square_note 12, 12, 8, 1824
+	square_note 12, 10, 8, 1792
+	square_note 12, 7, 8, 1824
+	square_note 12, 4, 8, 1792
+	square_note 12, 2, 8, 1824
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_HealBell:
-	musicheader 1, 5, Sfx_HealBell_Ch5
+	channel_count 1
+	channel 5, Sfx_HealBell_Ch5
 
 Sfx_HealBell_Ch5:
-	dutycycle $1
-	sound __,  2, $f1, $07da
-	sound __,  2, $d1, $07d9
-	sound __,  2, $f1, $07da
-	sound __,  9, $d1, $07db
-	endchannel
+	duty_cycle 1
+	square_note 1, 15, 1, 2010
+	square_note 1, 13, 1, 2009
+	square_note 1, 15, 1, 2010
+	square_note 8, 13, 1, 2011
+	sound_ret
 
 Sfx_Return:
-	musicheader 1, 5, Sfx_Return_Ch5
+	channel_count 1
+	channel 5, Sfx_Return_Ch5
 
 Sfx_Return_Ch5:
-	dutycycle $0
-.loop
-	soundinput $bf
-	sound __,  9, $f1, $0759
-	soundinput $57
-	sound __,  9, $f1, $0759
-	sound C_,  1, $0, 0
-	loopchannel 2, .loop
-	soundinput $8
-	endchannel
+	duty_cycle 0
+Sfx_Return_branch_f163c:
+	pitch_sweep 11, -7
+	square_note 8, 15, 1, 1881
+	pitch_sweep 5, 7
+	square_note 8, 15, 1, 1881
+	square_note 16, 0, 0, 0
+	sound_loop 2, Sfx_Return_branch_f163c
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_ExpBar:
-	musicheader 1, 5, Sfx_ExpBar_Ch5
+	channel_count 1
+	channel 5, Sfx_ExpBar_Ch5
 
 Sfx_ExpBar_Ch5:
-	dutycycle $2
-	soundinput $d7
-	sound __,  9, $e1, $0750
-	soundinput $e7
-	sound __,  9, $48, $06e0
-	sound __,  9, $58, $06f8
-	sound __,  9, $68, $0710
-	sound __,  9, $78, $0728
-	sound __,  9, $88, $0740
-	sound __,  9, $98, $0758
-	sound C_,  1, $a8, $0770
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 13, 7
+	square_note 8, 14, 1, 1872
+	pitch_sweep 14, 7
+	square_note 8, 4, 8, 1760
+	square_note 8, 5, 8, 1784
+	square_note 8, 6, 8, 1808
+	square_note 8, 7, 8, 1832
+	square_note 8, 8, 8, 1856
+	square_note 8, 9, 8, 1880
+	square_note 16, 10, 8, 1904
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_MilkDrink:
-	musicheader 1, 5, Sfx_MilkDrink_Ch5
+	channel_count 1
+	channel 5, Sfx_MilkDrink_Ch5
 
 Sfx_MilkDrink_Ch5:
-	dutycycle $2
-.loop
-	soundinput $a4
-	sound __,  3, $ea, $04e0
-	sound __, 14, $f7, $0290
-	soundinput $9e
-	sound __,  5, $c9, $05e1
-	sound __,  3, $0, 0
-	loopchannel 6, .loop
-	soundinput $8
-	endchannel
+	duty_cycle 2
+Sfx_MilkDrink_branch_f1684:
+	pitch_sweep 10, 4
+	square_note 2, 14, -2, 1248
+	square_note 13, 15, 7, 656
+	pitch_sweep 9, -6
+	square_note 4, 12, -1, 1505
+	square_note 2, 0, 0, 0
+	sound_loop 6, Sfx_MilkDrink_branch_f1684
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Present:
-	musicheader 1, 5, Sfx_Present_Ch5
+	channel_count 1
+	channel 5, Sfx_Present_Ch5
 
 Sfx_Present_Ch5:
-	dutycycle $2
-	soundinput $d6
-.loop
-	sound __,  3, $f1, $0740
-	sound __,  2, $0, 0
-	loopchannel 3, .loop
-	sound C_,  1, $f1, $0780
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 13, 6
+Sfx_Present_branch_f16a6:
+	square_note 2, 15, 1, 1856
+	square_note 1, 0, 0, 0
+	sound_loop 3, Sfx_Present_branch_f16a6
+	square_note 16, 15, 1, 1920
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_MorningSun:
-	musicheader 1, 5, Sfx_MorningSun_Ch5
+	channel_count 1
+	channel 5, Sfx_MorningSun_Ch5
 
 Sfx_MorningSun_Ch5:
-	dutycycle $3
-.loop
-	sound __,  3, $f1, $07e4
-	sound __,  3, $f1, $07e0
-	sound __,  6, $f2, $07e7
-	loopchannel 3, .loop
-	sound __,  2, $0, 0
-	sound __,  9, $c2, $07e7
-	sound __,  2, $0, 0
-	sound __,  9, $82, $07e7
-	endchannel
+	duty_cycle 3
+Sfx_MorningSun_branch_f16be:
+	square_note 2, 15, 1, 2020
+	square_note 2, 15, 1, 2016
+	square_note 5, 15, 2, 2023
+	sound_loop 3, Sfx_MorningSun_branch_f16be
+	square_note 1, 0, 0, 0
+	square_note 8, 12, 2, 2023
+	square_note 1, 0, 0, 0
+	square_note 8, 8, 2, 2023
+	sound_ret
 
 Sfx_Moonlight:
-	musicheader 1, 5, Sfx_Moonlight_Ch5
+	channel_count 1
+	channel 5, Sfx_Moonlight_Ch5
 
 Sfx_Moonlight_Ch5:
-	dutycycle $2
-.loop
-	sound __,  2, $f8, $07d0
-	sound __,  5, $f1, $07e0
-	loopchannel 2, .loop
-	sound C_,  1, $f1, $07e0
-	sound C_,  1, $d1, $07e0
-	sound C_,  1, $81, $07e0
-	endchannel
+	duty_cycle 2
+Sfx_Moonlight_branch_f16e4:
+	square_note 1, 15, 8, 2000
+	square_note 4, 15, 1, 2016
+	sound_loop 2, Sfx_Moonlight_branch_f16e4
+	square_note 16, 15, 1, 2016
+	square_note 16, 13, 1, 2016
+	square_note 16, 8, 1, 2016
+	sound_ret
 
 Sfx_Encore:
-	musicheader 2, 5, Sfx_Encore_Ch5
-	musicheader 1, 8, Sfx_Encore_Ch8
+	channel_count 2
+	channel 5, Sfx_Encore_Ch5
+	channel 8, Sfx_Encore_Ch8
 
 Sfx_Encore_Ch5:
-	dutycycle $2
-	soundinput $ce
-	sound C_,  1, $0, 0
-.loop
-	sound __,  3, $f8, $0774
-	sound C#,  5, $0, 0
-	loopchannel 2, .loop
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 12, -6
+	square_note 16, 0, 0, 0
+Sfx_Encore_branch_f170b:
+	square_note 2, 15, 8, 1908
+	square_note 36, 0, 0, 0
+	sound_loop 2, Sfx_Encore_branch_f170b
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Encore_Ch8:
-	noise D_,  1, $1f, $36
-	noise D_,  1, $76, $36
-	endchannel
+	noise_note 48, 1, -7, 54
+	noise_note 48, 7, 6, 54
+	sound_ret
 
 Sfx_BeatUp:
-	musicheader 1, 8, Sfx_BeatUp_Ch8
+	channel_count 1
+	channel 8, Sfx_BeatUp_Ch8
 
 Sfx_BeatUp_Ch8:
-	noise __,  3, $e8, $69
-	noise __,  7, $d8, $24
-	noise __,  3, $e8, $6c
-	noise __,  5, $c8, $46
-	noise __,  7, $d1, $24
-	endchannel
+	noise_note 2, 14, 8, 105
+	noise_note 6, 13, 8, 36
+	noise_note 2, 14, 8, 108
+	noise_note 4, 12, 8, 70
+	noise_note 6, 13, 1, 36
+	sound_ret
 
 Sfx_SweetScent:
-	musicheader 1, 5, Sfx_SweetScent_Ch5
+	channel_count 1
+	channel 5, Sfx_SweetScent_Ch5
 
 Sfx_SweetScent_Ch5:
-	dutycycle $2
-	soundinput $96
-	sound __,  7, $f8, $0760
-	sound __,  7, $e8, $0720
-	soundinput $df
-	sound C_,  7, $f1, $0730
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 9, 6
+	square_note 6, 15, 8, 1888
+	square_note 6, 14, 8, 1824
+	pitch_sweep 13, -7
+	square_note 22, 15, 1, 1840
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_BatonPass:
-	musicheader 2, 5, Sfx_BatonPass_Ch5
-	musicheader 1, 8, Sfx_BatonPass_Ch8
+	channel_count 2
+	channel 5, Sfx_BatonPass_Ch5
+	channel 8, Sfx_BatonPass_Ch8
 
 Sfx_BatonPass_Ch5:
-	dutycycle $2
-	soundinput $f7
-	sound C#,  1, $f2, $0680
-	sound __,  2, $f1, $0760
-	sound C#,  1, $0, 0
-	sound __,  2, $f1, $0760
-	sound C_, 11, $0, 0
-	sound __,  2, $f1, $0760
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 15, 7
+	square_note 32, 15, 2, 1664
+	square_note 1, 15, 1, 1888
+	square_note 32, 0, 0, 0
+	square_note 1, 15, 1, 1888
+	square_note 26, 0, 0, 0
+	square_note 1, 15, 1, 1888
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_BatonPass_Ch8:
-	noise C#,  1, $f2, $20
-	endchannel
+	noise_note 32, 15, 2, 32
+	sound_ret
 
 Sfx_EggCrack:
-	musicheader 1, 5, Sfx_EggCrack_Ch5
+	channel_count 1
+	channel 5, Sfx_EggCrack_Ch5
 
 Sfx_EggCrack_Ch5:
-	togglesfx
-	notetype $1, $f1
-	dutycycle $0
+	toggle_sfx
+	note_type 1, 15, 1
+	duty_cycle 0
 	octave 4
 	note D#, 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	endchannel
+	sound_ret
 
 Sfx_Evolved:
-	musicheader 1, 5, Sfx_Evolved_Ch5
+	channel_count 1
+	channel 5, Sfx_Evolved_Ch5
 
 Sfx_Evolved_Ch5:
-	togglesfx
-	notetype $1, $c1
+	toggle_sfx
+	note_type 1, 12, 1
 	octave 4
 	note C_, 2
 	note E_, 2
@@ -2724,15 +2886,16 @@
 	note B_, 3
 	octave 7
 	note C_, 16
-	endchannel
+	sound_ret
 
 Sfx_MasterBall:
-	musicheader 1, 5, Sfx_MasterBall_Ch5
+	channel_count 1
+	channel 5, Sfx_MasterBall_Ch5
 
 Sfx_MasterBall_Ch5:
-	togglesfx
-	dutycycle $1
-	notetype $2, $e1
+	toggle_sfx
+	duty_cycle 1
+	note_type 2, 14, 1
 	octave 6
 	note B_, 2
 	octave 7
@@ -2745,120 +2908,126 @@
 	note A_, 2
 	note A#, 2
 	note A_, 2
-	intensity $c1
+	volume_envelope 12, 1
 	note G#, 2
 	note G_, 2
 	note F#, 2
-	intensity $91
+	volume_envelope 9, 1
 	note F_, 2
 	note E_, 2
 	note D#, 2
-	intensity $61
+	volume_envelope 6, 1
 	note D_, 2
 	note C#, 2
 	note C_, 2
-	endchannel
+	sound_ret
 
 Sfx_EggHatch:
-	musicheader 1, 5, Sfx_EggHatch_Ch5
+	channel_count 1
+	channel 5, Sfx_EggHatch_Ch5
 
 Sfx_EggHatch_Ch5:
-	togglesfx
-	notetype $2, $f1
-	dutycycle $2
+	toggle_sfx
+	note_type 2, 15, 1
+	duty_cycle 2
 	octave 5
 	note E_, 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note G_, 1
 	note D_, 1
-	intensity $e2
+	volume_envelope 14, 2
 	note B_, 7
-	intensity $82
+	volume_envelope 8, 2
 	note B_, 7
-	intensity $42
+	volume_envelope 4, 2
 	note B_, 7
-	endchannel
+	sound_ret
 
 Sfx_GsIntroCharizardFireball:
-	musicheader 1, 8, Sfx_GsIntroCharizardFireball_Ch8
+	channel_count 1
+	channel 8, Sfx_GsIntroCharizardFireball_Ch8
 
 Sfx_GsIntroCharizardFireball_Ch8:
-	noise __,  9, $cf, $4d
-	noise __,  9, $f1, $37
-.loop
-	noise __,  2, $f8, $4f
-	noise __,  1, $c8, $26
-	noise __,  2, $d8, $5f
-	noise __,  1, $a8, $37
-	loopchannel 12, .loop
-	noise __,  4, $f8, $6f
-	noise __,  5, $d8, $5f
-	noise __, 13, $d8, $5c
-	noise C#,  9, $d3, $4f
-	endchannel
+	noise_note 8, 12, -7, 77
+	noise_note 8, 15, 1, 55
+Sfx_GsIntroCharizardFireball_branch_f17e2:
+	noise_note 1, 15, 8, 79
+	noise_note 0, 12, 8, 38
+	noise_note 1, 13, 8, 95
+	noise_note 0, 10, 8, 55
+	sound_loop 12, Sfx_GsIntroCharizardFireball_branch_f17e2
+	noise_note 3, 15, 8, 111
+	noise_note 4, 13, 8, 95
+	noise_note 12, 13, 8, 92
+	noise_note 40, 13, 3, 79
+	sound_ret
 
 Sfx_GsIntroPokemonAppears:
-	musicheader 1, 8, Sfx_GsIntroPokemonAppears_Ch8
+	channel_count 1
+	channel 8, Sfx_GsIntroPokemonAppears_Ch8
 
 Sfx_GsIntroPokemonAppears_Ch8:
-	noise __,  2, $88, $4f
-	noise __,  3, $8f, $2
-	noise __,  3, $5f, $12
-	noise __,  3, $3f, $22
-	noise __,  1, $f8, $27
-	noise __,  2, $f8, $4f
-	noise __,  9, $f1, $0
-	endchannel
+	noise_note 1, 8, 8, 79
+	noise_note 2, 8, -7, 2
+	noise_note 2, 5, -7, 18
+	noise_note 2, 3, -7, 34
+	noise_note 0, 15, 8, 39
+	noise_note 1, 15, 8, 79
+	noise_note 8, 15, 1, 0
+	sound_ret
 
 Sfx_Flash:
-	musicheader 1, 5, Sfx_Flash_Ch5
+	channel_count 1
+	channel 5, Sfx_Flash_Ch5
 
 Sfx_Flash_Ch5:
-	dutycycle $1
-	soundinput $ef
-	sound __,  2, $40, $07e8
-	sound __,  2, $60, $07e8
-	sound __,  3, $80, $07e8
-	sound __,  6, $a0, $07e8
-	sound __,  7, $a0, $07e8
-	sound __,  8, $80, $07e8
-	sound __,  9, $60, $07e8
-	sound __, 10, $30, $07e8
-	sound __, 16, $12, $07e8
-	soundinput $8
-	endchannel
+	duty_cycle 1
+	pitch_sweep 14, -7
+	square_note 1, 4, 0, 2024
+	square_note 1, 6, 0, 2024
+	square_note 2, 8, 0, 2024
+	square_note 5, 10, 0, 2024
+	square_note 6, 10, 0, 2024
+	square_note 7, 8, 0, 2024
+	square_note 8, 6, 0, 2024
+	square_note 9, 3, 0, 2024
+	square_note 15, 1, 2, 2024
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_GameFreakLogoGs:
-	musicheader 1, 5, Sfx_GameFreakLogoGs_Ch5
+	channel_count 1
+	channel 5, Sfx_GameFreakLogoGs_Ch5
 
 Sfx_GameFreakLogoGs_Ch5:
-	dutycycle $3
-	soundinput $7f
-	sound __,  5, $55, $07e2
-	sound __,  6, $75, $07e2
-	sound __,  7, $94, $07e2
-	sound __,  8, $b4, $07e2
-	sound __,  9, $b3, $07e2
-	sound __, 10, $93, $07e2
-	sound __, 11, $72, $07e2
-	sound __, 11, $53, $07e2
-	sound __, 11, $34, $07e2
-	sound __, 11, $15, $07e2
-	soundinput $8
-	endchannel
+	duty_cycle 3
+	pitch_sweep 7, -7
+	square_note 4, 5, 5, 2018
+	square_note 5, 7, 5, 2018
+	square_note 6, 9, 4, 2018
+	square_note 7, 11, 4, 2018
+	square_note 8, 11, 3, 2018
+	square_note 9, 9, 3, 2018
+	square_note 10, 7, 2, 2018
+	square_note 10, 5, 3, 2018
+	square_note 10, 3, 4, 2018
+	square_note 10, 1, 5, 2018
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_DexFanfareLessThan20:
-	musicheader 4, 5, Sfx_DexFanfareLessThan20_Ch5
-	musicheader 1, 6, Sfx_DexFanfareLessThan20_Ch6
-	musicheader 1, 7, Sfx_DexFanfareLessThan20_Ch7
-	musicheader 1, 8, Sfx_DexFanfareLessThan20_Ch8
+	channel_count 4
+	channel 5, Sfx_DexFanfareLessThan20_Ch5
+	channel 6, Sfx_DexFanfareLessThan20_Ch6
+	channel 7, Sfx_DexFanfareLessThan20_Ch7
+	channel 8, Sfx_DexFanfareLessThan20_Ch8
 
 Sfx_DexFanfareLessThan20_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 124
-	volume $77
-	notetype $8, $b1
+	volume 7, 7
+	note_type 8, 11, 1
 	octave 3
 	note A_, 4
 	note F#, 2
@@ -2871,13 +3040,13 @@
 	note E_, 2
 	note E_, 2
 	note D_, 6
-	endchannel
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfareLessThan20_Ch6:
-	togglesfx
-	notetype $8, $c1
+	toggle_sfx
+	note_type 8, 12, 1
 	octave 3
 	note B_, 4
 	note A_, 2
@@ -2890,18 +3059,18 @@
 	note A_, 2
 	note G_, 2
 	note F#, 6
-	endchannel
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfareLessThan20_Ch7:
-	togglesfx
-	notetype $8, $25
+	toggle_sfx
+	note_type 8, 2, 5
 	octave 4
 	note D_, 6
 	octave 3
 	note A_, 2
-	note __, 2
+	rest 2
 	note A_, 2
 	note A#, 4
 	note G_, 2
@@ -2908,45 +3077,46 @@
 	octave 4
 	note D#, 6
 	note D_, 2
-	note __, 4
+	rest 4
 	octave 3
 	note E_, 1
-	note __, 1
+	rest 1
 	note F#, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A_, 2
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfareLessThan20_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $c
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 12
 	note C#, 6
-	note __, 16
-	note __, 12
-	endchannel
+	rest 16
+	rest 12
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare140169:
-	musicheader 4, 5, Sfx_DexFanfare140169_Ch5
-	musicheader 1, 6, Sfx_DexFanfare140169_Ch6
-	musicheader 1, 7, Sfx_DexFanfare140169_Ch7
-	musicheader 1, 8, Sfx_DexFanfare140169_Ch8
+	channel_count 4
+	channel 5, Sfx_DexFanfare140169_Ch5
+	channel 6, Sfx_DexFanfare140169_Ch6
+	channel 7, Sfx_DexFanfare140169_Ch7
+	channel 8, Sfx_DexFanfare140169_Ch8
 
 Sfx_DexFanfare140169_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 120
-	volume $77
-	dutycycle $3
-	vibrato $12, $34
-	notetype $6, $b1
-	note __, 8
+	volume 7, 7
+	duty_cycle 3
+	vibrato 18, 3, 4
+	note_type 6, 11, 1
+	rest 8
 	octave 3
 	note E_, 4
 	note E_, 4
@@ -2953,7 +3123,7 @@
 	note A_, 4
 	octave 4
 	note C#, 4
-	intensity $a4
+	volume_envelope 10, 4
 	note D_, 4
 	note C_, 4
 	octave 3
@@ -2963,16 +3133,16 @@
 	note G_, 16
 	octave 2
 	note B_, 8
-	note __, 8
-	endchannel
+	rest 8
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare140169_Ch6:
-	togglesfx
-	dutycycle $2
-	vibrato $12, $34
-	notetype $6, $c1
+	toggle_sfx
+	duty_cycle 2
+	vibrato 18, 3, 4
+	note_type 6, 12, 1
 	octave 4
 	note E_, 4
 	note F#, 4
@@ -2980,7 +3150,7 @@
 	note G_, 4
 	note G_, 4
 	note G_, 4
-	intensity $b4
+	volume_envelope 11, 4
 	note F#, 4
 	note G_, 4
 	note A_, 4
@@ -2989,15 +3159,15 @@
 	octave 4
 	note B_, 16
 	note G_, 8
-	note __, 8
-	endchannel
+	rest 8
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare140169_Ch7:
-	togglesfx
-	notetype $c, $25
-	note __, 4
+	toggle_sfx
+	note_type 12, 2, 5
+	rest 4
 	octave 2
 	note A_, 1
 	octave 3
@@ -3005,7 +3175,7 @@
 	note E_, 1
 	note A_, 3
 	note C#, 1
-	note __, 1
+	rest 1
 	note D_, 1
 	note F#, 1
 	note A_, 1
@@ -3013,7 +3183,7 @@
 	note D_, 3
 	octave 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note G_, 1
 	note B_, 1
 	octave 3
@@ -3021,125 +3191,126 @@
 	note G_, 3
 	octave 2
 	note B_, 1
-	note __, 1
+	rest 1
 	note G_, 4
-	note __, 4
-	endchannel
+	rest 4
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare140169_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $c
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 12
 	note C_, 4
-.loop
+Sfx_DexFanfare140169_branch_f1945:
 	note D_, 4
 	note C#, 1
 	note C#, 1
 	note C#, 1
 	note C#, 1
-	loopchannel 3, .loop
+	sound_loop 3, Sfx_DexFanfare140169_branch_f1945
 	note D_, 8
-	endchannel
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare170199:
-	musicheader 4, 5, Sfx_DexFanfare170199_Ch5
-	musicheader 1, 6, Sfx_DexFanfare170199_Ch6
-	musicheader 1, 7, Sfx_DexFanfare170199_Ch7
-	musicheader 1, 8, Sfx_DexFanfare170199_Ch8
+	channel_count 4
+	channel 5, Sfx_DexFanfare170199_Ch5
+	channel 6, Sfx_DexFanfare170199_Ch6
+	channel 7, Sfx_DexFanfare170199_Ch7
+	channel 8, Sfx_DexFanfare170199_Ch8
 
 Sfx_DexFanfare170199_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 112
-	volume $77
-	vibrato $12, $34
-	dutycycle $3
-	notetype $8, $b4
+	volume 7, 7
+	vibrato 18, 3, 4
+	duty_cycle 3
+	note_type 8, 11, 4
 	octave 3
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 6
-	note __, 2
+	rest 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
-	intensity $c1
+	rest 1
+	volume_envelope 12, 1
 	note F_, 4
 	note G_, 4
 	note A_, 4
-	notetype $c, $a8
+	note_type 12, 10, 8
 	note A#, 12
-	note __, 4
-	endchannel
+	rest 4
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare170199_Ch6:
-	togglesfx
-	vibrato $12, $34
-	dutycycle $3
-	notetype $8, $c4
+	toggle_sfx
+	vibrato 18, 3, 4
+	duty_cycle 3
+	note_type 8, 12, 4
 	octave 3
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 6
-	note __, 2
+	rest 2
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
-	intensity $d1
+	rest 1
+	volume_envelope 13, 1
 	octave 4
 	note D#, 4
 	note D#, 4
 	note D#, 4
-	notetype $c, $b8
+	note_type 12, 11, 8
 	note D_, 12
-	note __, 4
-	endchannel
+	rest 4
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare170199_Ch7:
-	togglesfx
-	notetype $8, $25
+	toggle_sfx
+	note_type 8, 2, 5
 	octave 3
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 6
-	note __, 2
+	rest 2
 	note D#, 1
-	note __, 1
+	rest 1
 	note D#, 1
-	note __, 1
+	rest 1
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
+	rest 2
 	note C_, 2
-	note __, 2
-	notetype $c, $25
+	rest 2
+	note_type 12, 2, 5
 	octave 2
 	note A#, 12
-	note __, 4
-	endchannel
+	rest 4
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare170199_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $8
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 8
 	note D_, 2
 	note D_, 2
 	note D_, 4
@@ -3152,25 +3323,26 @@
 	note C#, 1
 	note C#, 1
 	note C#, 1
-	notetype $c
+	drum_speed 12
 	note B_, 16
-	endchannel
+	sound_ret
 
 	db $fd
 
 Sfx_DexFanfare200229:
-	musicheader 4, 5, Sfx_DexFanfare200229_Ch5
-	musicheader 1, 6, Sfx_DexFanfare200229_Ch6
-	musicheader 1, 7, Sfx_DexFanfare200229_Ch7
-	musicheader 1, 8, Sfx_DexFanfare200229_Ch8
+	channel_count 4
+	channel 5, Sfx_DexFanfare200229_Ch5
+	channel 6, Sfx_DexFanfare200229_Ch6
+	channel 7, Sfx_DexFanfare200229_Ch7
+	channel 8, Sfx_DexFanfare200229_Ch8
 
 Sfx_DexFanfare200229_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 124
-	volume $77
-	vibrato $12, $34
-	dutycycle $3
-	notetype $8, $b2
+	volume 7, 7
+	vibrato 18, 3, 4
+	duty_cycle 3
+	note_type 8, 11, 2
 	octave 3
 	note C_, 2
 	note E_, 2
@@ -3184,18 +3356,18 @@
 	octave 4
 	note D#, 4
 	note G_, 4
-	notetype $c, $a8
+	note_type 12, 10, 8
 	note F#, 12
-	note __, 4
-	endchannel
+	rest 4
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare200229_Ch6:
-	togglesfx
-	vibrato $12, $34
-	dutycycle $3
-	notetype $8, $b2
+	toggle_sfx
+	vibrato 18, 3, 4
+	duty_cycle 3
+	note_type 8, 11, 2
 	octave 3
 	note E_, 2
 	note G_, 2
@@ -3207,23 +3379,23 @@
 	note D#, 4
 	note G_, 4
 	note A#, 4
-	notetype $c, $b8
+	note_type 12, 11, 8
 	note A_, 12
-	note __, 4
-	endchannel
+	rest 4
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare200229_Ch7:
-	togglesfx
-	notetype $8, $25
+	toggle_sfx
+	note_type 8, 2, 5
 	octave 3
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 2
 	note E_, 2
 	note G_, 2
@@ -3239,29 +3411,29 @@
 	octave 3
 	note D#, 4
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 2
 	octave 3
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 1
-	note __, 1
+	rest 1
 	octave 2
 	note A_, 2
 	octave 3
 	note D_, 6
-	note __, 6
-	endchannel
+	rest 6
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare200229_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $8
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 8
 	note C#, 1
 	note C#, 1
 	note C#, 1
@@ -3283,23 +3455,24 @@
 	note D_, 2
 	note D_, 2
 	note B_, 12
-	endchannel
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare230Plus:
-	musicheader 4, 5, Sfx_DexFanfare230Plus_Ch5
-	musicheader 1, 6, Sfx_DexFanfare230Plus_Ch6
-	musicheader 1, 7, Sfx_DexFanfare230Plus_Ch7
-	musicheader 1, 8, Sfx_DexFanfare230Plus_Ch8
+	channel_count 4
+	channel 5, Sfx_DexFanfare230Plus_Ch5
+	channel 6, Sfx_DexFanfare230Plus_Ch6
+	channel 7, Sfx_DexFanfare230Plus_Ch7
+	channel 8, Sfx_DexFanfare230Plus_Ch8
 
 Sfx_DexFanfare230Plus_Ch5:
-	togglesfx
+	toggle_sfx
 	tempo 112
-	volume $77
-	vibrato $12, $34
-	dutycycle $3
-	notetype $8, $a5
+	volume 7, 7
+	vibrato 18, 3, 4
+	duty_cycle 3
+	note_type 8, 10, 5
 	octave 3
 	note B_, 2
 	note G_, 2
@@ -3306,52 +3479,52 @@
 	note B_, 2
 	octave 4
 	note D_, 14
-	note __, 2
-	dutycycle $2
-	intensity $85
+	rest 2
+	duty_cycle 2
+	volume_envelope 8, 5
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 6
-	intensity $a5
-	dutycycle $3
+	volume_envelope 10, 5
+	duty_cycle 3
 	octave 3
 	note A_, 2
 	note G_, 2
 	note F_, 10
-	note __, 2
-	dutycycle $2
-	intensity $85
+	rest 2
+	duty_cycle 2
+	volume_envelope 8, 5
 	octave 2
 	note F_, 1
-	note __, 1
+	rest 1
 	note F_, 6
-	intensity $a5
-	dutycycle $3
+	volume_envelope 10, 5
+	duty_cycle 3
 	octave 3
 	note A#, 12
-	intensity $b2
+	volume_envelope 11, 2
 	note G_, 4
 	note A_, 4
 	note A#, 4
-	notetype $c, $a8
+	note_type 12, 10, 8
 	note A_, 14
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare230Plus_Ch6:
-	togglesfx
-	vibrato $12, $34
-	dutycycle $3
-	notetype $8, $b5
+	toggle_sfx
+	vibrato 18, 3, 4
+	duty_cycle 3
+	note_type 8, 11, 5
 	octave 4
 	note G_, 2
 	note D_, 2
 	note G_, 2
 	note F_, 14
-	note __, 4
+	rest 4
 	note F_, 2
 	note E_, 2
 	note D_, 2
@@ -3359,80 +3532,80 @@
 	octave 3
 	note B_, 2
 	note A_, 10
-	note __, 4
+	rest 4
 	note A_, 2
 	octave 4
 	note C_, 2
 	note D_, 2
 	note D#, 12
-	intensity $c2
+	volume_envelope 12, 2
 	note G_, 4
 	note G_, 4
 	note G_, 4
-	notetype $c, $b8
+	note_type 12, 11, 8
 	note F#, 14
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare230Plus_Ch7:
-	togglesfx
-	notetype $8, $25
+	toggle_sfx
+	note_type 8, 2, 5
 	octave 3
 	note G_, 6
 	note A#, 4
 	note F_, 2
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 1
-	note __, 1
+	rest 1
 	note A#, 2
-	note __, 2
+	rest 2
 	note D_, 1
-	note __, 1
+	rest 1
 	note D_, 6
 	note A_, 4
 	note F_, 2
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 1
-	note __, 1
+	rest 1
 	note A_, 2
-	note __, 2
+	rest 2
 	note C_, 1
-	note __, 1
+	rest 1
 	note C_, 6
 	note G_, 4
 	note D#, 2
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note G_, 1
-	note __, 1
+	rest 1
 	note A#, 4
 	note G_, 4
 	note D#, 4
-	notetype $c, $25
+	note_type 12, 2, 5
 	note D_, 14
-	note __, 2
-	endchannel
+	rest 2
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_DexFanfare230Plus_Ch8:
-	togglesfx
-	sfxtogglenoise $4
-	notetype $8
+	toggle_sfx
+	sfx_toggle_noise 4
+	drum_speed 8
 	note D_, 2
 	note D_, 2
 	note D_, 2
-.loop1
+Sfx_DexFanfare230Plus_branch_f1b14:
 	note D_, 6
 	note D_, 2
 	note D_, 2
@@ -3444,7 +3617,7 @@
 	note C#, 1
 	note C#, 1
 	note C#, 1
-	loopchannel 2, .loop1
+	sound_loop 2, Sfx_DexFanfare230Plus_branch_f1b14
 	note D_, 6
 	note D_, 2
 	note D_, 2
@@ -3453,213 +3626,224 @@
 	note D_, 4
 	note D_, 4
 	note D_, 4
-.loop2
+Sfx_DexFanfare230Plus_branch_f1b2b:
 	note C#, 1
-	loopchannel 18, .loop2
+	sound_loop 18, Sfx_DexFanfare230Plus_branch_f1b2b
 	note D_, 6
-	endchannel
+	sound_ret
 
-	togglesfx
+	toggle_sfx
 
 Sfx_NotVeryEffective:
-	musicheader 1, 8, Sfx_NotVeryEffective_Ch8
+	channel_count 1
+	channel 8, Sfx_NotVeryEffective_Ch8
 
 Sfx_NotVeryEffective_Ch8:
-	noise __,  5, $f1, $5f
-	noise __,  2, $a0, $42
-	noise C_,  1, $f1, $53
-	endchannel
+	noise_note 4, 15, 1, 95
+	noise_note 1, 10, 0, 66
+	noise_note 16, 15, 1, 83
+	sound_ret
 
 Sfx_Damage:
-	musicheader 1, 8, Sfx_Damage_Ch8
+	channel_count 1
+	channel 8, Sfx_Damage_Ch8
 
 Sfx_Damage_Ch8:
-	noise __,  5, $f1, $5e
-	noise __,  2, $a0, $12
-	noise __,  5, $f0, $32
-	noise C_,  1, $f1, $44
-	endchannel
+	noise_note 4, 15, 1, 94
+	noise_note 1, 10, 0, 18
+	noise_note 4, 15, 0, 50
+	noise_note 16, 15, 1, 68
+	sound_ret
 
 Sfx_SuperEffective:
-	musicheader 1, 8, Sfx_SuperEffective_Ch8
+	channel_count 1
+	channel 8, Sfx_SuperEffective_Ch8
 
 Sfx_SuperEffective_Ch8:
-	noise __,  4, $f1, $4f
-	noise __,  2, $c8, $22
-	noise __,  3, $f8, $3f
-	noise __,  4, $d0, $15
-	noise C#,  1, $f2, $35
-	endchannel
+	noise_note 3, 15, 1, 79
+	noise_note 1, 12, 8, 34
+	noise_note 2, 15, 8, 63
+	noise_note 3, 13, 0, 21
+	noise_note 32, 15, 2, 53
+	sound_ret
 
 Sfx_BallBounce:
-	musicheader 2, 5, Sfx_BallBounce_Ch5
-	musicheader 1, 6, Sfx_BallBounce_Ch6
+	channel_count 2
+	channel 5, Sfx_BallBounce_Ch5
+	channel 6, Sfx_BallBounce_Ch6
 
 Sfx_BallBounce_Ch5:
-	dutycycle $2
-	sound __,  9, $e1, $0740
-	sound C_,  8, $0, 0
-	sound __,  9, $b1, $0740
-	sound C_,  8, $0, 0
-	sound __,  9, $81, $0740
-	sound C_,  8, $0, 0
-	sound __,  9, $51, $0740
-	sound C_,  8, $0, 0
-	endchannel
+	duty_cycle 2
+	square_note 8, 14, 1, 1856
+	square_note 23, 0, 0, 0
+	square_note 8, 11, 1, 1856
+	square_note 23, 0, 0, 0
+	square_note 8, 8, 1, 1856
+	square_note 23, 0, 0, 0
+	square_note 8, 5, 1, 1856
+	square_note 23, 0, 0, 0
+	sound_ret
 
 Sfx_BallBounce_Ch6:
-	dutycycle $2
-	sound __,  3, $8, 0
-	sound __,  9, $b1, $0741
-	sound C_,  8, $0, 0
-	sound __,  9, $81, $0741
-	sound C_,  8, $0, 0
-	sound __,  9, $51, $0741
-	sound C_,  8, $0, 0
-	sound __,  9, $21, $0741
-	sound C_,  8, $0, 0
-	endchannel
+	duty_cycle 2
+	square_note 2, 0, 8, 0
+	square_note 8, 11, 1, 1857
+	square_note 23, 0, 0, 0
+	square_note 8, 8, 1, 1857
+	square_note 23, 0, 0, 0
+	square_note 8, 5, 1, 1857
+	square_note 23, 0, 0, 0
+	square_note 8, 2, 1, 1857
+	square_note 23, 0, 0, 0
+	sound_ret
 
 Sfx_SweetScent2:
-	musicheader 2, 5, Sfx_SweetScent2_Ch5
-	musicheader 1, 8, Sfx_SweetScent2_Ch8
+	channel_count 2
+	channel 5, Sfx_SweetScent2_Ch5
+	channel 8, Sfx_SweetScent2_Ch8
 
 Sfx_SweetScent2_Ch5:
-	soundinput $af
-	dutycycle $1
-	sound __,  7, $f8, $05f0
-	sound __,  3, $f1, $0620
-	sound C_,  1, $f1, $0650
-	soundinput $8
-	endchannel
+	pitch_sweep 10, -7
+	duty_cycle 1
+	square_note 6, 15, 8, 1520
+	square_note 2, 15, 1, 1568
+	square_note 16, 15, 1, 1616
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_SweetScent2_Ch8:
-	noise __,  3, $e8, $22
-	noise C_,  2, $aa, $0
-.loop
-	noise __,  5, $d9, $10
-	noise __,  9, $91, $0
-	noise __,  3, $61, $7
-	loopchannel 5, .loop
-	noise __,  5, $99, $0
-	noise __, 11, $61, $0
-	noise __,  7, $59, $0
-	noise __,  3, $21, $7
-	endchannel
+	noise_note 2, 14, 8, 34
+	noise_note 17, 10, -2, 0
+Sfx_SweetScent2_branch_f1bd2:
+	noise_note 4, 13, -1, 16
+	noise_note 8, 9, 1, 0
+	noise_note 2, 6, 1, 7
+	sound_loop 5, Sfx_SweetScent2_branch_f1bd2
+	noise_note 4, 9, -1, 0
+	noise_note 10, 6, 1, 0
+	noise_note 6, 5, -1, 0
+	noise_note 2, 2, 1, 7
+	sound_ret
 
 Sfx_HitEndOfExpBar:
-	musicheader 2, 5, Sfx_HitEndOfExpBar_Ch5
-	musicheader 1, 6, Sfx_HitEndOfExpBar_Ch6
+	channel_count 2
+	channel 5, Sfx_HitEndOfExpBar_Ch5
+	channel 6, Sfx_HitEndOfExpBar_Ch6
 
 Sfx_HitEndOfExpBar_Ch5:
-	dutycycle $2
-	sound __,  2, $e1, $0789
-	sound __,  2, $e1, $07a2
-	sound C_,  1, $e1, $07b1
-	endchannel
+	duty_cycle 2
+	square_note 1, 14, 1, 1929
+	square_note 1, 14, 1, 1954
+	square_note 16, 14, 1, 1969
+	sound_ret
 
 Sfx_HitEndOfExpBar_Ch6:
-	dutycycle $2
-	sound __,  2, $e1, $07a2
-	sound __,  2, $e1, $07b1
-	sound C_,  1, $e1, $07c4
-	endchannel
+	duty_cycle 2
+	square_note 1, 14, 1, 1954
+	square_note 1, 14, 1, 1969
+	square_note 16, 14, 1, 1988
+	sound_ret
 
 Sfx_GiveTrademon:
-	musicheader 1, 5, Sfx_GiveTrademon_Ch5
+	channel_count 1
+	channel 5, Sfx_GiveTrademon_Ch5
 
 Sfx_GiveTrademon_Ch5:
-	sound C#,  1, $0, 0
-	dutycycle $1
-	soundinput $a7
-	sound C_, 12, $f4, $0750
-	sound C_, 12, $d4, $0750
-	sound C_, 12, $b4, $0750
-	sound C_, 12, $94, $0750
-	sound C_, 12, $74, $0750
-	sound C_, 12, $54, $0750
-	sound C_, 12, $34, $0750
-	sound C_, 12, $14, $0750
-	soundinput $8
-	endchannel
+	square_note 32, 0, 0, 0
+	duty_cycle 1
+	pitch_sweep 10, 7
+	square_note 27, 15, 4, 1872
+	square_note 27, 13, 4, 1872
+	square_note 27, 11, 4, 1872
+	square_note 27, 9, 4, 1872
+	square_note 27, 7, 4, 1872
+	square_note 27, 5, 4, 1872
+	square_note 27, 3, 4, 1872
+	square_note 27, 1, 4, 1872
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_GetTrademon:
-	musicheader 1, 5, Sfx_GetTrademon_Ch5
+	channel_count 1
+	channel 5, Sfx_GetTrademon_Ch5
 
 Sfx_GetTrademon_Ch5:
-	sound C#,  1, $0, 0
-	dutycycle $2
-	soundinput $bf
-	sound C_, 12, $14, $07bc
-	sound C_, 12, $34, $07bc
-	sound C_, 12, $54, $07bc
-	sound C_, 12, $74, $07bc
-	sound C_, 12, $94, $07bc
-	sound C_, 12, $b4, $07bc
-	sound C_, 12, $d4, $07bc
-	sound C_, 12, $f4, $07bc
-	soundinput $8
-	endchannel
+	square_note 32, 0, 0, 0
+	duty_cycle 2
+	pitch_sweep 11, -7
+	square_note 27, 1, 4, 1980
+	square_note 27, 3, 4, 1980
+	square_note 27, 5, 4, 1980
+	square_note 27, 7, 4, 1980
+	square_note 27, 9, 4, 1980
+	square_note 27, 11, 4, 1980
+	square_note 27, 13, 4, 1980
+	square_note 27, 15, 4, 1980
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_TrainArrived:
-	musicheader 3, 5, Sfx_TrainArrived_Ch5
-	musicheader 1, 6, Sfx_TrainArrived_Ch6
-	musicheader 1, 8, Sfx_TrainArrived_Ch8
+	channel_count 3
+	channel 5, Sfx_TrainArrived_Ch5
+	channel 6, Sfx_TrainArrived_Ch6
+	channel 8, Sfx_TrainArrived_Ch8
 
 Sfx_TrainArrived_Ch6:
-	tone $0008
-	sound __,  9, $0, 0
+	pitch_offset 8
+	square_note 8, 0, 0, 0
 Sfx_TrainArrived_Ch5:
-	dutycycle $2
-	sound __,  5, $5f, $0691
-	sound __,  5, $6f, $0694
-	sound __,  5, $78, $0697
-	sound __,  5, $7f, $069a
-	sound __,  5, $68, $06ae
-	sound C_,  1, $6f, $06ab
-	sound F_,  9, $65, $06a8
-	endchannel
+	duty_cycle 2
+	square_note 4, 5, -7, 1681
+	square_note 4, 6, -7, 1684
+	square_note 4, 7, 8, 1687
+	square_note 4, 7, -7, 1690
+	square_note 4, 6, 8, 1710
+	square_note 16, 6, -7, 1707
+	square_note 104, 6, 5, 1704
+	sound_ret
 
 Sfx_TrainArrived_Ch8:
-	noise __,  6, $af, $10
-	noise __,  5, $9f, $20
-	noise __,  5, $8f, $21
-	noise __,  5, $7f, $22
-	noise __,  5, $8f, $21
-	noise __,  5, $9f, $20
-	noise __,  5, $9f, $10
-	noise F_,  9, $a3, $0
-	endchannel
+	noise_note 5, 10, -7, 16
+	noise_note 4, 9, -7, 32
+	noise_note 4, 8, -7, 33
+	noise_note 4, 7, -7, 34
+	noise_note 4, 8, -7, 33
+	noise_note 4, 9, -7, 32
+	noise_note 4, 9, -7, 16
+	noise_note 104, 10, 3, 0
+	sound_ret
 
 Sfx_2Boops:
-	musicheader 1, 5, Sfx_2Boops_Ch5
+	channel_count 1
+	channel 5, Sfx_2Boops_Ch5
 
 Sfx_2Boops_Ch5:
-	dutycycle $2
-.loop
-	soundinput $79
-	sound __,  2, $99, $0563
-	sound __,  5, $f2, $04b5
-	soundinput $43
-	sound C_,  1, $f8, $05cd
-	loopchannel 2, .loop
-	soundinput $8
-	endchannel
+	duty_cycle 2
+Sfx_2Boops_branch_f1cb9:
+	pitch_sweep 7, -1
+	square_note 1, 9, -1, 1379
+	square_note 4, 15, 2, 1205
+	pitch_sweep 4, 3
+	square_note 16, 15, 8, 1485
+	sound_loop 2, Sfx_2Boops_branch_f1cb9
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_IntroWhoosh:
-	musicheader 1, 8, Sfx_IntroWhoosh_Ch8
+	channel_count 1
+	channel 8, Sfx_IntroWhoosh_Ch8
 
 Sfx_Menu_Ch8:
-	noise __,  2, $e2, $33
-	noise __,  9, $e1, $22
-	endchannel
+	noise_note 1, 14, 2, 51
+	noise_note 8, 14, 1, 34
+	sound_ret
 
 Sfx_Pokeflute_Ch7:
 	tempo 256
-	volume $77
-	togglesfx
-	vibrato $10, $14
-	notetype $c, $10
+	volume 7, 7
+	toggle_sfx
+	vibrato 16, 1, 4
+	note_type 12, 1, 0
 	octave 5
 	note E_, 2
 	note F_, 2
@@ -3676,948 +3860,948 @@
 	note A_, 2
 	note F_, 2
 	note G_, 8
-	note __, 12
-	endchannel
+	rest 12
+	sound_ret
 
 Sfx_PlacePuzzlePieceDown_Ch8:
-	noise __,  3, $f7, $24
-	noise __,  3, $f7, $34
-	noise __,  5, $f7, $44
-	noise __,  9, $f4, $55
-	noise __,  9, $f1, $44
-	endchannel
+	noise_note 2, 15, 7, 36
+	noise_note 2, 15, 7, 52
+	noise_note 4, 15, 7, 68
+	noise_note 8, 15, 4, 85
+	noise_note 8, 15, 1, 68
+	sound_ret
 
 Sfx_EnterDoor_Ch8:
-	noise __, 10, $f1, $44
-	noise __,  9, $d1, $43
-	endchannel
+	noise_note 9, 15, 1, 68
+	noise_note 8, 13, 1, 67
+	sound_ret
 
 Sfx_SwitchPokemon_Ch5:
-	dutycycle $2
-	sound __,  9, $e1, $0740
-	endchannel
+	duty_cycle 2
+	square_note 8, 14, 1, 1856
+	sound_ret
 
 Sfx_SwitchPokemon_Ch6:
-	dutycycle $2
-	sound __,  3, $8, 0
-	sound __,  9, $b1, $0741
-	endchannel
+	duty_cycle 2
+	square_note 2, 0, 8, 0
+	square_note 8, 11, 1, 1857
+	sound_ret
 
 Sfx_PokeballsPlacedOnTable_Ch5:
-	dutycycle $2
-	soundinput $3a
-	sound __,  5, $f2, $0200
-	soundinput $22
-	sound __,  9, $e2, $0200
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 3, -2
+	square_note 4, 15, 2, 512
+	pitch_sweep 2, 2
+	square_note 8, 14, 2, 512
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_BallWobble_Ch5:
-	dutycycle $2
-	soundinput $3a
-	sound __,  5, $f2, $0400
-	soundinput $22
-	sound __,  9, $e2, $0400
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 3, -2
+	square_note 4, 15, 2, 1024
+	pitch_sweep 2, 2
+	square_note 8, 14, 2, 1024
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Tally_Ch5:
-	dutycycle $2
-	sound __,  5, $f1, $0780
-	endchannel
+	duty_cycle 2
+	square_note 4, 15, 1, 1920
+	sound_ret
 
 Sfx_Tally_Ch6:
-	dutycycle $2
-	sound __,  2, $8, 0
-	sound __,  5, $a1, $0761
-	endchannel
+	duty_cycle 2
+	square_note 1, 0, 8, 0
+	square_note 4, 10, 1, 1889
+	sound_ret
 
 Sfx_Transaction_Ch5:
-	dutycycle $2
-	sound __,  5, $e1, $0700
-	sound C_,  9, $f2, $07e0
-	endchannel
+	duty_cycle 2
+	square_note 4, 14, 1, 1792
+	square_note 24, 15, 2, 2016
+	sound_ret
 
 Sfx_Transaction_Ch6:
-	dutycycle $2
-	sound __,  2, $8, 0
-	sound __,  5, $91, $06c1
-	sound C_,  9, $a2, $07a1
-	endchannel
+	duty_cycle 2
+	square_note 1, 0, 8, 0
+	square_note 4, 9, 1, 1729
+	square_note 24, 10, 2, 1953
+	sound_ret
 
 Sfx_Bump_Ch5:
-	dutycycle $2
-	soundinput $5a
-	sound __, 16, $f1, $0300
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 5, -2
+	square_note 15, 15, 1, 768
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_ExitBuilding_Ch8:
-	noise __,  3, $f1, $54
-	noise __, 13, $71, $23
-	noise __,  3, $b1, $54
-	noise __, 13, $61, $23
-	noise __,  7, $41, $54
-	endchannel
+	noise_note 2, 15, 1, 84
+	noise_note 12, 7, 1, 35
+	noise_note 2, 11, 1, 84
+	noise_note 12, 6, 1, 35
+	noise_note 6, 4, 1, 84
+	sound_ret
 
-Sfx_ReadText2_Ch5:
 Sfx_ReadText_Ch5:
-	dutycycle $2
-	sound __,  1, $91, $07c0
-	sound __,  1, $81, $07d0
-	sound __,  1, $91, $07c0
-	sound __, 13, $a1, $07d0
-	endchannel
+Sfx_ReadText2_Ch5:
+	duty_cycle 2
+	square_note 0, 9, 1, 1984
+	square_note 0, 8, 1, 2000
+	square_note 0, 9, 1, 1984
+	square_note 12, 10, 1, 2000
+	sound_ret
 
 Sfx_Potion_Ch5:
-	dutycycle $2
-	soundinput $17
-	sound __, 16, $f0, $04f0
-	sound __, 16, $f2, $0650
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 1, 7
+	square_note 15, 15, 0, 1264
+	square_note 15, 15, 2, 1616
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Poison_Ch5:
-	dutycycle $0
-	soundinput $14
-	sound __,  5, $f2, $0600
-	loopchannel 4, Sfx_Poison_Ch5
-	sound __, 16, $f3, $0600
-	soundinput $8
-	endchannel
+	duty_cycle 0
+	pitch_sweep 1, 4
+	square_note 4, 15, 2, 1536
+	sound_loop 4, Sfx_Poison_Ch5
+	square_note 15, 15, 3, 1536
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_FullHeal_Ch5:
-	dutycycle $2
-	soundinput $14
-	sound __,  5, $f2, $0600
-	sound __,  5, $f2, $0600
-	soundinput $17
-	sound __, 16, $f2, $0600
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 1, 4
+	square_note 4, 15, 2, 1536
+	square_note 4, 15, 2, 1536
+	pitch_sweep 1, 7
+	square_note 15, 15, 2, 1536
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_GotSafariBalls_Ch5:
-	dutycycle $2
-	soundinput $15
-	sound __, 16, $f0, $04f0
-	sound __, 16, $f2, $0650
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 1, 5
+	square_note 15, 15, 0, 1264
+	square_note 15, 15, 2, 1616
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_BootPc_Ch5:
-	dutycycle $2
-	sound __, 16, $f2, $07c0
-	sound __, 16, $0, 0
-	sound __,  4, $a1, $0780
-	sound __,  4, $a1, $0700
-	sound __,  4, $a1, $0740
-	sound __,  4, $a1, $0700
-	sound __,  4, $a1, $0780
-	sound __,  4, $a1, $0700
-	sound __,  4, $a1, $07c0
-	sound __,  9, $a1, $0700
-	endchannel
+	duty_cycle 2
+	square_note 15, 15, 2, 1984
+	square_note 15, 0, 0, 0
+	square_note 3, 10, 1, 1920
+	square_note 3, 10, 1, 1792
+	square_note 3, 10, 1, 1856
+	square_note 3, 10, 1, 1792
+	square_note 3, 10, 1, 1920
+	square_note 3, 10, 1, 1792
+	square_note 3, 10, 1, 1984
+	square_note 8, 10, 1, 1792
+	sound_ret
 
 Sfx_ShutDownPc_Ch5:
-	dutycycle $2
-	sound __,  5, $f0, $0600
-	sound __,  5, $f0, $0400
-	sound __,  5, $f0, $0200
-	sound __,  2, $0, 0
-	endchannel
+	duty_cycle 2
+	square_note 4, 15, 0, 1536
+	square_note 4, 15, 0, 1024
+	square_note 4, 15, 0, 512
+	square_note 1, 0, 0, 0
+	sound_ret
 
 Sfx_ChoosePcOption_Ch5:
-	dutycycle $2
-	sound __,  7, $f0, $0700
-	sound __,  5, $0, 0
-	sound __,  7, $f0, $0700
-	sound __,  2, $0, 0
-	endchannel
+	duty_cycle 2
+	square_note 6, 15, 0, 1792
+	square_note 4, 0, 0, 0
+	square_note 6, 15, 0, 1792
+	square_note 1, 0, 0, 0
+	sound_ret
 
 Sfx_EscapeRope_Ch5:
-	dutycycle $1
-	soundinput $17
-	sound __, 16, $d7, $0600
-	sound __, 16, $b7, $0580
-	sound __, 16, $87, $0500
-	sound __, 16, $47, $0480
-	sound __, 16, $17, $0400
-	soundinput $8
-	endchannel
+	duty_cycle 1
+	pitch_sweep 1, 7
+	square_note 15, 13, 7, 1536
+	square_note 15, 11, 7, 1408
+	square_note 15, 8, 7, 1280
+	square_note 15, 4, 7, 1152
+	square_note 15, 1, 7, 1024
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_PushButton_Ch5:
-	dutycycle $2
-	sound __,  5, $0, 0
-	sound __,  3, $f1, $0680
-	sound __,  2, $0, 0
-	sound __,  5, $f1, $0780
-	sound __,  5, $0, 0
-	endchannel
+	duty_cycle 2
+	square_note 4, 0, 0, 0
+	square_note 2, 15, 1, 1664
+	square_note 1, 0, 0, 0
+	square_note 4, 15, 1, 1920
+	square_note 4, 0, 0, 0
+	sound_ret
 
 Sfx_SecondPartOfItemfinder_Ch5:
-	dutycycle $2
-	soundinput $2c
-	sound __,  5, $f2, $0500
-	soundinput $22
-	sound __,  3, $f1, $0500
-	soundinput $8
-	sound __,  2, $0, 0
-	endchannel
+	duty_cycle 2
+	pitch_sweep 2, -4
+	square_note 4, 15, 2, 1280
+	pitch_sweep 2, 2
+	square_note 2, 15, 1, 1280
+	pitch_sweep 0, 8
+	square_note 1, 0, 0, 0
+	sound_ret
 
 Sfx_WarpTo_Ch5:
-	dutycycle $1
-	soundinput $17
-	sound __, 16, $d7, $0500
-	sound __, 16, $b7, $0580
-	sound __, 16, $87, $0600
-	sound __, 16, $47, $0680
-	sound __, 16, $17, $0700
-	soundinput $8
-	endchannel
+	duty_cycle 1
+	pitch_sweep 1, 7
+	square_note 15, 13, 7, 1280
+	square_note 15, 11, 7, 1408
+	square_note 15, 8, 7, 1536
+	square_note 15, 4, 7, 1664
+	square_note 15, 1, 7, 1792
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_WarpFrom_Ch5:
-	dutycycle $1
-	soundinput $17
-	sound __, 16, $d7, $0700
-	sound __, 16, $b7, $0680
-	sound __, 16, $87, $0600
-	sound __, 16, $47, $0580
-	sound __, 16, $17, $0500
-	soundinput $8
-	endchannel
+	duty_cycle 1
+	pitch_sweep 1, 7
+	square_note 15, 13, 7, 1792
+	square_note 15, 11, 7, 1664
+	square_note 15, 8, 7, 1536
+	square_note 15, 4, 7, 1408
+	square_note 15, 1, 7, 1280
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_ChangeDexMode_Ch5:
-	dutycycle $1
-	soundinput $16
-	sound __, 16, $d2, $0500
-	soundinput $8
-	endchannel
+	duty_cycle 1
+	pitch_sweep 1, 6
+	square_note 15, 13, 2, 1280
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_JumpOverLedge_Ch5:
-	dutycycle $2
-	soundinput $95
-	sound __, 16, $f2, $0400
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 9, 5
+	square_note 15, 15, 2, 1024
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_GrassRustle_Ch8:
-	noise __,  3, $f1, $32
-	noise __,  3, $0, $0
-	noise __,  3, $f1, $22
-	noise __,  2, $0, $0
-	endchannel
+	noise_note 2, 15, 1, 50
+	noise_note 2, 0, 0, 0
+	noise_note 2, 15, 1, 34
+	noise_note 1, 0, 0, 0
+	sound_ret
 
 Sfx_Fly_Ch8:
-	noise __,  3, $f1, $12
-	noise __,  3, $0, $0
-	noise __,  3, $a1, $12
-	noise __,  3, $0, $0
-	noise __,  3, $d1, $12
-	noise __,  3, $0, $0
-	noise __,  3, $81, $12
-	noise __,  3, $0, $0
-	noise __,  3, $b1, $12
-	noise __,  3, $0, $0
-	noise __,  3, $61, $12
-	noise __,  3, $0, $0
-	noise __,  3, $91, $12
-	noise __,  3, $0, $0
-	noise __,  3, $41, $12
-	noise __,  3, $0, $0
-	endchannel
+	noise_note 2, 15, 1, 18
+	noise_note 2, 0, 0, 0
+	noise_note 2, 10, 1, 18
+	noise_note 2, 0, 0, 0
+	noise_note 2, 13, 1, 18
+	noise_note 2, 0, 0, 0
+	noise_note 2, 8, 1, 18
+	noise_note 2, 0, 0, 0
+	noise_note 2, 11, 1, 18
+	noise_note 2, 0, 0, 0
+	noise_note 2, 6, 1, 18
+	noise_note 2, 0, 0, 0
+	noise_note 2, 9, 1, 18
+	noise_note 2, 0, 0, 0
+	noise_note 2, 4, 1, 18
+	noise_note 2, 0, 0, 0
+	sound_ret
 
 Sfx_Wrong_Ch5:
-	dutycycle $3
-	soundinput $5a
-	sound __,  5, $f0, $0500
-	soundinput $8
-	sound __,  5, $0, 0
-	sound __, 16, $f0, $0500
-	sound __,  2, $0, 0
-	endchannel
+	duty_cycle 3
+	pitch_sweep 5, -2
+	square_note 4, 15, 0, 1280
+	pitch_sweep 0, 8
+	square_note 4, 0, 0, 0
+	square_note 15, 15, 0, 1280
+	square_note 1, 0, 0, 0
+	sound_ret
 
 Sfx_Wrong_Ch6:
-	dutycycle $3
-	sound __,  5, $f0, $0401
-	sound __,  5, $0, 0
-	sound __, 16, $f0, $0401
-	sound __,  2, $0, 0
-	endchannel
+	duty_cycle 3
+	square_note 4, 15, 0, 1025
+	square_note 4, 0, 0, 0
+	square_note 15, 15, 0, 1025
+	square_note 1, 0, 0, 0
+	sound_ret
 
 Sfx_Squeak_Ch5:
-	dutycycle $0
-	soundinput $17
-	sound __, 16, $d2, $0700
-	soundinput $8
-	endchannel
+	duty_cycle 0
+	pitch_sweep 1, 7
+	square_note 15, 13, 2, 1792
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Strength_Ch8:
-	noise __,  5, $a2, $23
-	noise __,  9, $f1, $34
-	noise __, 16, $0, $0
-	noise __,  3, $f7, $24
-	noise __,  3, $f7, $34
-	noise __,  5, $f7, $44
-	noise __,  9, $f4, $55
-	noise __,  9, $f1, $44
-	endchannel
+	noise_note 4, 10, 2, 35
+	noise_note 8, 15, 1, 52
+	noise_note 15, 0, 0, 0
+	noise_note 2, 15, 7, 36
+	noise_note 2, 15, 7, 52
+	noise_note 4, 15, 7, 68
+	noise_note 8, 15, 4, 85
+	noise_note 8, 15, 1, 68
+	sound_ret
 
 Sfx_Boat_Ch5:
-	dutycycle $2
-	sound __, 16, $f0, $0500
-	sound __,  5, $0, 0
-	sound __, 16, $f0, $0500
-	sound __, 16, $f0, $0500
-	sound __, 16, $f0, $0500
-	sound __, 16, $f0, $0500
-	sound __, 16, $f2, $0500
-	endchannel
+	duty_cycle 2
+	square_note 15, 15, 0, 1280
+	square_note 4, 0, 0, 0
+	square_note 15, 15, 0, 1280
+	square_note 15, 15, 0, 1280
+	square_note 15, 15, 0, 1280
+	square_note 15, 15, 0, 1280
+	square_note 15, 15, 2, 1280
+	sound_ret
 
 Sfx_Boat_Ch6:
-	dutycycle $3
-	sound __, 16, $f0, $0482
-	sound __,  5, $0, 0
-	sound __, 16, $f0, $0482
-	sound __, 16, $f0, $0482
-	sound __, 16, $f0, $0482
-	sound __, 16, $f0, $0482
-	sound __, 16, $f2, $0482
-	endchannel
+	duty_cycle 3
+	square_note 15, 15, 0, 1154
+	square_note 4, 0, 0, 0
+	square_note 15, 15, 0, 1154
+	square_note 15, 15, 0, 1154
+	square_note 15, 15, 0, 1154
+	square_note 15, 15, 0, 1154
+	square_note 15, 15, 2, 1154
+	sound_ret
 
 Sfx_WallOpen_Ch5:
-	dutycycle $1
-	soundinput $3a
-	sound __,  5, $f2, $0500
-	soundinput $22
-	sound __,  5, $e2, $0500
-	soundinput $3a
-	sound __,  5, $f2, $0700
-	soundinput $22
-	sound __, 16, $e2, $0700
-	soundinput $8
-	endchannel
+	duty_cycle 1
+	pitch_sweep 3, -2
+	square_note 4, 15, 2, 1280
+	pitch_sweep 2, 2
+	square_note 4, 14, 2, 1280
+	pitch_sweep 3, -2
+	square_note 4, 15, 2, 1792
+	pitch_sweep 2, 2
+	square_note 15, 14, 2, 1792
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_ElevatorEnd_Ch5:
-	dutycycle $2
-	sound __, 16, $f3, $0730
-	sound __,  9, $65, $0730
-	sound __, 16, $f4, $0700
-	sound __, 16, $74, $0700
-	sound __, 16, $44, $0700
-	sound __, 16, $24, $0700
-	endchannel
+	duty_cycle 2
+	square_note 15, 15, 3, 1840
+	square_note 8, 6, 5, 1840
+	square_note 15, 15, 4, 1792
+	square_note 15, 7, 4, 1792
+	square_note 15, 4, 4, 1792
+	square_note 15, 2, 4, 1792
+	sound_ret
 
 Sfx_ThrowBall_Ch5:
-	dutycycle $2
-	soundinput $2f
-	sound __, 16, $f2, $0780
-	endchannel
+	duty_cycle 2
+	pitch_sweep 2, -7
+	square_note 15, 15, 2, 1920
+	sound_ret
 
 Sfx_ThrowBall_Ch6:
-	dutycycle $2
-	sound __, 16, $c2, $0782
-	endchannel
+	duty_cycle 2
+	square_note 15, 12, 2, 1922
+	sound_ret
 
 Sfx_Shine_Ch5:
-	dutycycle $0
-	sound __,  1, $d2, $0700
-	sound __,  1, $d2, $0740
-	sound __,  1, $d2, $0780
-	sound __,  1, $d2, $07c0
-	sound __, 11, $e1, $07e0
-	sound __,  2, $0, 0
-	endchannel
+	duty_cycle 0
+	square_note 0, 13, 2, 1792
+	square_note 0, 13, 2, 1856
+	square_note 0, 13, 2, 1920
+	square_note 0, 13, 2, 1984
+	square_note 10, 14, 1, 2016
+	square_note 1, 0, 0, 0
+	sound_ret
 
 Sfx_BallPoof_Ch5:
-	dutycycle $2
-	soundinput $16
-	sound __, 16, $f2, $0400
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 1, 6
+	square_note 15, 15, 2, 1024
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_BallPoof_Ch8:
-	noise __, 16, $a2, $22
-	endchannel
+	noise_note 15, 10, 2, 34
+	sound_ret
 
 Sfx_Unknown3A_Ch5:
-	sound __, 16, $d1, $0200
-	soundinput $8
-	endchannel
+	square_note 15, 13, 1, 512
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Unknown3A_Ch8:
-	noise __,  5, $f5, $33
-	noise __,  9, $f4, $22
-	noise __, 16, $f2, $21
-	endchannel
+	noise_note 4, 15, 5, 51
+	noise_note 8, 15, 4, 34
+	noise_note 15, 15, 2, 33
+	sound_ret
 
 Sfx_Run_Ch8:
-	noise __,  3, $61, $23
-	noise __,  3, $a1, $33
-	noise __,  3, $c1, $33
-	noise __,  3, $51, $11
-	noise __,  3, $f1, $33
-	noise __,  3, $41, $11
-	noise __,  3, $c1, $33
-	noise __,  3, $31, $11
-	noise __,  3, $81, $33
-	noise __,  3, $31, $11
-	noise __,  9, $41, $33
-	endchannel
+	noise_note 2, 6, 1, 35
+	noise_note 2, 10, 1, 51
+	noise_note 2, 12, 1, 51
+	noise_note 2, 5, 1, 17
+	noise_note 2, 15, 1, 51
+	noise_note 2, 4, 1, 17
+	noise_note 2, 12, 1, 51
+	noise_note 2, 3, 1, 17
+	noise_note 2, 8, 1, 51
+	noise_note 2, 3, 1, 17
+	noise_note 8, 4, 1, 51
+	sound_ret
 
 Sfx_SlotMachineStart_Ch5:
-	dutycycle $2
-	soundinput $44
-	sound __, 16, $f0, $04f0
-	soundinput $17
-	sound __, 16, $f2, $0650
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 4, 4
+	square_note 15, 15, 0, 1264
+	pitch_sweep 1, 7
+	square_note 15, 15, 2, 1616
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_SlotMachineStart_Ch6:
-	dutycycle $2
-	sound __, 16, $92, $0600
-	sound __, 16, $92, $0782
-	endchannel
+	duty_cycle 2
+	square_note 15, 9, 2, 1536
+	square_note 15, 9, 2, 1922
+	sound_ret
 
 Sfx_Call_Ch5:
-	soundinput $67
-	sound __,  5, $f7, $07a0
-	sound __,  5, $f7, $07a0
-	sound __,  5, $f7, $07a0
-	sound __,  5, $f7, $07a0
-	sound __,  5, $f7, $07a0
-	soundinput $8
-	sound __,  5, $0, 0
-	endchannel
+	pitch_sweep 6, 7
+	square_note 4, 15, 7, 1952
+	square_note 4, 15, 7, 1952
+	square_note 4, 15, 7, 1952
+	square_note 4, 15, 7, 1952
+	square_note 4, 15, 7, 1952
+	pitch_sweep 0, 8
+	square_note 4, 0, 0, 0
+	sound_ret
 
 Sfx_Peck_Ch8:
-	noise __,  3, $a1, $12
-	endchannel
+	noise_note 2, 10, 1, 18
+	sound_ret
 
 Sfx_Kinesis_Ch5:
-	dutycycle $1
-	soundinput $af
-	sound __, 16, $f2, $0780
-	soundinput $8
-	endchannel
+	duty_cycle 1
+	pitch_sweep 10, -7
+	square_note 15, 15, 2, 1920
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Lick_Ch5:
-	dutycycle $1
-	soundinput $97
-	sound __, 16, $f2, $0500
-	soundinput $8
-	endchannel
+	duty_cycle 1
+	pitch_sweep 9, 7
+	square_note 15, 15, 2, 1280
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Pound_Ch8:
-	noise __,  3, $a1, $22
-	endchannel
+	noise_note 2, 10, 1, 34
+	sound_ret
 
 Sfx_MovePuzzlePiece_Ch8:
-	noise __,  9, $f1, $54
-	endchannel
+	noise_note 8, 15, 1, 84
+	sound_ret
 
 Sfx_CometPunch_Ch8:
-	noise __, 16, $8f, $11
-	noise __,  5, $ff, $12
-	noise __, 11, $f1, $55
-	endchannel
+	noise_note 15, 8, -7, 17
+	noise_note 4, 15, -7, 18
+	noise_note 10, 15, 1, 85
+	sound_ret
 
 Sfx_MegaPunch_Ch8:
-	noise __, 16, $8f, $34
-	noise __,  9, $f2, $35
-	noise __, 11, $f1, $55
-	endchannel
+	noise_note 15, 8, -7, 52
+	noise_note 8, 15, 2, 53
+	noise_note 10, 15, 1, 85
+	sound_ret
 
 Sfx_Scratch_Ch8:
-	noise __, 16, $9f, $23
-	noise __,  9, $f1, $21
-	endchannel
+	noise_note 15, 9, -7, 35
+	noise_note 8, 15, 1, 33
+	sound_ret
 
 Sfx_Vicegrip_Ch8:
-	noise __,  3, $e1, $4b
-	noise __, 11, $f1, $44
-	noise __,  3, $e1, $3a
-	noise __,  7, $f1, $34
-	endchannel
+	noise_note 2, 14, 1, 75
+	noise_note 10, 15, 1, 68
+	noise_note 2, 14, 1, 58
+	noise_note 6, 15, 1, 52
+	sound_ret
 
 Sfx_RazorWind_Ch8:
-	noise __,  3, $f4, $44
-	noise __,  3, $f4, $14
-	noise __, 16, $f1, $32
-	endchannel
+	noise_note 2, 15, 4, 68
+	noise_note 2, 15, 4, 20
+	noise_note 15, 15, 1, 50
+	sound_ret
 
 Sfx_Cut_Ch8:
-	noise __,  5, $8f, $55
-	noise __,  3, $f4, $44
-	noise __,  9, $f4, $22
-	noise __, 16, $f2, $21
-	endchannel
+	noise_note 4, 8, -7, 85
+	noise_note 2, 15, 4, 68
+	noise_note 8, 15, 4, 34
+	noise_note 15, 15, 2, 33
+	sound_ret
 
 Sfx_WingAttack_Ch8:
-	noise __,  9, $4f, $23
-	noise __,  5, $c4, $22
-	noise __,  7, $f2, $23
-	loopchannel 4, Sfx_WingAttack_Ch8
-	endchannel
+	noise_note 8, 4, -7, 35
+	noise_note 4, 12, 4, 34
+	noise_note 6, 15, 2, 35
+	sound_loop 4, Sfx_WingAttack_Ch8
+	sound_ret
 
 Sfx_Whirlwind_Ch8:
-	noise __,  9, $4f, $33
-	noise __,  5, $c4, $22
-	noise __,  7, $f2, $23
-	noise __, 16, $f2, $22
-	endchannel
+	noise_note 8, 4, -7, 51
+	noise_note 4, 12, 4, 34
+	noise_note 6, 15, 2, 35
+	noise_note 15, 15, 2, 34
+	sound_ret
 
 Sfx_Bind_Ch8:
-	noise __,  9, $ff, $32
-	noise __,  9, $f4, $43
-	noise __,  9, $f2, $54
-	noise __,  9, $f1, $65
-	endchannel
+	noise_note 8, 15, -7, 50
+	noise_note 8, 15, 4, 67
+	noise_note 8, 15, 2, 84
+	noise_note 8, 15, 1, 101
+	sound_ret
 
 Sfx_VineWhip_Ch8:
-	noise __,  2, $c2, $33
-	noise __,  3, $f2, $21
-	noise __,  2, $e2, $33
-	noise __,  2, $c2, $32
-	noise __,  2, $92, $12
-	noise __,  2, $b2, $31
-	noise __, 13, $91, $10
-	noise __,  9, $f2, $41
-	endchannel
+	noise_note 1, 12, 2, 51
+	noise_note 2, 15, 2, 33
+	noise_note 1, 14, 2, 51
+	noise_note 1, 12, 2, 50
+	noise_note 1, 9, 2, 18
+	noise_note 1, 11, 2, 49
+	noise_note 12, 9, 1, 16
+	noise_note 8, 15, 2, 65
+	sound_ret
 
 Sfx_DoubleKick_Ch8:
-	noise __,  2, $94, $23
-	noise __,  2, $b4, $22
-	noise __,  9, $f1, $44
-	endchannel
+	noise_note 1, 9, 4, 35
+	noise_note 1, 11, 4, 34
+	noise_note 8, 15, 1, 68
+	sound_ret
 
 Sfx_MegaKick_Ch8:
-	noise __,  3, $94, $33
-	noise __,  5, $b4, $22
-	noise __,  5, $f1, $44
-	noise __,  9, $f1, $55
-	endchannel
+	noise_note 2, 9, 4, 51
+	noise_note 4, 11, 4, 34
+	noise_note 4, 15, 1, 68
+	noise_note 8, 15, 1, 85
+	sound_ret
 
 Sfx_Headbutt_Ch8:
-	noise __,  5, $ff, $55
-	noise __,  9, $f1, $65
-	endchannel
+	noise_note 4, 15, -7, 85
+	noise_note 8, 15, 1, 101
+	sound_ret
 
 Sfx_HornAttack_Ch8:
-	noise __,  3, $84, $43
-	noise __,  3, $c4, $22
-	noise __,  9, $f2, $34
-	endchannel
+	noise_note 2, 8, 4, 67
+	noise_note 2, 12, 4, 34
+	noise_note 8, 15, 2, 52
+	sound_ret
 
 Sfx_Tackle_Ch8:
-	noise __,  5, $f1, $34
-	noise __, 16, $f2, $64
-	endchannel
+	noise_note 4, 15, 1, 52
+	noise_note 15, 15, 2, 100
+	sound_ret
 
 Sfx_PoisonSting_Ch8:
-	noise __,  3, $f1, $22
-	noise __, 16, $f2, $12
-	endchannel
+	noise_note 2, 15, 1, 34
+	noise_note 15, 15, 2, 18
+	sound_ret
 
 Sfx_Powder_Ch8:
-	noise __,  3, $c2, $1
-	noise __, 16, $f4, $1
-	noise __, 16, $f2, $1
-	endchannel
+	noise_note 2, 12, 2, 1
+	noise_note 15, 15, 4, 1
+	noise_note 15, 15, 2, 1
+	sound_ret
 
 Sfx_Doubleslap_Ch8:
-	noise __,  9, $f1, $32
-	noise __,  9, $f1, $33
-	endchannel
+	noise_note 8, 15, 1, 50
+	noise_note 8, 15, 1, 51
+	sound_ret
 
 Sfx_Bite_Ch5:
-	dutycycle $0
-	soundinput $3a
-	sound __,  5, $f2, $0200
-	soundinput $22
-	sound __,  9, $e2, $0200
-	soundinput $8
-	endchannel
+	duty_cycle 0
+	pitch_sweep 3, -2
+	square_note 4, 15, 2, 512
+	pitch_sweep 2, 2
+	square_note 8, 14, 2, 512
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Bite_Ch8:
-	noise __,  1, $d1, $42
-	noise __,  5, $a1, $32
-	noise __,  1, $d1, $22
-	noise __,  7, $a1, $32
-	endchannel
+	noise_note 0, 13, 1, 66
+	noise_note 4, 10, 1, 50
+	noise_note 0, 13, 1, 34
+	noise_note 6, 10, 1, 50
+	sound_ret
 
 Sfx_JumpKick_Ch8:
-	noise __,  4, $92, $31
-	noise __,  4, $b2, $32
-	noise __,  4, $c2, $33
-	noise __,  9, $f1, $54
-	endchannel
+	noise_note 3, 9, 2, 49
+	noise_note 3, 11, 2, 50
+	noise_note 3, 12, 2, 51
+	noise_note 8, 15, 1, 84
+	sound_ret
 
 Sfx_Stomp_Ch8:
-	noise __, 13, $f1, $54
-	noise __,  9, $f1, $64
-	endchannel
+	noise_note 12, 15, 1, 84
+	noise_note 8, 15, 1, 100
+	sound_ret
 
 Sfx_TailWhip_Ch8:
-	noise __,  3, $f1, $33
-	noise __,  3, $c1, $32
-	noise __,  3, $a1, $31
-	noise __, 16, $82, $32
-	noise __,  9, $f1, $34
-	endchannel
+	noise_note 2, 15, 1, 51
+	noise_note 2, 12, 1, 50
+	noise_note 2, 10, 1, 49
+	noise_note 15, 8, 2, 50
+	noise_note 8, 15, 1, 52
+	sound_ret
 
 Sfx_KarateChop_Ch8:
-	noise __,  3, $d2, $32
-	noise __, 16, $f2, $43
-	endchannel
+	noise_note 2, 13, 2, 50
+	noise_note 15, 15, 2, 67
+	sound_ret
 
 Sfx_Submission_Ch8:
-	noise __,  3, $f2, $43
-	noise __,  5, $b5, $32
-	noise __, 10, $86, $31
-	noise __,  8, $64, $0
-	noise __, 16, $f2, $55
-	endchannel
+	noise_note 2, 15, 2, 67
+	noise_note 4, 11, 5, 50
+	noise_note 9, 8, 6, 49
+	noise_note 7, 6, 4, 0
+	noise_note 15, 15, 2, 85
+	sound_ret
 
 Sfx_WaterGun_Ch5:
-	dutycycle $1
-	soundinput $97
-	sound __, 16, $f2, $0700
-	soundinput $8
-	endchannel
+	duty_cycle 1
+	pitch_sweep 9, 7
+	square_note 15, 15, 2, 1792
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_WaterGun_Ch8:
-	noise __, 16, $3f, $22
-	noise __, 16, $f2, $21
-	endchannel
+	noise_note 15, 3, -7, 34
+	noise_note 15, 15, 2, 33
+	sound_ret
 
 Sfx_SwordsDance_Ch8:
-	noise __, 16, $4f, $41
-	noise __,  9, $8f, $41
-	noise __,  9, $cf, $41
-	noise __,  9, $f2, $42
-	noise __, 16, $f2, $41
-	endchannel
+	noise_note 15, 4, -7, 65
+	noise_note 8, 8, -7, 65
+	noise_note 8, 12, -7, 65
+	noise_note 8, 15, 2, 66
+	noise_note 15, 15, 2, 65
+	sound_ret
 
 Sfx_Thunder_Ch8:
-	noise __, 11, $ff, $50
-	noise __, 16, $ff, $51
-	noise __,  9, $f2, $51
-	noise __,  7, $ff, $52
-	noise __,  7, $ff, $53
-	noise __,  9, $ff, $54
-	noise __, 16, $f2, $54
-	endchannel
+	noise_note 10, 15, -7, 80
+	noise_note 15, 15, -7, 81
+	noise_note 8, 15, 2, 81
+	noise_note 6, 15, -7, 82
+	noise_note 6, 15, -7, 83
+	noise_note 8, 15, -7, 84
+	noise_note 15, 15, 2, 84
+	sound_ret
 
 Sfx_Supersonic_Ch5:
-	dutycycle $2
-	sound __, 16, $3f, $07c0
-.loop
-	sound __, 16, $df, $07c0
-	loopchannel 4, .loop
-	sound __, 16, $d1, $07c0
-	endchannel
+	duty_cycle 2
+	square_note 15, 3, -7, 1984
+Sfx_Supersonic_branch_f21ef:
+	square_note 15, 13, -7, 1984
+	sound_loop 4, Sfx_Supersonic_branch_f21ef
+	square_note 15, 13, 1, 1984
+	sound_ret
 
 Sfx_Supersonic_Ch6:
-	sound_duty 3, 0, 3, 2
-	sound __, 16, $2f, $07c8
-.loop
-	sound __, 16, $cf, $07c7
-	loopchannel 4, .loop
-	sound __, 16, $c1, $07c8
-	endchannel
+	duty_cycle_pattern 2, 3, 0, 3
+	square_note 15, 2, -7, 1992
+Sfx_Supersonic_branch_f2202:
+	square_note 15, 12, -7, 1991
+	sound_loop 4, Sfx_Supersonic_branch_f2202
+	square_note 15, 12, 1, 1992
+	sound_ret
 
 Sfx_Supersonic_Ch8:
-	noise __,  4, $97, $12
-	noise __,  4, $a1, $11
-	loopchannel 10, Sfx_Supersonic_Ch8
-	endchannel
+	noise_note 3, 9, 7, 18
+	noise_note 3, 10, 1, 17
+	sound_loop 10, Sfx_Supersonic_Ch8
+	sound_ret
 
 Sfx_Leer_Ch5:
-	dutycycle $0
-	sound __,  1, $f1, $07c0
-	sound __,  1, $f1, $0700
-	loopchannel 12, Sfx_Leer_Ch5
-	endchannel
+	duty_cycle 0
+	square_note 0, 15, 1, 1984
+	square_note 0, 15, 1, 1792
+	sound_loop 12, Sfx_Leer_Ch5
+	sound_ret
 
 Sfx_Leer_Ch6:
-	sound_duty 3, 0, 3, 2
-	sound __,  1, $e1, $07c1
-	sound __,  1, $e1, $0701
-	loopchannel 12, Sfx_Leer_Ch6
-	endchannel
+	duty_cycle_pattern 2, 3, 0, 3
+	square_note 0, 14, 1, 1985
+	square_note 0, 14, 1, 1793
+	sound_loop 12, Sfx_Leer_Ch6
+	sound_ret
 
 Sfx_Leer_Ch8:
-	noise __,  2, $d1, $49
-	noise __,  2, $d1, $29
-	loopchannel 6, Sfx_Leer_Ch8
-	endchannel
+	noise_note 1, 13, 1, 73
+	noise_note 1, 13, 1, 41
+	sound_loop 6, Sfx_Leer_Ch8
+	sound_ret
 
 Sfx_Ember_Ch5:
-	sound_duty 1, 2, 0, 3
-	sound __, 12, $f3, $0120
-	sound __, 10, $d3, $0150
-	loopchannel 5, Sfx_Ember_Ch5
-	sound __,  9, $e3, $0130
-	sound __, 16, $c2, $0110
-	endchannel
+	duty_cycle_pattern 3, 0, 2, 1
+	square_note 11, 15, 3, 288
+	square_note 9, 13, 3, 336
+	sound_loop 5, Sfx_Ember_Ch5
+	square_note 8, 14, 3, 304
+	square_note 15, 12, 2, 272
+	sound_ret
 
 Sfx_Ember_Ch8:
-	noise __, 11, $f3, $35
-	noise __, 15, $f6, $45
-	loopchannel 4, Sfx_Ember_Ch8
-	noise __, 13, $f4, $bc
-	noise __, 13, $f5, $9c
-	noise __, 16, $f4, $ac
-	endchannel
+	noise_note 10, 15, 3, 53
+	noise_note 14, 15, 6, 69
+	sound_loop 4, Sfx_Ember_Ch8
+	noise_note 12, 15, 4, 188
+	noise_note 12, 15, 5, 156
+	noise_note 15, 15, 4, 172
+	sound_ret
 
 Sfx_Bubblebeam_Ch5:
-	sound_duty 1, 2, 3, 0
-	sound __,  5, $f4, $0600
-	sound __,  4, $c4, $0500
-	sound __,  6, $b5, $0600
-	sound __, 14, $e2, $06c0
-	loopchannel 3, Sfx_Bubblebeam_Ch5
-	sound __,  9, $d1, $0600
-	endchannel
+	duty_cycle_pattern 0, 3, 2, 1
+	square_note 4, 15, 4, 1536
+	square_note 3, 12, 4, 1280
+	square_note 5, 11, 5, 1536
+	square_note 13, 14, 2, 1728
+	sound_loop 3, Sfx_Bubblebeam_Ch5
+	square_note 8, 13, 1, 1536
+	sound_ret
 
 Sfx_Bubblebeam_Ch6:
-	sound_duty 1, 3, 0, 2
-	sound __,  6, $e4, $05e0
-	sound __,  5, $b4, $04e0
-	sound __,  7, $a5, $05e8
-	sound __, 15, $d1, $06a0
-	loopchannel 3, Sfx_Bubblebeam_Ch6
-	endchannel
+	duty_cycle_pattern 2, 0, 3, 1
+	square_note 5, 14, 4, 1504
+	square_note 4, 11, 4, 1248
+	square_note 6, 10, 5, 1512
+	square_note 14, 13, 1, 1696
+	sound_loop 3, Sfx_Bubblebeam_Ch6
+	sound_ret
 
 Sfx_Bubblebeam_Ch8:
-	noise __,  6, $c3, $33
-	noise __,  4, $92, $43
-	noise __, 11, $b5, $33
-	noise __, 16, $c3, $32
-	loopchannel 2, Sfx_Bubblebeam_Ch8
-	endchannel
+	noise_note 5, 12, 3, 51
+	noise_note 3, 9, 2, 67
+	noise_note 10, 11, 5, 51
+	noise_note 15, 12, 3, 50
+	sound_loop 2, Sfx_Bubblebeam_Ch8
+	sound_ret
 
 Sfx_HydroPump_Ch5:
-	sound_duty 2, 0, 1, 3
-	sound __,  4, $81, $0300
-	sound __,  4, $c1, $0400
-	sound __,  4, $f1, $0500
-	sound __,  4, $b1, $0400
-	sound __,  4, $71, $0300
-	loopchannel 5, Sfx_HydroPump_Ch5
-	sound __,  9, $81, $0400
-	endchannel
+	duty_cycle_pattern 3, 1, 0, 2
+	square_note 3, 8, 1, 768
+	square_note 3, 12, 1, 1024
+	square_note 3, 15, 1, 1280
+	square_note 3, 11, 1, 1024
+	square_note 3, 7, 1, 768
+	sound_loop 5, Sfx_HydroPump_Ch5
+	square_note 8, 8, 1, 1024
+	sound_ret
 
 Sfx_HydroPump_Ch8:
-	noise __,  4, $62, $22
-	noise __,  4, $a2, $32
-	noise __,  4, $d2, $33
-	noise __,  4, $92, $23
-	noise __,  4, $52, $12
-	loopchannel 5, Sfx_HydroPump_Ch8
-	noise __,  9, $81, $12
-	endchannel
+	noise_note 3, 6, 2, 34
+	noise_note 3, 10, 2, 50
+	noise_note 3, 13, 2, 51
+	noise_note 3, 9, 2, 35
+	noise_note 3, 5, 2, 18
+	sound_loop 5, Sfx_HydroPump_Ch8
+	noise_note 8, 8, 1, 18
+	sound_ret
 
 Sfx_Surf_Ch5:
-	sound_duty 1, 2, 3, 0
-	sound __, 16, $f4, $0500
-	sound __, 16, $c4, $0400
-	sound __, 16, $e2, $05c0
-	loopchannel 3, Sfx_Surf_Ch5
-	endchannel
+	duty_cycle_pattern 0, 3, 2, 1
+	square_note 15, 15, 4, 1280
+	square_note 15, 12, 4, 1024
+	square_note 15, 14, 2, 1472
+	sound_loop 3, Sfx_Surf_Ch5
+	sound_ret
 
 Sfx_Surf_Ch6:
-	sound_duty 1, 3, 0, 2
-	sound __,  8, $e4, $0430
-	sound __, 16, $b4, $0330
-	sound __, 16, $a2, $0438
-	loopchannel 4, Sfx_Surf_Ch6
-	endchannel
+	duty_cycle_pattern 2, 0, 3, 1
+	square_note 7, 14, 4, 1072
+	square_note 15, 11, 4, 816
+	square_note 15, 10, 2, 1080
+	sound_loop 4, Sfx_Surf_Ch6
+	sound_ret
 
 Sfx_Surf_Ch8:
-	noise __, 10, $f4, $44
-	noise __, 10, $f2, $43
-	noise __, 16, $f4, $42
-	noise __, 16, $f4, $41
-	loopchannel 3, Sfx_Surf_Ch8
-	endchannel
+	noise_note 9, 15, 4, 68
+	noise_note 9, 15, 2, 67
+	noise_note 15, 15, 4, 66
+	noise_note 15, 15, 4, 65
+	sound_loop 3, Sfx_Surf_Ch8
+	sound_ret
 
 Sfx_Psybeam_Ch5:
-	sound_duty 1, 0, 2, 2
-	sound __, 11, $f1, $0640
-	sound __, 11, $f3, $0680
-	sound __, 11, $f2, $0620
-	loopchannel 4, Sfx_Psybeam_Ch5
-	sound __, 11, $f1, $0640
-	endchannel
+	duty_cycle_pattern 2, 2, 0, 1
+	square_note 10, 15, 1, 1600
+	square_note 10, 15, 3, 1664
+	square_note 10, 15, 2, 1568
+	sound_loop 4, Sfx_Psybeam_Ch5
+	square_note 10, 15, 1, 1600
+	sound_ret
 
 Sfx_Psybeam_Ch6:
-	sound_duty 3, 0, 3, 2
-	sound __, 11, $f3, $0571
-	sound __,  8, $e3, $0531
-	sound __, 11, $f1, $0551
-	loopchannel 4, Sfx_Psybeam_Ch6
-	sound __, 11, $f1, $0571
-	endchannel
+	duty_cycle_pattern 2, 3, 0, 3
+	square_note 10, 15, 3, 1393
+	square_note 7, 14, 3, 1329
+	square_note 10, 15, 1, 1361
+	sound_loop 4, Sfx_Psybeam_Ch6
+	square_note 10, 15, 1, 1393
+	sound_ret
 
 Sfx_Psybeam_Ch8:
-	noise __,  3, $d1, $4a
-	noise __,  3, $d2, $2a
-	loopchannel 21, Sfx_Psybeam_Ch8
-	endchannel
+	noise_note 2, 13, 1, 74
+	noise_note 2, 13, 2, 42
+	sound_loop 21, Sfx_Psybeam_Ch8
+	sound_ret
 
 Sfx_Charge_Ch5:
-	dutycycle $0
-	sound __,  3, $f1, $0200
-	sound __,  4, $f1, $0700
-	sound __,  5, $f1, $0500
-	sound __,  6, $f1, $07f0
-	loopchannel 8, Sfx_Charge_Ch5
-	endchannel
+	duty_cycle 0
+	square_note 2, 15, 1, 512
+	square_note 3, 15, 1, 1792
+	square_note 4, 15, 1, 1280
+	square_note 5, 15, 1, 2032
+	sound_loop 8, Sfx_Charge_Ch5
+	sound_ret
 
 Sfx_Charge_Ch6:
-	sound_duty 3, 0, 3, 2
-	sound __,  3, $e1, $0302
-	sound __,  4, $e1, $07f2
-	sound __,  5, $e1, $0602
-	sound __,  6, $e1, $0702
-	loopchannel 8, Sfx_Charge_Ch6
-	endchannel
+	duty_cycle_pattern 2, 3, 0, 3
+	square_note 2, 14, 1, 770
+	square_note 3, 14, 1, 2034
+	square_note 4, 14, 1, 1538
+	square_note 5, 14, 1, 1794
+	sound_loop 8, Sfx_Charge_Ch6
+	sound_ret
 
 Sfx_Charge_Ch8:
-	noise __,  3, $d3, $10
-	noise __,  4, $d3, $11
-	noise __,  3, $d2, $10
-	noise __,  6, $d2, $12
-	loopchannel 9, Sfx_Charge_Ch8
-	endchannel
+	noise_note 2, 13, 3, 16
+	noise_note 3, 13, 3, 17
+	noise_note 2, 13, 2, 16
+	noise_note 5, 13, 2, 18
+	sound_loop 9, Sfx_Charge_Ch8
+	sound_ret
 
 Sfx_Thundershock_Ch5:
-	sound_duty 3, 2, 2, 0
-	sound __,  4, $f1, $07f0
-	sound __,  5, $f2, $0200
-	loopchannel 8, Sfx_Thundershock_Ch5
-	endchannel
+	duty_cycle_pattern 0, 2, 2, 3
+	square_note 3, 15, 1, 2032
+	square_note 4, 15, 2, 512
+	sound_loop 8, Sfx_Thundershock_Ch5
+	sound_ret
 
 Sfx_Thundershock_Ch6:
-	sound_duty 3, 0, 3, 2
-	sound __,  5, $e2, $0202
-	sound __,  5, $e1, $07e2
-	loopchannel 9, Sfx_Thundershock_Ch6
-	endchannel
+	duty_cycle_pattern 2, 3, 0, 3
+	square_note 4, 14, 2, 514
+	square_note 4, 14, 1, 2018
+	sound_loop 9, Sfx_Thundershock_Ch6
+	sound_ret
 
 Sfx_Thundershock_Ch8:
-	noise __,  5, $ff, $43
-	noise __,  5, $f2, $44
-	loopchannel 9, Sfx_Thundershock_Ch8
-	endchannel
+	noise_note 4, 15, -7, 67
+	noise_note 4, 15, 2, 68
+	sound_loop 9, Sfx_Thundershock_Ch8
+	sound_ret
 
 Sfx_Psychic_Ch5:
-	dutycycle $2
-	soundinput $f7
-	sound __,  9, $c4, $07bd
-	sound __,  9, $c4, $07be
-	sound __,  9, $c4, $07bf
-	sound __,  9, $c4, $07c0
-	sound __, 16, $c4, $07c1
-	sound __, 16, $f2, $07c0
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 15, 7
+	square_note 8, 12, 4, 1981
+	square_note 8, 12, 4, 1982
+	square_note 8, 12, 4, 1983
+	square_note 8, 12, 4, 1984
+	square_note 15, 12, 4, 1985
+	square_note 15, 15, 2, 1984
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Psychic_Ch6:
-	dutycycle $2
-	sound __,  9, $c4, $0770
-	sound __,  9, $c4, $0761
-	sound __,  9, $c4, $0762
-	sound __,  9, $c4, $0763
-	sound __, 16, $c4, $0764
-	sound __, 16, $f2, $0764
-	endchannel
+	duty_cycle 2
+	square_note 8, 12, 4, 1904
+	square_note 8, 12, 4, 1889
+	square_note 8, 12, 4, 1890
+	square_note 8, 12, 4, 1891
+	square_note 15, 12, 4, 1892
+	square_note 15, 15, 2, 1892
+	sound_ret
 
 Sfx_Psychic_Ch8:
-	noise __, 16, $3f, $14
-	noise __, 16, $cf, $13
-	noise __, 16, $cf, $12
-	noise __, 16, $cf, $11
-	noise __, 16, $cf, $10
-	noise __, 16, $c2, $10
-	endchannel
+	noise_note 15, 3, -7, 20
+	noise_note 15, 12, -7, 19
+	noise_note 15, 12, -7, 18
+	noise_note 15, 12, -7, 17
+	noise_note 15, 12, -7, 16
+	noise_note 15, 12, 2, 16
+	sound_ret
 
 Sfx_Screech_Ch5:
-	dutycycle $2
-	sound __, 16, $ff, $07e0
-	sound __, 16, $ff, $07e0
-	sound __, 16, $ff, $07e0
-	sound __, 16, $ff, $07e0
-	sound __, 16, $f2, $07e0
-	endchannel
+	duty_cycle 2
+	square_note 15, 15, -7, 2016
+	square_note 15, 15, -7, 2016
+	square_note 15, 15, -7, 2016
+	square_note 15, 15, -7, 2016
+	square_note 15, 15, 2, 2016
+	sound_ret
 
 Sfx_Screech_Ch6:
-	dutycycle $3
-	sound __, 16, $ff, $07e2
-	sound __, 16, $ff, $07e1
-	sound __, 16, $ff, $07e2
-	sound __, 16, $ff, $07e1
-	sound __, 16, $f2, $07e2
-	endchannel
+	duty_cycle 3
+	square_note 15, 15, -7, 2018
+	square_note 15, 15, -7, 2017
+	square_note 15, 15, -7, 2018
+	square_note 15, 15, -7, 2017
+	square_note 15, 15, 2, 2018
+	sound_ret
 
 Sfx_BoneClub_Ch5:
-	dutycycle $2
-	soundinput $af
-	sound __,  9, $f1, $0700
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 10, -7
+	square_note 8, 15, 1, 1792
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_BoneClub_Ch6:
-	dutycycle $3
-	sound __,  9, $f1, $0701
-	endchannel
+	duty_cycle 3
+	square_note 8, 15, 1, 1793
+	sound_ret
 
 Sfx_Sharpen_Ch5:
-	dutycycle $2
-	sound __,  7, $f1, $0500
-	sound __,  7, $f1, $0580
-	sound __,  7, $f1, $0600
-	sound __,  7, $f1, $0680
-	sound __,  9, $f1, $0700
-	endchannel
+	duty_cycle 2
+	square_note 6, 15, 1, 1280
+	square_note 6, 15, 1, 1408
+	square_note 6, 15, 1, 1536
+	square_note 6, 15, 1, 1664
+	square_note 8, 15, 1, 1792
+	sound_ret
 
 Sfx_Sharpen_Ch6:
-	dutycycle $3
-	sound __,  7, $e1, $0510
-	sound __,  7, $e1, $0590
-	sound __,  7, $e1, $0610
-	sound __,  7, $e1, $0690
-	sound __,  9, $e1, $0710
-	endchannel
+	duty_cycle 3
+	square_note 6, 14, 1, 1296
+	square_note 6, 14, 1, 1424
+	square_note 6, 14, 1, 1552
+	square_note 6, 14, 1, 1680
+	square_note 8, 14, 1, 1808
+	sound_ret
 
 Sfx_EggBomb_Ch5:
-	sound_duty 1, 3, 2, 3
-	sound __,  9, $ff, $03f8
-	sound __, 16, $ff, $0400
-	sound __, 16, $f3, $0400
-	endchannel
+	duty_cycle_pattern 3, 2, 3, 1
+	square_note 8, 15, -7, 1016
+	square_note 15, 15, -7, 1024
+	square_note 15, 15, 3, 1024
+	sound_ret
 
 Sfx_EggBomb_Ch6:
-	sound_duty 0, 1, 3, 2
-	sound __,  9, $ef, $03c0
-	sound __, 16, $ef, $03c0
-	sound __, 16, $e3, $03c0
-	endchannel
+	duty_cycle_pattern 2, 3, 1, 0
+	square_note 8, 14, -7, 960
+	square_note 15, 14, -7, 960
+	square_note 15, 14, 3, 960
+	sound_ret
 
 Sfx_EggBomb_Ch8:
-	noise __,  5, $ff, $51
-	noise __,  9, $ff, $54
-	noise __, 16, $ff, $55
-	noise __, 16, $f3, $56
-	endchannel
+	noise_note 4, 15, -7, 81
+	noise_note 8, 15, -7, 84
+	noise_note 15, 15, -7, 85
+	noise_note 15, 15, 3, 86
+	sound_ret
 
 Sfx_Sing_Ch5:
-	togglesfx
-	vibrato $a, $24
-	dutycycle $2
-	notetype $a, $87
+	toggle_sfx
+	vibrato 10, 2, 4
+	duty_cycle 2
+	note_type 10, 8, 7
 	octave 5
 	note G_, 8
 	octave 6
@@ -4625,186 +4809,187 @@
 	note D#, 4
 	octave 5
 	note G_, 8
-	endchannel
+	sound_ret
 
 Sfx_Sing_Ch6:
-	togglesfx
-	vibrato $a, $23
-	dutycycle $2
-	notetype $b, $67
+	toggle_sfx
+	vibrato 10, 2, 3
+	duty_cycle 2
+	note_type 11, 6, 7
 	octave 5
 	note G_, 8
-	notetype $a, $67
+	note_type 10, 6, 7
 	octave 6
 	note F_, 4
 	note D#, 4
 	octave 5
 	note G_, 8
-	endchannel
+	sound_ret
 
 Sfx_HyperBeam_Ch5:
-	dutycycle $0
-	sound __,  3, $f1, $0780
-	sound __,  3, $f1, $0700
-	sound __,  3, $f1, $0790
-	sound __,  3, $f1, $0700
-	sound __,  3, $f1, $07a0
-	sound __,  3, $f1, $0700
-	sound __,  3, $f1, $07b0
-	sound __,  3, $f1, $0700
-	sound __,  3, $f1, $07c0
-	sound __,  3, $f1, $0700
-	sound __,  3, $f1, $07d0
-.loop
-	sound __,  3, $f1, $0700
-	sound __,  3, $f1, $07e0
-	loopchannel 12, .loop
-	sound __, 16, $f1, $0700
-	endchannel
+	duty_cycle 0
+	square_note 2, 15, 1, 1920
+	square_note 2, 15, 1, 1792
+	square_note 2, 15, 1, 1936
+	square_note 2, 15, 1, 1792
+	square_note 2, 15, 1, 1952
+	square_note 2, 15, 1, 1792
+	square_note 2, 15, 1, 1968
+	square_note 2, 15, 1, 1792
+	square_note 2, 15, 1, 1984
+	square_note 2, 15, 1, 1792
+	square_note 2, 15, 1, 2000
+Sfx_HyperBeam_branch_f24f8:
+	square_note 2, 15, 1, 1792
+	square_note 2, 15, 1, 2016
+	sound_loop 12, Sfx_HyperBeam_branch_f24f8
+	square_note 15, 15, 1, 1792
+	sound_ret
 
 Sfx_HyperBeam_Ch6:
-	sound_duty 3, 0, 3, 2
-	sound __,  3, $f1, $0781
-	sound __,  3, $f1, $0701
-	sound __,  3, $f1, $0791
-	sound __,  3, $f1, $0701
-	sound __,  3, $f1, $07a1
-	sound __,  3, $f1, $0701
-	sound __,  3, $f1, $07b1
-	sound __,  3, $f1, $0701
-	sound __,  3, $f1, $07c1
-	sound __,  3, $f1, $0701
-	sound __,  3, $f1, $07d1
-.loop
-	sound __,  3, $f1, $0701
-	sound __,  3, $f1, $07e1
-	loopchannel 12, .loop
-	sound __, 16, $f1, $0701
-	endchannel
+	duty_cycle_pattern 2, 3, 0, 3
+	square_note 2, 15, 1, 1921
+	square_note 2, 15, 1, 1793
+	square_note 2, 15, 1, 1937
+	square_note 2, 15, 1, 1793
+	square_note 2, 15, 1, 1953
+	square_note 2, 15, 1, 1793
+	square_note 2, 15, 1, 1969
+	square_note 2, 15, 1, 1793
+	square_note 2, 15, 1, 1985
+	square_note 2, 15, 1, 1793
+	square_note 2, 15, 1, 2001
+Sfx_HyperBeam_branch_f2537:
+	square_note 2, 15, 1, 1793
+	square_note 2, 15, 1, 2017
+	sound_loop 12, Sfx_HyperBeam_branch_f2537
+	square_note 15, 15, 1, 1793
+	sound_ret
 
 Sfx_HyperBeam_Ch8:
-	noise __,  2, $d1, $49
-	noise __,  2, $d1, $29
-	loopchannel 26, Sfx_HyperBeam_Ch8
-	endchannel
+	noise_note 1, 13, 1, 73
+	noise_note 1, 13, 1, 41
+	sound_loop 26, Sfx_HyperBeam_Ch8
+	sound_ret
 
 Sfx_Unknown60_Ch8:
-	noise __,  7, $20, $10
-	noise __,  7, $2f, $40
-	noise __,  7, $4f, $41
-	noise __,  7, $8f, $41
-	noise __,  7, $cf, $42
-	noise __,  9, $d7, $42
-	noise __, 16, $e7, $43
-	noise __, 16, $f2, $43
-	endchannel
+	noise_note 6, 2, 0, 16
+	noise_note 6, 2, -7, 64
+	noise_note 6, 4, -7, 65
+	noise_note 6, 8, -7, 65
+	noise_note 6, 12, -7, 66
+	noise_note 8, 13, 7, 66
+	noise_note 15, 14, 7, 67
+	noise_note 15, 15, 2, 67
+	sound_ret
 
 Sfx_IntroWhoosh_Ch8:
-	noise __,  2, $10, $10
-	noise __,  3, $20, $10
-	noise __,  3, $30, $20
-	noise __,  3, $40, $20
-	noise __,  3, $50, $21
-	noise __,  3, $60, $22
-	noise __,  5, $70, $22
-	noise __,  9, $80, $22
-	noise __, 16, $94, $22
-	endchannel
+	noise_note 1, 1, 0, 16
+	noise_note 2, 2, 0, 16
+	noise_note 2, 3, 0, 32
+	noise_note 2, 4, 0, 32
+	noise_note 2, 5, 0, 33
+	noise_note 2, 6, 0, 34
+	noise_note 4, 7, 0, 34
+	noise_note 8, 8, 0, 34
+	noise_note 15, 9, 4, 34
+	sound_ret
 
 Sfx_Unknown61_Ch8:
-	noise __,  5, $d1, $41
-	endchannel
+	noise_note 4, 13, 1, 65
+	sound_ret
 
 Sfx_SwitchPockets_Ch8:
-	noise __,  5, $c1, $42
-	endchannel
+	noise_note 4, 12, 1, 66
+	sound_ret
 
 Sfx_Unknown63_Ch8:
-	noise __,  3, $6f, $21
-	noise __,  3, $af, $31
-	noise __, 16, $f2, $41
-	endchannel
+	noise_note 2, 6, -7, 33
+	noise_note 2, 10, -7, 49
+	noise_note 15, 15, 2, 65
+	sound_ret
 
 Sfx_Burn_Ch8:
-	noise __,  3, $d2, $32
-	noise __, 16, $f2, $43
-	endchannel
+	noise_note 2, 13, 2, 50
+	noise_note 15, 15, 2, 67
+	sound_ret
 
 Sfx_TitleScreenEntrance_Ch8:
-	noise __,  3, $70, $22
-	noise __,  3, $80, $23
-	noise __,  3, $90, $24
-	noise __,  3, $a0, $25
-	noise __,  3, $b0, $26
-	noise __, 16, $c2, $26
-	endchannel
+	noise_note 2, 7, 0, 34
+	noise_note 2, 8, 0, 35
+	noise_note 2, 9, 0, 36
+	noise_note 2, 10, 0, 37
+	noise_note 2, 11, 0, 38
+	noise_note 15, 12, 2, 38
+	sound_ret
 
 Sfx_Unknown66_Ch5:
-	dutycycle $2
-	sound __,  2, $f2, $06a0
-	sound __,  2, $f2, $06e0
-	sound __,  9, $f1, $0700
-	endchannel
+	duty_cycle 2
+	square_note 1, 15, 2, 1696
+	square_note 1, 15, 2, 1760
+	square_note 8, 15, 1, 1792
+	sound_ret
 
 Sfx_GetCoinFromSlots_Ch5:
-	dutycycle $2
-	sound __,  3, $f1, $0700
-	sound __,  9, $81, $07e0
-	endchannel
+	duty_cycle 2
+	square_note 2, 15, 1, 1792
+	square_note 8, 8, 1, 2016
+	sound_ret
 
 Sfx_PayDay_Ch5:
-	dutycycle $3
-	sound __,  6, $e1, $0700
-	sound __,  3, $e1, $0780
-	sound __, 16, $f1, $07c0
-	endchannel
+	duty_cycle 3
+	square_note 5, 14, 1, 1792
+	square_note 2, 14, 1, 1920
+	square_note 15, 15, 1, 1984
+	sound_ret
 
 Sfx_PayDay_Ch6:
-	dutycycle $2
-	sound __,  5, $c1, $06c1
-	sound __,  3, $c1, $0741
-	sound __, 16, $d1, $0781
-	endchannel
+	duty_cycle 2
+	square_note 4, 12, 1, 1729
+	square_note 2, 12, 1, 1857
+	square_note 15, 13, 1, 1921
+	sound_ret
 
 Sfx_Metronome_Ch5:
-	dutycycle $2
-	soundinput $5f
-	sound __,  5, $40, $07e0
-	sound __,  5, $60, $07e0
-	sound __,  5, $80, $07e0
-	sound __,  9, $a0, $07e0
-	sound __,  9, $a0, $07e0
-	sound __,  9, $80, $07e0
-	sound __,  9, $60, $07e0
-	sound __,  9, $30, $07e0
-	sound __, 16, $12, $07e0
-	soundinput $8
-	endchannel
+	duty_cycle 2
+	pitch_sweep 5, -7
+	square_note 4, 4, 0, 2016
+	square_note 4, 6, 0, 2016
+	square_note 4, 8, 0, 2016
+	square_note 8, 10, 0, 2016
+	square_note 8, 10, 0, 2016
+	square_note 8, 8, 0, 2016
+	square_note 8, 6, 0, 2016
+	square_note 8, 3, 0, 2016
+	square_note 15, 1, 2, 2016
+	pitch_sweep 0, 8
+	sound_ret
 
 Sfx_Unknown5F_Ch5:
-	sound __,  3, $f7, $0601
-	sound __,  3, $f7, $0701
-	loopchannel 8, Sfx_Unknown5F_Ch5
-	endchannel
+Sfx_Unknown5F_branch_f2617:
+	square_note 2, 15, 7, 1537
+	square_note 2, 15, 7, 1793
+	sound_loop 8, Sfx_Unknown5F_Ch5
+	sound_ret
 
 Sfx_Unknown5F_Ch6:
-	sound __,  2, $f7, $ffff
-	sound __,  3, $f7, $0602
-	sound __,  3, $f7, $0702
-	loopchannel 8, Sfx_Unknown5F_Ch5
-	endchannel
+	square_note 1, 15, 7, 65535
+	square_note 2, 15, 7, 1538
+	square_note 2, 15, 7, 1794
+	sound_loop 8, Sfx_Unknown5F_branch_f2617
+	sound_ret
 
 Sfx_Fanfare2_Ch5:
-	togglesfx
-	sfxpriorityon
+	toggle_sfx
+	sfx_priority_on
 	tempo 256
-	volume $77
-	tone $0001
-	dutycycle $3
-	notetype $6, $b5
+	volume 7, 7
+	pitch_offset 1
+	duty_cycle 3
+	note_type 6, 11, 5
 	octave 3
 	note G#, 4
-	notetype $4, $b2
+	note_type 4, 11, 2
 	note F_, 2
 	note G#, 2
 	note A_, 2
@@ -4814,59 +4999,59 @@
 	octave 4
 	note C_, 4
 	note C_, 2
-	notetype $4, $b6
+	note_type 4, 11, 6
 	note C#, 12
-	sfxpriorityoff
-	endchannel
+	sfx_priority_off
+	sound_ret
 
 Sfx_Fanfare2_Ch6:
-	togglesfx
-	dutycycle $2
-	notetype $6, $c5
+	toggle_sfx
+	duty_cycle 2
+	note_type 6, 12, 5
 	octave 4
 	note C#, 6
-	notetype $4, $c1
+	note_type 4, 12, 1
 	note C#, 1
 	note C#, 1
 	note C#, 1
-	notetype $4, $c2
+	note_type 4, 12, 2
 	note D#, 2
 	note C#, 2
 	note D#, 2
 	note E_, 4
 	note E_, 2
-	notetype $4, $c6
+	note_type 4, 12, 6
 	note F_, 12
-	endchannel
+	sound_ret
 
 Sfx_Fanfare2_Ch8:
-	togglesfx
-	notetype $6
+	toggle_sfx
+	drum_speed 6
 	note C_, 1
 	octave 5
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 2
-	note __, 2
-	notetype $4
+	rest 2
+	drum_speed 4
 	note C_, 1
 	note C#, 2
-	note __, 2
+	rest 2
 	note C#, 2
 	note D#, 2
-	note __, 2
+	rest 2
 	note F_, 2
 	note G#, 6
-	endchannel
+	sound_ret
 
 Sfx_Fanfare_Ch5:
-	togglesfx
-	sfxpriorityon
+	toggle_sfx
+	sfx_priority_on
 	tempo 256
-	volume $77
-	dutycycle $3
-	tone $0001
-	notetype $6, $b3
+	volume 7, 7
+	duty_cycle 3
+	pitch_offset 1
+	note_type 6, 11, 3
 	octave 3
 	note F_, 4
 	note C#, 4
@@ -4876,7 +5061,7 @@
 	note F_, 4
 	note A#, 4
 	note F#, 4
-	notetype $4, $b3
+	note_type 4, 11, 3
 	note A#, 4
 	note B_, 4
 	octave 4
@@ -4884,18 +5069,18 @@
 	note C#, 4
 	note D#, 4
 	note C_, 4
-	notetype $4, $b6
+	note_type 4, 11, 6
 	note C#, 12
-	sfxpriorityoff
-	endchannel
+	sfx_priority_off
+	sound_ret
 
 Sfx_Fanfare_Ch6:
-	togglesfx
-	dutycycle $2
-	notetype $6, $c4
+	toggle_sfx
+	duty_cycle 2
+	note_type 6, 12, 4
 	octave 4
 	note C#, 4
-	notetype $4, $c4
+	note_type 4, 12, 4
 	note C#, 2
 	octave 3
 	note A#, 2
@@ -4921,25 +5106,25 @@
 	note F_, 4
 	note F#, 4
 	note G#, 4
-	notetype $4, $c6
+	note_type 4, 12, 6
 	note F#, 12
-	endchannel
+	sound_ret
 
 Sfx_Fanfare_Ch8:
-	togglesfx
-	notetype $6
+	toggle_sfx
+	drum_speed 6
 	note C_, 1
 	octave 4
 	note A#, 4
-	note __, 4
+	rest 4
 	note B_, 4
-	note __, 4
+	rest 4
 	octave 5
 	note C#, 4
-	note __, 4
+	rest 4
 	note D#, 4
-	note __, 4
-	notetype $4
+	rest 4
+	drum_speed 4
 	note C_, 1
 	note F_, 4
 	note D#, 4
@@ -4948,84 +5133,87 @@
 	note G#, 4
 	note F_, 4
 	note F#, 6
-	endchannel
+	sound_ret
 
 Sfx_HangUp_Ch5:
-	dutycycle $2
-	sound __,  5, $b8, $077b
-	sound __,  3, $21, $077b
-	sound C_,  1, $0, 0
+	duty_cycle 2
+	square_note 4, 11, 8, 1915
+	square_note 2, 2, 1, 1915
+	square_note 16, 0, 0, 0
 Sfx_NoSignal_Ch5:
-	dutycycle $2
-	sound C_,  5, $e8, $070b
-	sound C_, 13, $0, 0
-	loopchannel 3, Sfx_NoSignal_Ch5
-	endchannel
+	duty_cycle 2
+	square_note 20, 14, 8, 1803
+	square_note 28, 0, 0, 0
+	sound_loop 3, Sfx_NoSignal_Ch5
+	sound_ret
 
-Sfx_Sandstorm_Ch8:
 Sfx_Unknown5F_Ch8:
-	noise __,  2, $f8, $41
-	noise __,  3, $9c, $24
-	noise __,  1, $0, $0
-	noise __,  4, $59, $16
-	noise __,  3, $0, $0
-	loopchannel 3, Sfx_Sandstorm_Ch8
-	endchannel
+Sfx_Sandstorm_Ch8:
+	noise_note 1, 15, 8, 65
+	noise_note 2, 9, -4, 36
+	noise_note 0, 0, 0, 0
+	noise_note 3, 5, -1, 22
+	noise_note 2, 0, 0, 0
+	sound_loop 3, Sfx_Sandstorm_Ch8
+	sound_ret
 
 Sfx_Elevator_Ch5:
-	dutycycle $2
-	soundinput $5a
-.loop
-	sound __,  3, $f1, $0300
-	loopchannel 48, .loop
-	soundinput $8
-	dutycycle $2
-	sound __, 16, $f3, $0730
-	sound __,  9, $65, $0730
-	sound __, 16, $f4, $0700
-	sound __, 16, $74, $0700
-	sound __, 16, $44, $0700
-	sound __, 16, $24, $0700
-	endchannel
+	duty_cycle 2
+	pitch_sweep 5, -2
+Sfx_Elevator_branch_f2726:
+	square_note 2, 15, 1, 768
+	sound_loop 48, Sfx_Elevator_branch_f2726
+	pitch_sweep 0, 8
+	duty_cycle 2
+	square_note 15, 15, 3, 1840
+	square_note 8, 6, 5, 1840
+	square_note 15, 15, 4, 1792
+	square_note 15, 7, 4, 1792
+	square_note 15, 4, 4, 1792
+	square_note 15, 2, 4, 1792
+	sound_ret
 
 Sfx_Elevator_Ch6:
 Sfx_Elevator_Ch7:
-	sound F_,  1, $0, 0
-	sound E_,  4, $0, 0
-	endchannel
+	square_note 96, 0, 0, 0
+	square_note 83, 0, 0, 0
+	sound_ret
 
 Sfx_Elevator_Ch8:
-	noise F_,  1, $0, $0
-	noise E_,  4, $0, $0
-	endchannel
+	noise_note 96, 0, 0, 0
+	noise_note 83, 0, 0, 0
+	sound_ret
 
 Sfx_StopSlot:
-	musicheader 1, 5, Sfx_StopSlot_Ch5
+	channel_count 1
+	channel 5, Sfx_StopSlot_Ch5
 
 Sfx_StopSlot_Ch5:
-	dutycycle $2
-	sound __,  2, $f8, $0760
-	sound __,  5, $82, $0760
-	endchannel
+	duty_cycle 2
+	square_note 1, 15, 8, 1888
+	square_note 4, 8, 2, 1888
+	sound_ret
 
 Sfx_GlassTing:
-	musicheader 1, 5, Sfx_GlassTing_Ch5
+	channel_count 1
+	channel 5, Sfx_GlassTing_Ch5
 
 Sfx_GlassTing_Ch5:
-	dutycycle $2
-	sound C#,  1, $d1, $07dc
-	endchannel
+	duty_cycle 2
+	square_note 32, 13, 1, 2012
+	sound_ret
 
 Sfx_GlassTing2:
-	musicheader 2, 5, Sfx_GlassTing2_Ch5
-	musicheader 1, 6, Sfx_GlassTing2_Ch6
+	channel_count 2
+	channel 5, Sfx_GlassTing2_Ch5
+	channel 6, Sfx_GlassTing2_Ch6
 
 Sfx_GlassTing2_Ch5:
-	dutycycle $2
-	sound C_,  1, $f1, $07dc
-	endchannel
+	duty_cycle 2
+	square_note 16, 15, 1, 2012
+	sound_ret
 
 Sfx_GlassTing2_Ch6:
-	dutycycle $2
-	sound C_,  1, $d1, $07dd
-	endchannel
+	duty_cycle 2
+	square_note 16, 13, 1, 2013
+	sound_ret
--- a/audio/sfx_crystal.asm
+++ b/audio/sfx_crystal.asm
@@ -1,152 +1,164 @@
 Sfx_IntroUnown1:
-	musicheader 1, 5, Sfx_IntroUnown1_Ch5
+	channel_count 1
+	channel 5, Sfx_IntroUnown1_Ch5
 
 Sfx_IntroUnown1_Ch5:
-	vibrato $1, $a3
-	dutycycle $2
-	sound __,  9, $39, $0705
-	sound C#,  1, $e2, $0705
-	endchannel
+	vibrato 1, 10, 3
+	duty_cycle 2
+	square_note 8, 3, -1, 1797
+	square_note 32, 14, 2, 1797
+	sound_ret
 
 Sfx_IntroUnown2:
-	musicheader 1, 6, Sfx_IntroUnown2_Ch6
+	channel_count 1
+	channel 6, Sfx_IntroUnown2_Ch6
 
 Sfx_IntroUnown2_Ch6:
-	vibrato $1, $73
-	dutycycle $2
-	sound __,  9, $39, $0758
-	sound C#,  1, $e2, $0758
-	endchannel
+	vibrato 1, 7, 3
+	duty_cycle 2
+	square_note 8, 3, -1, 1880
+	square_note 32, 14, 2, 1880
+	sound_ret
 
 Sfx_IntroUnown3:
-	musicheader 1, 7, Sfx_IntroUnown3_Ch7
+	channel_count 1
+	channel 7, Sfx_IntroUnown3_Ch7
 
 Sfx_IntroUnown3_Ch7:
-	vibrato $1, $53
-	sound __,  4, $32, $07c2
-	sound __,  4, $22, $07c2
-	sound __,  4, $12, $07c2
-	sound C_,  1, $12, $07c2
-	sound __,  7, $22, $07c2
-	sound __,  7, $32, $07c2
-	endchannel
+	vibrato 1, 5, 3
+	square_note 3, 3, 2, 1986
+	square_note 3, 2, 2, 1986
+	square_note 3, 1, 2, 1986
+	square_note 16, 1, 2, 1986
+	square_note 6, 2, 2, 1986
+	square_note 6, 3, 2, 1986
+	sound_ret
 
 Sfx_DittoPopUp:
-	musicheader 1, 5, Sfx_DittoPopUp_Ch5
+	channel_count 1
+	channel 5, Sfx_DittoPopUp_Ch5
 
 Sfx_DittoPopUp_Ch5:
-	dutycycle $2
-	soundinput $1e
-	sound __,  4, $82, $0700
-	sound __,  2, $31, $0701
-	soundinput $16
-	sound __,  5, $b1, $0640
-	sound C_,  1, $31, $0641
-	endchannel
+	duty_cycle 2
+	pitch_sweep 1, -6
+	square_note 3, 8, 2, 1792
+	square_note 1, 3, 1, 1793
+	pitch_sweep 1, 6
+	square_note 4, 11, 1, 1600
+	square_note 16, 3, 1, 1601
+	sound_ret
 
 Sfx_DittoTransform:
-	musicheader 1, 5, Sfx_DittoTransform_Ch5
+	channel_count 1
+	channel 5, Sfx_DittoTransform_Ch5
 
 Sfx_DittoTransform_Ch5:
-	dutycycle $1
-	soundinput $26
-	sound C_,  5, $3b, $0440
-	sound __,  5, $97, $04c0
-	sound __,  5, $67, $04c1
-	sound __,  5, $42, $04c2
-	endchannel
+	duty_cycle 1
+	pitch_sweep 2, 6
+	square_note 20, 3, -3, 1088
+	square_note 4, 9, 7, 1216
+	square_note 4, 6, 7, 1217
+	square_note 4, 4, 2, 1218
+	sound_ret
 
 Sfx_IntroSuicune1:
-	musicheader 1, 8, Sfx_IntroSuicune1_Ch8
+	channel_count 1
+	channel 8, Sfx_IntroSuicune1_Ch8
 
 Sfx_IntroSuicune1_Ch8:
-	noise __,  2, $58, $59
-	noise __,  3, $91, $23
-	endchannel
+	noise_note 1, 5, 8, 89
+	noise_note 2, 9, 1, 35
+	sound_ret
 
 Sfx_IntroPichu:
-	musicheader 1, 5, Sfx_IntroPichu_Ch5
+	channel_count 1
+	channel 5, Sfx_IntroPichu_Ch5
 
 Sfx_IntroPichu_Ch5:
-	dutycycle $3
-	soundinput $4d
-	sound __,  2, $88, $0770
-	sound __,  4, $0, 0
-	soundinput $17
-	sound __,  3, $88, $0776
-	endchannel
+	duty_cycle 3
+	pitch_sweep 4, -5
+	square_note 1, 8, 8, 1904
+	square_note 3, 0, 0, 0
+	pitch_sweep 1, 7
+	square_note 2, 8, 8, 1910
+	sound_ret
 
 Sfx_IntroSuicune2:
-	musicheader 1, 8, Sfx_IntroSuicune2_Ch8
+	channel_count 1
+	channel 8, Sfx_IntroSuicune2_Ch8
 
 Sfx_IntroSuicune2_Ch8:
-	noise __,  2, $a7, $31
-	noise __,  2, $91, $0
-	noise __,  2, $92, $21
-	noise __,  2, $91, $0
-	noise __,  2, $92, $22
-	noise __,  2, $82, $11
-	noise __,  2, $82, $22
-	noise __,  2, $72, $11
-	noise __,  2, $72, $12
-	noise __,  2, $62, $10
-	noise __,  2, $63, $0
-	noise __,  2, $53, $10
-	noise __,  2, $43, $0
-	noise __,  2, $33, $10
-	noise __,  2, $23, $0
-	noise __,  2, $13, $10
-	endchannel
+	noise_note 1, 10, 7, 49
+	noise_note 1, 9, 1, 0
+	noise_note 1, 9, 2, 33
+	noise_note 1, 9, 1, 0
+	noise_note 1, 9, 2, 34
+	noise_note 1, 8, 2, 17
+	noise_note 1, 8, 2, 34
+	noise_note 1, 7, 2, 17
+	noise_note 1, 7, 2, 18
+	noise_note 1, 6, 2, 16
+	noise_note 1, 6, 3, 0
+	noise_note 1, 5, 3, 16
+	noise_note 1, 4, 3, 0
+	noise_note 1, 3, 3, 16
+	noise_note 1, 2, 3, 0
+	noise_note 1, 1, 3, 16
+	sound_ret
 
 Sfx_IntroSuicune3:
-	musicheader 1, 8, Sfx_IntroSuicune3_Ch8
+	channel_count 1
+	channel 8, Sfx_IntroSuicune3_Ch8
 
 Sfx_IntroSuicune3_Ch8:
-	noise __,  2, $88, $31
-	noise __,  9, $39, $11
-	noise __,  5, $a4, $10
-	noise __,  5, $44, $10
-	noise __,  5, $24, $10
-	endchannel
+	noise_note 1, 8, 8, 49
+	noise_note 8, 3, -1, 17
+	noise_note 4, 10, 4, 16
+	noise_note 4, 4, 4, 16
+	noise_note 4, 2, 4, 16
+	sound_ret
 
 Sfx_DittoBounce:
-	musicheader 1, 5, Sfx_DittoBounce_Ch5
+	channel_count 1
+	channel 5, Sfx_DittoBounce_Ch5
 
 Sfx_DittoBounce_Ch5:
-	dutycycle $2
-	soundinput $2c
-	sound __,  3, $82, $04b0
-	sound __,  1, $31, $04b0
-	soundinput $34
-	sound C_,  1, $b1, $0420
-	endchannel
+	duty_cycle 2
+	pitch_sweep 2, -4
+	square_note 2, 8, 2, 1200
+	square_note 0, 3, 1, 1200
+	pitch_sweep 3, 4
+	square_note 16, 11, 1, 1056
+	sound_ret
 
 Sfx_IntroSuicune4:
-	musicheader 1, 8, Sfx_IntroSuicune4_Ch8
+	channel_count 1
+	channel 8, Sfx_IntroSuicune4_Ch8
 
 Sfx_IntroSuicune4_Ch8:
-	noise __,  2, $a1, $5c
-	noise __,  1, $0, $0
-	noise __,  2, $c1, $4d
-	noise __,  1, $0, $0
-	noise __,  5, $b2, $31
-	noise __,  1, $0, $0
-	noise __,  5, $a2, $2
-	noise __,  1, $0, $0
-	noise __,  5, $92, $1
-	noise __,  1, $0, $0
-	noise C#,  1, $72, $0
-	endchannel
+	noise_note 1, 10, 1, 92
+	noise_note 0, 0, 0, 0
+	noise_note 1, 12, 1, 77
+	noise_note 0, 0, 0, 0
+	noise_note 4, 11, 2, 49
+	noise_note 0, 0, 0, 0
+	noise_note 4, 10, 2, 2
+	noise_note 0, 0, 0, 0
+	noise_note 4, 9, 2, 1
+	noise_note 0, 0, 0, 0
+	noise_note 32, 7, 2, 0
+	sound_ret
 
 Sfx_GameFreakPresents:
-	musicheader 1, 5, Sfx_GameFreakPresents_Ch5
+	channel_count 1
+	channel 5, Sfx_GameFreakPresents_Ch5
 
 Sfx_GameFreakPresents_Ch5:
-	togglesfx
-	dutycycle $2
-	notetype $2, $b1
-	soundinput $ff
-	pitchoffset 1, A#
+	toggle_sfx
+	duty_cycle 2
+	note_type 2, 11, 1
+	pitch_sweep 15, -7
+	transpose 1, 10
 	octave 5
 	note C_, 2
 	note E_, 2
@@ -155,23 +167,24 @@
 	note C_, 2
 	note E_, 2
 	note G_, 3
-	intensity $81
+	volume_envelope 8, 1
 	note G_, 3
-	intensity $51
+	volume_envelope 5, 1
 	note G_, 3
-	intensity $31
+	volume_envelope 3, 1
 	note G_, 3
-	endchannel
+	sound_ret
 
 Sfx_Tingle:
-	musicheader 1, 5, Sfx_Tingle_Ch5
+	channel_count 1
+	channel 5, Sfx_Tingle_Ch5
 
 Sfx_Tingle_Ch5:
-	togglesfx
-	dutycycle $1
-	pitchoffset 0, B_
-	notetype $1, $b1
-.loop
+	toggle_sfx
+	duty_cycle 1
+	transpose 0, 11
+	note_type 1, 11, 1
+Sfx_Tingle_branch_17996c:
 	octave 5
 	note C_, 3
 	octave 6
@@ -178,92 +191,95 @@
 	note G_, 2
 	octave 5
 	note C_, 3
-	note __, 2
-	loopchannel 2, .loop
+	rest 2
+	sound_loop 2, Sfx_Tingle_branch_17996c
 	note C_, 2
-	intensity $a1
+	volume_envelope 10, 1
 	note G_, 13
-	endchannel
+	sound_ret
 
 Sfx_TwoPcBeeps:
-	musicheader 1, 5, Sfx_TwoPcBeeps_Ch5
+	channel_count 1
+	channel 5, Sfx_TwoPcBeeps_Ch5
 
 Sfx_TwoPcBeeps_Ch5:
-	dutycycle $2
-	sound __,  3, $e8, $07c2
-	sound __,  3, $28, $07c2
-	sound __,  3, $e8, $07c2
-	sound __,  3, $28, $07c2
-	endchannel
+	duty_cycle 2
+	square_note 2, 14, 8, 1986
+	square_note 2, 2, 8, 1986
+	square_note 2, 14, 8, 1986
+	square_note 2, 2, 8, 1986
+	sound_ret
 
 Sfx_4NoteDitty:
-	musicheader 3, 5, Sfx_4NoteDitty_Ch5
-	musicheader 1, 6, Sfx_4NoteDitty_Ch6
-	musicheader 1, 7, Sfx_4NoteDitty_Ch7
+	channel_count 3
+	channel 5, Sfx_4NoteDitty_Ch5
+	channel 6, Sfx_4NoteDitty_Ch6
+	channel 7, Sfx_4NoteDitty_Ch7
 
 Sfx_4NoteDitty_Ch5:
-	togglesfx
-	dutycycle $2
-	notetype $2, $e8
-	pitchoffset 0, D_
+	toggle_sfx
+	duty_cycle 2
+	note_type 2, 14, 8
+	transpose 0, 2
 	octave 4
 	note C_, 2
-	intensity $48
+	volume_envelope 4, 8
 	note C_, 2
-	intensity $e8
+	volume_envelope 14, 8
 	note G_, 2
-	intensity $48
+	volume_envelope 4, 8
 	note G_, 2
 	octave 5
-	intensity $e8
+	volume_envelope 14, 8
 	note E_, 2
-	intensity $48
+	volume_envelope 4, 8
 	note E_, 2
 	octave 6
-	intensity $e8
+	volume_envelope 14, 8
 	note C_, 2
-	intensity $43
+	volume_envelope 4, 3
 	note C_, 16
-	endchannel
+	sound_ret
 
 Sfx_4NoteDitty_Ch6:
-	togglesfx
-	notetype $2, $b8
-	note __, 9
-	note __, 16
-	endchannel
+	toggle_sfx
+	note_type 2, 11, 8
+	rest 9
+	rest 16
+	sound_ret
 
 Sfx_4NoteDitty_Ch7:
-	togglesfx
-	notetype $2, $b8
-	note __, 9
-	note __, 16
-	endchannel
+	toggle_sfx
+	note_type 2, 11, 8
+	rest 9
+	rest 16
+	sound_ret
 
 Sfx_Twinkle:
-	musicheader 1, 5, Sfx_Twinkle_Ch5
+	channel_count 1
+	channel 5, Sfx_Twinkle_Ch5
 
 Sfx_Twinkle_Ch5:
-	togglesfx
-	dutycycle $0
-	pitchoffset 0, D_
-	notetype $2, $e1
+	toggle_sfx
+	duty_cycle 0
+	transpose 0, 2
+	note_type 2, 14, 1
 	octave 3
 	note G_, 2
-	intensity $b1
+	volume_envelope 11, 1
 	octave 4
 	note D_, 2
-	intensity $e1
+	volume_envelope 14, 1
 	note B_, 2
-	intensity $b1
+	volume_envelope 11, 1
 	note G_, 2
-	intensity $e1
+	volume_envelope 14, 1
 	octave 5
 	note D_, 2
-	intensity $b1
+	volume_envelope 11, 1
 	octave 4
 	note B_, 2
-	intensity $e1
+	volume_envelope 14, 1
 	octave 5
 	note G_, 6
-	endchannel
+	sound_ret
--- a/audio/sfx_pointers.asm
+++ b/audio/sfx_pointers.asm
@@ -148,7 +148,7 @@
 	dba Sfx_KeyItem
 	dba Sfx_Fanfare2
 	dba Sfx_RegisterPhoneNumber
-	dba Sfx_3RdPlace
+	dba Sfx_3rdPlace
 	dba Sfx_GetEgg
 	dba Sfx_GetEgg
 	dba Sfx_MoveDeleted
--- a/constants/audio_constants.asm
+++ b/constants/audio_constants.asm
@@ -1,7 +1,6 @@
 ; pitch
 ; FrequencyTable indexes (see audio/notes.asm)
-	const_def
-	const __ ; 0
+	const_def 1
 	const C_ ; 1
 	const C# ; 2
 	const D_ ; 3
@@ -14,7 +13,6 @@
 	const A_ ; a
 	const A# ; b
 	const B_ ; c
-	const CC ; d (used for pitchoffset)
 
 ; channel
 ; ChannelPointers indexes (see audio/engine.asm)
@@ -42,26 +40,26 @@
 CHANNEL_NOTE_FLAGS                  EQUS "(wChannel1NoteFlags - wChannel1)"
 CHANNEL_CONDITION                   EQUS "(wChannel1Condition - wChannel1)"
 CHANNEL_DUTY_CYCLE                  EQUS "(wChannel1DutyCycle - wChannel1)"
-CHANNEL_INTENSITY                   EQUS "(wChannel1Intensity - wChannel1)"
+CHANNEL_VOLUME_ENVELOPE             EQUS "(wChannel1VolumeEnvelope - wChannel1)"
 CHANNEL_FREQUENCY                   EQUS "(wChannel1Frequency - wChannel1)"
 CHANNEL_PITCH                       EQUS "(wChannel1Pitch - wChannel1)"
 CHANNEL_OCTAVE                      EQUS "(wChannel1Octave - wChannel1)"
-CHANNEL_PITCH_OFFSET                EQUS "(wChannel1PitchOffset - wChannel1)"
+CHANNEL_TRANSPOSITION               EQUS "(wChannel1Transposition - wChannel1)"
 CHANNEL_NOTE_DURATION               EQUS "(wChannel1NoteDuration - wChannel1)"
 CHANNEL_FIELD16                     EQUS "(wChannel1Field16 - wChannel1)"
 CHANNEL_LOOP_COUNT                  EQUS "(wChannel1LoopCount - wChannel1)"
 CHANNEL_TEMPO                       EQUS "(wChannel1Tempo - wChannel1)"
 CHANNEL_TRACKS                      EQUS "(wChannel1Tracks - wChannel1)"
-CHANNEL_SFX_DUTY_LOOP               EQUS "(wChannel1SFXDutyLoop - wChannel1)"
+CHANNEL_DUTY_CYCLE_PATTERN          EQUS "(wChannel1DutyCyclePattern - wChannel1)"
 CHANNEL_VIBRATO_DELAY_COUNT         EQUS "(wChannel1VibratoDelayCount - wChannel1)"
 CHANNEL_VIBRATO_DELAY               EQUS "(wChannel1VibratoDelay - wChannel1)"
 CHANNEL_VIBRATO_EXTENT              EQUS "(wChannel1VibratoExtent - wChannel1)"
 CHANNEL_VIBRATO_RATE                EQUS "(wChannel1VibratoRate - wChannel1)"
-CHANNEL_PITCH_WHEEL_TARGET          EQUS "(wChannel1PitchWheelTarget - wChannel1)"
-CHANNEL_PITCH_WHEEL_AMOUNT          EQUS "(wChannel1PitchWheelAmount - wChannel1)"
-CHANNEL_PITCH_WHEEL_AMOUNT_FRACTION EQUS "(wChannel1PitchWheelAmountFraction - wChannel1)"
+CHANNEL_PITCH_SLIDE_TARGET          EQUS "(wChannel1PitchSlideTarget - wChannel1)"
+CHANNEL_PITCH_SLIDE_AMOUNT          EQUS "(wChannel1PitchSlideAmount - wChannel1)"
+CHANNEL_PITCH_SLIDE_AMOUNT_FRACTION EQUS "(wChannel1PitchSlideAmountFraction - wChannel1)"
 CHANNEL_FIELD25                     EQUS "(wChannel1Field25 - wChannel1)"
-CHANNEL_CRY_PITCH                   EQUS "(wChannel1CryPitch - wChannel1)"
+CHANNEL_PITCH_OFFSET                EQUS "(wChannel1PitchOffset - wChannel1)"
 CHANNEL_FIELD29                     EQUS "(wChannel1Field29 - wChannel1)"
 CHANNEL_FIELD2A                     EQUS "(wChannel1Field2a - wChannel1)"
 CHANNEL_FIELD2C                     EQUS "(wChannel1Field2c - wChannel1)"
@@ -84,19 +82,19 @@
 
 ; Flags2
 	const_def
-	const SOUND_VIBRATO     ; 0
-	const SOUND_PITCH_WHEEL ; 1
-	const SOUND_DUTY        ; 2
-	const SOUND_UNKN_0B     ; 3
-	const SOUND_CRY_PITCH   ; 4
-	const SOUND_UNKN_0D     ; 5
-	const SOUND_UNKN_0E     ; 6
-	const SOUND_UNKN_0F     ; 7
+	const SOUND_VIBRATO      ; 0
+	const SOUND_PITCH_SLIDE  ; 1
+	const SOUND_DUTY_LOOP    ; 2
+	const SOUND_UNKN_0B      ; 3
+	const SOUND_PITCH_OFFSET ; 4
+	const SOUND_UNKN_0D      ; 5
+	const SOUND_UNKN_0E      ; 6
+	const SOUND_UNKN_0F      ; 7
 
 ; Flags3
 	const_def
 	const SOUND_VIBRATO_DIR     ; 0
-	const SOUND_PITCH_WHEEL_DIR ; 1
+	const SOUND_PITCH_SLIDE_DIR ; 1
 
 ; NoteFlags
 	const_def
@@ -103,7 +101,7 @@
 	const NOTE_DUTY_OVERRIDE    ; 0
 	const NOTE_FREQ_OVERRIDE    ; 1
 	const NOTE_UNUSED           ; 2
-	const NOTE_UNKN_3           ; 3
+	const NOTE_PITCH_SWEEP      ; 3
 	const NOTE_NOISE_SAMPLING   ; 4
 	const NOTE_REST             ; 5
 	const NOTE_VIBRATO_OVERRIDE ; 6
--- a/docs/music_commands.md
+++ b/docs/music_commands.md
@@ -2,148 +2,201 @@
 
 Defined in [macros/scripts/audio.asm](https://github.com/pret/pokecrystal/blob/master/macros/scripts/audio.asm) and [audio/engine.asm:MusicCommands](https://github.com/pret/pokecrystal/blob/master/audio/engine.asm).
 
-*See also: [Sound Engine Commands](https://github.com/pret/pokecrystal/blob/master/wiki/Sound-Engine-Commands)*
+Note: Commands that are intended for the song channels (1-4) can be used by the sound effect channels (5-8) if the sound effect channel exits sound effect mode with the `toggle_sfx` command.
 
 
-## <code>musicheader <i>n</i>, <i>index</i>, <i>address</i></code>
+## <code>channel_count <i>n</i></code>
 
+Used at the start of each sound header to specify how many channels are used in the sound.  
+`n`: Number of channels [`1`, `4`]
 
+
+## <code>channel <i>index</i>, <i>address</i></code>
+
+Used for each channel in a sound header.  
+`index`: Channel number [`1`, `8`]  
+`address`: Pointer to the sound data
+
+
 ## <code>note <i>pitch</i>, <i>length</i></code>
 
-(Used on all channels)
+Play a basic note. Used by channels 1-3.  
+`pitch`: Pitch of note (see [constants/audio_constants.asm](https://github.com/pret/pokecrystal/blob/master/constants/audio_constants.asm))  
+`length`: Length of note in "ticks" [`1`, `16`]. The exact duration of a tick is dependant on the current "speed" (see `note_type` and `drum_speed`) and the current "tempo" (see `tempo`).
 
-The high nibble is the note to play. 0 is rest, 1 is `C_`, 2 is `C#`, etc; `$C` is `B_`.
-The low nibble is the length of the note. 1 gets added to this, so 0 still has a length.
 
+## <code>drum_note <i>instrument</i>, <i>length</i></code>
 
-## <code>sound <i>pitch</i>, <i>octave</i>, <i>intensity</i>, <i>frequency</i></code>
+Play a predefined drum note. Used by channel 4.  
+`instrument`: Instrument ID [`1`, `12`] (see `toggle_noise`)  
+`length`: Length of note [`1`, `16`]
 
 
-## <code>noise <i>pitch</i>, <i>duration</i>, <i>intensity</i>, <i>frequency</i></code>
+## <code>rest <i>length</i></code>
 
+Basic rest. Used by channels 1-4.  
+`length`: Length of rest [`1`, `16`]
 
-## `$D0`−`$D7`: <code>octave <i>n</i></code>
 
-(Used in channels 1-3)
+## <code>square_note <i>length</i>, <i>volume</i>, <i>fade</i>, <i>frequency</i></code>
 
-Sets the octave for the notes played on the channel.
-`$D7` is the lowest octave, whereas `$D0` is the highest.
+Sound effect square note. Used by channels 5-7.  
+`length`: Length of note [`0`, `255`]  
+`volume`: Initial volume [`0`, `15`]  
+`fade`: Volume fade [`-7`, `7`]  
+`frequency`: Note frequency [`0`, `65535`]
 
 
-## `$D8`: <code>notetype <i>length</i>[, <i>intensity</i>]</code>
+## <code>noise_note <i>length</i>, <i>volume</i>, <i>fade</i>, <i>frequency</i></code>
 
-(Used in channels 1-4) (When using in channel 4, the *intensity* byte is not needed)
+Sound effect noise note. Used by channel 8.  
+`length`: Length of note [`0`, `255`]  
+`volume`: Initial volume [`0`, `15`]  
+`fade`: Volume fade [`-7`, `7`]  
+`frequency`: Note frequency [`0`, `255`]
 
-Sets the length multiplier of notes on the channel, and the envelope for channels 1-3 (see `intensity`).
-The first byte only reads the lower 4 bits, and multiplies it by the note length. A larger number means slower playback/longer notes. `$C` is commonly used for a normal timeframe.
 
-The second byte is identical to the first byte in the `intensity` command.
+## `$D0`−`$D7`: <code>octave <i>n</i></code>
 
+Set the octave for the notes played on the current channel. Used by channels 1-3.  
+`n`: New octave [`1`, `8`]
 
-## `$D9`: <code>pitchoffset <i>octave</i>, <i>key</i></code>
 
-(Used in channels 1-3)
+## `$D8`: <code>note_type <i>length</i>, <i>volume</i>, <i>fade/wave_instrument</i></code>
 
-Transposes all notes played on the channel by a value.
-The high nibble determins how many octaves to subtract, while the low nibble is how many note values to add.
-Ex: Setting a value of `$13` would make a `C_`4 play as a `D#`3.
+Set persistent note properties. Used by channels 1-3.  
+`length`: Base note length [`1`, `15`] (`12` is often used for 4/4 common time because `12` is factorable by both `3` and `4`. Therefore it works very well for quarter notes, eighth notes, sixteenth notes, and triplets.)  
+`volume`: Initial volume [`0`, `15`] for channels 1-2, [`0`, `3`] for channel 3 (see `volume_envelope`)  
+`fade`: Volume fade [`-7`, `7`] (applies to channels 1-2)  
+`wave_instrument`: Wave instrument ID (applies to channel 3) (see [audio/wave_samples.asm](https://github.com/pret/pokecrystal/blob/master/audio/wave_samples.asm))
 
 
-## `$DA`: <code>tempo <i>tempo</i></code>
+## `$D8`: <code>drum_speed <i>length</i></code>
 
-(Used in channel 1)
+Set persistent note properties. Used by channel 4.  
+`length`: Base note length [`1`, `15`] (use `12` for common time)
 
-Sets the tempo for all playing channels. This should only be called on channel 1.
 
-The formula to convert from this tempo to BPM is: BPM = 19200 / Tempo
-This formula also works backwards to convert BPM to tempo: Tempo = 19200 / BPM
+## `$D9`: <code>transpose <i>num_octaves</i>, <i>num_pitches</i></code>
 
-Only set or change this value when all playing channels are triggering a note or rest at the same time, otherwise desyncs may happen.
+Transpose all notes played on the current channel. Used by channels 1-3.  
+`num_octaves`: Number of octaves to subtract from each note  
+`num_pitches`: Number of pitches to add to each note
 
 
-## `$DB`: <code>dutycycle <i>duty_cycle</i></code>
+## `$DA`: <code>tempo <i>tempo</i></code>
 
-(Used on channels 1&2)
+Set the tempo for all playing channels. This should only be used by channel 1.
 
-Sets the square duty (sound) for the current channel. To change the sound for channel 3, use intensity. The only accepted values are 0-3.
+The formula to convert from this tempo to BPM is: BPM = 19200 / `tempo`  
+This formula also works backwards to convert BPM to tempo: `tempo` = 19200 / BPM
 
+Only set or change this value when all playing channels are triggering a note or rest at the same time, otherwise desyncs may happen.
+
+
+## `$DB`: <code>duty_cycle <i>duty_cycle</i></code>
+
+Set the square duty (sound) for the current channel. Used by channels 1-2.  
+The only accepted values are 0-3.
+
 - 0 = 12.5% waveform: `_______¯`
 - 1 = 25% waveform: `______¯¯`
 - 2 = 50% waveform: `____¯¯¯¯`
 - 3 = 75% waveform: `__¯¯¯¯¯¯` (sounds the same as 25%)
 
+To change the sound for channel 3, use `note_type` or `volume_envelope`.
 
-## `$DC`: <code>intensity <i>intensity</i></code>
 
-(Used on channels 1-3) (Used to set instrument on channel 3)
+## `$DC`: <code>volume_envelope <i>volume</i>, <i>fade/wave_instrument</i></code>
 
-For channels 1&2:
-This sets the volume and fade of the notes. The high nibble is the starting volume, 0 is mute, $F is max. Bit 3 determines the fade direction (0=Fade to silence, 1=Fade to max volume). The last 3 bits is how fast the fade happens. 0 is no fade, 1 is fastest fade, 7 is slowest fade.
+Set the volume envelope for the current channel. Used by channels 1-3.  
+`volume`: Initial volume [`0`, `15`] for channels 1-2, [`0`, `3`] for channel 3  
+`fade`: Volume fade [`-7`, `7`] (applies to channels 1-2)  
+`wave_instrument`: Wave instrument ID (applies to channel 3) (see [audio/wave_samples.asm](https://github.com/pret/pokecrystal/blob/master/audio/wave_samples.asm))
 
-For channel 3:
-The high nibble sets the volume of channel 3. Only 4 values are accepted (0=Mute, 1=100% volume, 2=50% volume, 3=25% volume). The low nibble sets the instrument/waveform for channel 3 to play. Crystal natively has 10 instruments, values 0-9.
+For channel 3, the only acceped `volume` values are 0-3.
 
+- 0 = Mute
+- 1 = 100% volume
+- 2 = 50% volume
+- 3 = 25% volume
 
-## `$DD`: <code>soundinput <i>input</i></code>
+Note about `fade`: A positive value means a decrease in volume; a negative value means an increase in volume. A small magnitude means a quick change; a large magnitude means a slow change. It is stored in signed magnitude representation, so a value of `8` is the same as (negative) `0`.
 
 
-## `$DE`: <code>sound_duty <i>a</i>, <i>b</i>, <i>c</i>, <i>d</i></code>
+## `$DD`: <code>pitch_sweep <i>length</i>, <i>pitch_change</i></code>
 
-(Used on channels 1&2)
+Set pitch sweep properties. Used by channel 5.  
+`length`: Duration of effect [`0`, `15`]  
+`pitch_change`: Extent of effect [`-7`, `8`] Note: `8` is used in place of `0`
 
-This cycles the channel through 4 duty definitions, one per frame.
-Each pair of bits defines a duty, same as the `dutycycle` command.
-This is mostly only used in cries, SFX, and Jigglypuff's song in RBY.
 
+## `$DE`: <code>duty_cycle_pattern <i>a</i>, <i>b</i>, <i>c</i>, <i>d</i></code>
 
-## `$DF`: `togglesfx`
+Set duty cycle pattern (ie, pulse width modulation). Used by channels 5-6.
 
+This cycles the channel through 4 duty cycles, one per frame.  
+Each argument defines a duty cycle, same as the `duty_cycle` command.
 
-## `$E0`: <code>slidepitchto <i>duration</i>, <i>octave</i>, <i>pitch</i></code>
 
-(Used on channel 1)
+## `$DF`: <code>toggle_sfx</code>
 
-This bends the pitch of the note played next, and only that note.
-The first byte tells how many frames to play the destination note for, before the length of the note is up.
-The high nibble of the second byte is the octave of the destination note.
-The low nibble of the second byte is the destination note. If rest is used as the destination note, then the whole destination pitch becomes `$0000` (the lowest pitch).
+Toggle between pitch-based songs and frequency-based sound effects. Can be used by any channel.
 
+Note: Similar to the pokered command `execute_music`, however `execute_music` can only be used on channels 5-8 and can not be disabled for the duration of the sound once it is enabled.
 
-## `$E1`: <code>vibrato <i>delay</i>, <i>extent</i></code>
 
-(Used on channels 1-3)
+## `$E0`: <code>pitch_slide <i>duration</i>, <i>octave</i>, <i>pitch</i></code>
 
-Modifies pitch after the timer runs out, making notes sound less "flat".
-First byte will set the delay, decrementing by one each frame. When it tries subtracting from 0, it starts decrementing from the speed timer.
-Second byte, high nibble is the speed timer. It will decrement by one each frame, when it tries decrementing from 0, it mods the frequencey by half of pitch depth, and resets itself to it's initial value.
-Second byte, low nibble is the pitch depth. Half of this value will alternate between adding to the pitch, and subtracting from the pitch each time speed timer resets. When this is an odd number, the value added to the pitch will be greater than the value subtracted from the pitch.
-Ex: normal pitch of 405, if pitch depth = 3, it will alternate between 407 and 404. Speed timer does NOT reset when a new note is played. only when the song stops or changes. (Also, because a timer counts 0, a timer of 5 will take 6 frames to change.)
+Bend the pitch of the next note played, and only that note. Used by channel 1.  
+`duration`: Duration of the target note after slide effect  
+`octave`: Target octave  
+`pitch`: Target pitch (see [constants/audio_constants.asm](https://github.com/pret/pokecrystal/blob/master/constants/audio_constants.asm))
 
 
+## `$E1`: <code>vibrato <i>delay</i>, <i>extent</i>, <i>rate</i></code>
+
+Apply vibrato to current channel. Used by channels 1-3.  
+`delay`: Delay until vibrato effect begins for each note [`0`, `255`]  
+`extent`: Amplitude of vibrato [`0`, `15`]  
+`rate`: Frequency of vibrato [`0`, `15`]
+
+
 ## `$E2`: <code>unknownmusic0xe2 <i>unknown</i></code>
 
 
-## `$E3`: <code>togglenoise <i>id</i></code>
+## `$E3`: <code>toggle_noise <i>id</i></code>
 
-(Used on channel 4)
+Set the "drum kit" to be used if it is currently unset. Mute the channel otherwise. Used by channel 4.  
+`id`: Drum kit ID [`0`, `5`] (see [audio/drumkits.asm](https://github.com/pret/pokecrystal/blob/master/audio/drumkits.asm))
 
-Sets the "drum kit" to be used. This needs to be called before channel 4 can make any noise.
-Calling it more than once in a song will mute the channel. (Keep it out of loops!)
+Note: The drum kit ID is initially unset at the start of a song. When muting the channel, the `id` argument must not be present.
 
 
-## `$E4`: <code>panning <i>tracks</i></code>
+## `$E4`: <code>force_stereo_panning <i>left_enable</i>, <i>right_enable</i></code>
 
-## `$E5`: <code>volume <i>volume</i></code>
+Set left/right stereo output for the current channel, regardless of user's stereo setting. Used by channels 1-4.  
+`left_enable`: `TRUE`/`FALSE`  
+`right_enable`: `TRUE`/`FALSE`
 
-## `$E6`: <code>tone <i>tone</i></code>
 
-(Used on channel 1-3)
+## `$E5`: <code>volume <i>left_volume</i>, <i>right_volume</i></code>
 
-This modifies the pitch of the notes (fine tuning).
-It makes notes sound better if multiple channels play the same note simultaneously.
-A lot of GSC songs set the main melody channel with a value of 1, and the secondary channel (not bass) as 2.
+Set master volume for left/right speakers. Typically only used by channel 1.  
+`left_volume`: Left speaker volume [`0`, `7`]  
+`right_volume`: Right speaker volume [`0`, `7`]
 
+Note: Minimum volume, `0`, is not muted.
 
+
+## `$E6`: <code>pitch_offset <i>pitch_offset</i></code>
+
+Adjust the pitch of all notes on the current channel. Used by channels 1-3.  
+`pitch_offset`: Frequency adjustment of each pitch
+
+Note: Similar to the pokered command `toggle_perfect_pitch`. `toggle_perfect_pitch` can be replaced with a combination of `pitch_offset 1` and `pitch_offset 0`.
+
+
 ## `$E7`: <code>unknownmusic0xe7 <i>unknown</i></code>
 
 
@@ -153,67 +206,85 @@
 ## `$E9`: <code>tempo_relative <i>value</i></code>
 
 
-## `$EA`: <code>restartchannel <i>address</i></code>
+## `$EA`: <code>restart_channel <i>address</i></code>
 
 
-## `$EB`: <code>newsong <i>id</i></code>
+## `$EB`: <code>new_song <i>id</i></code>
 
 
-## `$EC`: <code>sfxpriorityon</i></code>
+## `$EC`: <code>sfx_priority_on</code>
 
 
-## `$ED`: <code>sfxpriorityoff</i></code>
+## `$ED`: <code>sfx_priority_off</code>
 
 
 ## `$EE`: <code>unknownmusic0xee <i>address</i></code>
 
 
-## `$EF`: <code>stereopanning <i>tracks</i></code>
+## `$EF`: <code>stereo_panning <i>left_enable</i>, <i>right_enable</i></code>
 
+Set left/right stereo output for the current channel, if the user has stereo mode enabled. Used by channels 1-4.  
+`left_enable`: `TRUE`/`FALSE`  
+`right_enable`: `TRUE`/`FALSE`
 
-## `$F0`: <code>sfxtogglenoise <i>id</i></code>
 
+## `$F0`: <code>sfx_toggle_noise <i>id</i></code>
 
-## `$F1`: `music0xf1`
+Set the "drum kit" to be used if it is currently unset. Mute the channel otherwise. Used by channel 8.  
+`id`: Drum kit ID [`0`, `5`] (see [audio/drumkits.asm](https://github.com/pret/pokecrystal/blob/master/audio/drumkits.asm))
 
+Note: The drum kit ID is initially unset at the start of a song. When muting the channel, the `id` argument must not be present.
 
-## `$F2`: `music0xf2`
 
+## `$F1`: <code>music0xf1</code>
 
-## `$F3`: `music0xf3`
 
+## `$F2`: <code>music0xf2</code>
 
-## `$F4`: `music0xf4`
 
+## `$F3`: <code>music0xf3</code>
 
-## `$F5`: `music0xf5`
 
+## `$F4`: <code>music0xf4</code>
 
-## `$F6`: `music0xf6`
 
+## `$F5`: <code>music0xf5</code>
 
-## `$F7`: `music0xf7`
 
+## `$F6`: <code>music0xf6</code>
 
-## `$F8`: `music0xf8`
 
+## `$F7`: <code>music0xf7</code>
 
-## `$F9`: `unknownmusic0xf9`
 
+## `$F8`: <code>music0xf8</code>
 
-## `$FA`: <code>setcondition <i>condition</i></code>
 
+## `$F9`: <code>unknownmusic0xf9</code>
 
-## `$FB`: <code>jumpif <i>condition</i>, <i>address</i></code>
 
+## `$FA`: <code>set_condition <i>condition</i></code>
 
-## `$FC`: <code>jumpchannel <i>address</i></code>
 
+## `$FB`: <code>sound_jump_if <i>condition</i>, <i>address</i></code>
 
-## `$FD`: <code>loopchannel <i>count</i>, <i>address</i></code>
 
+## `$FC`: <code>sound_jump <i>address</i></code>
 
-## `$FE`: <code>callchannel <i>address</i></code>
 
+## `$FD`: <code>sound_loop <i>count</i>, <i>address</i></code>
 
-## `$FF`: `endchannel`
+Execute a branch of sound commands a total of `count` times.  
+`count`: Number of times to execute the loop (including the first execution) (use `0` for an infinite loop)  
+`address`: Pointer to the start of the loop of sound commands
+
+
+## `$FE`: <code>sound_call <i>address</i></code>
+
+Execute a branch of sound commands, returning to the call point once a `sound_ret` command is reached.  
+`address`: Pointer to the branch of sound commands to call
+
+
+## `$FF`: <code>sound_ret</code>
+
+Return to the caller (ie, `sound_call`) if in a sub branch. End the sound otherwise.
--- a/engine/overworld/map_setup.asm
+++ b/engine/overworld/map_setup.asm
@@ -239,7 +239,7 @@
 	ld a, [wPlayerState]
 	cp PLAYER_BIKE
 	jr nz, .notbiking
-	call VolumeOff
+	call MinVolume
 	ld a, $88
 	ld [wMusicFade], a
 .notbiking
--- a/home/audio.asm
+++ b/home/audio.asm
@@ -277,11 +277,11 @@
 	ret
 
 LowVolume::
-	ld a, $33 ; 40%
+	ld a, $33 ; 50%
 	ld [wVolume], a
 	ret
 
-VolumeOff::
+MinVolume::
 	xor a
 	ld [wVolume], a
 	ret
@@ -525,7 +525,7 @@
 TerminateExpBarSound::
 	xor a
 	ld [wChannel5Flags1], a
-	ld [wSoundInput], a
+	ld [wPitchSweep], a
 	ldh [rNR10], a
 	ldh [rNR11], a
 	ldh [rNR12], a
@@ -540,7 +540,7 @@
 	ld [wChannel2Flags1], a
 	ld [wChannel3Flags1], a
 	ld [wChannel4Flags1], a
-	ld [wSoundInput], a
+	ld [wPitchSweep], a
 	ret
 
 SFXChannelsOff::
@@ -550,5 +550,5 @@
 	ld [wChannel6Flags1], a
 	ld [wChannel7Flags1], a
 	ld [wChannel8Flags1], a
-	ld [wSoundInput], a
+	ld [wPitchSweep], a
 	ret
--- a/macros/legacy.asm
+++ b/macros/legacy.asm
@@ -7,7 +7,87 @@
 callab EQUS "callfar"
 
 ; macros/scripts/audio.asm
+__ EQU 0
+CC EQU 13
+
+musicheader: MACRO
+	channel_count \1
+	channel \2, \3
+ENDM
+
+sound: MACRO
+	note \1, \2
+	db \3
+	dw \4
+ENDM
+
+noise: MACRO
+	note \1, \2
+	db \3
+	db \4
+ENDM
+
+notetype: MACRO
+IF _NARG >= 2
+	note_type \1, \2 >> 4, \2 & $0f
+ELSE
+	note_type \1
+ENDC
+ENDM
+
+pitchoffset: MACRO
+	transpose \1, \2 - 1
+ENDM
+
+dutycycle EQUS "duty_cycle"
+
+intensity: MACRO
+	volume_envelope \1 >> 4, \1 & $0f
+ENDM
+
+soundinput: MACRO
+	pitch_sweep \1 >> 4, \1 & $0f
+ENDM
+
 unknownmusic0xde EQUS "sound_duty"
+sound_duty: MACRO
+	db $de
+IF _NARG == 4
+	db \1 | (\2 << 2) | (\3 << 4) | (\4 << 6)
+ELSE
+	db \1
+ENDC
+ENDM
+
+togglesfx EQUS "toggle_sfx"
+
+slidepitchto: MACRO
+	pitch_slide \1, (8 - \2), \3
+ENDM
+
+togglenoise EQUS "toggle_noise"
+
+panning: MACRO
+	force_stereo_panning ((\1 >> 4) & 1), (\1 & 1)
+ENDM
+
+tone           EQUS "pitch_offset"
+restartchannel EQUS "restart_channel"
+newsong        EQUS "new_song"
+sfxpriorityon  EQUS "sfx_priority_on"
+sfxpriorityoff EQUS "sfx_priority_off"
+
+stereopanning: MACRO
+	stereo_panning ((\1 >> 4) & 1), (\1 & 1)
+ENDM
+
+sfxtogglenoise EQUS "sfx_toggle_noise"
+setcondition   EQUS "set_condition"
+jumpif         EQUS "sound_jump_if"
+jumpchannel    EQUS "sound_jump"
+loopchannel    EQUS "sound_loop"
+callchannel    EQUS "sound_call"
+endchannel     EQUS "sound_ret"
 
 ; macros/scripts/events.asm
 
--- a/macros/scripts/audio.asm
+++ b/macros/scripts/audio.asm
@@ -1,21 +1,42 @@
-musicheader: MACRO
-	; number of tracks, track idx, address
-	dbw ((\1 - 1) << 6) + (\2 - 1), \3
+channel_count: MACRO
+_num_channels = \1 - 1
 ENDM
 
+channel: MACRO
+	dn (_num_channels << 2), \1 - 1 ; channel id
+	dw \2 ; address
+_num_channels = 0
+ENDM
+
 note: MACRO
-	dn (\1), (\2) - 1
+	dn (\1), (\2) - 1 ; pitch, length
 ENDM
 
-sound: MACRO
-	note \1, \2
-	db \3 ; intensity
+drum_note: MACRO
+	note \1, \2 ; drum instrument, length
+ENDM
+
+rest: MACRO
+	note 0, \1 ; length
+ENDM
+
+square_note: MACRO
+	db \1 ; length
+	IF \3 < 0
+		dn \2, %1000 | (\3 * -1) ; volume envelope
+	ELSE
+		dn \2, \3 ; volume envelope
+	ENDC
 	dw \4 ; frequency
 ENDM
 
-noise: MACRO
-	note \1, \2 ; duration
-	db \3 ; intensity
+noise_note: MACRO
+	db \1 ; length
+	IF \3 < 0
+		dn \2, %1000 | (\3 * -1) ; volume envelope
+	ELSE
+		dn \2, \3 ; volume envelope
+	ENDC
 	db \4 ; frequency
 ENDM
 
@@ -25,26 +46,35 @@
 
 	enum octave_cmd ; $d0
 octave: MACRO
-	db octave_cmd | 8 - (\1)
+	db octave_cmd | 8 - (\1) ; octave
 ENDM
 
 __enumdir__ = +1
 
-	enum notetype_cmd ; $d8
-notetype: MACRO
-	db notetype_cmd
-	db \1 ; note_length
-if _NARG >= 2
-	db \2 ; intensity
-endc
+	enum note_type_cmd ; $d8
+note_type: MACRO
+	db note_type_cmd
+	db \1 ; note length
+	IF _NARG >= 2
+		IF \3 < 0
+			dn \2, %1000 | (\3 * -1) ; volume envelope
+		ELSE
+			dn \2, \3 ; volume envelope
+		ENDC
+	ENDC
 ENDM
 
-	enum pitchoffset_cmd ; $d9
-pitchoffset: MACRO
-	db pitchoffset_cmd
-	dn \1, \2 - 1 ; octave, key
+; only valid on the noise channel
+drum_speed: MACRO
+	note_type \1 ; note length
 ENDM
 
+	enum transpose_cmd ; $d9
+transpose: MACRO
+	db transpose_cmd
+	dn \1, \2 ; num octaves, num pitches
+ENDM
+
 	enum tempo_cmd ; $da
 tempo: MACRO
 	db tempo_cmd
@@ -51,44 +81,48 @@
 	bigdw \1 ; tempo
 ENDM
 
-	enum dutycycle_cmd ; $db
-dutycycle: MACRO
-	db dutycycle_cmd
-	db \1 ; duty_cycle
+	enum duty_cycle_cmd ; $db
+duty_cycle: MACRO
+	db duty_cycle_cmd
+	db \1 ; duty cycle
 ENDM
 
-	enum intensity_cmd ; $dc
-intensity: MACRO
-	db intensity_cmd
-	db \1 ; intensity
+	enum volume_envelope_cmd ; $dc
+volume_envelope: MACRO
+	db volume_envelope_cmd
+	IF \2 < 0
+		dn \1, %1000 | (\2 * -1) ; volume envelope
+	ELSE
+		dn \1, \2 ; volume envelope
+	ENDC
 ENDM
 
-	enum soundinput_cmd ; $dd
-soundinput: MACRO
-	db soundinput_cmd
-	db \1 ; input
+	enum pitch_sweep_cmd ; $dd
+pitch_sweep: MACRO
+	db pitch_sweep_cmd
+	IF \2 < 0
+		dn \1, %1000 | (\2 * -1) ; pitch sweep
+	ELSE
+		dn \1, \2 ; pitch sweep
+	ENDC
 ENDM
 
-	enum sound_duty_cmd ; $de
-sound_duty: MACRO
-	db sound_duty_cmd
-if _NARG == 4
-	db \1 | (\2 << 2) | (\3 << 4) | (\4 << 6) ; duty sequence
-else
-	db \1 ; LEGACY: Support for one-byte duty value
-endc
+	enum duty_cycle_pattern_cmd ; $de
+duty_cycle_pattern: MACRO
+	db duty_cycle_pattern_cmd
+	db (\1 << 6) | (\2 << 4) | (\3 << 2) | (\4 << 0) ; duty cycle pattern
 ENDM
 
-	enum togglesfx_cmd ; $df
-togglesfx: MACRO
-	db togglesfx_cmd
+	enum toggle_sfx_cmd ; $df
+toggle_sfx: MACRO
+	db toggle_sfx_cmd
 ENDM
 
-	enum slidepitchto_cmd ; $e0
-slidepitchto: MACRO
-	db slidepitchto_cmd
+	enum pitch_slide_cmd ; $e0
+pitch_slide: MACRO
+	db pitch_slide_cmd
 	db \1 - 1 ; duration
-	dn \2, \3 ; octave, pitch
+	dn 8 - \2, \3 % 12 ; octave, pitch
 ENDM
 
 	enum vibrato_cmd ; $e1
@@ -95,7 +129,11 @@
 vibrato: MACRO
 	db vibrato_cmd
 	db \1 ; delay
-	db \2 ; extent
+	IF _NARG > 2
+		dn \2, \3 ; extent, rate
+	ELSE
+		db \2 ; LEGACY: Support for 1-arg extent
+	ENDC
 ENDM
 
 	enum unknownmusic0xe2_cmd ; $e2
@@ -104,28 +142,34 @@
 	db \1 ; unknown
 ENDM
 
-	enum togglenoise_cmd ; $e3
-togglenoise: MACRO
-	db togglenoise_cmd
-	db \1 ; id
+	enum toggle_noise_cmd ; $e3
+toggle_noise: MACRO
+	db toggle_noise_cmd
+	IF _NARG > 0
+		db \1 ; drum kit
+	ENDC
 ENDM
 
-	enum panning_cmd ; $e4
-panning: MACRO
-	db panning_cmd
-	db \1 ; tracks
+	enum force_stereo_panning_cmd ; $e4
+force_stereo_panning: MACRO
+	db force_stereo_panning_cmd
+	dn %1111 * (1 && \1), %1111 * (1 && \2) ; left enable, right enable
 ENDM
 
 	enum volume_cmd ; $e5
 volume: MACRO
 	db volume_cmd
-	db \1 ; volume
+	IF _NARG > 1
+		dn \1, \2 ; left volume, right volume
+	ELSE
+		db \1 ; LEGACY: Support for 1-arg volume
+	ENDC
 ENDM
 
-	enum tone_cmd ; $e6
-tone: MACRO
-	db tone_cmd
-	bigdw \1 ; tone
+	enum pitch_offset_cmd ; $e6
+pitch_offset: MACRO
+	db pitch_offset_cmd
+	bigdw \1 ; pitch offset
 ENDM
 
 	enum unknownmusic0xe7_cmd ; $e7
@@ -143,29 +187,29 @@
 	enum tempo_relative_cmd ; $e9
 tempo_relative: MACRO
 	db tempo_relative_cmd
-	bigdw \1 ; value
+	bigdw \1 ; tempo adjustment
 ENDM
 
-	enum restartchannel_cmd ; $ea
-restartchannel: MACRO
-	db restartchannel_cmd
+	enum restart_channel_cmd ; $ea
+restart_channel: MACRO
+	db restart_channel_cmd
 	dw \1 ; address
 ENDM
 
-	enum newsong_cmd ; $eb
-newsong: MACRO
-	db newsong_cmd
+	enum new_song_cmd ; $eb
+new_song: MACRO
+	db new_song_cmd
 	bigdw \1 ; id
 ENDM
 
-	enum sfxpriorityon_cmd ; $ec
-sfxpriorityon: MACRO
-	db sfxpriorityon_cmd
+	enum sfx_priority_on_cmd ; $ec
+sfx_priority_on: MACRO
+	db sfx_priority_on_cmd
 ENDM
 
-	enum sfxpriorityoff_cmd ; $ed
-sfxpriorityoff: MACRO
-	db sfxpriorityoff_cmd
+	enum sfx_priority_off_cmd ; $ed
+sfx_priority_off: MACRO
+	db sfx_priority_off_cmd
 ENDM
 
 	enum unknownmusic0xee_cmd ; $ee
@@ -174,16 +218,18 @@
 	dw \1 ; address
 ENDM
 
-	enum stereopanning_cmd ; $ef
-stereopanning: MACRO
-	db stereopanning_cmd
-	db \1 ; tracks
+	enum stereo_panning_cmd ; $ef
+stereo_panning: MACRO
+	db stereo_panning_cmd
+	dn %1111 * (1 && \1), %1111 * (1 && \2) ; left enable, right enable
 ENDM
 
-	enum sfxtogglenoise_cmd ; $f0
-sfxtogglenoise: MACRO
-	db sfxtogglenoise_cmd
-	db \1 ; id
+	enum sfx_toggle_noise_cmd ; $f0
+sfx_toggle_noise: MACRO
+	db sfx_toggle_noise_cmd
+	IF _NARG > 0
+		db \1 ; drum kit
+	ENDC
 ENDM
 
 	enum music0xf1_cmd ; $f1
@@ -231,39 +277,39 @@
 	db unknownmusic0xf9_cmd
 ENDM
 
-	enum setcondition_cmd ; $fa
-setcondition: MACRO
-	db setcondition_cmd
+	enum set_condition_cmd ; $fa
+set_condition: MACRO
+	db set_condition_cmd
 	db \1 ; condition
 ENDM
 
-	enum jumpif_cmd ; $fb
-jumpif: MACRO
-	db jumpif_cmd
+	enum sound_jump_if_cmd ; $fb
+sound_jump_if: MACRO
+	db sound_jump_if_cmd
 	db \1 ; condition
 	dw \2 ; address
 ENDM
 
-	enum jumpchannel_cmd ; $fc
-jumpchannel: MACRO
-	db jumpchannel_cmd
+	enum sound_jump_cmd ; $fc
+sound_jump: MACRO
+	db sound_jump_cmd
 	dw \1 ; address
 ENDM
 
-	enum loopchannel_cmd ; $fd
-loopchannel: MACRO
-	db loopchannel_cmd
+	enum sound_loop_cmd ; $fd
+sound_loop: MACRO
+	db sound_loop_cmd
 	db \1 ; count
 	dw \2 ; address
 ENDM
 
-	enum callchannel_cmd ; $fe
-callchannel: MACRO
-	db callchannel_cmd
+	enum sound_call_cmd ; $fe
+sound_call: MACRO
+	db sound_call_cmd
 	dw \1 ; address
 ENDM
 
-	enum endchannel_cmd ; $ff
-endchannel: MACRO
-	db endchannel_cmd
+	enum sound_ret_cmd ; $ff
+sound_ret: MACRO
+	db sound_ret_cmd
 ENDM
--- a/macros/wram.asm
+++ b/macros/wram.asm
@@ -129,9 +129,9 @@
 ; Addreses are wChannel1 (c101).
 \1MusicID::           dw
 \1MusicBank::         db
-\1Flags1::            db ; 0:on/off 1:subroutine 3:sfx 4:noise 5:rest
-\1Flags2::            db ; 0:vibrato on/off 2:duty 4:cry pitch
-\1Flags3::            db ; 0:vibrato up/down
+\1Flags1::            db ; 0:on/off 1:subroutine 2:looping 3:sfx 4:noise 5:rest
+\1Flags2::            db ; 0:vibrato on/off 1:pitch slide 2:duty cycle pattern 4:pitch offset
+\1Flags3::            db ; 0:vibrato up/down 1:pitch slide direction
 \1MusicAddress::      dw
 \1LastMusicAddress::  dw
                       dw
@@ -138,11 +138,11 @@
 \1NoteFlags::         db ; 5:rest
 \1Condition::         db ; conditional jumps
 \1DutyCycle::         db ; bits 6-7 (0:12.5% 1:25% 2:50% 3:75%)
-\1Intensity::         db ; hi:pressure lo:velocity
+\1VolumeEnvelope::    db ; hi:volume lo:fade
 \1Frequency::         dw ; 11 bits
 \1Pitch::             db ; 0:rest 1-c:note
 \1Octave::            db ; 7-0 (0 is highest)
-\1PitchOffset::       db ; raises existing octaves (to repeat phrases)
+\1Transposition::     db ; raises existing octaves (to repeat phrases)
 \1NoteDuration::      db ; frames remaining for the current note
 \1Field16::           ds 1
                       ds 1
@@ -149,17 +149,17 @@
 \1LoopCount::         db
 \1Tempo::             dw
 \1Tracks::            db ; hi:left lo:right
-\1SFXDutyLoop::       db
+\1DutyCyclePattern::  db
 \1VibratoDelayCount:: db ; initialized by \1VibratoDelay
 \1VibratoDelay::      db ; number of frames a note plays until vibrato starts
 \1VibratoExtent::     db
 \1VibratoRate::       db ; hi:frames for each alt lo:frames to the next alt
-\1PitchWheelTarget::  dw ; frequency endpoint for pitch wheel
-\1PitchWheelAmount::  db
-\1PitchWheelAmountFraction::   db
+\1PitchSlideTarget::  dw ; frequency endpoint for pitch slide
+\1PitchSlideAmount::  db
+\1PitchSlideAmountFraction::   db
 \1Field25::           db
                       ds 1
-\1CryPitch::          dw
+\1PitchOffset::       dw
 \1Field29::           ds 1
 \1Field2a::           ds 2
 \1Field2c::           ds 1
--- a/wram.asm
+++ b/wram.asm
@@ -37,7 +37,7 @@
 	ds 1 ; c291
 
 wCurTrackDuty:: db
-wCurTrackIntensity:: db
+wCurTrackVolumeEnvelope:: db
 wCurTrackFrequency:: dw
 wUnusedBCDNumber:: db ; BCD value, dummied out
 wCurNoteDuration:: db ; used in MusicE0 and LoadNote
@@ -57,13 +57,12 @@
 ; bit 4-7: ch1-4 so2 on/off
 ; bit 0-3: ch1-4 so1 on/off
 	db
-wSoundInput:: ; c29c
-; corresponds to rNR52
-; bit 7: global on/off
-; bit 0: ch1 on/off
-; bit 1: ch2 on/off
-; bit 2: ch3 on/off
-; bit 3: ch4 on/off
+wPitchSweep:: ; c29c
+; corresponds to rNR10
+; bit 7:   unused
+; bit 4-6: sweep time
+; bit 3:   sweep direction
+; but 0-2: sweep shift
 	db
 
 wMusicID:: dw ; c29d