Sound Event Detection with Machine Learning

Jon Nordby

Data Data Science Machine-Learning Sensors

See in schedule: Thu, Jul 29, 10:30-11:15 CEST (45 min) Download/View Slides

Sound Events (or Audio Events or Acoustic Events) are individual distinct sounds.
This could be the pop of roasting popcorn kernels,
the cough of a patient, a car that is passing by on a road,
or the sound of an alarm in an office building.
Sound Event Detection (SED) is the task of detecting such sounds,
returning precise times that each kind (class) of sound occurs.
It finds uses in music analysis, manufacturing, medicine and noise monitoring.

We will show how to realize a basic Sound Event Detection system in Python,
using fermentation tracking of beer brewing as a fun and practical example.
The talk will cover all major parts of such a system, including:

- Collecting and exploring a custom dataset
- Setting up the supervised learning task from the dataset
- Extracting spectrogram features from audio waveforms
- Training a Convolutional Neural Network (CNN) and Recurrent Neural Network (RNN)
- Running the trained model on an real-time audio stream
- Processing model output probabilties into discrete events
- Evaluate the performance of the resulting SED system

Example code in Python covering these aspects will be provided.
Libraries used with be Keras, TensorFlow and scikit-learn for machine learning,
and pysoundfile, sounddevice and librosa for audio processing,
with some numpy and pandas for general data manipulation.

Type: Talk (45 mins); Python level: Beginner; Domain level: Intermediate


Jon Nordby

Soundsensing AS

Engineer with several years of experience as a Software Developer within Embedded Systems, Digital Signal Processing.
These days focusing on Machine Learning for Audio and Internet of Things.
Love to make things and teaching others to do the same. Active in the maker scene in Oslo, Norway.