Audio Labels and Classifications
Learn how Classifications and Audio files work using the Encord SDK.
Audio files support annotation using audio region object labels and classifications. Audio regions can be applied to a range (duration in milliseconds) on the audio file. Classifications can only be applied to the entire audio file. Using the Encord SDK you can import audio region labels and classifications directly to audio files that already exist in an Annotate Project. You can also use the SDK to view labels and classifications that exist on an audio file.
Critical Information
Using classifications on an audio file is smilar to using labels or classifications on a video file. There are some critical differences though:
-
1 “frame” = 1 millisecond for audio files when importing classifications.
-
When creating a classification for an audio file, the
classification_instance
uses therange_only=True
argument.
For example, Classification.create_instance(range_only=True)
or classification_instance = ClassificationInstance(range_only=True)
Audio Regions on Audio Files
Export Audio Regions on Audio Files
Import Audio Regions to Audio Files
Classifications on Audio Files
View Classifications on Audio Files
Export Classifications from Audio Files
Import Classifications to Audio Files
Was this page helpful?