Custom User Favorites or “Setlist” mode
-
@ulrik getting this error and it's not adding it to the setlist...
Screenshot 2025-08-23 at 8.53.52 AM
-
it doesnt know what 'setList' is because its not declared. In that same function...
change:
setList = obj.setList; to local setList = obj.setList; // try that and see what happens...
-
@Chazrox I think setList might be declare in
on init
I would expect an error on line 32 otherwise. -
@d-healey would that mean that the combobox isnt declared properly 'SetListVP'
? -
@Chazrox I suspect
obj.setList
doesn't contain an array. -
@d-healey ahh. I see.
-
@johnmike Ok, my bad
I have implemented some checks- Check if the setList exist on the disk or not, if it doesn't, it will be created at init
- If the saved object is an array and contains any items
I think it should work now, please check
HiseSnippet 2004.3ocuXstbiaaElz6xsQJoaS5k+yno+ft0QwR915jYaku13Iw6pwZiam55lBSBYg0T.bHAsslcbmL8InOR4on+tOB8Mn8b.3EPIp0d0jsZFaIfysO7gCN3P1OV3SSRDwV1Me0jHpk8G4LXBWNZuQDF25n8sr+Xm9wzDpzc.UFxRjV6NIhjjPCrrseze.0xtwisTe9O+9cIgDtOsbJKqSELe52vFyjky1u2WyBCOjDPeEarg1q26HeAeOQnHEPzibV0Jh3eE4R5KHnZK4X8UjjQV1+FmM5tl+5AaEzs6FauoOYS51CICG1Ysf0Weymscm01lr9y1jt5FV1O4f.lTDOPRjzDK6GuqHXxfQha35.bJKgcQHEGzwZ.DY8zGJBCvkHNq0diXgA8yopDKvK8KItGoIteoywr.Vw7lDHJvszBSBzdopv6QUfWGS3spA7pAR1FP5wZH8INC7iYQxRIHd9Pmi3RZ7PBrOYBEstVKIa5rm.zfKaOlbE8vXXPgEdat5pq3B+a4urYSXuJQ5pSO1MVbSBM184t4FeIUtmXbjfCC7ZUQqVf0ZigjpuARpNs+bMrPCznle9m2fDF5lhgJR4xDWRhaDQNJoYL8x7IQS.Wd.+RFmhd7aAKzX.E4k4qDf5oAtX5Mla6RhiISb8D7vIYdxkCodIKq7clwfeO67L60mIbQ+.ooYKpchh1mHIfdGxBoCljHoiQLnRph8LlLSSDMLdH.U2gobeISvcS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87EWl+.aejy5cVess2p6Zaz0B6AvPP2ms0la2cqtcLDzUuGpXhk9WK47llttsvsxAPUocSkRAGZVUFmRWIWxA2FQ3IPFUxNIfSRGiZLjDlTphtK65MGyrSlwmPhmV8JhJmFNKfmQ+B2NqVXDbWZ8g3DJVdndY6SCox4Ha.T3zeztjXSAGRtVfsYiOVbAJJAgo3JlkFF1Gdjnb4IUHor05Q.OFP2UDCrUE4uHcrlZQy5plRO9OhYJm.4YBPvYv7ttq1dso9rx637vzmqhAVtZGn9Ww5LKBqT2WEVoQ1Iha5CsJBG.dn1UP26JR4A3J8LsfigmiPyPSKoLqbZI477LRadGVln3P6StuhLFmR+08LNk926U8Tp0ec5SoVG06cHRcmWj9me+6ZjZnizOOKRzfSydhNUz9PmhKhLB4ODaDRn9xTkfhmNj8D8fm3GcitlN10xQbcYHcMD0SbXY+qb9JR3vOC+Wy+LMVn9UksfOnJwn2wTP8oNl8GaRPAFn86udJz16uMCA865UC.SNVfMtRhmjeuzCAT+BmYZobdHyZx+WQ1ScL60atz0a9wBTy95s9XmiEAogDY021F9NIyD.2ST4UbguFKnpmbh46r7GsWA2CEhehSelzeT8XboZvH1nx6ALl8hK+oNGLbH0WVBvG6b3e58yaoz5DQJ1lxwDYLCRYbf6ZF.cB3Sgny4zPryO6kvlqziWEGiLv.JOPM3+BexD1AGamIrStPqwD+Xw24q6NCe0nefZF.Sb0qQtgyw3X2Z5oaLKf8c99Uc0LF1cQMbsE0v0WTC2XQMbyE0vsVTCe18aH9hz2IUJFqO1XYcb+CTcOZae.m.YfprUq+mtBtyT
-
@ulrik this is a sick feature. I might get brave/crazy and add this so late in development of my current project. lol.
-
@ulrik thanks so much!
…I will check this out in the morning when I get back to my computer
-
@ulrik works perfectly now!! now it's got my wheels turning in a different way...question is it possible to have buttons that select the items in the viewport? example... Button 1 -> Viewport Item 1 ...Button 2 -> Viewport Item 2....Button 3 -> Viewport Item 3....Etc etc...My thought is that end user could create the setlist...and as well as clicking the items in the list...they could also be triggered by a button press...so I could in theory assign a Midi CC to that button and be able to load that preset from a midi controller....Works really good in a live scenario when you are playing with both hands...it's quicker to just tap a button on a controller or even assign it to a footswitch...Ive done this for years in live performance using apps like MainStage...and this could def open up a ton of new use cases and possibilities hijacking the preset system in this way
-
@ulrik I think I figured it out!! had to dig and figure out that I could do a control callback on the viewport and setValue on the item list...It may be a bit crude but it works...yall feel free to check my work and see if I need to clean something up!
HiseSnippet 2282.3ocwYstbaabEFP1PIjNwIosO.Hb5OnZzHyaR9RF2p6MZRjEGQY6NipZ5RfkhqE3tX.VHINdTlL8IHOB4G8AoOE828QnuAsmyt.fKIA0EF4IziGArmaemu8rWQ6HgGMNVDYYW9nggTK6OwoyPtr+V8ILt0daaY+4NsinwToaGpLfEKs1bXHINl5aYa+f+LpkcoGZo98e+SaRBHbO5nlrrdif4Q+N1.lbTqsW+aYAA6R7oGwFXncq02ySv2RDHR.D8.mZVgDuyHmReEAUaAGqugD22x9O3znQOumUq1yZ1b0ZDRSeBoUcZymS6sVOuUq87Z9cWsF7u0rrWbGelTD0QRjzXK6GtoveXm9hK35.7FVLqa.EeotUGHx5l2UD3ioH1p0V8YA9synpXKvKsGQbOPSb+Nm8Y9r71MIPTf6HKLIP6EFGdOXL3U2Dd0LfWAPx1.ROTCouvoiWDKTNRBhmG4rGWRi5Qf9ISnn00ZgG+YNaI.M3xUFPNitaD7RtEUqWqVskcWqVsk95xkgNqXoqt9XyHwEwzH2W5lY8oT4VhAgBN7R0JioUEvZswPU02AUUuo8LMLWCznxO4IkHAAtIXnBUtL1kD6FRj8iKGQOMqQzDvk6vOkwonGeMXgFCnnpo9JF3dpuKVeiE2tjnHxP2pBdvvTO4xgZu3kT9N0XvuGeRp85AEtnef5zzjZivvsIRBn2tr.ZmgwR5.DCpppnpFMlpIhFFO.fpauDtmjI3twjyocxPa42WtjaFdck8otYQtG3LWoP0VVb6ohCXQfviD3J59N.JuuRJ7q7hrD4puNWGkadYlGTcAXIFB0pYFthOQhcBkTZuxEQ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