MatLabPiano

This is a simple code that generates music by pressing keys.

You are now following this Submission

This is a simple code that generates music by pressing keys.
The code uses a special function that avoids pressing enter after each key
Unfortunately the function "sound" makes the code slow. This must be fixed in future versions. Any help will be greatly appreciated.

Cite As

Alex Dytso (2026). MatLabPiano (https://www.mathworks.com/matlabcentral/fileexchange/40123-matlabpiano), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0