enricocupellini / MuReToolbox

Partial porting of the MIDI Toolbox 1.1. library from MATLAB to Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MuReToolbox 0.8 (February 2024)

MuReToolbox, an acronym for Music Research Toolbox, is a project for a partial porting of the MIDI Toolbox 1.1. library from MATLAB to Python. Where indicated, the original functions have been modified. Please refer to the original version below for further information.

Toiviainen, P., & Eerola, T. (2016). MIDI Toolbox 1.1. URL: https://github.com/miditoolbox/1.1

Main functional differences from the original library:

  • The present library does not provide Midi import

  • "nmat" (note matrix), table resulting from the MIDI file import it is not used here. Functions here accept single music features like pitches, durations, velocities as input parameters.

  • Utilities to process nmat are no needed, therefore a number of function like "dur()", "onset()", "pitch()" are not provided by the present library

  • Durational accents according to Parncutt's model, are computed using Inter Onset Intervals (IOIs) while the Matlab MidiToolbox uses 'note duration'.

Known issues

  • private/xcorr.py module has a bugged code, therefore ofacorr.py (line 8) uses numpy.correlate function instead of xcorr function
  • at the present moment only few of the expected modules have been ported

About

Partial porting of the MIDI Toolbox 1.1. library from MATLAB to Python

License:Other


Languages

Language:Python 100.0%