Code Monkey home page Code Monkey logo

aca-code's Introduction

Matlab sources accompanying the book An Introduction to Audio Content Analysis - Applications in Signal Processing and Music Informatics by Alexander Lerch, [email protected]

Please note that the provided code examples as matlab functions are only intended to showcase algorithmic principles – they are not suited to be used without parameter optimization and additional algorithmic tuning.

The majority of these matlab sources require the Matlab Signal Processing Toolbox installed. Several scripts (such as MFCCs and Gammatone filters) are based on implementations in Slaney’s Auditory Toolbox.

Please feel free to visit http://www.audiocontentanalysis.org/code/ to find the latest versions of this code or to submit comments or code that fixes, improves and adds functionality.

The top-level functions are:

  • ComputeFeature: calculates instantaneous features
  • ComputePitch: calculates a fundamental frequency estimate
  • ComputeKey: calculates a simple key estimate
  • ComputeNoveltyFunction: simple onset detection
  • ComputeBeatHisto: calculates a simple beat histogram

The names of the additional functions follow the following conventions:

  • Feature*: instantaneous features
  • Pitch*: pitch tracking approach
  • Novelty*: novelty function computation
  • Tool*: additional help functions such as frequency scale conversion, dynamic time warping, gammatone filterbank, ...

Example: Computation and plot of the Spectral Centroid

[afAudioData, fs] = wavread(cWavePath);
[v_sc,t] = ComputeFeature('SpectralCentroid', afAudioData, fs);
plot(t,v)
grid on, xlabel('t'),ylabel('v_sc')

aca-code's People

Contributors

alexanderlerch 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.