Thankfully args/returns can be hacked in with a few extra variables, ehehe. SublimeKSP does that nicely. I won't argue that it wouldn't be useful to actually have them implemented. But, pretty much all devs are on SublimeKSP now so... I'd rather NI adds new functionality to KSP, and extend what can be changed via engine parameters (I have a list of things that are sorely missing)...
I don't see how recursions would be useful especially why would you use one in a realtime callback like note on/off or (even worse, because it can be pretty dense) when responding to CCs. Even loops in KSP are limited to a max of around 50k iterations. Probably for good reason.
NI Kontakt - update to 5.8.0 [WITH WARNING]
-
- Posts: 216
- Joined: August 2015
- Location: Croatia
Re: NI Kontakt - update to 5.8.0 [WITH WARNING]
Kontakt is love, Kontakt is life!
Re: NI Kontakt - update to 5.8.0 [WITH WARNING]
Yes I think the problem with Lua would be the GC. GC is always a major problem for realtime performance.EvilDragon wrote: ↑Apr 15, 2018 10:23 amBut Lua is not really THAT slow. It's much faster than Python. Still, even JIT compiled (as it is in Falcon and HALion 6), it doesn't match up to KSP...
Even with Python this can be managed (by avoiding circular references you don't need the GC and can disable it), but of course Python is painfully slow in all other ways.
KSP and even JSFX avoid this problem by not even having the concept of object references. I understand that as soon as you add on the high level conveniences you enter more complex territory in terms of memory management.
Rust actually would be a perfect language for realtime audio. No GC, memory safe, built for concurrency. Maybe too low level for something like Kontakt, though.
- Jason
-
Topic author - Posts: 6045
- Joined: August 2015
- Location: UK
- Contact:
Re: NI Kontakt - update to 5.8.0 [WITH WARNING]
Thanks Mario for all infos, much appreciated. Just picking up on:
As for loading, I think that's under-appreciated in terms of importance vs streaming. On a good rig, K5 will stream seamlessly at preload buffers, but it might still take a bewilderingly long time to load in the first place regardless of how powerful your CPU and drives are. I'm very interested in modular templates, disabled tracks, track archives etc as a better way forward than huge unwieldily fully-stocked templates. Every operation of loading / enabling / importing is limited by loading speed. Something loading in 1s vs 10s makes the difference between whole ways of working imo. You'd wear a second's delay for every new instrument to load up, but may not with 10s.
Kontakt still steals a march on Background Loading, this is a big deal, agreed. I'm not so sure it's better in other streaming areas though, is it?EvilDragon wrote: ↑Apr 15, 2018 9:58 amAnyways, Jason purely tested loading performance, rather than streaming performance, which is different. It's streaming performance which we're the most interested in - and for that Kontakt is still second to none.
As for loading, I think that's under-appreciated in terms of importance vs streaming. On a good rig, K5 will stream seamlessly at preload buffers, but it might still take a bewilderingly long time to load in the first place regardless of how powerful your CPU and drives are. I'm very interested in modular templates, disabled tracks, track archives etc as a better way forward than huge unwieldily fully-stocked templates. Every operation of loading / enabling / importing is limited by loading speed. Something loading in 1s vs 10s makes the difference between whole ways of working imo. You'd wear a second's delay for every new instrument to load up, but may not with 10s.
-
- Posts: 216
- Joined: August 2015
- Location: Croatia
Re: NI Kontakt - update to 5.8.0 [WITH WARNING]
Versus HALion and especially Falcon, it definitely is. HISE is inching in, though. Kinda hard to properly compare with PLAY and Vienna which are closed systems.Guy Rowland wrote: ↑Apr 15, 2018 1:28 pmI'm not so sure it's better in other streaming areas though, is it?
Kontakt is love, Kontakt is life!
Re: NI Kontakt - update to 5.8.0 [WITH WARNING]
Probably because of my ancient system, but I don’t have any real problem with loading times on Mac. Streaming, though, is more of a challenge on CPU in Cubase. The ASIO meter still climbs up there.
(YOU can call me Larry)