View Full Version : Python fluidsynth and sound synthesis
I'm exploring sound synthesis for future versions of maesynth, and I'm coming to the conclusion that Fluidsynth and sound fonts are the way. Any of you kernel types able to build debs for this. I think this stuff already exists we just need maemo versions. :p
On the other hand if you know of better ways to do sound synthesis with Python I'm all ears
Python fluidsynth website
http://code.google.com/p/pyfluidsynth/
It looks like we have fluidsynth in Diablo
http://maemo.org/packages/view/fluidsynth/
anyone able make a version for Fremantle
ok just answering myself it looks like Jebba did the whole frigging lot of debian debs :D
http://talk.maemo.org/showthread.php?t=43188
opps looks like it failed to build in jebbas repo due to dependencies:mad:
downloading source to see if we can backport to fremantle the latest version.
aspidites
2010-06-15, 16:12
yikes. I see. Back to the drawing board. BTW, looking at wildmidi, it doesn't seem to be a synthesizer, but rather justplays midi files, optionally converting to wav. Did I miss something?
yikes. I see. Back to the drawing board. BTW, looking at wildmidi, it doesn't seem to be a synthesizer, but rather justplays midi files, optionally converting to wav. Did I miss something?
wildmidi I believe is a software synth lib, and a midi player. The player uses the synth lib. The problem I think is how the two are partitioned. I think the lib does the sound rendering of the midi notes, but does not actually deal with send the notes to the sound driver. The player does this. This makes the lib harder to work with than the pyfluidsynth stuff that you saw, with its note on and note off type interface.
I'm slowly coming to the conclusion that python and audio on the N900 are not mixing, throw in the issues with latency of Pulseaudio and things are looking grim for high speed synth type work. :o
aspidites
2010-06-16, 05:52
If you can figure out what command is neccessary to play a single note with wildmidi player you could wrap that easiy:
from subprocess import Popen
Popen(['wildmidi', 'some_sound.midi']).communicate()
vBulletin® v3.8.8, Copyright ©2000-2025, vBulletin Solutions, Inc.