Aira

TR-8 (TR-8S?) Pattern Editing on a Computer

TR-8 (TR-8S?) Pattern Editing on a Computer

20 Jul 2018, 10:07
The idea here is to collect info on the pattern contents of the TR-8 text file when stored on the computer
and
I am making an assumption that the pattern info shown here also applies to the TR-8S
(Could some one save a TR-8S pattern based on what we have here and send in the resulting text file when stored on the computer - the we can compare. If they are the same, or nearly the same, we can keep this thread for both - if they are quite different then we'll create a separate thread for the TR-8S)

He are 2 simple patterns for TR-8, and 'A' and a 'B'

A...
BD XOXO OOOX OXXX OOOX
SD OOOO XOOO OOOO XOOO
CH XOXO XOXO XOXO XOXO

B...
BD XOXO OOOX OXXX OOOX
SD OOOO XOOO OOOO XOOO
CH XOOO XOXO XOXO XOXO
OH OOXO OOOO OOOO OOOO

apologies about the alignment - but you should be able to work it out

in TR-8 text mode these 2 patterns look like this ....

VARI(2);
SCALE(2);
LAST_A(15);
LAST_B(15);
STEP_ACC1(0);
STEP_ACC2(0);
STEP_REV1(0);
STEP_REV2(0);
STEP_ECHO1(0);
STEP_ECHO2(0);
STEP_SC1(0);
STEP_SC2(0);
STEP_BD1(36485);
STEP_BD2(36485);
STEP_SD1(4112);
STEP_SD2(4112);
STEP_LT1(0);
STEP_LT2(0);
STEP_MT1(0);
STEP_MT2(0);
STEP_HT1(0);
STEP_HT2(0);
STEP_RS1(0);
STEP_RS2(0);
STEP_HC1(0);
STEP_HC2(0);
STEP_CH1(21845);
STEP_CH2(21841);
STEP_OH1(0);
STEP_OH2(4);
STEP_CC1(0);
STEP_CC2(0);
STEP_RC1(0);
STEP_RC2(0);

ACC_BD1(0);
ACC_BD2(0);
ACC_SD1(0);
ACC_SD2(0);
ACC_LT1(0);
ACC_LT2(0);
ACC_MT1(0);
ACC_MT2(0);
ACC_HT1(0);
ACC_HT2(0);
ACC_RS1(0);
ACC_RS2(0);
ACC_HC1(0);
ACC_HC2(0);
ACC_CH1(0);
ACC_CH2(0);
ACC_OH1(0);
ACC_OH2(0);
ACC_CC1(0);
ACC_CC2(0);
ACC_RC1(0);
ACC_RC2(0);
WEAK_ACC1(0);
WEAK_ACC2(0);
FLAM_BD1(0);
FLAM_BD2(0);
FLAM_SD1(0);
FLAM_SD2(0);
FLAM_LT1(0);
FLAM_LT2(0);
FLAM_MT1(0);
FLAM_MT2(0);
FLAM_HT1(0);
FLAM_HT2(0);
FLAM_RS1(0);
FLAM_RS2(0);
FLAM_HC1(0);
FLAM_HC2(0);
FLAM_CH1(0);
FLAM_CH2(0);
FLAM_OH1(0);
FLAM_OH2(0);
FLAM_CC1(0);
FLAM_CC2(0);
FLAM_RC1(0);
FLAM_RC2(0);

So what do we know
VARI(2) - don't know
SCALE(2) - don't know
LAST_A(15) - suspect it's the number of steps in pattern A (runs 0 to 15, meaning 1 to 16)
LAST_B(15) - again number of steps in pattern B

STEP_ACC1(0); - this lot to do with accents, reverb, delay, SC??? - deal with this in later thread add-ons
STEP_ACC2(0);
STEP_REV1(0);
STEP_REV2(0);
STEP_ECHO1(0);
STEP_ECHO2(0);
STEP_SC1(0);
STEP_SC2(0);

It's the next block I'm particularly interested in that's
STEP_BD1(36485);
STEP_BD2(36485);
----
----
down to
STEP_RC1(0);
STEP_RC2(0);

I've bolded it in the above text file

This text contains pattern information for both pattern 'A' and pattern 'B'
The figure 36485 looks a bit meaningless, but if we peer into it we find that Roland have decided to use the no. 2 raised to increasing powers to record the number of steps. I don't know anywhere else that does this - but it may well be a common approach (?)

It works like this, re table below, top line is the beat number, underneath is a series of of numbers where beat 1 is the no. 2 raised to the power 0 (=1), beat no. 2 is the no. 2 raised to the power 1 (=2), beat no. 3 is the no. 2 raised to the power 2 (=4), beat no. 4 is 2 raised to the power 3 (=8), beat no. 5 is 2 raised to the power 4 (-16) and so on

1.. 2... 3... 4... 5.....6....7........8......9......10.....11.......12.....13....14.......15.......16

1.. 2... 4... 8...16...32...64.....128...256.... 512...1024...2048...4096...8192...16384...32768

So in this case if we look back to the 2 BD values the 36485 - they are the same so we'd expect the BD pattern in pattern A and pattern B to be the same - they are
BD XOXO OOOX OXXX OOOX

and we can see that there's a hit on beats 1,3,8,10,11,12 and 16
if we add up the power numbers for each beat from the table above

1+4+128+512+1024+2048+32768 we get 36485

So I assume there'a a little computer routine / algorhythm in the TR-8 that translates the numbers readily to what beat when.

more info to follow as we unpick the text file

please chip in with any further detail / info / thoughts

Re: TR-8 (TR-8S?) Pattern Editing on a Computer

20 Jul 2018, 15:35
The TR-8S files are very different. You now get two files. If you export a pattern you get a t8p and txt file, for a kit you get a t8k and txt file. The t8* files are binary and you can't read them with an editor. The text files just contain kit or pattern summary info rather than the full details contained in the TR8 files.

This is a pattern txt file (actually 16 patterns in this file but hopefull you get the idea):

; Pattern List Version 1.04 (09F3)

[PATTERN]
1 = " HOUSE " ; AB------ S Kit 1 Tempo 125.0
2 = "TROPIC HOUSE " ; A------- S Kit 1 Tempo 118.0
3 = "BIG ROOM " ; A------- S Kit 1 Tempo 126.0
4 = "FETTY TRAP " ; ABCDEFGH S Kit 1 Tempo 147.0
5 = "DUBSTEP " ; ABCD---- S Kit 2 Tempo 140.0
6 = "DIRTY HOUSE " ; ABCDEFGH S Kit 3 Tempo 125.0
7 = "CHICAGO HOUSE " ; ABCDEFGH S Kit 4 Tempo 125.0
8 = "DEEP HOUSE " ; ABCDEFGH S Kit 5 Tempo 125.0
9 = "SLOW DEEP HOUSE " ; ABCDEFGH S Kit 6 Tempo 115.0
10 = "DUB STEP " ; ABCDEFGH S Kit 7 Tempo 70.0
11 = "HIPHOP " ; ABCDEFGH S Kit 8 Tempo 90.0
12 = "BRIT HOUSE " ; ABCDEFGH S Kit 9 Tempo 125.0
13 = "FRENCH HOUSE " ; ABCDEFGH S Kit 10 Tempo 128.0
14 = "BREAK BEAT " ; A------- S Kit 11 Tempo 90.0
15 = "FUNK BREAK " ; A------- S Kit 12 Tempo 80.0
16 = "DRUM&BASS " ; ABCD---- S Kit 13 Tempo 160.0

[KIT]
1 = "TR-808 " ; used in Pattern 1, 2, 3, 4
; BD "AK BD ClRhythm " (US 2)
; SD "DA Chamber Snare"
; LT "OSC Sine Low "
; MT "Mute Bass "
; HT "OSC Sine Low "
; RS "OSC Sine Low "
; HC "808 Hand Clap "
; CH "808 Closed HH "
; OH "808 Open HH "
; CC "SR18 SY HipHop2 " (US 12)
; RC "OSC Sine Low "
;
2 = "MINIWOLF " ; used in Pattern 5
; BD "AK BD ClRhythm " (US 2)
; SD "DA Chamber Snare"
; LT "RW BA SAW1 " (US 14)
; MT "RW BA SAW2 " (US 15)
; HT "RW BA SQU10 " (US 16)
; RS "RW BA SQU5 " (US 17)
; HC "RW SD4 " (US 19)
; CH "808 Closed HH "
; OH "RW OH5 " (US 18)
; CC "SR18 SY HipHop2 " (US 12)
; RC "OSC Sine Low "

repeats for all the other kits used in the patterns.

This is a kit txt file:

; Kit List Version 1.02 (09AC)

[KIT]
1 = "WOLFMAN "
; BD "RW BD3 " (US 6)
; SD "RW SD3 " (US 10)
; LT "RW BA SQU2 " (US 1)
; MT "RW BA SQU4 " (US 2)
; HT "RW BA SQU5 " (US 3)
; RS "RW BD1 " (US 5)
; HC "RW SD5 " (US 11)
; CH "RW OH1 " (US 7)
; OH "RW OH3 " (US 8)
; CC "RW PC2 " (US 9)
; RC "RW BA SQU6 " (US 4)
;

[USER SAMPLE TONE]
1 = "RW BA SQU2 " ; IMPORT
2 = "RW BA SQU4 " ; IMPORT
3 = "RW BA SQU5 " ; IMPORT
4 = "RW BA SQU6 " ; IMPORT
5 = "RW BD1 " ; IMPORT
6 = "RW BD3 " ; IMPORT
7 = "RW OH1 " ; IMPORT
8 = "RW OH3 " ; IMPORT
9 = "RW PC2 " ; IMPORT
10 = "RW SD3 " ; IMPORT
11 = "RW SD5 " ; IMPORT

When you export a pattern, you export the kit with it, including the imported samples, which is why the kit info is shown in the pattern text file.

BTW, the System-8 uses the same concept as this for its files, whereas the older Aira kit just has all the patch info in plain txt files like the TR-8.

← Back to Aira