Structure and segmentation#
librosa.segment provides functions for structural analysis and segmentation of audio.
This includes recurrence (self-similarity) and cross-similarity matrix computation, filtering and transformations of similarity matrices, and temporal segmentation by clustering.
Compute cross-similarity from one data sequence to a reference sequence. |
|
Compute a recurrence matrix from a data matrix. |
|
Convert a recurrence matrix into a lag matrix. |
|
Convert a lag matrix into a recurrence matrix. |
|
Apply a filter in the time-lag domain. |
|
Multi-angle path enhancement for self- and cross-similarity matrices. |
|
Bottom-up temporal segmentation. |
|
Sub-divide a segmentation by feature clustering. |