Audio in Python: Need tips for getting started

Hello!

I have some ideas of things I want to do in Python, in regards to audio, as a hobby. I picked Python deliberately. Anyone got tips on what to use, or look out for, or anything else?

Some of the things I want to try making include an audio file format converter, a stem separator (but without neural networks/AI), and something related to audio plugins (Like CLAP, VST3, LV2 etc).

I’d appreciate even generic tips regarding audio in Python, if nothing comes to mind regarding the above plans. Or cautions. I don’t know how friendly/hostile Python is for audio.

-EZ4Stephen

Performed a google search and obtained the following feedback:

Can use the following library when working with audio files:

Here is a pair of YouTube introductory videos. One provides an introduction to the Pedalboard library for adding effects to audio and one provides a general overview of working with audio data.

Good luck!

Just watched the pedalboard video, that was excellent. I should also probably use NumPy if applicable, based on a segment of the video.

It seems like the codecs module is only for text and has nothing relating to audio codecs. Can a separate “Ideas” post be done for adding audio-related decoding/encoding for that module, or is it a bad idea?

If you perform a google search using both keywords Python and codecs, this came up. Python is so broad in applications that I am sure there is already something out there that may meet your requirements.

For example, found this: