Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python Music Library? [closed]

Tags:

python

audio

I'm looking at writing a little drum machine in Python for fun. I've googled some and found the python pages on music and basic audio as well as a StackOverflow question on generating audio files, but what I'm looking for is a decent library for music creation. Has anyone on here tried to do something like this before? If so, what was your solution? What, either of the ones I've found, or something I haven't found, would be a decent library for audio manipulation?

Minimally, I'd like to be able to do something similar to Audacity's scope within python, but if anyone knows of a library that can do more... I'm all ears.

like image 866
akdom Avatar asked Sep 20 '08 17:09

akdom


People also ask

Can you use Python to make music?

Pymps - Pymps is the PYthon Music Playing System - a web based mp3/ogg jukebox. It's written in Python and utilises the PostgreSQL database. MusicPlayer - MusicPlayer is a high-quality music player implemented in Python, using FFmpeg and PortAudio.

What is the name of the library used to play mp3 files in Python?

Play Mp3 Files With Python Using the playsound Package One simple way to play an mp3 file using Python is with the help of playsound library.


1 Answers

Take a close look at cSounds. There are Python bindings allow you to do pretty flexible digital synthesis. There are some pretty complete packages available, too.

See http://www.csounds.com/node/188 for a package.

See http://www.csounds.com/journal/issue6/pythonOpcodes.html for information on Python scripting within cSounds.

like image 79
S.Lott Avatar answered Sep 21 '22 15:09

S.Lott