This function turns a data series into a tune. It plays the tune and stores it for further processing.
Example:
load piano.mat
data = [738.7 234.8 510.4 39.2 106.5 103.6 224.9 98.8 231.7 166.4 13.6 39.0 159.8 44.6 172.0 26.9 114.8 100.8 101.9 49.7 69.4 172.5 100.9 259.3 172.8 161.2 202.1 102.9 331.1 181.0 324.0 335.2];
tune = audialize(data,fastnotes,Fs,0.5);
Cite As
Richard Tol (2024). audialize (https://www.mathworks.com/matlabcentral/fileexchange/122767-audialize), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.