TTSCC
[HEADER]
00 - Length ; length of the marco (0..63)
01 - Restart ; restart position (loop) (0..63)
02 - Waveform ; related waveform (0..31)
[/HEADER]
[ROW] 0..<Length-1> ; each row is 4 bytes.
+00- [ N | ND | ND | Nv | Nv | Nv | Nv | Nv ]
+01- [ T | TD | VD | VD | Vv | Vv | Vv | Vv ]
+02- [ Tv| Tv | Tv | Tv | Tv | Tv | Tv | Tv ]
+03- [ .. | .. | .. | .. | Tv | Tv | Tv | Tv ]
[/ROW]
N |
= noise output (1=enabled).
|
T |
= tone output (1=enabled).
|
ND |
= noise deviation (00=base value, 10=add value, 11=subtract value).
|
TD |
= tone deviation (0=add value, 1=subtract value).
|
Nv |
= 5bit noise value (0x00-0x1f).
|
Tv |
= 12bit tone value (0x000-0xfff).
|
VD |
= volume deviation (00=base value, 10=add value, 11=subtract value).
|
Vv |
= 4bit volume value (0x0-0xf).
|
Template:Note
TTFM
[HEADER]
00 - Length ; length of the marco (0..63)
01 - Restart ; restart position (loop) (0..63)
02 - Voice ; related voice (0..192)
[/HEADER]
[ROW] 0..<Length-1> ; each row is 4 bytes.
+00- [ N | ND | ND | Nv | Nv | Nv | Nv | Nv ]
+01- [ T | TD | VD | VD | Vv | Vv | Vv | Vv ]
+02- [ Tv| Tv | Tv | Tv | Tv | Tv | Tv | Tv ]
+03- [ Vl| .. | .. | .. | Tv | Tv | Tv | Tv ]
[/ROW]
N |
= noise output (1=enabled).
|
T |
= tone output (1=enabled).
|
ND |
= noise deviation (00=base value, 10=add value, 11=subtract value).
|
TD |
= tone deviation (0=add value, 1=subtract value).
|
Nv |
= 5bit noise value (0x00-0x1f).
|
Tv |
= 12bit tone value (0x000-0xfff).
|
VD |
= volume deviation (00=base value, 10=add value, 11=subtract value).
|
Vv |
= 4bit volume value (0x0-0xf).
|
Vl |
= FM voice link. If set the Nv value contains the voice number
|
Template:Note
TTSMS
[HEADER]
00 - Length ; length of the marco (0..63)
01 - Restart ; restart position (loop) (0..63)
02 - Voice ; related voice (0..192)
[/HEADER]
[ROW] 0..<Length-1> ; each row is 4 bytes.
+00- [ N | Nt | Nt | Nt | Nv | Nv | Nv | Nv ]
+01- [ T | TD | VD | VD | Vv | Vv | Vv | Vv ]
+02- [ Tv| Tv | Tv | Tv | Tv | Tv | Tv | Tv ]
+03- [ Vl| .. | .. | .. | Tv | Tv | Tv | Tv ]
[/ROW]
N |
= noise output (1=enabled).
|
T |
= tone output (1=enabled).
|
Nt |
= noise type (0 - 7).
|
TD |
= 3bit tone deviation (0=add value, 1=subtract value).
|
Nv |
= 4bit noise volume (0x0-0xf).
|
Tv |
= 10bit tone value (0x000-0x3ff).
|
VD |
= volume deviation (00=base value, 10=add value, 11=subtract value).
|
Vv |
= 4bit volume value (0x0-0xf).
|
Vl |
= FM voice link. If set the low 4bits of the noise contains the voice number
|
Template:Note