[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] note panning

From: Josh Green
Subject: Re: [fluid-dev] note panning
Date: Tue, 16 Dec 2008 11:43:23 -0800

Hello Philip,

When using the ALSA sequencer MIDI driver there is the option of setting
channels to a multiple of 16 (synth.midi-channels), which will create
one ALSA MIDI port per 16 channels.

As for setting panning on a per note basis..  This is possible to do
with the SoundFont loader API in FluidSynth.  This would require that
you write your own SoundFont loader for FluidSynth, which is what Swami
does, since it does its own instrument management (the Swami FluidSynth
plugin might be useful as a reference, at least in regards to the

You could use libInstPatch to make this easier (already has a SoundFont
loader and system for converting instruments to lock/malloc free voice
caches for use with FluidSynth).  In the noteon handler for the loader,
you would then override the panning SoundFont generator when creating
the FluidSynth voices.  The libInstPatch API is unfortunately not yet
stable, although I'm working to make that happen.  Let me know if you
would like to try this option and I can help you with it.

Best regards,

On Tue, 2008-12-16 at 11:16 -0800, O. P. Martin wrote:
> Hi,
> Thank you guys for bringing this up.  I would like to be able to
> control not only pan but also tuning on a per-note basis.  Channel
> level control is a limitation of Midi.  Function call entry points to
> FluidSynth which optionally rise above Midi would be nice.
> In the mean time, is it not possible to have multiple instances of
> Fluid, each with a number of channels?  It may be.  Also, is it
> possible to recompile to increase the number of channels?  I haven't
> looked.  Perhaps a #define?
> Merry Christmas.
> May the Lord bless you,
> Philip

reply via email to

[Prev in Thread] Current Thread [Next in Thread]