[PD] "sorry: only 5 args typechecked; use A_GIMME"

Chris Chronopoulos chronopoulos.chris at gmail.com
Mon Feb 6 07:42:10 CET 2017


Hi list,

Some time ago I wrote an external for generating euclidean rhythms. It
worked in pd-extended (0.43.4), which I was using at the time. Now I've
moved over to vanilla 0.47.1, and when I try to instantiate it, I get the
following error:

class euclid: sorry: only 5 args typechecked; use A_GIMME
objectmaker_euclid: only 5 arguments are typecheckable; use A_GIMME
Bad arguments for message 'euclid' to object 'objectmaker'

So I tried what it suggests, with A_GIMME, 0, and now I can instantiate it,
but it doesn't work. As soon as I feed it a bang, Pd crashes with terminal
output "Floating point exception".

Code is attached. Any suggestions? What's this typechecking/A_GIMME
business about anyway?

_chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170206/96f65623/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: euclid.c
Type: text/x-csrc
Size: 3277 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170206/96f65623/attachment.c>


More information about the Pd-list mailing list