The program shows a window with a roulette (showing the 12 semitones), a 2-octave piano and some options.
You can play the virtual piano using different instruments (simple sine wave, real piano, real guitar, real flute).
You can also play a note clicking on the roulette.
You can play (PLAY button or space bar) 'any' chord with the chosen instrument.
You can easily (with up/down arrows or up/down scroll) change the tonic note and also easily (with left/right arrows) change the mode.
You can select between chord (all notes are played at a time) or arpeggio (ascending, descending or ascending-descending) and the delay (between following notes) in this last option.
F1: to see a brief help.
Unzip all in a folder (PIANO, GUITAR and FLUTE subfolders should appear) and just run "MATLAB_CHORDS_0000" in MATLAB (as always, you should be placed in that folder, through cd foldername, or it should be added in MATLAB PATH).
More modes and instruments can be added in a future.
Real instruments were downloaded from University of Iowa. Electronic Music Studios (http://theremin.music.uiowa.edu/index.html), and extracted, conditioned and converted to wav.
If you want to donate: paypal.me/JesusLucioGarcia (thanks!)
Jesús Lucio (2021). MATLAB CHORDS (https://www.mathworks.com/matlabcentral/fileexchange/74009-matlab-chords), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!