Audio Studio
  • 13 Sep 2024
  • Dark
    Light
  • PDF

Audio Studio

  • Dark
    Light
  • PDF

Article summary

Overview

Dataloop offers an audio studio that allows audio annotations per timeframe with transcription capability. It enables annotators to quickly annotate audio files for various purposes. Machine learning tasks such as speech-to-text model training, noise detection model training, translation, and more can be performed using Dataloop Audio Studio.


Main Sections of the Audio Annotation Studio


Basic Operations

The basic operations related to audio files include the following:

  • Play: Click the Play icon to run the audio file.
  • Pause: Click the Pause icon to pause the audio file.
  • Stop: Click the Stop icon to stop the audio file.
  • Rewind 5 seconds: Click the left round arrow to go back 5 seconds of the audio file.
  • Skip 5 seconds: Click the right round arrow to go forward 5 seconds of the audio file.
  • Playback speed: You can adjust the speed of the audio file without affecting its pitch. Click on the current speed and select the relevant one from the list 0.5, 0.75, 1, 1.25, 1.5, and 2. By default, X1.00.
  • Classify: The Classify feature lets users make annotations on an audio file by using the position of their mouse pointer on the waveform (the visual representation of the sound). This means they can easily tag specific parts of the audio by pointing and clicking on the waveform.
  • Audio dB value: It displays the audio signal's dB value of the selected audio position. If there is no sound, it displays No Sound.
  • Audio Binding: You can toggle this option from the control bar by using the slider (on/off modes).
    • ON mode (by default): while playing, selecting an annotation from either the audio signal or the annotation list will set the playback position at the beginning of this annotation.
    • OFF mode: Causes this binding to be removed, and moving between annotations either from the audio wave or from the annotation list will not change the audio play position.
  • Loop playback: This button enables the looping of a section of an audio item within the boundaries of the current selection range.
    • Loop back mode:
      • If an annotation is selected, it is played in a loop until either paused or it reaches the existing “loop playback” mode.
      • If no annotation is selected, the audio will loop back when it reaches the end.
  • Duration (01:30:04.768 / 02:30:04.768): The Dataloop Audio Annotation Studio supports millisecond annotations for precise annotations. For example, the duration "01:30:04.768" represents "hh:mm:ss.milliseconds".

Before You Begin

Supported Audio formats

The following audio file formats are supported in the Audio Studio:

  • WAV
  • MP3
  • OGG
  • FLAC
  • M4A
  • AAC

Annotation Type - Subtitle Type

Audio studio annotations are of Subtitle Type, enables adding transcription into the classification annotation. Refer to the Audio Item section to classify an audio file using the SDK.

Audio Classification Tool

Audio classification is the only annotation tool supported in the audio studio, and it allows you to classify the audio segments with the annotation labels available in the recipe.

Classify

The Classify feature lets you create annotations based on the position of your cursor on the audio waveform. Here's how you can use it:

Create Annotations and Transcriptions: Position your cursor on the desired point of the audio file to create annotations.

For example:

  • If you select the audio position at 15 seconds in a 30-second audio file and click Classify, an annotation will be created from the beginning to the 15-second mark.
  • If there is an existing annotation from 5 seconds to 10 seconds, the new annotation will be created from 10 seconds to 15 seconds.

Transcription List

In the audio annotation studio, transcription is the process of converting spoken language in an audio file into written text. Audio Studio supports transcription tasks done by human labelers, or pre-annotations uploaded with transcription.

The Transcription table provides a list of annotations along with their transcriptions. Each transcription is linked to a specific annotation and its corresponding time frame. The table includes the following details:

  • Annotation's Label Name and ID: Identifiers for each annotation.
  • Audio Control: Play or Pause option for the audio segment.
  • Segment Start and End Times: Indicates the start and end times of a segment within the audio file. For example, "01:30:04.768" indicates that the segment begins at 1 hour, 30 minutes, and 4.768 seconds into the audio file.
  • Total Duration: The length of the segment within the audio file.
  • Annotation Info and Note Icons: Icons providing additional information and notes about the annotation.

Transcription Mode

Clicking on the toggle button for Transcription mode allows you to hide the left and right panels to have a clearer and larger view of the Audion Studio.

Speaker Name

A speaker name is a name that describes the audio speaker in the best possible manner. The speaker name is related to the label at the item level, and it does not apply to other items.

For example, if the task is transcribing a podcast and the labels are interviewer or guest, the annotator can add the name of the speaker once, and it will be relevant at that item level.

Note: The speaker name is optional to use, and it is up to the instructions of the task.

Annotation ID

Annotation IDs are used to differentiate instances of annotations.
For example, there might be five annotations with the label Person, but each requires a unique ID.


Work in the Audio Annotation Studio

Task Prerequisites

Labeling work is performed in the context of a labeling task. Create your task with the intended data (audio files), the Recipe (labels, attributes, and labeling instructions), and annotate team members.

How to Create Annotations in the Audio Studio?

  1. Play the audio file in order to hear the audio recording.
  2. Identify the desired time frame (start and end points) to be annotated.
  3. Ensure you selected the desired label.
  4. Drag the mouse on top of the waveform between the two time points. The selected timeframe changes color to match the color of the label.

Note: A new annotation is created, and the new annotation is listed both on the annotation list and the transcription list.

How to Add Annotations with Transcription in the Audio Studio?

  1. Create an annotation.
  2. Click on the Transcription field.
  3. Type the audio transcription in the Transcription field of the annotation.
  4. Press the Enter or Return keys to save it. A new annotation is displayed in the annotations list located in the transcription column. The transcription saves the characters exactly as typed, allowing high accuracy in translation and speech-to-text tasks.

Note: Click on the transcription at any time to edit it.

Using Classify

  1. Select the required to be annotated interval in the time frame.
  2. Click Classify. The Transcription text box is enabled.
  3. Enter the transcription and press the Enter key to save the changes.

Using Classify While Playing the Audio

  1. Start playing the audio file.
  2. Once you reach the selected point to annotate in the time frame, click Classify. The Transcription text box is enabled.
  3. Enter the transcription and press the Enter key to save the changes.

How to Edit Annotations' Start/End Time in the Audio Studio?

Suggested below are multiple methods for editing the annotation start time and end time.

  • Use the + or - icons to adjust the end or start time.
  • Drag the annotation onto the waveform.
  • Use the pin icon to set a new start time or end time for the related annotation.

How to Split an Annotation's Transcription in the Audio Studio?

Using this transcription feature, you can split annotations.

Place the mouse cursor between the transcription words and press the Enter or Return key. A new annotation is created.

How to Merge an Annotation's Transcription in the Audio Studio?

Using this transcription feature, you can merge annotations.

Place your mouse cursor at the beginning of the transcription and press the Backspace or Delete key. The annotation will be merged with the previous annotation.

How to Find and Replace a Transcription in the Audio Studio?

Use the Transcription Finder function to find and replace transcription texts. Follow these steps to use the Transcription Finder function:

  1. Open the Audio Annotation Studio.
  2. Press the F key to open the Transcription Finder popup.
  3. Input the desired text in the Find What field to find it within the transcriptions.
  4. To replace the text with another, input the new text in the Replace With field.
  5. (Optional) Choose additional options as necessary:
    1. Match case
    2. Find whole word only
  6. Click Find Text to highlight matching texts in the transcription.
  7. If replacement is needed, click either Replace or Replace All. A confirmation message will be displayed.

How to Remove Transcriptions in the Audio Studio?

  1. Identify the annotation from the list and click on the transcription. The Transcription text box is enabled.
  2. Delete the text in the transcription box and press the Enter to save the changes.

How to Set the Speaker's Name in the Audio Studio?

  1. On the Annotation Table list, click the annotation name. A pop-up window is displayed.
  2. Select the Speaker Name tab.
  3. Enter the name of the speaker.
  4. Click Save Changes.

How to Switch Annotation Labels in the Audio Studio?

There are two options to switch labels:

Use the Annotation Table List to Switch Annotation Labels

  1. On the center Annotation Table list, click the annotation name. A pop-up window is displayed.
  2. Make sure you are on the labels tab, and select the desired new label to switch to.
  3. Click Save Changes.

Use the Annotation List from the Right-Side Panel to Switch Annotation Labels

  1. On the right-side panel, select the annotation from the annotations list.
  2. Click on either the Change label & attributes icon from the top (above the Search Annotations field) or the Edit label icon (pencil icon) from the right-side of the annotation. A pop-up window is displayed.
  3. Make sure you are on the labels tab, and select the desired new label to switch to.
  4. Click Save Changes.

Note: Ensure that the updated label is displayed in both the annotation list and the interval time frame.

How to Set Attributes for an Annotation in the Audio Studio?

  1. On the Annotation Table list, click on the annotation name. A pop-up window is displayed.
  2. Select the Attributes tab.
  3. Set the attributes and click Save Changes.

Also, you can use the annotation list on the right-side panel, select the annotation, and follow the above steps to set the attributes.

How to Create Overlapping Annotations in the Audio Studio?

  1. Identify the timeframe on the existing annotation where you need to create a new annotation.
  2. Click the Shift key and drag the mouse to create an annotation on top of another annotation.

How to Zoom an Annotation Interval in the Audio Studio?

There are two options to zoom an annotation interval.

Zoom in Gradually via the Mouse's Scroll Wheel

  1. Click the relevant annotated interval on the time frame.
  2. Use the mouse's scroll wheel to zoom in on the interval.

Zoom in at Once via a Double-click

  1. Click the relevant annotated interval on the time frame.
  2. Double-click the mouse to zoom in on the interval.

Zoom Out

  1. Click the relevant annotated interval on the time frame.
  2. Use the mouse's scroll wheel to zoom out the interval, or

Use the Fit to screen icon to return to its original size.

How to Modify Annotations' ID in the Audio Studio?

  1. Click on the annotation label. It enables the ID field to be modified.
  2. Modify the value and press the Enter key.

How to Delete Annotations in the Audio Studio?

  1. Select the relevant annotation(s) from the annotation list.
  2. Click Delete and confirm it.

Note: Ensure that the deleted interval is removed from the annotation list and the time frame.

Audio Studio Keyboard Shortcuts

General Shortcuts

ActionKeyboard Shortcuts
SaveS
DeleteDelete
UndoCtrl + Z
RedoCtrl + Y
Zoom In/OutScroll
Change BrightnessVertical Arrow + M
Change ContrastVertical Arrow + R
PanCtrl + Drag
Tool Selection0-9 (1-6 for Segmentation Studio)
Move selected annotationsShift + Arrow Keys
Previous ItemLeft Arrow
Next ItemRight Arrow
Add Item DescriptionT
Mark Item as DoneShift + F
Mark Item as DiscardedShift + G
Enable Cross Grid Tool HelperAlt + G
Hold G to show Cross Grid MeasurementsG
Hide/Show AnnotationsH
Show Unmasked PixelsCtrl + M
Hide/Show Annotation ControllersC
Set Object ID menuO
Toggle pixel measurementP
Use tool creation modeHold Shift
Copy annotations from previous itemShift + V

Annotation Tool - Audio

ActionKeyboard Shortcuts
Toggle Play/PauseSpace
Previous Annotation<
Next Annotation>
Decrease Play Speed[
Increase Play Speed]
StopBackspace
Activate zoom button-
Fit to screen=
Toggle Audio Binding/
Jump 20 seconds backwardZ
Jump 10 seconds backwardX
Jump 5 seconds backwardC
Jump 5 seconds forwardV
Jump 10 seconds forwardB
Jump 20 seconds forwardN
Set current transcription start time\
Set current transcription end time"
Edit selected annotation transcriptionCtrl + A
Save transcriptionCtrl + S
Open Search Modal (Transcription Finder)F


What's Next