A Working MIDI Indicator for Everyone (That Doesn't Quite Work Yet)
-
I'm writing a MIDI indicator for us. But like HISE's MIDI indicator, it doesn't quite work. :face_savoring_food: Can you figure out what's wrong? (The code is split between Init and onNoteon.)
HiseSnippet 1003.3ocsVs0aaaCElxNpnRaEXEn8ch9xrKxbj6Z1FPv1RhuzYrbwn1qXuEPKQYwEIRAIpzXTzW1u38OX6bnjsk2TKJLV4K1GdtvO9wC+nllo7444pLhky7Uobh0WZOakTGMHhIjjICIVOvd9uLYF47Uor7bd.wxp8qPeVNGPLi+5mOmEyj97sSQHuQI74WHRD5syN8zeUDGOlEvmKRpE8KOchuRNPEqJ.bz11ijx7uksjeECCqkM.hQABsJallo44DqCNWErZVj5sxx3eiHWrHliF8IyfBUN8XUb.hXbVxfHQbvz062bBTkoa28sK28Ow9RQfXy7aYgux3ftMi57gUqcgW6cfW+5vyqF7Z.RV0fzAkP5w1y7yDo5sdP77E1SjZdVHCn85PoLVRq+rs8QOm5NORjS8UAbJ7adQZpBhipUzvXVdDkQufsfGiSHjABe.9zKmLbBk4qE2IzqnKVQ8iXxkB4RWcDmt.NYVloJjAPYwCLpJbSYTK9Ctutm6yOx08ninCx3XAwz7Yx6X48bGn.TK08RX2xGmAFa1Ecdgm2gz9ddcOwj7q3ZntoJAFfoFFfUASUFMFWRWnwIWSuikQu3ryGcwMXPS1DyORWufK45ApjTkDL57rFh8YUq6PdnPxgkNrPBjfRB+UGwzTcQlLG1sgMAFflx34bsF3IieCg704XEqQY.OuHFL64to5uFSaGjzoK8cMsa5ki6ACm2w6Pu68pFcO48m3rsfJ4UJM+ZYmttuy0AV+4.vaByPr.ra.zMbHC.+sQBMumqym.xFWM.J0wwfgAr3XyRXXoZbaHd5xnA7X1JrU5XOOZBzn3r9fyGx7LLpgXHcNF6RZhyNDJuH+ZSGXWfOduqK8eyIggkjB3rtOboxTww7rFcihUYerD6HKRVvyNDZCiK3aBDtAuqrf8GVVntpke4NuVfJ4DoPecJW9gzxHUzE7ueaxPllgZIUyAwkxyzBDBVC42ABykJKN1C442pUolXqtb.ZsZi2GUo6XZJHBPc4o1Mb1SteqP9vSWs03mNUyuGKmMFOYwx0B7NOX8iDj+qZGnypBJhwJWW7EewoxAP86n3gJHxbPqp9KR+uoH+oBwGaOUn8iZFisZ.ivAzmCLV8N1irGEFB2D1BvCrG+6eddzh7ZUAJgbISmIftA6qJRlAmz9bX0kRdL15a0BaRKs8PajAlwkAFi+FFUN6i1VUN6u1IIg4motwu7BG9R4CMy.XRZ9HAG6KQaZeh4RHjmsWOORB7n8M9931+af6MMmyK1ib918HmWtG4b7djy2sG4786QN+vGMG76kNqPqRJuN.SLcjQYxxZjjAcVltPx+.u9Z85.
-
You need to provide the name of the function to call, you don't want to call the function here, so no
()
required.Content.callAfterDelay(500, ResetMIDIIndicator(), thisObject);
Should be
Content.callAfterDelay(500, ResetMIDIIndicator, thisObject);
I'm not sure what the
thisObject
is, but it seems to work. -
@d-healey Sir, you are a gentleman and a scholar.
-
-
-
@d-healey I figured it out, lol. The third parameter is an object that can be referred to using the "this" pointer.