Kara-Moon Forum

Developers & Technology => Musical MIDI Accompaniment (MMA) => Topic started by: bvdp on August 30, 2022, 11:39:34 PM



Title: Click track
Post by: bvdp on August 30, 2022, 11:39:34 PM
One of the reasons for the DOT release announced yesterday was because I was working on a click track groove. This does require the latest version (but, you could take out the "error" line if you want to try). Code is attached.

Comments (as always) are welcome. This is not part of the standard library and is included in 21.09.1.


Title: Re: Click track
Post by: sciurius on August 31, 2022, 08:18:02 AM
Nice...

"Note the ugly GOTOs" -- time for ElseIf?


Title: Re: Click track
Post by: bvdp on August 31, 2022, 04:19:01 PM
Yeah, I thought the same when I wrote that. Mind you, GOTO gives me a nice warm, retro feeling ... who needs all this fancy structure stuff anyway :)

But, ELSEIF should be on the TODO list. Time will tell!

BTW, you can do this with nested IF statements ... but it gets real ugly real fast!