Page 1 of 1
how to know "play" is finished
Posted: Tue Aug 25, 2020 8:45 am
by PyoungRyang Ko
Dear advanced users and developers,
Is there any way to know that "bach.score" has finished playing by "play" message?
Thanks in advance.
Re: how to know "play" is finished
Posted: Wed Aug 26, 2020 2:01 am
by TWTP
yeah bach.score will print "end" from the playout
- bach_score_end_message.png (46.21 KiB) Viewed 1281 times
Re: how to know "play" is finished
Posted: Wed Aug 26, 2020 5:33 am
by PyoungRyang Ko
Thank you very much!
Instead of [bach.print], I connected
[bach.== end]
|
[sel 1]
With this method, I can use the message [end] to control other objects.
It is amazing!
Re: how to know "play" is finished
Posted: Wed Aug 26, 2020 11:50 am
by danieleghisi
Hi!
Equivalently, you can use [bach.playkeys end], that will send a bang when the play is done, but your method is just as good!
Re: how to know "play" is finished
Posted: Thu Aug 27, 2020 7:26 am
by PyoungRyang Ko
Thanks!