Use Matlab as external midi controller

조회 수: 7 (최근 30일)
Arthur Parmentier
Arthur Parmentier 2017년 7월 18일
답변: Ajey Pandey 2018년 6월 29일
Hello,
I want to be able to use a computer (1) that has Matlab installed as an external midi controller for an other pc (2) that has a DAW - Reaper in that case - installed on it. That means, I want to use the pc with matlab (1) to send midi messages to the pc (2), on which the pc (1) would be recognized as a midi device.
I have read several topics on how to use a midi controlled with matlab but I did not find information on how to use matlab to emulate an external midi controller. The connection between the two pcs would have to be via USB.
If you have any suggestions, let me know!
Best regards
  댓글 수: 1
Don Zheng
Don Zheng 2017년 7월 21일
No likely for now. This may be possible in a future release of MATLAB.

댓글을 달려면 로그인하십시오.

답변 (1개)

Ajey Pandey
Ajey Pandey 2018년 6월 29일
There are the midisend and midimsg functions in R2018a:
This function takes in message data in a variety of formats and converts it into MIDI messages, using an object made by the function midimsg. Provided you have the data in a format that midimsg can read (and it can read a lot of formats), you can send all kinds of MIDI messages to a device that your MATLAB session has access to.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by