フィルターのクリア

how to establish a midi device for software audio plugins using MATLAB 2023a new features

6 ビュー (過去 30 日間)
Dmitrii Kriukov
Dmitrii Kriukov 2023 年 9 月 4 日
回答済み: Varun 2023 年 9 月 11 日
Hello,
I want to control my software FM synthesizer using external midi controller with MATLAB.
I want to send midi messages from my midi controller to MATLAB input midi channel, process all these midi bytes in MATLAB in real time, and use MATLAB midi output to trigger software FM synthesizer.
Is it possible now in 2023a?
Best

回答 (1 件)

Varun
Varun 2023 年 9 月 11 日
Hi Dimitrii,
Looks like you want to send MIDI messages from your midi controller to MATLAB input midi channel, process all these midi bytes in MATLAB in real time, and use MATLAB midi output to trigger software FM synthesizer.
Yes, it is possible to control a software FM synthesizer using an external MIDI controller with MATLAB R2023a.You can use Musical Instrument Digital Interface (MIDI) functions of Audio Toolbox.
Here is a brief guide of using MIDI functions:
  1. Use the MIDI functions to set up a MIDI input and output device in MATLAB. You can use the mididevinfo function to get a list of available MIDI devices and their IDs.
  2. Open the MIDI input device in MATLAB and continuously read incoming MIDI messages using the midiin function. You can process these messages in real-time using your MATLAB code.
  3. Use the processed MIDI messages to trigger the software FM synthesizer. You can use the midiout function in MATLAB to send these MIDI messages to the synthesizer.
Please read the following documentation for more specific details on MIDI message formats and functionalities.

カテゴリ

Help Center および File ExchangeSimulation, Tuning, and Visualization についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by