On Wed, Jan 26, 2011 at 7:48 PM, David Henningsson
<address@hidden> wrote:
On 2011-01-26 00:25, jimmy wrote:
GOAL FOR THIS PATCH:
--------------------
This patch would allow the flexibility to set any individual channel to be drum channel, and/or unset them (revert back to melodic channel).
--------------------
Nice to see some work with this. I agree roughly with Matt's comments and would suggest a
enum fluid_channel_type
{
CHANNEL_TYPE_MELODIC,
CHANNEL_TYPE_DRUM
};
And an:
int fluid_synth_set_channel_type(fluid_synth_t* synth, int chan, int channel_type);
...as a public API function.
Even though I can't really see any other channel types than "Melodic" and "Drum" at the moment, it'll give some space for future ideas.
// David