[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] fluid_sequencer_t funkiness
From: |
Corbin Simpson |
Subject: |
Re: [fluid-dev] fluid_sequencer_t funkiness |
Date: |
Sat, 03 Oct 2009 14:14:04 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 |
On 10/03/2009 03:38 AM, Louis B. wrote:
> I think you have hit the same problem that I hit when I integrating to
> fluidsynth (regarding the no sound anyway) .You need to send a
> programme change event before you hear any sound.
>
> this is what I do as workaround in my initialisation routines but it
> really should
> fixed within the fluidsynth library.
>
> for (int channel = 0; channel < MAX_MIDI_CHANNELS ; channel++)
> {
> //fluid_synth_program_select(m_synth, channel, m_soundFontId,
> 0, GM_PIANO_PATCH);
> fluid_synth_program_change(m_synth, channel, GM_PIANO_PATCH);
> }
>
> This is not required with the stand alone fluidsynth. I don't know
> about about the alsa lock up though.
Problem solved. Corrupt soundfont caused state corruption and I wasn't
correctly checking soundfont loading errors.
Embarrassing.
On the plus side, I appear to have all the functionality I need now.
Thanks for the time.
~ c.