A description of how to encode tremolos in **kern spines.

Tremolos are represented in **kern by encoding the individual notes in the tremolo within a single beam group, and then adding a *tremolo tandem interpretation before the beamed notes that should be converted into a tremolo.

Use *Xtremolo to turn off tremolo conversion of beamed notes:

When *tremolo is active, only beamed groups that can convert into tremolos will be converted into tremolos. Other patterns of beamed notes will remain unaffected.

Tremolos also work with beamed chord notes

Fingered tremolos

The *tremolo interpretation can also reduce alternating notes into tremolos:

Two-note tremolos also work with chords:

Disabling tremolos

Tremolos can be disabled from notation rendering by using the shed filter:

Tremolo filter

The tremolo filter can be used to add tremolo notes to a Humdrum score that does not have expanded tremolos. To expand a single note into a tremolo, add the duration of the tremolo surrounded by @ markers after the note token(s):

Scores should not be stored in compressed tremolo format, as the @ encoding is only intended to add tremolos to the score using the tremolo filter. Here is the result of compiling the filter:

Two-note tremolos are encoded in a similar manner. Place the duration for the tremolo only on the first note of a two-note pair, surrounded with two @@ characters rather than one. Each note of the pair should posses one-half of the total duration of the tremolo.

The result of compiling the filter: