View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Play MIDI Note

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 1.96 KB File ID: #37359 Version: 1.0

Play MIDI Note



Get information about a MIDI note number like frequency and name. Play the note optionally.

| Watch this File

File Information

PLAYMIDINOTE Obtain information about a Midi note like its frequency and
name in the equitempered scale assuming A4 is 440Hz.

[NOTENAME, FREQ] = PLAYMIDINOTE(MIDINUM) returns name of the note correspondig to Midi note number MIDINUM and also returns its frequency
FREQ in Hz.

[NOTENAME, FREQ] = PLAYMIDINOTE(MIDINUM, 1) same as above, and additionally plays the specified note for one second.

[NOTENAME, FREQ] = PLAYMIDINOTE(MIDINUM, 1, DUR) same as above, and plays the specified note duration DUR seconds.

Required Products MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us