In a message regarding Re:Beat Counter doesn't play in time dated Tue, 3 Jan 2006 19:14:44 -0700, Cory said that ...
> LastBeat=Microseconds > HighHat.play > LastBeat = Microseconds > Steve isn't the above code only checking once per iteration? No, you're checking LastBeat against one reading of Microseconds at the beginning of the loop You're then doing the whole loop, including playing the sound. Then you're setting LastBeat from a different reading of Microseconds, much later. -- Steve Garman Using REALbasic 2005r4 Professional on Windows XP Pro _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
