What no concat function for arrays?
-
There isn't one. I wrote my own.
https://github.com/davidhealey/HISE-Scripting-Framework/blob/master/libraries/objectHelpers.js
-
@d-healey cool - hey ho building my own then.
-
It might be possible to add a wrapper for JUCE's concat function. I'll look into this later today.
https://docs.juce.com/master/classArray.html#a3cb98449214bf8993d64dd06c33133eb
-
I just had a go at implementing the addArray function but I'm not familiar enough with JUCE or C++ to get it working correctly, it just kept adding the entire array. So I've given up for now.
-
@d-healey -- yeah no worries _ I can live.. Thanks anyway..
-
@Lindon Ken Lee??? Is that you???
https://youtu.be/vUAaHkGpJy8?t=58 -
@ustk LOL - yep thats me - "I ken lee widow chew...(or hurray conk at)"
-
Done, finally - https://github.com/christophhart/HISE/pull/230
-
@d-healey nice, but why haven't you used a juce method like addArray or insertArray instead?
I've made some array functions too but they never been merged, so I think I removed them from the request list…
-
@ustk I used insert. I couldn't get insertArray to work - or more I couldn't get the argument in a format that worked. If you can change it to work with insertArray it's fine by me :)