- 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.
- 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.
- 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.
how to establish a midi device for software audio plugins using MATLAB 2023a new features
6 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Varun
on 11 Sep 2023
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:
Please read the following documentation for more specific details on MIDI message formats and functionalities.
0 Comments
See Also
Categories
Find more on Simulation, Tuning, and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!