Line 383:
Line 383:
| Channel index
| Channel index
|-
|-
−
| 9-6
+
| 6
+
| 0 = disable linear interpolation, 1 = enable linear interpolation
+
|-
+
| 9-7
| ?
| ?
|-
|-
Line 390:
Line 393:
|-
|-
| 13-12
| 13-12
−
| This sets the encoding, some of the names for the following encodings are from [https://github.com/3dshax/ctr/blob/master/ctrtool/cwav.h here]. 0 = PCM8, 1 = PCM16, 2 = IMA-ADPCM. 3 = PSG, similar to DS?
+
| This sets the encoding, some of the names for the following encodings are from [https://github.com/3dshax/ctr/blob/master/ctrtool/cwav.h here]. 0 = PCM8, 1 = PCM16, 2 = IMA-ADPCM. 3 = PSG, similar to DS.
|-
|-
| 15-14
| 15-14
Line 398:
Line 401:
| Sample rate clamped to the following range(by the user process): 0x42-0xFFFF. This is the same value used with Cmd 0x8, except clamped.
| Sample rate clamped to the following range(by the user process): 0x42-0xFFFF. This is the same value used with Cmd 0x8, except clamped.
|}
|}
+
+
PSG: Channels 8 through 13 play a square tone that is 16 samples long. Channels 14 and 15 play noise. It is currently unknown how to set the duty of the square tones.
===Parameter word 0xC===
===Parameter word 0xC===