MIDI Interface for MATLAB

버전 1.2.0.1 (16.9 KB) 작성자: Tucker McClure
Supports bringing incoming MIDI data into MATLAB on Windows.
다운로드 수: 1.5K
업데이트 날짜: 2016/9/1

라이선스 보기

This simple interface allows MATLAB to read incoming MIDI data from a MIDI device or another MIDI program. For instance, if a MIDI keyboard is connected to the computer running MATLAB, this interface could be used to see what keys the user is playing, what knobs he's twisting, what pedals he has down, etc.
% Open an interface; the tool will prompt to select a device.
midi_interface('open');

% Play some notes on a connected keyboard or wiggle some knobs on a MIDI controller.

% Read all the new MIDI messages.
messages = midi_interface();

% Close the device.
midi_interface('close');

This currently only works on Windows (32/64-bit) and only supports one MIDI device at a time. If this tool proves useful for people, we could take it further, so just let me know!

Early beta.

인용 양식

Tucker McClure (2024). MIDI Interface for MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/37769-midi-interface-for-matlab), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2012a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.1

Updated license

1.2.0.0

The output timestamps of the MIDI data were wrong and aren't any more. (Thanks Janne.)

1.1.0.0

Updated copyright information.