Comments on: Kontakt Scripting (KSP) :: Animation Sequence (e.g. for VU-Meters, Oscilloscopes, LED-Arrays, Cartoons) via Sprite Sheet & picture_state https://blog.yummybeats.com/ksp-kontakt-scripting/kontakt-scripting-ksp-animations-e-g-for-vu-meters-oscilloscopes-led-arrays-via-sprite-sheet-control_par_picture_state/ Kontakt Scripting Tutorials (KSP), Free Massive Presets, Mixing Tips Fri, 17 Apr 2026 01:50:57 +0000 hourly 1 https://wordpress.org/?v=7.1.3 By: YummyBeats https://blog.yummybeats.com/ksp-kontakt-scripting/kontakt-scripting-ksp-animations-e-g-for-vu-meters-oscilloscopes-led-arrays-via-sprite-sheet-control_par_picture_state/comment-page-1/#comment-9311 Sat, 29 Jun 2024 18:52:00 +0000 https://blog.yummybeats.com/?p=3950#comment-9311 In reply to Daniel Lautersztain.

Thx I’m very happy that the tutorials are so helpful.

1) good questions I’ve been thinking a lot lately about creating a fade function. But unfortunately I think this can’t be done by code. We would actually have to create a fade animation via image sprite itself, like from 0 opacity to 100% opacity. As you can imagine doing this for every single element you want to fade, it can be a pain in the ass. Furthermore it only works for tables, value edits and labels. But if you still wanna try, just use $CONTROL_PAR_PICTURE_STATE as described here.

Fading in/out an animation is pretty hard to realize. You would even have to take it a step further and create a matrix. For each animation step you would need to create opacity steps . Let’s say you have an animation of 50 frames and make 20 opacity steps for each animation step (from 0 to 100% opacity). In total you would need to create 1000 frames. So when rolling the animation you then need to skip the opacity steps and take each 19th frame to roll the animation and take any 0th to 19th frame to roll the fade. I hope I was able to explain this clearly?!

2) Ah I see the simple function already works like that. for the advanced ease in/out animation simply remove $i:=0 within “function animation” That should do it. You can even add make_persistent($i) into the on init after declare $i. I don’t know if this all destroys the ease effect though. Just let me know if this is the case and I’ll take a closer look.

]]>
By: Daniel Lautersztain https://blog.yummybeats.com/ksp-kontakt-scripting/kontakt-scripting-ksp-animations-e-g-for-vu-meters-oscilloscopes-led-arrays-via-sprite-sheet-control_par_picture_state/comment-page-1/#comment-9310 Sat, 29 Jun 2024 17:58:13 +0000 https://blog.yummybeats.com/?p=3950#comment-9310 This lesson has been so helpful!!! I’m utilizing the “ease in/out” code in my project and it works perfectly. I had two questions though:

1) I have my animation hidden then upon the on note I do a $HIDE_PART_NOTHING to reveal it (and hide it again on release) but is there a way to have labels/animations fade it so it isn’t popping up abruptly? I wouldn’t want to do this in the sprite itself since it loops seamlessly. Not sure if KSP can do like fade in out with transparency somehow.

2) I made my sprite to loop seamlessly so I was hoping that instead restarting the animation from frame 1 after on release that it could actually start on the last frame it was on. Can I do this with $frame_idx maybe?

Thanks!!!

]]>
By: YummyBeats https://blog.yummybeats.com/ksp-kontakt-scripting/kontakt-scripting-ksp-animations-e-g-for-vu-meters-oscilloscopes-led-arrays-via-sprite-sheet-control_par_picture_state/comment-page-1/#comment-9039 Mon, 03 Feb 2020 00:55:33 +0000 https://blog.yummybeats.com/?p=3950#comment-9039 In reply to carlos.

You mean the full ksp script, shown in the video?
You get it with the premium download above.

]]>
By: carlos https://blog.yummybeats.com/ksp-kontakt-scripting/kontakt-scripting-ksp-animations-e-g-for-vu-meters-oscilloscopes-led-arrays-via-sprite-sheet-control_par_picture_state/comment-page-1/#comment-9038 Sun, 02 Feb 2020 22:40:42 +0000 https://blog.yummybeats.com/?p=3950#comment-9038 Where is the demo?

]]>