Audio quality score
The audio quality score operator evaluates an audio signal based on its speech and background noise to generate a quantitative quality score. This topic explains how to configure the operator.
Prerequisites
-
To use workflows, you must purchase the unstructured data feature for your instance.
-
You must have an existing workflow. For more information, see Create and manage workflows.
Permissions
In a Basic project, project administrators, developers, analysts, and custom project roles with the Dataset - Use permission can use any dataset in the project for the operator's input and output.
Supported file formats
The audio quality score operator can process files in the following formats: aac, amr, avi, flac, flv, m4a, mkv, mov, mp3, mp4, mpeg, ogg, opus, wav, webm, wma, and wmv.
Procedure
-
In the top navigation bar of the Dataphin homepage, choose Develop > Data development.
-
In the top menu bar of the Development page, select a project.
-
In the left navigation bar, select Data Processing > Workflow. In the Workflow list on the left, click the target workflow to open the workflow canvas. From the Operator Library on the left, drag the Audio Quality Score operator to the canvas, and in the Audio Quality Score panel on the right, configure the following parameters.
Parameter
Description
Step name
Enter a name for the operator. The name can be up to 256 characters long.
Input settings
Dataset
Select a hybrid dataset to process and then select a version. By default, the earliest version is selected.
This dataset is typically the output from an upstream operator.
Input field
Select a source field from the input dataset that contains the storage URL of the audio file to be processed. This field must have the Is URL parameter set to Yes.
Filter condition (Optional)
Use SQL syntax. Enter only the filter condition that follows the
WHEREclause. You can use system-wide variables, such as ${bizdate}.Operator settings
Processing model
Select a model for processing. You can select a built-in system model (Audiobox Aesthetics) or a large multimodal model. To use a large multimodal model, you must first configure a model of type Audio and set its status to Enabled in Intelligent application management > Model configuration.
Note-
For the pricing factors of system models, see Supported built-in models for intelligent applications.
-
If you have purchased an advanced license package for your own models, the system does not deduct Credits. Otherwise, a 0.2x charge rate applies.
Output settings
Dataset
You can select either a source dataset or other datasets. If the metadata table of the source dataset does not have a primary key, the output dataset defaults to Other Datasets.
-
When you select another dataset, you also need to specify a mixed dataset or a table dataset and its version as the output dataset. By default, the first version of this dataset is selected. You can also select other versions of the source dataset.
-
When you select a source dataset, the metadata produced by the operator will be written to the metadata table that corresponds to the same version of the source dataset.
Loading policy
If the metadata table of the selected output dataset has a primary key, the loading policy defaults to update on primary key conflict. If no primary key exists, it defaults to append data.
-
Append data: Appends new data to the destination table. An error is reported if a primary key or constraint conflict occurs.
-
Update on primary key conflict: If a primary key or constraint conflict occurs, the system deletes the existing row with the duplicate primary key and then inserts the new data.
-
Overwrite: Deletes all existing data from the destination table before writing the new data.
NoteIf you set the output dataset to Source Dataset, the loading policy only supports Update on primary key conflict.
Field mapping
The audio quality score operator generates the following fixed output fields:
-
over_quality_score: The overall quality score, which provides a comprehensive assessment of the audio's listenability. The score ranges from 0 to 1, where a higher score indicates better quality. -
signal_quality_score: The signal quality score, which assesses the clarity and naturalness of the speech signal. The score ranges from 0 to 1, where a higher score indicates better quality. -
bg_noise_quality_score: The background noise score, which assesses the level of interference from background noise. The score ranges from 0 to 1, where a higher score indicates better quality.
By default, the operator's output fields are mapped to fields with the same names in the output dataset. You can also manually select destination fields for custom mapping. Additionally, you can map passthrough fields from the source dataset to the destination dataset.
-
Add output field: Click to add a new, empty field mapping row. This function is available only when Other datasets is selected as the output dataset.
-
Batch mapping: Click to choose between batch manual mapping, same-name mapping, or same-row mapping. This function is available only when Other datasets is selected as the output dataset.
-
Delete mapping: Click the Delete icon to remove the corresponding field mapping row. You cannot delete the mappings for the operator's fixed output fields.
-
-
After you complete the configuration, click Save in the top menu bar of the canvas.
After you configure an operator, you can add upstream or downstream operators to complete the workflow.