hi list,
how to block or freeze a message in time? i want to send 2 messages. one should recieved later than the other one.
thanks joh.
Hallo, Johannes Krause hat gesagt: // Johannes Krause wrote:
how to block or freeze a message in time? i want to send 2 messages. one should recieved later than the other one.
There are various ways. A simple one is to put both messages in a message box seperated by a comma. Then both will come after each other. If you want to temporarily store any normal message, you can use the [list] object's right inlet. Send a bang to the left inlet to retrieve the message. A more complex setup is possible with list-fifo.pd from the [list]-abs collection, which is a first in, first out buffer for arbitrary messages (list-lifo is the same for last in, last out). Just send messages to its second inlet and get the messages out again one by one with bangs into the first inlet.
Frank Barknecht _ ______footils.org_ __goto10.org__
maybe you mean you need the [trigger] object? this determines the order in which messages are passed, and is one of the fundamental building blocks of pd. it is abreviated as [t ]
Frank Barknecht schrieb:
Hallo, Johannes Krause hat gesagt: // Johannes Krause wrote:
how to block or freeze a message in time? i want to send 2 messages. one should recieved later than the other one.
There are various ways. A simple one is to put both messages in a message box seperated by a comma. Then both will come after each other. If you want to temporarily store any normal message, you can use the [list] object's right inlet. Send a bang to the left inlet to retrieve the message. A more complex setup is possible with list-fifo.pd from the [list]-abs collection, which is a first in, first out buffer for arbitrary messages (list-lifo is the same for last in, last out). Just send messages to its second inlet and get the messages out again one by one with bangs into the first inlet.
Ciao
thanks frank,
list is exactly the object i was searching for.
joh
On 10/06/2007, at 2.47, Johannes Krause wrote:
i want to send 2 messages. one should recieved later than the other one.
That sounds like a job for [trigger]?
Fx ala the below. See the output console test that it does the wanted
job.
[bang( <-- click this 'bang' to start the scheduale | [trigger bang bang] | | [Later-msg( [First-msg( | / | / |/ [print schedule-test]
Should output:
print: schedule-test: First-msg print: schedule-test: Later-msg