[LAU] Re: Languages used for programming music

MS lists <[email protected]>
Newsgroups gmane.linux.audio.users
Message-ID <fPEj9ddsU2YIcpue4L7QMazl07OxGf2Zvo1GGOVsFWZsWynNi44fL3RbElPowxc90tNlXRkFKM6XBnMN86YRZiquNfvO6TF4bF-YGQm-bIE=@djiamnot.xyz>
On Friday, December 26th, 2025 at 19:39, david <[email protected]> wrote:

> I've considered finding various ways to combine pi, e (natural logarithm) and other irrational mathematical numbers into music. Right now, it's all manual. But if it could be done programmatically, it might be more fun. At least faster.
> (...)
> Any advice?

If by "combining numbers into music" you mean obtaining symbolic representation of music (i.e. score that you will give to musicians, MIDI, etc.), Python might be a low-hanging fruit. There are many modules for all kinds of scientific computing and visualization, Music21 is made for handling musical structures on any level and can export to MIDI, MusicXML, Lilypond, and probably other formats. The language is "easy" to learn and there are tons of resources for learning and growing. You could probably even do the maths in a spreadsheet of your choice and use Python + Music21 only to convert your CSV file to a score.

For explorations on the level of sound synthesis or DSP, you'll probably want to look into SuperCollider, FAUST or CSound, the choice will be hard to make. Nyquist (Lisp syntax) is part of Audacity, so that might be one possible path.

> Postscript (yes, it is a full Turing-complete language!),

So is PowerPoint :P

Cheers,

Michał

_______________________________________________
Linux-audio-user mailing list -- linux-audio-user-cunTk1MwBs/[email protected]
To unsubscribe send an email to linux-audio-user-leave-cunTk1MwBs/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.