필터 지우기
필터 지우기

Is it possible to send MIDI from Matlab to a DAW?

조회 수: 3 (최근 30일)
Adam
Adam 2023년 11월 2일
답변: jibrahim 2023년 11월 6일
I wrote a small script to generate some random rhythms and output MIDI data from it, but I was wondering if there's a way to send this MIDI data into a DAW like Ableton. It works fine with the Windows GS Wavetable Synth and MIDI Mapper, but I can't figure out if it's possible to send it into the DAW. I don't have any external MIDI devices I can use as a passthrough or anything.

답변 (2개)

Taylor
Taylor 2023년 11월 2일
Generally the process would be to create a virtual MIDI port, send the MIDI messages from MATLAB to this port, and receive the messages in Abelton (or whichever DAW you prefer). If you haven't already, you will need to install a virtual MIDI driver (the one you choose will depend on your OS). Refer to the following pages for specifics on sending/receiving MIDI messages with MATLAB and an overview on MIDI devices with MATLAB
  댓글 수: 1
Adam
Adam 2023년 11월 2일
Thank you! I was thinking there was probably a program for virtual MIDI, since there's virtual audio cables.
For anyone else who might need this info:
I used this program to create the virtual MIDI port. Doesn't need any setup, just create a new port and it will show up in Ableton (and probably any other DAW). It functions as an input and an output so there's no need to make sure you get the right one when setting the mididevice() call.

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


jibrahim
jibrahim 2023년 11월 6일
You can work with MIDI using functions in Audio Toolbox. Here is the relevant documentation:

카테고리

Help CenterFile Exchange에서 Musical Instrument Digital Interface (MIDI)에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by