<div dir="ltr"><div dir="ltr"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sáb., 9 de jan. de 2021 às 12:33, Alexandre Torres Porres <<a href="mailto:porres@gmail.com">porres@gmail.com</a>> escreveu:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote">+-----+-----+----------------------+----------------------+<br>|Bank | PC  | Name*                 |      Info.           |<br>+-----+-----+----------------------+----------------------+<br><div>| 000 | 000 | 1 [ Theater Upper ]  | No Sound, Title Only |</div></div></div></blockquote><div><br></div>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 <a href="https://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/footils/fluid/fluid/main.cpp#l193">https://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/footils/fluid/fluid/main.cpp#l193</a></div><div class="gmail_quote"><br></div><div class="gmail_quote">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 <a href="https://git.purrdata.net/jwilkes/purr-data/-/blob/master/externals/fluid~/fluid~.c#L93">https://git.purrdata.net/jwilkes/purr-data/-/blob/master/externals/fluid~/fluid~.c#L93</a><div><br></div><div>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.</div><div> </div></div></div>