Diffusion Music
Have you ever wondered how a stochastic diffusion process sounds like? Here you can find the answer (spoiler: horrible!)
In the code, you can change the number of "voices" used (the num. of diff. processes), or the distribution of drift rate, starting tone , starting time, and length for each voice. Play around with this parameter and try to see if you can come up with anything reasonable. I couldn't!
thanks to the midi library by Ken Schutte http://www.kenschutte.com/midi
Cite As
Valerio Biscione (2024). Diffusion Music (https://www.mathworks.com/matlabcentral/fileexchange/50791-diffusion-music), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
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.