Skip to content
PetalEdgeDocs

Complete Project Workflow

Audio workflow

Every step of an Audio project in Studio, from the first recording to a deployed model.

Try it in Studio
On this page
  1. 1Data acquisitionUpload or record
  2. 2Create impulseWindow and blocks
  3. 3Processing blockGenerate features
  4. 4Learning blockTrain the model
  5. 5EvaluationCheck and test
  6. 6DeploymentBuild a package
An Audio project, step by step

Each heading below matches an item in Studio's left menu. Audio projects have no separate Data labeling page: you give clips their label when you upload or record them, and you can change it later on the Data acquisition page.

1. Data acquisition

Add sound clips to your project:

  • Upload WAV, MP3, FLAC, OGG or WebM files, or a whole folder where each sub-folder name is a label.
  • Record with your computer's microphone. Studio can cut a long recording into 1-second clips for you.

Studio puts about 80 % of the clips in the training set and 20 % in the testing set. See Collecting audio data.

2. Create impulse

An impulse is the recipe that turns sound into predictions. On Create impulse:

  1. Check the Window size (1000 ms is a good start), Window increase (stride) and Frequency (Hz) (16000 for audio recorded in Studio).
  2. Select Add a processing block and choose one, for example Audio (MFE).
  3. Select Add a learning block and choose one, for example Classification.
  4. Select Save Impulse. Studio opens the processing block's page.

3. Processing block

  1. On the Parameters tab, check the settings and select Save parameters.
  2. On the Generate features tab, select Generate features. Studio turns every window of every clip into features.
  3. Look at the feature explorer. If each label forms its own group of points, the model will find the sounds easier to learn.

4. Learning block

Open the learning block in the left menu (for example Classification). Set Number of training cycles and Learning rate, then select Start Training. See Training an Audio model.

5. Evaluation

  • Evaluation summarises how well the model did.
  • Model testing runs the model on your testing set and shows a confusion matrix.
  • Live classification listens to your microphone and shows predictions as you speak or play sounds.

See Evaluating an Audio model.

6. Deployment

Open Deployment, choose a target device and a precision, and select Build Deployment Package. See Deploying an Audio model.

What next?