Em sáb., 9 de jan. de 2021 às 12:33, Alexandre Torres Porres <
[email protected]> escreveu:

> +-----+-----+----------------------+----------------------+
> |Bank | PC  | Name*                 |      Info.           |
> +-----+-----+----------------------+----------------------+
> | 000 | 000 | 1 [ Theater Upper ]  | No Sound, Title Only |
>

What I see now is that program numbers should be indexed from 0, right? As
it is, program 1 refers to program 0 on the program list, so it is indexed
from 1 instead! That is, the code is subtracting "1", but I checked the
original fluid~ code and it doesn't do that, see
https://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/footils/fluid/fluid/main.cpp#l193

On the other hand, I was using the port to Pd's API from Purr Data and that
subtraction was introduced in the code then, see
https://git.purrdata.net/jwilkes/purr-data/-/blob/master/externals/fluid~/fluid~.c#L93

I considered that a backwards compatibility breakage and also a bug and I
don't know what to do now. Purr Data's version also introduced "smmf" mode
and I was keeping it all just so an external or a patch from Purr Data that
uses fluid~ could run in Pd Vanilla, but I don't feel like keeping this
bug/breakage. So I can ask them to fix it over there or just fix the bug
and remove "smmf" mode and compatibility to Purr Data.
_______________________________________________
Pd-dev mailing list
[email protected]
https://lists.puredata.info/listinfo/pd-dev

Reply via email to