Notes and Rests

The general syntax for representing notes is:

The corresponding representation for rests is:

Both notes and rests are instances of GUIDO events; in particular, rests are treated as special notes, which have a duration but neither accidentals nor an octave value. Octave and duration can be omitted; if so, they are inferred from preceeding notes (or rests) within the same sequence or chord or assumed to have standard values when required (such as for musical playback or notation).

Note names

There are different systems of note names:



Accidentals is an arbitrary sequence of the symbols # and `& (for sharp and flat); in particular,

## is a double sharp, && a double flat.



Octave is an integer number indicating the octave of the note, where a1 is the 440Hz a. All octaves start with the pitch-class c, so c1 is the c just below a1.



Duration is specified in one of the following forms:

where enum and denom are positive integers and dots is either empty, '.', or '..'.
When no dots are present, the relative duration of the notes is assumed to be

Succeeding the duration by



Duration may also be specified in milliseconds. The corresponding form is
In this case, the actual musical duration is computed by assuming that the tempo is 60 quarter notes per minutes and thus, 1000ms are converted to a quarter note (*1/4).

General remarks


d1*3/4  c#0/8 h&/4  _/4.  c&&/2. cis/4.. fa##1/4 sol&0  

SVG file generated using the GuidoEngine version 1.6.7 ? _ E h h h h h h h . X h h h h h h h b ¥ . E x x x x x x x . H X x x x x x x x . . # _ _ X h h h h h h h h h ´ X h h h h h h h b X x x x x x x x j #