Convert an image to song
Version 1.0.0.0 (2.46 KB) by
Joseph Hollmann
This function reads an image file and creates a tone vector
I wrote this function to help an undergrad in our lab with a music class. It uses the R, G and B values of individual pixels to set the tone, duration and intensity of each note in a "song". It currently only plays a single tone at a time.
Cite As
Joseph Hollmann (2024). Convert an image to song (https://www.mathworks.com/matlabcentral/fileexchange/40321-convert-an-image-to-song), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Images > Convert Image Type >
Find more on Convert Image Type in Help Center and MATLAB Answers
Tags
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |