The files in these folders have ornaments.
They were formed from those here by:
- inserting corresponding the content of xN files (such as “x2-Allemande”) into this program as the value for identifier “mods”.
- Compiling it with r.c and w.c
- Copying an unmodified MIDI file to a file named pr.mid
- Running the yield of the compilation
- Renaming the resulting file, out.midi, as desired
I have not found unambiguous definitions for ornaments.
There are a great many arbitrary decisions in these files.
(I have relied mainly on these notes and partly on these.
Many notes too)
Bach’s use of ornament notation is a bit erratic.
I have used 32nd auxiliary notes consistently even though pieces such as
the Sarabande of Suite-III spell out 64th notes.
I have chosen between the artifice “tr” and “trillo” somewhat capriciously.
They are small routines which act as follows:
- tr
- replaces the note from the input file with an sequence of alternating 32nd notes with the same total duration.
- trillo
- replaces the original note with five 32nd notes and a 6th with duration to make the total match the original.
The diatonic scale in the neighborhood of an ornament is not always obvious.
I have tried to choose prior mode for the auxiliary note.