API Reference
Core functionality
This library provides an interface for reading JAMS into Python, or creating them programmatically.
Function reference
|
Load a JAMS Annotation from a file. |
Object reference
|
Top-level Jams Object |
|
Metadata for a given audio file. |
|
This list subclass provides serialization and search/filtering for annotation collections. |
|
Data structure for metadata corresponding to a specific annotation. |
|
Container object for curator metadata. |
|
Annotation base class. |
|
Core observation type: (time, duration, value, confidence). |
|
Functionally identical to JObjects, but the class hierarchy might be confusing if all objects inherit from Sandboxes. |
|
Dict-like object for JSON Serialization. |
|
Core observation type: (time, duration, value, confidence). |
Namespace management
|
Add a namespace definition to our working set. |
|
Construct a validation schema for a given namespace. |
|
Construct a validation schema for arrays of a given namespace. |
|
Determine whether a namespace has dense formatting. |
|
Return the allowed values for an enumerated namespace. |
|
Get the dtypes associated with the value and confidence fields for a given namespace. |
Print out a listing of available namespaces |
Sonification
|
Sonify a jams annotation through mir_eval |
Evaluation
|
Beat tracking evaluation |
|
Chord evaluation |
|
Melody extraction evaluation |
|
Onset evaluation |
|
Segment evaluation |
|
Tempo evaluation |
|
Pattern detection evaluation |
|
Multi-level segmentation evaluation |
|
Note transcription evaluation |
Namespace conversion
|
Convert a given annotation to the target namespace. |
Utility functions
|
Load a .lab file as an Annotation object. |
|
Expand a list of relative paths to a give base directory. |
|
Safely make a full directory path if it doesn't exist. |
|
Return the extension-less basename of a file path. |
|
Naive depth-search into a directory for files with a given extension. |