Issue 113 in mingus: Audio driver not listed, fails assertion

18 views
Skip to first unread message

min...@googlecode.com

unread,
Mar 12, 2012, 3:22:38 AM3/12/12
to mingus...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 113 by aibo...@gmail.com: Audio driver not listed, fails assertion
http://code.google.com/p/mingus/issues/detail?id=113

What steps will reproduce the problem?
1. Find a FluidSynth implementation using audio driver name "dsound".
2. Try to initialize mingus.midi.fluidsynth.

I'm using a precompiled FluidSynth implementation found on:
http://fluidsynth.flyx.org/

It lists 'dsound' and 'file' as valid audio driver names.

fluidsynth.init("soundfont.sf2", "Direct Sound")
fails with:
fluidsynth: error: Couldn't find the requested audio driver Direct Sound.
Valid drivers are: dsound, file.

fluidsynth.init("soundfont.sf2", "dsound")
causes:
File "C:\Python27\lib\site-packages\mingus\midi\pyFluidSynth.py", line
217, in start
assert (driver in
['alsa', 'oss', 'jack', 'portaudio', 'sndmgr', 'coreaudio', 'Direct Sound'])
AssertionError

v mingus-0.4.2.3-py2.7

min...@googlecode.com

unread,
Jan 23, 2013, 6:54:44 PM1/23/13
to mingus...@googlegroups.com

Comment #1 on issue 113 by logan.wi...@gmail.com: Audio driver not listed,
fails assertion
http://code.google.com/p/mingus/issues/detail?id=113

I also had this issue. I just replaced 'Direct Sound' in that line
(pyFluidSynth.py, line 217) with 'dsound' to get playback to work.

Reply all
Reply to author
Forward
0 new messages