Sound Generation in Python: Turning Your Data into Music

Sound Generation in Python: Turning Your Data into Music

Not long ago, I published?an article entitled “The Sound that Data Makes”. The goal was turning data — random noise in this case — into music. The hope was that by “listening” to your data, you could gain a different kind of insights, not conveyed by visualizations or tabular summaries.

This article is a deeper dive on the subject. First, I illustrate how a turn the Riemann zeta function, at the core of the Riemann conjecture, into music. It constitutes an introduction to scientific programming, the MPmath library, and complex number algebra in Python. Of course this works with any other math function. Then I explain how to use the method on real data, create both a data sound track and a data video, and combine both. This material and the accompanying PDF document corresponds to one of the projects offered to participants in the AI/ML technical training and certification designed by my research lab. More about this program,?here.

Benefits of Data Sonification

Data visualizations offer colors and shapes, allowing you to summarize multiple dimensions in one picture. Data animations (videos) go one step further, adding a time dimension. You can find many on my YouTube channel. Then, sound adds multiple dimensions: amplitude, volume and frequency over time. Producing pleasant sound, with each musical note representing a multivariate data point, is equivalent to data binning or bukectization.

Stereo and the use of multiple musical instruments (synthesized) add more dimensions. Once you have a large database of data music, you can use it for generative AI: sound generation to mimic existing datasets. Of course, musical AI art is another application, all the way to creating synthetic movies.

To read the full article with documented source code, follow this link. No sign-up required.

followed the link to go deeper into it. Love to learn more. Thanks

Mykel G. Larson ?

I create. I build.

1 年

I'm trying this out in my own way to see if pattern detection is streamlined. Maybe it will be, maybe it won't. ??

Kurtis Burns

Senior Software Engineer | Innovator | Computational Neuroscientist

1 年

I have often liked taking snapshots of memory or storage and gaging them into audible tones and then turning it into instrumentation. It is a near endless addiction for musicians and music lovers both! I love doing these kinds of things! :-)

Divyanshu Dwivedi

Data & Decision Science | Product Security Engineering | Financial Engineering | IIT Kanpur

1 年

Such a creative idea! Thank you for sharing!

要查看或添加评论,请登录

Vincent Granville的更多文章

社区洞察

其他会员也浏览了