The Herma Applet v 0.1 application was designed to illustrate part of the Formalized Music discipline, held at UFRJ Graduate Program in Music during the 2020-1 semester.
The application generates, from the instructions and maps provided by Iannis Xenakis, in chapter VI (Symbolic Music) of his book Formalized Music, renderings of possible versions of the piece Herma, for solo piano, which vary according to random drawings of three sets. (A, B and C), of their durations, attack points and dynamics.
Herma Applet has versions for Windows and Mac OS. To check the rendered MIDI files, you need to link in the system the file type (.mid) with a preferred program (DAW, score editor, or programming platform).
Installation
Herma Applet Installer (Windows and Mac OS versions)
(Download and run the installation file corresponding to your system)
Interface Elements

Herma’s interface starts with the parameters of the original piece (planned by Xenakis) loaded. The two tables are called hermadata and notematrix.
This does not mean that the program will render a version of Herma identical to the score, but only that the rendered file will have an overall shape similar to that expressed in the map on page 177 of the FM book – the duration of its sections with its rhythmic densities, and the combination of their sets. Sets themselves will be sorted from scratch, with random pitches and cardinalities.
User can edit tables freely, allowing experiments with rendering with other parameters.
Buttons
- Reset – returns the tables to the default initial data, referring to the map on page 177, related to the Xenakis work.
- New MIDI – the program generates a brand new MIDI from the data entered in hermadata and notematrix tables. Each time the button is pressed, a new version will be generated, always following the restrictions defined by the tables. The rendered file will open automatically by the program defined in the system to handle Midi files.
- Save – saves the hermadata file as a *.mat file for later use.
- Load – loads *.mat files previously saved by the program.
Table
- Hermadata – each row corresponds to a module in the map on page 177. The columns define six categories of data, respectively:
- Corresponding index to the piece section. Here, it is assumed that the piece is divided into four major sections – 1. Introduction with R; 2. Presentation of sets A, B and C and their complements; 3. Operations converging to ~A~BC, which corresponds to field 4 of pitches; 4. Operations converging to F, final group.
- Corresponding index to the combination of pitch fields. Each one of the indices also corresponds to the Venn graphs exposed on pages 174, 176 and 177 of the book Formalized Music, by Iannis Xenakis (Figures 1 and 2). The list was numbered in the order of entry into the piece.
- Dynamics, considering the following convention: pp=20; f=80; ff=100; fff = 120.
- Module duration, in seconds. This measure was taken from the proportional map, presented on page 177.
- Module start time point, in seconds.
- Average density of notes, in values per second.
- Note Matrix – each line corresponds to a note, following the MIDI Toolbox model, by Eerola and Toivianien, which has seven columns:
- Attack time point (note on);
- Note duration in beats.
- Channel (as the piece is for solo piano, there is only one channel).
- MIDI pitches.
- Dynamics (see Hermadata item 3).
- Time points in seconds.
- Note durations in seconds.

- 12345678
- 2578
- 1346
- 3568
- 1247
- 4678
- 1235
- 58
- 68
- 1458
- 8
- 4
- 12
- 13
- 2367
- 2
- 23
- 3
- 2348
