TTRM, VERSION 1 (Septemper 2001) TTRM is a program written by Alexandros Droseltis that generates a twelve-tone row matrix from a single given row. This is a table with the 48 forms of a series: 12 transpositions of the prime form, 12 of the retrograde form, 12 of the inverted form and 12 of the retrograde form of the inverted form. The input row must be at the top of a text (.txt) file (e.g. inputfile.txt). The notation is the one used by the program MusiXTeX, i.e.: accidentals ^.......sharp _.......flat =.......natural notes a.......a b.......b c.......c1 d.......d1 e.......e1 f.......f1 g.......g1 h.......a1 i.......b1 j.......c2 k.......d2 l.......e2 m.......f2 n.......g2 o.......a2 p.......b2 The names of the notes must be seperated with "space". Under the row you must also enter a title for this row. Examples can be found in the file melody.txt. The output of the program is a TeX file (.tex). In order to view the matrix with the normal music notation, you must have TeX and MusiXTeX installed on your disc. The source files are the following: 1) ttrm1.c 2) transposer.h 3) translators.h 4) filters.h 5) printers.h To compile the program, place all these 5 files in a directory and type in a shell: # gcc -o ttrm ttrm1.c To run the program, type; # ttrm inputfile.txt This will generate the file inputfile.tex Then, you must use TeX with MusiXTeX in order to compile the file inputfile.tex. Type: # tex inputfile.tex # musixflx inputfile.mx1 # tex inputfile.tex The file inputfile.dvi is produced. In order to view it correctly, let a .ps (postscript) file generated from the .dvi, and use an option for A4 page format. On the generated table there are the title of the row and the 48 forms of it. The letter "P" indicates the prime forms, the letter "R" indicates the retrograde forms, the letter "I" indicates the inverted forms and the letters "RI" indicate the retrograde forms of the inverted forms. The numbers at the left of the matrix indicate the first note of the P- and I-transpositions. 0 means C, 1 means C sharp (or D flat), 2 means D etc. For example, P7 is the prime form that starts from G, I8 is the inverted form that starts from G sharp or A flat. Rx or RIx (0