Giter VIP home page Giter VIP logo

sound_classification's Introduction

Enviromental_Sound_Classification

Rasp Raspberry Pi with Webcam

dist

Dataset Class distribution

CNN with 8 layers. Data extracted are mfccs for 1/10 of a second of audio.

Mel Frequency Cepstral Coefficents

Mfcc is a feature widely used in speech recognition.It consists of a complex series of steps that have been established to help with sound classification.The thought process behind these steps is to mimic the way human hearing works.

Initially the audio is cut in 20-40ms frames where we assume that the frequency does not have huge changes. On those frames we apply the SFFT to transfer the signal to the frequency zone and to get the power magnitude. Afterwards we use the mel filterbank which is a series of low and high frequency filters that bring the signal into something closer to what the human ear hears(the human ear is better adjusted to hearing the differences between low frequency sounds).
With the mel filterbank the signal also passes to a logarithmic scale, meaning that lowder noises are now much lowder, something that is true in human hearing aswell.
The last step is to find the delta coefficients of the signal to show the trajectory of the sound over time ,which as shown in the past increases the accuracy of neural networks.

breath

Nice articles related

Code

To classify audio (wav),place it in the same directory with make_prediction.py
and model3.sav files and give as arguments filename and length in seconds.
ex. python make_prediction.py filename.wav 7

sound_classification's People

Contributors

fabianhogger avatar

Stargazers

styljo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.