[PD] Multiplying 2 variables

2013-11-28 Thread sebaroc...@gmail.com
Hi everybody, im sorry for this simple question but i guess i'm not handling it well. I know that the multiplying object stores two values (left inlet and right inlet) and performs the operation when both are stored or when a bang is sent to the left inlet. I did this mechanism (attached image) in

Re: [PD] Multiplying 2 variables

2013-11-28 Thread Lorenzo Sutton
Hi, On 28/11/2013 10:21, sebaroc...@gmail.com wrote: Hi everybody, im sorry for this simple question but i guess i'm not handling it well. I know that the multiplying object stores two values (left inlet and right inlet) and performs the operation when both are stored or when a bang is sent to

Re: [PD] Multiplying 2 variables

2013-11-28 Thread michael noble
On Thu, Nov 28, 2013 at 5:21 PM, sebaroc...@gmail.com wrote: > I know that the multiplying object stores two values (left inlet and right > inlet) and performs the operation when both are stored or when a bang is > sent to the left inlet. Not really. As lorenzo said, PD has strict rules regardi

Re: [PD] Multiplying 2 variables

2013-11-28 Thread michael noble
Oops, I think there is a mistake in the order of execution of the right trigger object in my example. It will give correct results when using the gui to change the number values, but I can see conditions where such an approach will lead to unexpected values. I think it can be fixed simply by swappi

Re: [PD] Multiplying 2 variables

2013-11-28 Thread Lorenzo Sutton
Hi. On 28/11/2013 11:20, michael noble wrote: On Thu, Nov 28, 2013 at 5:21 PM, sebaroc...@gmail.com mailto:sebaroc...@gmail.com>> wrote: I know that the multiplying object stores two values (left inlet and right inlet) and performs the operation when both

Re: [PD] Multiplying 2 variables

2013-11-28 Thread michael noble
Thanks for the correction... On Thu, Nov 28, 2013 at 6:33 PM, Lorenzo Sutton wrote: > Hi. > > > On 28/11/2013 11:20, michael noble wrote: > >> >> On Thu, Nov 28, 2013 at 5:21 PM, sebaroc...@gmail.com >> > >> > wrote: >> >> I know tha

Re: [PD] Multiplying 2 variables

2013-11-28 Thread michael noble
So now I'm confused. What is the issue with Sebastián's original approach? On Thu, Nov 28, 2013 at 6:33 PM, Lorenzo Sutton wrote: > Hi. > > > On 28/11/2013 11:20, michael noble wrote: > >> >> On Thu, Nov 28, 2013 at 5:21 PM, sebaroc...@gmail.com >> > >>

Re: [PD] Multiplying 2 variables

2013-11-28 Thread IOhannes m zmölnig
On 2013-11-28 10:21, sebaroc...@gmail.com wrote: > So, i think that im doing something wrong, could you help me? afaik, 452.8*8 IS 3622.4, so where is the problem? (Pd might truncate the *display* of a number (your result), that's why it shows "3622." instead of "3622.4"; but that doesn't mean th

Re: [PD] Multiplying 2 variables

2013-11-28 Thread Jack
Le 28/11/2013 10:21, sebaroc...@gmail.com a écrit : > > > > > > Hi everybody, im sorry for this simple question but i guess i'm not > handling it well. > I know that the multiplying object stores two values (left inlet and > right inlet) and performs the operation when both are stored or when > a

Re: [PD] Multiplying 2 variables

2013-11-30 Thread sebaroc...@gmail.com
Thanks you for the help, i think that the multiplication is fine and the problem could be in other place in my patch. Cheers!! 2013/11/28 Jack > Le 28/11/2013 10:21, sebaroc...@gmail.com a écrit : > > > > > > > Hi everybody, im sorry for this simple question but i guess i'm not > handling it