Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ZulfadhliM/python-mir

Open more actions menu

Repository files navigation

Music Information Retrieval (MIR) in Python

Some state-of-the-art music information retrieval techniques written in Python.

Features

  • Onset Detection: estimates the onset times of an audio signal
  • Pitch Estimation: estimates the pitches of a monophonic audio signal

Getting Started

The main.py file shows an example of using the MIR techniques. The audio signal that is under analysis is the guitar riff from the track "Day Tripper" written by The Beatles in "1" album. The graph below shows the results:

MIR Result

The top graph shows the signal (right channel only) of the opening guitar riff played by George Harrison. The middle graph shows the onset detection function that is calculated using Rectified Complex Domain method (blue line) and the estimated onset times (dotted red lines). The bottom graph shows the estimated fundamental frequencies over time.

Dependencies

  • NumPy
  • SciPy
  • matplotlib
  • Soundfile (optional)

Future Work

Will add more MIR techniques e.g. polyphonic frequency estimation, spectral peaks extraction, inharmonicity coefficient estimation, music segmentation and etc.

About

Some state-of-the-art music information retrieval techniques written in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.