Skip to content

Learning Blocks

Choosing an Audio learning block

Pick between Classification, Transfer Learning and Anomaly Detection for your sound project.

Try it in Studio
On this page

The idea in one minute

The learning block is the part that learns. On Create impulse, select Add a learning block and choose one of three:

Learning blockAnswers the questionYou need
Classification"Which of my sounds is this?"Labelled clips for every sound, including a noise label
Transfer Learning (Keyword Spotting)"Which of my sounds is this?", starting from a model that already knows imagesThe same labelled clips; works well when you have few clips
Anomaly Detection"Is this sound normal or unusual?"Clips of normal sound only

A simple example

  • A doorbell that should react to ring, knock and noise → Classification.
  • The same idea, but you only have 20 recordings of each → try Transfer Learning too and compare.
  • A fan that should warn you when it starts to sound different → Anomaly Detection, trained on the normal fan sound.

How to decide

  1. Do you know every sound you want to name, and can you record it? Use Classification. Start here.
  2. Is Classification not accurate enough, or do you have very few clips? Try Transfer Learning with the same data.
  3. Do you only have examples of "normal", and want to catch anything else? Use Anomaly Detection.

Where you use this in PetalEdge