[PD] route a bang

Eric Skogen eskogen at usfamily.net
Tue Jan 18 01:17:09 CET 2005


Here is a solution using built-in Pd objects (if you don't mind creating 
an abstraction).

See attached.


[inlet]  
| 
|    [inlet]
|   /
[f]
 |
[sel 0 1]
|    \
|    [outlet]
|
[outlet]



e

Thoralf Schulze wrote:

>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 at iem.at mailing list
>UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
>  
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dear_thoralf.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20050117/1c4f01c7/attachment.txt>


More information about the Pd-list mailing list