On 09/15/2012 04:31 PM, Holger Marzen wrote:

> instrument (one fluidsynth-instance) per drum. Only 16 are available.
> Would it be possible to add more slots for synth plugins?

There are already supposed to be 24 slots, and that appears to be the 
case here.  I have Synth Plugin #1 through #24 available, though I 
didn't actually try populating all of them with plugins and seeing if it 
would all work.

I'm pretty sure 24 was chosen as an arbitrary number, to provide more 
than 16, but not so many as to be likely to crash someone's computer 
with the huge load.  I don't think there would be major consequences 
increasing the number past 24, but if it's set at 24 now and you're only 
seeing 16, then something else is already wrong before we even go there.

I had a quick look through the code and it looks likely that 
SoftSynthInstrumentCount (defined in src/base/Instrument.h) is being 
used sensibly throughout.  I tried assigning plugins to slots beyond #16 
and succeeded just fine.  All 24 are available here.

Synth plugins use high instrument ID values internally, so there is no 
chance of overlap or conflict, and the sky's the limit on what that 
could be set to, it looks like.  It does not, however, look like a good 
candidate for something that could be set through a configuration 
variable.  I'd expect the potential for some nasty consequences changing 
that at runtime.
-- 
D. Michael McIntyre

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to