tags
- Introduction
Object Tags
- Audio
- AudioPlus
- HyperText
- Image
- Paragraphs
- Table
- Text
- TimeSeries
- Video
Control Tags
- BrushLabels
- Choice
- Choices
- Ellipse
- EllipseLabels
- HyperTextLabels
- KeyPoint
- KeyPointLabels
- Label
- Labels
- List
- Number
- Pairwise
- ParagraphLabels
- Polygon
- PolygonLabels
- Ranker
- Rating
- Rectangle
- RectangleLabels
- Relation
- Relations
- Shortcut
- Taxonomy
- TextArea
- TimeSeriesLabels
Visual & Experience Tags
- Filter
- Header
- Style
- View
Audio
The Audio tag plays a simple audio file. Use this tag for basic audio annotation tasks such as classification or transcription.
Use with the following data types: audio
Parameters
Param | Type | Default | Description |
---|---|---|---|
name | string |
Name of the element | |
value | string |
Data field containing path or a URL to the audio | |
hotkey | string |
Hotkey used to play or pause audio | |
[cursorwidth] | string |
1 |
Audio pane cursor width. It is measured in pixels. |
[cursorcolor] | string |
"#333" |
Audio pane cursor color. The color should be specified in hex decimal string |
Sample Results JSON
Name | Type | Description |
---|---|---|
original_length | number |
length of the original audio (seconds) |
value | Object |
|
value.start | number |
start time of the fragment (seconds) |
value.end | number |
end time of the fragment (seconds) |
Example JSON
{
"original_length": 18,
"value": {
"start": 3.1,
"end": 8.2,
"labels": ["Voice"]
}
}
Example
<!--Play audio on the labeling interface-->
<View>
<Audio name="audio" value="$audio" />
</View>
Example
Audio classification
<View>
<Audio name="audio" value="$audio" />
<Choices name="ch" toName="audio">
<Choice value="Positive" />
<Choice value="Negative" />
</Choices>
</View>
Example
Audio transcription
<View>
<Audio name="audio" value="$audio" />
<TextArea name="ta" toName="audio" />
</View>
Couldn't find what you were looking for? Please let us know on
Slack
If you found an error, you can file an issue on GitHub!

If you found an error, you can file an issue on GitHub!