Hi Thoralf,
I think you could use the select object for that; the select-object alternates the bang between the left and right outlet, depending on the creation argument [1/0] of the right inlet. If you send a bang to the left inlet via a message [1] the bang is routed to the left or right outlet, according to 1/0 [creation argument] on the right inlet.
Maybe this is what you want.
Ciao,
Sara
Quoting Thoralf Schulze thoralf_schulze@yahoo.de:
Hi there,
this is probably really noob.
I banged my head several times yesterday while trying to route a bang in pd - in other words: I wanted an object that takes bang at its left inlet and a simple 0/1 at its right. The bang should then be routed to either the left or the right outlet, according to the right inlet. The solution I finally came up with is to convert the bang to a number, use moses to do the actual routing and convert the numbers moses spits out to bangs again. Not quite an elegant solution, I guess - I appreciate any hints.
With kind regards, Thoralf.
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list