Re: [fluid-dev] Propose changes for drum channels support

2011-01-25 Thread Matt Giuca
Hi Jimmy, I am not a FluidSynth developer, just an interested person, so my opinions don't represent the view of the FluidSynth project. This seems like a valuable generalisation of a previously hard-coded value. Given that your new flag will default to 0 for all channels and 1 for channel 9, it

[fluid-dev] Propose changes for drum channels support

2011-01-25 Thread jimmy
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). Add a flag to struct: _fluid_channel_t to indicate it is a drum channel, using int ty

[fluid-dev] Propose change: all_notes_off, all_sounds_off

2011-01-25 Thread jimmy
Propose changes for handling of "All notes off", "All sounds off". GOAL FOR THIS PATCH: Turn off all notes/sounds on all channels at once. If FluidSynth allows the parameter "chan" value -1 to mean operate on all channels, it is a reasonably simple and efficient change. ---

Re: [fluid-dev] Making MIDI player read from a buffer

2011-01-25 Thread Matt Giuca
Hi David, In response to your post here: http://lists.nongnu.org/archive/html/fluid-dev/2011-01/msg3.html > Well, for the memory allocation issue it sounds like we both are leaning > towards #5 as in copying the memory. I don't think the > inefficiency is an issue and it gives FS the most op

Re: [fluid-dev] FluidSynth backend for SDL_mixer

2011-01-25 Thread Matt Giuca
Hi David, Thanks for replying. If you don't mind, I'll take this conversation (about MIDI buffers) to the other thread ("Making MIDI player read from a buffer"), and stop CCing James, Sam and Ryan. PS. Ryan, if you're reading this, I heard your FLOSS Weekly interview a couple of years back (on SD