GithubHelp home page GithubHelp logo

johnglover / eurasip2011 Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 0.0 156 KB

Code needed to replicate the results from my 2011 paper in the open access EURASIP Journal on Advances in Signal Processing.

License: Other

Python 100.00%

eurasip2011's Introduction

Real-time Detection of Musical Onsets with Linear Prediction and Sinusoidal Modelling - EURASIP 2011

Code needed to replicate the results from my 2011 paper in the open access EURASIP Journal on Advances in Signal Processing.

The article (and reference information) can be found here: http://asp.eurasipjournals.com/content/2011/1/68

Send comments/queries to john dot c dot glover at nuim dot ie

Dependencies

  • Modal (and all related dependencies)

Modal Onset Database

The most recent onset database (set of annotated samples) is available from Dropbox

Use

Make sure that the variable data_path in the main __init__.py file corresponds to the directory that your modal onset database is in, and that onsets_path corresponds to the name of the onset database. This defaults to the data folder in the package directory.

Run:

$ python analysis.py

This will create a HDF5 file containing the analysis results called analysis.hdf5 in the same directory.

After making an analysis database, run

$ python results.py

to build a results database.

Running

$ python results_by_odf.py

will create plots of the precision, recall and f-measure results in a directory called images.

Running

$ python results_by_sound_type.py

will print the average F-measure results for each "type" of sound (for each ODF separately). The current sound types are Non-Pitched Percussive, Pitched Non-Percussive, Pitched Percussive and Mixed.

eurasip2011's People

Contributors

johnglover avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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