Hello,
Is there an object that will hold TWO numbers it has received and wait for an incoming "bang" to go ahead and SEND them through its output?
Or is there a way to make this work?
I would need this to work more than once. For example: *send "0.123 1500" to object*, *send bang which releases "0.123 1500" from its output*, *send 0.445 677" to object*, *bang which releases 0.445 677"*, etc...
Thank you for taking the time to read this! Any help is greatly appreciated! -Sebastian
you can send as many numbers and objects as you like into the right inlet of [list], and then bang the left inlet to spit them out.
maybe include [list trim] after the list object to get rid of the "list" header if it is troubling.
hi sebastian....
maybe you should dive into the help of pd.
you also could use for example:
[bang> | /your first float [f] | /your second float [pack f f] |output
welcome der.brandt
Zitat von "Sebastian Valenzuela" svalenzuelamusic@gmail.com:
Hello,
Is there an object that will hold TWO numbers it has received and wait for an incoming "bang" to go ahead and SEND them through its output?
Or is there a way to make this work?
I would need this to work more than once. For example: *send "0.123 1500" to object*, *send bang which releases "0.123 1500" from its output*, *send 0.445 677" to object*, *bang which releases 0.445 677"*, etc...
Thank you for taking the time to read this! Any help is greatly appreciated! -Sebastian
yet another way: use a messageboxes with [set( [add2 $1( and [bang( See message-help.pd and the [pd changing messages] subpatch in particular. gr, Tim
2011/10/17 brandt@subnet.at
hi sebastian....
maybe you should dive into the help of pd.
you also could use for example:
[bang> | /your first float [f] | /your second float [pack f f] |output
welcome der.brandt
Zitat von "Sebastian Valenzuela" svalenzuelamusic@gmail.com:
Hello,
Is there an object that will hold TWO numbers it has received and wait for an incoming "bang" to go ahead and SEND them through its output?
Or is there a way to make this work?
I would need this to work more than once. For example: *send "0.123 1500" to object*, *send bang which releases "0.123 1500" from its output*, *send 0.445 677" to object*, *bang which releases 0.445 677"*, etc...
Thank you for taking the time to read this! Any help is greatly appreciated! -Sebastian
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
Sure, many ways...try [bang(| [23 45(| |[list]|[unpack]| |[ / [ / List behaves just like [f] but holding listsJosep M From: timvets@gmail.com Date: Mon, 17 Oct 2011 15:13:02 +0200 To: brandt@subnet.at CC: pd-list@iem.at Subject: Re: [PD] Hold TWO numbers until bang??
yet another way: use a messageboxes with [set( [add2 $1( and [bang( See message-help.pd and the [pd changing messages] subpatch in particular. gr, Tim
2011/10/17 brandt@subnet.at
hi sebastian....
maybe you should dive into the help of pd.
you also could use for example:
[bang>
| /your first float
[f]
| /your second float
[pack f f]
|output
welcome
der.brandt
Zitat von "Sebastian Valenzuela" svalenzuelamusic@gmail.com:
Hello,
Is there an object that will hold TWO numbers it has received and wait for
an incoming "bang" to go ahead and SEND them through its output?
Or is there a way to make this work?
I would need this to work more than once.
For example:
*send "0.123 1500" to object*, *send bang which releases "0.123 1500" from
its output*, *send 0.445 677" to object*, *bang which releases 0.445 677"*,
etc...
Thank you for taking the time to read this!
Any help is greatly appreciated!
-Sebastian
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list