Audio
You can upload audios to Video or Audio Projects.
Upload audios from an integrated cloud storage
To upload audios from an integrated cloud storage:
- In Data, click Add.
- Select Upload Video or Audio.
- In the Integrations tab, select an integration from the list.
- Type a folder path (optional).
- Click Upload.
Learn how to create integrations.
Attach audio URLs
You can attach audios URLs to Video or Audio Projects only.
Method 1
Step 1: Create a CSV file containing the audio URLs
To attach audio URLs, first create a CSV file that contains the URLs. Use this template CSV file as a reference.
If the audio name field is empty, a name ID will be generated based on the row ID and a random UUID.
Step 2: Attach audio URLs via Python SDK
Link the audios to your project with this SDK command.
sa.attach_items(
project = "Project Name",
attachments = "./audio.csv",
annotation_status = "QualityCheck")
superannotatecli attach-video-urls --project “Project Name/Folder Name” --attachments “./videos.csv” --annotation_status “QualityCheck”
Method 2
You can also attach items via a list of URLs:
sa.attach_items(
project = "Speech",
attachments = [
{ "name": "16797.mp3",
"url": "https://test-1212.s3.amazonaws.com/50k2sep/0.jpg?AWSAccessKeyId=AKIA5BP2G2NHEPGBCUX2&Signature=oNlHqhZHiK5GzgWZi%2F46dIoQ%2B%2BA%3D&Expires=1651063405" },
{ "name": "16798.mp3",
"url": "https://test-1212.s3.amazonaws.com/50k2sep/1.jpg?AWSAccessKeyId=AKIA5BP2G2NHEPGBCUX2&Signature=bYWiGrW8ET56pUcTCrlqhF5EX%2BY%3D&Expires=1651063405" },
{ "name": "16799.mp3",
"url": "https://test-1212.s3.amazonaws.com/50k2sep/10.jpg?AWSAccessKeyId=AKIA5BP2G2NHEPGBCUX2&Signature=OXtzqrgAlEViDbTM5RHeOA%2BGBLk%3D&Expires=1651063405" }
],
annotation_status="NotStarted"
)
Supported audio file formats
SuperAnnotate supports the following audio file formats: MP3, WAV, and OGG.
Updated 8 months ago