Musical Instrument Digital Interface (MIDI)

Create, send, and receive MIDI messages

Audio Toolbox™ enables you to create, send, and receive MIDI messages. You can interface with MIDI Control Surfaces and MIDI Devices in real time.

Functions

expand all

midideviceSend and receive MIDI messages
mididevinfoMIDI device information
midimsgCreate MIDI message
midireceiveReceive MIDI message from MIDI device
midisendSend MIDI message to MIDI device
midiidInteractively identify MIDI control
midicontrolsOpen group of MIDI controls for reading
midireadReturn most recent value of MIDI controls
midisyncSend values to MIDI controls for synchronization
midicallbackCall function handle when MIDI controls change value
getMIDIConnectionsGet MIDI connections of audio object
configureMIDIConfigure MIDI connections between audio object and MIDI controller
disconnectMIDIDisconnect MIDI controls from audio object

Blocks

MIDI ControlsOutput values from controls on MIDI control surface

Topics

MIDI Device Interface

Interact with MIDI devices by sending and receiving MIDI messages.

MIDI Control Surface Interface

Understand the MIDI protocol and use MIDI functions for real-time parameter tuning.

MIDI Control for Audio Plugins

Use MIDI functions to efficiently tune audio plugin parameters in MATLAB®.

Design and Play a MIDI Synthesizer

Interpret MIDI note messages to create audio waveforms in real time.

What Are DAWs, Audio Plugins, and MIDI Controllers?

Learn about the role of digital audio workstations (DAWs), audio plugins, and Musical Instrument Digital Interface (MIDI) controllers in designing audio processing algorithms.

Featured Examples