Changes

Jump to: navigation, search

TRILOTRACKER DATAFORMAT MACROLAYOUT

3,286 bytes added, 21:15, 2 February 2021
Created page with "== TTSCC == [HEADER] 00 - Length ; length of the marco (0..63) 01 - Restart ; restart position (loop) (0..63) 02 -..."
== 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).
|}

{{note|Noise only has effect on the PSG.<br>Waveform only has effect on the SCC.}}

== 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
|}

{{note|Noise only has effect on the PSG.<br>Waveform only has effect on the FM.}}


== 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
|}

{{note|Noise only has effect on the PSG.<br>Waveform only has effect on the FM.}}

Navigation menu