C programming – inlet intricacies
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?
On around Feb 3, 2006, at 23:15, daniel e mcanulty said something like:
> 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.
MSP objects use proxies for inlets.
Read up on proxies. If you use addftx() you are shooting yourself in
————– http://www.bek.no/~pcastine/Litter/ ————–
Peter Castine | ^
| Litter Power & Litter Bundle for Jitter
firstname.lastname@example.org | iCE: Sequencing, Recording, and Interface Building
email@example.com | for Max/MSP
| Extremely cool
thank you, will do.
if you download tl.objects, you’ll find source code included. I’ve
often found it to be useful to look at others code to get things