Kyma Forum
  Kyma Support
  Interonset time

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

next newest topic | next oldest topic
Author Topic:   Interonset time
garth paine
Member
posted 13 December 2006 17:58         Edit/Delete Message   Reply w/Quote
I want to measure the time between pulses coming in from drum pads and use these to control variables in Kyma - I am not sure how to calulate the time between 2 pulses coming from the same or different Analogue inputs? I would need to be able to set a threshold as well to ensure a clean reading - thanks in advance for your help

IP: Logged

SSC
Administrator
posted 13 December 2006 20:06         Edit/Delete Message   Reply w/Quote
Could you use the CapyTalk expression durationBetweenTriggers? For example:

[thresholdSound] L durationBetweenTriggers

would return a value in seconds corresponding to the interval between times when the input exceeded the threshold (if you fed the input into an AmplitudeFollower and then into a Threshold Sound).

You could use the value directly in a field that expects duration or use it as the Value of a SoundToGlobalController if you need to use the duration in several places.

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