Kyma Forum
  Kyma Support
  timer synchronized with a CaptureDuration

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   timer synchronized with a CaptureDuration
gigi
Member
posted 25 April 2014 15:49         Edit/Delete Message   Reply w/Quote
Hello,
I'm using a MemoryWriter triggered by a !Gate and with a CaptureDuration of say 20 seconds. I would like to use a timer to monitor the elapsed time by triggering the !Gate from ON to OFF. I just need it to show minutes and seconds.
Best regards

IP: Logged

SSC
Administrator
posted 25 April 2014 16:15         Edit/Delete Message   Reply w/Quote
I would use SoundToGlobalControllers, one for minutes, the other for seconds.

If you know what the maximum duration is, you could use ramp: For example, if the maximum duration you would wait is 3600 seconds, you could set the first STGC to:

Value: (((!Gate ramp: 3600 s) * 3600) mod: 60) truncated
GeneratedEvent: !Seconds

and the second STGC to:

Value: ((!Gate ramp: 3600 s) * 3600) // 60
GeneratedEvent: !Minutes

Then put both STGCs into a Mixer and mix it with your Sound.


IP: Logged

gigi
Member
posted 25 April 2014 16:18         Edit/Delete Message   Reply w/Quote
Thank You!

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c