MIDI reading files

ForumCategory: Digital Signal ProcessingMIDI reading files
Sally Dabbah asked 8 months ago

I’m trying to read midi files (.mid), I found on GitHub this library which contains a lot of functions that allows to read, write and play midi files on Matlab ( it converts midi files to frequencies).
https://github.com/kts/matlab-midi/blob/master/src/readmidi.m
I uploaded a mid file , but the “Undefined variable PianoRollViewParser” error is showing every time I click Run.
I searched online and found another guy that made a similar library for web reading files.
https://github.com/dpwe/alignmidi/blob/master/index.html
And here he claimed that we should restart Matlab and Edit “classpath.txt” file. And I have to make sure to make the steps in the link: http://www.ee.columbia.edu/~csmit/karaoke_midi.html
I clicked on the link to download “KaraokeMidiJava.jar.” but a 404  error showed.

Comments ( 0 )

    Leave A Comment

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    1 Answers
    Tomer Gal Staff answered 8 months ago

    Hi,
    I suggest to check if you added the MIDI library to the MATLAB path.

    https://www.google.com/search?q=matlab+add+folder+to+path&oq=matlab+add+folder+to+path&aqs=chrome..69i57j69i60j0l4.5583j0j7&sourceid=chrome&ie=UTF-8

    Comments ( 0 )

      Leave A Comment

      Your email address will not be published. Required fields are marked *

      This site uses Akismet to reduce spam. Learn how your comment data is processed.