Converting MIDI Files to Text Using 'MidiToolbox'
조회 수: 9 (최근 30일)
이전 댓글 표시
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.
The toolbox is downloadable from this website: https://www.jyu.fi/hum/laitokset/musiikki/en/research/coe/materials/miditoolbox/
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
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulation, Tuning, and Visualization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!