This little example requires a fluidsynth server running at port 9800:
>>> from mingus.extra import fluidsynth
>>> from mingus.container import *
>>> fluidsynth.init_fluidsynth()
>>> fluidsynth.play_Note(Note("A"))
This only plays an A on the piano, but playing chords, bars and tracks with other instruments is just as simple.
See mingus.googlecode.com for documentation, tutorials, downloads and the svn repository.
PS. I've also added bash tab completion to the directory bookmark tool I released earlier. I will try to upload that as soon as possible to another googlecode site - Update: see here.
Update @ Dec 4, 2008: A first demo program using this new features - a software keyboard - was made. See here
No Comments
Be the first to leave a comment for this article ;)