|
From: | David Henningsson |
Subject: | Re: [fluid-dev] Propose changes for drum channels support |
Date: | Wed, 26 Jan 2011 12:48:49 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |