A "Searchable" Table Based Midi Browser
-
Ok so yesterday I was able to get a table based midi browser working as seen here:
https://forum.hise.audio/topic/9678/building-a-table-based-midi-file-player/8
(Working snippet is there as well)Poking around in here(https://forum.hise.audio/topic/7898/for-you-searching-a-viewport?_=1716208847675) I found a snippet for searching a viewport. Which works fine in the snippet but when trying to bring it into my project I hit a bunch of walls so here's what I got so far:
HiseSnippet 2742.3oc4Zz1aaablzNLcVooKsHXae7fPQgLlphjr7aIKK9EYk4U6XAK0jMDDDbl7jDmo3od7jczRMPw9EteJceaeq644Ho3QYJEZm09gM8AAc28bOu+1cmZK31rf.tvvbktSFwLL+TqNS7kC1e.0023vlFl+VqgtNti7nSXBI8LOV.iJrGXr2jQzf.ligo4xOGA1bk6Xn97iOaOpG02lkLkgwK4t1ribG5JSls8NeiqmWKpCqq6PMnaryg1b+84d7w.isrUUiQT6yo8Yufhfsjkg4cOvwUxEcjTIKvv7N6wclzY.+R+P3eoafKvp3fZFc.DENcKtmCxw3rF6Ov0yocrBHvvvzpch5X4P0wCsNFj9oymnVdfZARxNz0GlKkl8VNE6USm8ppwdYvRKowReRrERwRJChhUfINr4gQSnyF6OVHX9xNruaLaFyQzRcEfhU2xcDmO5.ezL6nOMh7y.P6LhkdAykysjVagRpAJTsbA2KzwHQnuSnP+4VcrEtijIqfR98rNzWxD8nfvoK3gvZrz+5gV6yAH7kUFROm0R.CltiRaUsZYxlUqt5SJT3QOhbJqGSf5IhjSRznE.Ww.I4BpPaRxSIpvjJ8YxDqQohIPTLKrJGvHW3xtbDWH0v6yEb9Er8D7KCTnNlmAjuOe3HtOLnTwTPEi9PaEoq56gbGVgTfUIfIUqcLrTo2Wf.eJdJ+x+Dys+.YwGSVqQgqhPUGlTwf1buwC8IfTvGKmC51WASPoWWHBmG1DPVwVth.I7yxgSdD8LlGNOF2FOIZOw45xdmLdtW45HGT7w0qVsvUkSixNLPO4jAN6x.MSNPZsLPZ2AthrvYG292RL1BRUIGjAJ2iJBxAN2NCT51KSL9MrI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0s9K2AatA4iyYSBzrJqbW3yOE9RfW6Aedf0wbG7VqS+na3KMFs.jNL0i9fOriefqbRp2mZoE8Pgy8k3V7CElW18ysZ6JsGjM+tTF7K9fe+LyuQuq48sNnWOns5Dl8NVs9KK7QL+uNq7Ygrx8r5.MxptNTEi7aTiIuhdAi7blOSfJ0ZK38l+m488lGk62a9DaIP9tBpevHdfNh2oCanaWHtHPmZea.qkf8cmhV4TOyJmJxboe7Ys.gLy8zgJGKTtK6NjO1Wlx8X4baStAu68c945cu+EMZ6iO4vs+Y5Maes+HEO.biGNxicf+ELOncBEO9EP+C8nPuowyl1u9XtOez.tuqstQ+TFz0d+9LgNumo.sqTl587e3Nmx7XTcG3ubmi.GOp.eP3aotnV90EKxd86rBYWBFLR9eij5K++mI0OkOFaX6XJ3nBsAX8hwC6.4RsY.m3CshgmCwbILeX33pwss2g46nF7SvmnEqgiMiVrV7h+hPigTnI12ZGdTBzW9WolAjae0+7nUrNFGSpc8CtfWZ7assSipqsw521Mt1sciMtsab8a6F231twMusabqO7FwhV6NVxGFFxZXbb6CBaq2b5e2IykM9Of3lv.X
when trying to search I keep getting:
"Line 167, column 33: no iterable type"I even tried getting ChatGPT to help sort it out before hoping over here(I know ChatGPT is a terrible option but I always at least give it a try and it's gotten me a few good results before as im learning)
-
-
@johnmike
TableRowData
has not been declared
Once done, another error pops up as an INT.toString() is not an existing function
Once replaced withEngine.doubleToString()
in the search section, it works:HiseSnippet 2743.3oc2ZrsaabbcWKsNUzwoIAoWdb.QP.EJKCIE0Mm5ZpazUMRVDhLNsvvHXztCI25k6vL6rRg0Q.A4KqeB8SwO12ROmYuMK0RZJ0jhlxGH3LyYN2uMyvtBtMKHfKLLWq+zILCy20p2Te4nCFQc8MN9PCyei0XWG2IdzoLgjdgGKfQE1iL1e5DZP.ywvzbkmh.at1pFpOu4I6S8n91rroLLdN20lch6XWY1rca+4tddcnNr9ti0ftU6is49Gv83g.ishUciIT6WQGxdFEA6dVFl2+HGWIWzSRkr.C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+Vz35IsY2i46nF7Cvm3EafiMiWrQxh+WgFioPylekcTq+ne5uPMCH29p+uQqYcJNlz3lGz.uB3ux1NOptwFadW23F20M15ttwMuqabq65F29ttwcd6aDKBsWnjONJzzv3ztGE09sY5exIyUL92o1fDg.
-
@ustk ahhhh gotcha...that makes so much more sense thanks...this is perfect! on to the next thing lol...I need to buy you lunch! lol
-
-
You can also select lblSearch and enable "updateEachKey" for a search that doesn't require you to hit enter after typing. ;)
-
@ericchesek WOW!!! that little thing just took it from great to AMAZING! 🤯