Converting MIDI Files to Text Using 'MidiToolbox'

9 visualizaciones (últimos 30 días)
Preston
Preston el 5 de Abr. de 2013
Hello,
I'm not sure how many people are using Matlab for the purposes of MIDI analysis, but I've got a problem with this particular toolbox that I'm hoping to get help with.
Its purpose is to perform a variety of MIDI manipulation and analysis. After adding the toolbox folder to my Matlab path, I attempt to execute the function called 'readmidi' which is shown at the beginning of Chapter 3 in the toolbox manual: https://www.jyu.fi/hum/laitokset/musiikki/en/research/coe/materials/miditoolbox/Manual
ReadMIDI is supposed to take a MIDI file and convert it to a matrix form so that its contents can be read. I experience the following error when running it on the example MIDI file:
>> nmat = readmidi('laksin.mid');
Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer.
Error in readmidi
I tried increasing the recursion limit but it crashed. There's something else at work here...
Note: If you're running Windows 7, 64-bit like me, you might have to open up readmidi.m and change this line:
elseif strcmp(computer,'PCWIN') ----> elseif strcmp(computer,'PCWIN64')
Thanks
-P

Respuestas (0)

Categorías

Más información sobre Simulation, Tuning, and Visualization en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by