Midilist issues or?
-
Trying to play with midilist and facing 2 issues (or not?)
MidiList.getNumSetValues()
shouldn't return the-1
values but it does... (In fact after afill(-1)
numValues is automatically set to 128)MidiList.setValue(n, -1)
impossible to set an index to-1
...
Is there a particular reason for all of these or can I commit a fix?
-
Didn't you see my latest video Use -99 or something like that, not -1.
-
@d-healey Oh shame on me!!!
-
@d-healey But I love -1 !
-1 is nice !
-1 is beautiful !
-1 is -
In fact,
clear()
sets all indexes to-1
, andgetNumSetValues()
also has something to do with-1
, so I imagine setting manually an index to-1
is a good way to reset it right? If you use something else as reset value, there's no point havingclear()
orgetNumSetValues()
.... -
I thought the same as you - https://forum.hise.audio/topic/1868/midilist-doesn-t-like-1
Use -99 and life will be happier :)
-
@d-healey I hear you, but in that case there's no points for
clear()
andgetNumSetValues()
....
If you prefer not having a fix which is perfectly understandable, I'll make one on my side then -
@ustk If you want to fix it I won't complain :D
-
-
@d-healey Done!