HI,
I am trying to develop a metronome system that fires events at a particular time. For example. Say I want the metronome to fire every 500ms if an event happens between the two beats the metronome engine delays action to the next beat. If you have no idea what I am talking about please read this article.
http://gl33k.com/blog/2011/6/27/a-metronome-for-everyone.html
I am wondering how to do this in corona. I am thinking about custom events, but I am not really sure. I was looking over the state machine tutorial and was thinking something like that would work. But I am really not sure how to approach this.
Any suggestions?