Classify Urban Sound using Machine Learning & Deep Learning

版本 1.0.2 (6.5 MB) 作者: Kevin Chng
Experience both techniques (ML & DL) to classify audio data (urban sound)
624.0 次下载
更新时间 2020/1/7

Overview :

The credits for this example go to Ian Alfred. He drafted this example, I modified the example to explain my insight and solution. For this example, we are going to classify Urban sounds dataset using Machine Learning. Please be take note, i would not explain deep learning technique, although people generally believe deep learning technique could get higher accuracy. Let see what can we do with Machine Learning first. For this project we will use a dataset called Urbansound8K. The dataset contains 8732 sound excerpts (<=4s) of urban sounds from 10 classes, which are:

Air Conditioner
Car Horn
Children Playing
Dog bark
Drilling
Engine Idling
Gun Shot
Jackhammer
Siren
Street Music

The accompanying metadata contains a unique ID for each sound excerpt along with it's given class name. A sample of this dataset is included with the accompanying git repo and the full dataset can be downloaded from here.

There are 7 milestones in this example :

Milestone 1 : Introduction to the Example, Explore and Visualize the Data
Milestone 2 : Data Pre-processing and Extracting Features using Diagnostic App Designer (Signal Time-Domain Features & Spectral Features)
Milestone 3 : Model Training and Evaluation
Milestone 4 : Model Deployment
Milestone 5 : Extract Feature using MFCC to train Machine Learning Model
Milestone 6 : Classify Urban Sound using Wavelet Analysis and Deep Learning

Highlights :
preparing the real life data for audiodatastore
Standardize and normalize the digital signal data (Sample Rate, Bit-Depth, Number of Channel)
Extract features with different approaches (Time-domain Signal features & Spectral Features, MFCC, Discrete Wavelet Transform, Haar 1D Wavelet Transform)
Train machine learning model using classification learner app
Train deep learning model
deploy machine learning model to embedded devices or desktop application

Product Focus :
MATLAB
Audio Toobox
Statistics and Machine Learning Toolbox
Signal Processing Toolbox
DSP System Toolbox
Wavelet Toolbox
Deep Learning Toolbox

引用格式

Kevin Chng (2024). Classify Urban Sound using Machine Learning & Deep Learning (https://github.com/KevinChngJY/classifyurbansound_matlab), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 AI for Signals 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.2

slightly changes

1.0.1

little bit changes

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库