[PD-dev] [ pure-data-Patches-3603652 ] add bang methods to atan2 and math ops

SourceForge.net noreply at sourceforge.net
Thu Feb 7 19:54:57 CET 2013


Patches item #3603652, was opened at 2013-02-06 19:14
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3603652&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Miller Puckette (millerpuckette)
Summary: add bang methods to atan2 and math ops 

Initial Comment:
Added bang methods to:
atan2 cos sin atan tan sqrt log exp abs
Added arg to:
atan2

----------------------------------------------------------------------

>Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2013-02-07 10:54

Message:
true.

but i would go for the "none" route, if somebody asked me :-)

anyhow, i'm not aware of any math "unop" that can be banged (but i haven't
dug deep in my memory)

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2013-02-07 07:45

Message:
objects with a cold inlet store the last value, by definition, so any
object with a cold inlet keeps an internal state.  the majority of the math
objects with a cold inlet respond to a bang by using that stored value to
run the calculation again.  Either all of the math objects or none of the
math objects should respond to the bang.  Its totally arbitrary and
inconsistent to have some that respond and some that don't

----------------------------------------------------------------------

Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2013-02-07 00:12

Message:
i understand the argument to [atan2], but why would you need to [bang( all
those messages?
i think it is very nice that they don't have an internal state (and
actually more objects should not be bangable, just because you can)

----------------------------------------------------------------------

Comment By: Jonathan Wilkes (jancsika1)
Date: 2013-02-06 20:53

Message:
Well, this patch should cover everything in x_arithmetic.c.

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2013-02-06 20:11

Message:
For consistency's sake, all of the math objects should respond to the bang
message and accept arguments when they have a second inlet.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3603652&group_id=55736



More information about the Pd-dev mailing list