[PD] get send-names from gui objects

IOhannes m zmoelnig zmoelnig at iem.at
Tue May 20 18:01:47 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2014-05-20 17:55, Mirko Maier wrote:
> Hi List, I have (say) two bangs, one sends with the send-symbol
> "bang1" and the other with "bang2". Is there a possibility to get
> at a certain part ("myplace") of the patch easily either the
> numbers "1" or "2" (when hitting those bangs)? Of course one could
> attach each receiver to messages with these numbers [r bang1] | 
> [1( | [s myplace]

use a graph-on-parent abstraction mybng.pd to wrap [bng] (with a
send-name "$0-bng"), in there do
[r $0-bng]
|
[list prepend $1]
|
[s myplace]

and use it [mybng 1], [mybng 2],...


fgasdmr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCAAGBQJTe3xrAAoJELZQGcR/ejb4riQP/iAM+r8qRel715eNzTD1yCb+
CPVaGCsWYTVGB9k+w1Kc+fTBZBd4e3hCykCYq61MS4eLwRZX1h8EdKUU8nCHYm3/
IOR2uWEPXo3LIkzy1jXB0E4ilhanvy0+C9sTELjSZECn2hGd1kcRWA3sShvUB8xU
qK0f2hD5bg8DkaVuWmeOyzCYU8iS5IieqPs6l5GhRxp9V0OS59evivMpGbdkfESZ
nEdsEfPISdQk8BM0N3MQeC24/4lLIuxt/lBN2S8UgwZmjRVwuR2M0DbgwCId1Ii7
8cwy4k47pxUYcu90Zeg7/1homRR8QUu/Xa/JkOAfwJ11fgVtaqw9f/cHVXZkeTGl
1OKmQFOky2l1oc1ctza2BoSrPVgREKKU4rh7bpHJlSIlgG9041Hu6TD3ig8yyZCw
Dx8YDB8SA+4OJnIOsfvL0IQm3oO7viPJ3hX0uSOX2Pmbc1lAMAucMWXKzbNJYhdb
86fyhj5NQVYCy8Tj/SpcDVq2XbZ5DRaPynRU/mLZCx3e4a4jkjmLDC+7GFi+i7wM
5S7GDUM9ZdvkqBooBfp9mwZ3LLh4SNMvy4jTWIxkklIM/n3JYV/LbAGbumwDQH1+
coFl7YongpFuH+pR4vqFf/38arPdytS3ZquEDOGKSkr0WsPUsxRkxQb6EbqZ/gPi
p3OOW8JkSbWD4pfGU6/0
=O+PA
-----END PGP SIGNATURE-----



More information about the Pd-list mailing list