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!