@libraz/libcantus - v1.1.0
    Preparing search index...

    Type Alias RhythmDeformOptions

    What Rhythm.deform does to a pattern beyond what the dials say.

    type RhythmDeformOptions = {
        rate?: "straight" | "half" | "double";
        isOrnament?: (event: RhythmEvent) => boolean;
    }
    Index
    rate?: "straight" | "half" | "double"

    Stretch or compress the pattern before the dials are applied, as DeformOptions.rate does.

    isOrnament?: (event: RhythmEvent) => boolean

    Which onsets count as decoration, for the ornament dial. A rhythm carries no dynamics of its own, so what counts is the caller's reading of where the onsets fall.