I'm trying to program a comb filter in C with the same functionality
as comb~ (as a personal exercise), but i'm having trouble getting the dual
signal/float capabilities in the inlets.
Depending on the order in which i call dsp_setup and floatin() in the
create object method as well as addftx() in main, i get radically
different results, which often don't correspond to the inlet numbers i've
given as floatin() and addftx() arguments. Additionally, sometimes,
instead of creating dually functional inlets, it simply creates two
inlets, one signal and the other float.
I've tried to find the reasons for all of these things in the Writing
Externals document, and i've tried to find examples of the code on the
net, but all to no avail. Can anybody help or point me in the direction
of the answer?