Expand description
The voices layer: how many notes sound at once, and how a mono line joins its notes.
The count comes from the note list and each note’s held part. The join
statistics come from the mono mix around each join. The method page is
docs/src/analysis/voices.md.
Structs§
- Join
- The join between two consecutive notes of a mono line.
- Voices
Input - What the voices layer reads.
- Voices
Layer - The voices layer of a stem.
Enums§
- Voices
Error - Why the voices layer failed.
Constants§
- ATTACK_
HIDES_ JOIN - An attack longer than this hides a retrigger, so a join reads low.
- CENTROID_
SPAN - The centroid is read over this long on each side of a join.
- CLUSTER_
CENTS - Notes this close in pitch count as one voice: seven detuned copies of one pitch form one cluster.
- DIP_
RETRIGGER - A join that dips this far under the quieter neighbour is a retrigger.
- JOIN_
CONVENTION - The convention of a join.
- JOIN_
GAP_ MAX - Consecutive notes join when the gap between them is under this.
- JOIN_
SPAN - The dip of a join is read this far either side of the onset.
- OVERLAP_
MIN - Two notes count as two voices when their held parts overlap for this long or more, and a later note starting this far before an earlier note’s held end stacks on it.
- SUSTAIN_
QUANTILE - Each neighbour’s level is this quantile of its track: a window of one period of the lower note still ripples on the higher one.
- SUSTAIN_
SPAN - Each note’s level beside a join is read over at most this long.
- VOICES_
CONVENTION - The convention of the count.