Main Content

Simulation, Tuning, Visualization, and MIDI

R2026b
Real-time prototyping and tuning, MIDI, audio test bench

Audio Toolbox™ enables real-time prototyping and tuning using MIDI devices and the Audio Test Bench. Modularize your algorithm as an audio plugin for code reuse and to access prototyping and testing tools. See Audio Plugins in MATLAB for more information.

Use the configureMIDI user interface to quickly synchronize an audio plugin with a MIDI device. Follow the Develop, Analyze, and Debug Plugins in Audio Test Bench example to learn about the all-in-one graphical debugging and testing suite.

Apps

Audio Test BenchDebug, test, and tune audio plugins
Audio ViewerView and play audio signals (Since R2024a)

Functions

expand all

spectrumAnalyzerDisplay frequency spectrum of time-domain signals (Since R2022a)
timescopeDisplay time-domain signals
dsp.ArrayPlotDisplay vectors or arrays
uiaudiometerCreate an audio meter component (Since R2023b)
parameterTunerTune object parameters while streaming
getMIDIConnectionsGet MIDI connections of audio object
configureMIDIConfigure MIDI connections between audio object and MIDI controller
disconnectMIDIDisconnect MIDI controls from audio object
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
midideviceSend and receive MIDI messages
mididevinfoMIDI device information
midimsgCreate MIDI message
midireceiveReceive MIDI message from MIDI device
midisendSend MIDI message to MIDI device
hasdataDetermine if data is available to read from MIDI device
showaudioblockdatatypetableSimulink block data type support table

Blocks

MIDI Controls blockMIDI ControlsOutput values from controls on MIDI control surface
Spectrum Analyzer blockSpectrum AnalyzerDisplay frequency spectrum
Time Scope blockTime ScopeDisplay and analyze signals generated during simulation and log signal data to MATLAB
Array Plot blockArray PlotDisplay vectors or arrays

Topics

Featured Examples