[PD] expr from sssad/gui-objects

2008-08-06 Thread Atte André Jensen
Hi

I have three number-boxes connected to sssad objects. When they all have 
their value restored I'd like to make an [expr $f1 - $f2 - $f3]. Since I 
don't know which box will get restored first I have bangs from the the 
second and third numbers to the hot inlet, which 1) is very ugly and 2) 
will always give three outputs from expr, only the last being correct.

How can I make a calculation *only when all three values are available*?

Sorry if the answer (again) is obvious...

-- 
peace, love  harmony
Atte

http://atte.dk   | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] expr from sssad/gui-objects

2008-08-06 Thread Frank Barknecht
Hallo,
Atte André Jensen hat gesagt: // Atte André Jensen wrote:

 I have three number-boxes connected to sssad objects. When they all have 
 their value restored I'd like to make an [expr $f1 - $f2 - $f3]. Since I 
 don't know which box will get restored first I have bangs from the the 
 second and third numbers to the hot inlet, which 1) is very ugly and 2) 
 will always give three outputs from expr, only the last being correct.
 
 How can I make a calculation *only when all three values are available*?

The only way I can think of is to send a bang after restoring all
sssad-settings i.e. after the set message to SSSAD_ADMIN and use
this to bang a temporary storage float. Otherwise it's not know which
of the three numbers has to be considered the last one.

See attachement.

Ciao
-- 
 Frank Barknecht _ __footils.org__


too-hot.pd
Description: application/puredata
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] expr from sssad/gui-objects

2008-08-06 Thread Frank Barknecht
Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:

 The only way I can think of ...

Here's another thing I could think of: store the three numbers in a
single list. See att. again.

Ciao
-- 
 Frank Barknecht _ __footils.org__


too-hot-two.pd
Description: application/puredata
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] expr from sssad/gui-objects

2008-08-06 Thread Enrique Erne
hi
if you have three number-boxes connected to [expr $f1 - $f2 - $f3],
don't you have a trigger problem anyway?



Atte André Jensen wrote:
 Hi
 
 I have three number-boxes connected to sssad objects. When they all have 
 their value restored I'd like to make an [expr $f1 - $f2 - $f3]. Since I 
 don't know which box will get restored first I have bangs from the the 
 second and third numbers to the hot inlet, which 1) is very ugly and 2) 
 will always give three outputs from expr, only the last being correct.
 
 How can I make a calculation *only when all three values are available*?
 
 Sorry if the answer (again) is obvious...
 


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list