7

Can anyone recommend a good library for generating an audio file, such as mp3, wav, or even midi, from python?

I've seen recommendations for working with the id tags (song name, artist, etc) in mp3 files, but this is not my goal.

Serenity
  • 35,289
  • 20
  • 120
  • 115
Tyler
  • 28,498
  • 11
  • 90
  • 106
  • It's important to note that MIDI is not audio. You only hear sound when MIDI is played back through something like a virtual instrument or synthesizer. – Aaron May 10 '09 at 14:25

2 Answers2

10

See http://wiki.python.org/moin/Audio/ and http://wiki.python.org/moin/PythonInMusic, maybe some of the projects listed there can be of help.

Also, Google is your friend.

codeape
  • 97,830
  • 24
  • 159
  • 188
0

I've never used it, but check out ounk.

tmatth
  • 499
  • 4
  • 14