S ScienceFairProjects.info
Medium⏱ time2 hr$ cost0

Voice Command Recognizer

Train a model to tell a few spoken words apart and trigger actions from your voice.

Start building ↓
fig — working model Result first

The build

Step 01

Record words

Capture many samples of each command.

Step 02

Add noise class

Record background sound too.

Step 03

Train

Let the tool learn the audio classes.

Step 04

Trigger

Speak a word to fire an action.

Working Principle

The model learns the sound signature of each word from your samples and matches new audio to the closest command.

The science behind it

A closer look

Audio is turned into a spectrogram (a picture of sound), so the model classifies words much like images.

Take it further

Variables to test

  • 1 Add a 'background' class — fewer false triggers?
  • 2 Test with a different speaker — still works?

More AI