Class Motif
A detected melodic motif (recurring pattern).
public sealed class Motif
- Inheritance
-
Motif
- Inherited Members
Properties
IntervalPattern
The recurring pattern as consecutive melodic intervals in semitones.
public required int[] IntervalPattern { get; init; }
Property Value
- int[]
Length
Number of intervals in the pattern.
public required int Length { get; init; }
Property Value
Occurrences
Onset of each occurrence's first note. When the melody was analyzed without timing, these
are sequential note positions (index i as i/1) rather than musical times.
public required IReadOnlyList<Rational> Occurrences { get; init; }
Property Value
PatternDescription
Human-readable description of the interval pattern.
public string PatternDescription { get; }
Property Value
Significance
Prominence score in 0-1, derived from pattern length and occurrence count.
public required double Significance { get; init; }