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
Valerio Biscione (2023). Diffusion Music (https://www.mathworks.com/matlabcentral/fileexchange/50791-diffusion-music), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!