Help with a simple Sequencer please
-
Hi guys,
I've gotten quite far with a fairly complex project so far and decided to try code a little step sequencer on the side for it, but am stuck.
In this little mock-up I have a button that plays a note on the keyboard
I added 16 buttons to the top panel which I want to be triggered by a 16 step timer, either on or off and they should play the button that I have at the bottom. Or just play the same note that the button at the bottom is set up to play.
I want to be able to stop and start the timer with buttons (weirdly I'm really struggling to set these up)
lastly, I want to be able to set the speed/tempo of the timer with a Combo Box or Field (yes I just threw a button in there for quick visual reference)
This seems like it should be simple, I've solved more complex problems so far, but I just can't do this one and can't find the answers in Healey's videos. Any help?
HiseSnippet 2380.3oc6Z0rbajaDdFIMYMo+I1abkJGRkBkqjZo1nUhjhRxNtRYJp+rJIYwhjq7lRVwAbHHIhFBLdFPIQm0U4Gg7nrOB9XNlGgbJm8kbNoAlYHwPQYSwkRlwIyAxA+08G5tQ2M.lhdbahuO2yvLQkNtDCyaYUtCSzbslXJyX60MLumkO4UsILahGpZapSMiBcbw99jZFllSukralIlwP879mT.6fgt1qJCiC3TaxtzVTQuZKleGpiyl3ZjJzVZ8NW9ss4r03N71.jl1JsgK19XbCxyvxtMkkg4OYiZTA2qr.KH9FlyTfWqS4l7SYA8+.pOspCQVHiQYfPAUuI2olDwxZMVqILMJFM08M.hVrmfX5.Aw8s1iVi1s9dBj6pZ.0aD5xCyohCuoiAuL5vKsF7F.jL0fzLAP5dVks8nthdsHwyMs1lIHd0wfXWGJA80Xp+0LVqwgdvDy2BeLYSOnP2QjZ4zomCA+L6iSlbA0Cpv2Vox9OCUoz1as0FkPKL9eRlziz.QNAvz10dLJIk4PYDT81LaAkyPbVUAamsWaGIv83Nor4sb4Ln6ygNA6zlLKJ4eIYBZcTpnhIPvSHEQ+djxHddWGbmmwExY4bnLxIIzQhiOIYhDA8fAste85E5rQvPSERBYOeyiSFI3ZPDqEAgTOHDbOX148k0qf3ZXGmpfsZp9wtjRQhV3IyxHeAwEUrz9aUZixkQEVszOZoIrlwW.RFOjKyArNZ3AlGfTXvvWqOO.T6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