Pianosound in matlab
Version 1.1.0.0 (14.9 MB) by
Kristofer
Single or multiple pianokeys sound at the same time.
Normally if you use a simple sinuswave for listening to the tunes the low keys cant be heard and the loudness of the sound varies. This is a simple solution where you instead hear the piano sound with more equal loudness when you choose to sound many keystrokes simultaneously.
m-file:
TUNES2PIANOSOUND(M)
M is a vector with pianokeys from pianonote 1 to 88 played at the same time.
Cite As
Kristofer (2026). Pianosound in matlab (https://www.mathworks.com/matlabcentral/fileexchange/27902-pianosound-in-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Audio Toolbox > Audio I/O and Waveform Generation >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data > Piano sounds >
Find more on Audio I/O and Waveform Generation in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
