Coder Social home page Coder Social logo

welee666 / audioprocessing-toolbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryuk17/audioprocessing-toolbox

0.0 1.0 0.0 667 KB

extract the time domain or frequent domain features from wav format audio

Home Page: https://github.com/DandelionLau/AudioProcessing-toolbox

License: MIT License

MATLAB 100.00%

audioprocessing-toolbox's Introduction

AudioProcessing

An toolbox for audio processing in Matlab,the verison of Matlab is R2016a.
The audio sample in this toobox is 8000Hz, 16 bits.

1. getAudioFingerpriner

  • getAudioFingerprinter calcuates the difference of the energy of each frequency sub-band as shown below.
    Extraction process

  • Specifically, the extraction process including the following steps:

  1. divide audio into frames, the overlap length is alterable
  2. do fft for each frame
  3. divide frequency spectrum into 32 frequency sub bands
  4. calcuate the energy of each sub band
  5. calcuate audio fingerprinter as follow
    Bit Derviation
  • The result is shown below printer

2. getZCR

  • getZCR calcuates the zero-crossing rate which can be used to predict the frequency roughly.
  • Specifically, the extraction process including the following steps:
  1. divide audio into frames
  2. calcuate zcr of each frame using the following equation
    ZCR
    where sgn(x) is given by
    sgn(x)
  • The result is shown below
    zcrpic

3. getLandmarks

  • getLandmarks calcuates the max-enegry points(also called landmark) in the frequency spectrum.

  • Specifically, the extraction process including the following steps:

  1. divide audio into frames, the overlap length is alterable
  2. do fft for each frame
  3. calcuate the energy of frequency
  4. calcuate the local maximum as landmark
  • The result is shown below
    landmark-2d landmark-3d

4. getEnergy

  • getEnergy calcuates the short-time energy.

  • Specifically, the extraction process including the following steps:
    1.divide audio into frames, the overlap length is alterable
    2.calcuate the energy using the following equation:
    stenergy

  • The result is shown below
    getEnrgy

5. getSpecgram

  • getSpecgram calcuates the spectgram.
  • Specifically, the extraction process including the following steps:
  1. divide signal into frames in time domain
  2. do fft of each frame
  • The result is shown below
    specgram

6. getLMSPredictor

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.