Hi Yanli, I found out that my problem is actually the VirtualBox I run my XP in. DirectSound doesn't work in a VirtualBox environment. A friend of mine tested my binaries on his native XP installation, and they worked for him. However, I don't work with MIDI input; our testing is basically done by starting the fluidsynth command line tool, sending some noteons and playing a midi file.
As I'm in contact with another developer who uses FluidSynth and has trouble to compile it, I decided to make the binaries I compiled and tested publicly available. If that's any help for you, you can download them here: http://fluidsynth.flyx.org/ Cheers, Felix On 24.11.2010, at 15:52, yanli lei wrote: > Hi Felix, > > It work with MIDI file playback within the fluidsynth, I'm expected it to > capture MIDI input. > > which command did you pass to load the audio driver? I use LoopBe1 as a > virtual MIDI driver. > > Well, I tried install DirectX SDK (Jun 2010), nothing work too. > > On Wed, Nov 24, 2010 at 10:44 PM, Felix Krause <fordprefec...@googlemail.com> > wrote: > I'm having a similar problem here. > > I compiled fluidsynth on Windows 7 and try to use it on XP. It works only if > I use the file audio driver. When I try to use dsound, fluidsynth gives me an > error and quits: > > fluidsynth: error: Failed to create the DirectSound object > failed to create the audio driver > > I did install the latest DirectX 9 runtime, but is it possible that when > compiling fluidsynth on Windows 7, it links against DX10 and thus doesn't > work with DX9? By the way, I need the 1.1.3 version and also libsndfile > support, so the binary from Qsynth is not an option. > > Cheers, > Felix > > > On 24.11.2010, at 13:55, yanli lei wrote: > > > It won't work with DirectX Jun 2010 runtime installed. What are the others > > option? > > > > > > On Wed, Nov 24, 2010 at 7:37 PM, yanli lei <yanlile...@gmail.com> wrote: > > Having install DirectX runtime (Jun 2010) still doesn't produce any sounds > > but one thing is strange, in "channels -verbose" all channels remain the > > same even when I tried a midi with symphony or bank. > > > > I afraid when I load the soundfont, the id is started as 1 on WinXP and 0 > > on W7. > > > > > > On Tue, Nov 23, 2010 at 9:23 PM, yanli lei <yanlile...@gmail.com> wrote: > > I have an urgent request from Government National Education to install > > FluidSynth with a musical application develop by us. > > > > I have compile successfully on W7 with C++ 2008 Express, GLib, libSnd and > > DirectX SDK and were able to play MIDI files. When I tried run without any > > errors on Windows XP SP2/SP3, it doesn't produce any sounds in Windows XP? > > Does it mean we have to install dsound.lib and dsound.h to get it to work? > > > > It show exactly as in W7: > > > > audio.driver dsound > > audio.dsound.device default > > audio.file.endian auto > > audio.file.format s16 > > audio.file.name fluidsynth.wav > > audio.file.type auto > > audio.input-channels 0 > > audio.output-channels 2 > > audio.period-size 512 > > audio.periods 8 > > audio.realtime-prio 60 > > audio.sample-format 16bits > > midi.driver winmidi > > midi.portname > > midi.realtime-prio 50 > > midi.winmidi.device default > > player.reset-synth True > > player.timing-source sample > > shell.port 9800 > > shell.prompt > > > synth.audio-channels 1 > > synth.audio-groups 1 > > synth.chorus.active True > > synth.cpu-cores 1 > > synth.device-id 0 > > synth.dump False > > synth.effects-channels 2 > > synth.gain 0.200 > > synth.ladspa.active False > > synth.midi-channels 16 > > synth.min-note-length 10 > > synth.polyphony 256 > > synth.reverb.active True > > synth.sample-rate 44100.000 > > synth.verbose False > > > > > > > I hope you can your spent your dedicate time how to get it work without > > need to install any unrelated software as I really need to get it to work > > before the thousands of schools open. This is a critical request. > > > > Thanks. > > > > > > > > > > _______________________________________________ > > fluid-dev mailing list > > fluid-dev@nongnu.org > > http://lists.nongnu.org/mailman/listinfo/fluid-dev > > _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/fluid-dev