StaticfindFinds recurring interval patterns (motifs) in a melody, up to 9 notes long. Occurrences are counted without overlap (in C D C D C, C-D-C occurs once). A pattern that only recurs inside a longer motif, as often as it, is left out. Sorted by number of occurrences, then by length (longest first).
Melody notes.
Minimum motif length in notes (default 3).
StaticgetReturns the contour of a melody as a sequence of direction symbols.
'+' = ascending, '-' = descending, '=' = repeated pitch.
StaticgetStaticgetReturns a histogram of interval classes between consecutive notes. Keys are interval sizes in steps (signed); values are occurrence counts.
StaticreduceReduces a melody using durational weight - keeps structurally important notes. Uses a simple approach: notes with longer durations are more likely to be kept.
Melody notes.
Duration of each note (arbitrary units). Must match notes length.
Reduced note array (roughly half the original length).
Melodic analysis tools.