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