such a wonderful idea! Thank you so much! Just one thing: why is the transparent button needed at all if you can just deactivate the automation of the slider?
@corbobilly9 жыл бұрын
Thank you for making us discover KSP logic with these little tutorials . Good job _
@FedericoAntoni943 жыл бұрын
In case I want to make the animation start when I press the key, what would the code look like?
@milansarkadi48089 жыл бұрын
this is great thanks! any idea how I could assign a specific midi note to the VU. for example if i had a kick and snare one on C1 and one on D1, I would want the two VUs to react to each independently.
@MehrbodR Жыл бұрын
thank you a lot. would you make a video about, how to display Text by pressing key switches (Name of Articulations) please?
@Xtant-audio Жыл бұрын
I no longer work with KSP. I'm using HISE these days. I did demonstrate changing the articulation name based on key switch in my Kontakt scripting masterclass which you can find at xtant-audio.com
@MehrbodR Жыл бұрын
@@Xtant-audio Thank you✌
@5amJones696 ай бұрын
Is there anything other than velocity that can affect a slider/sprite? Such as adsr or lfo?
@samuelsantana76307 жыл бұрын
Very good your video wanted to know if it is possible to put a meter for each group you know how to say How?
@Xtant-audio7 жыл бұрын
Not possible with this technique since it's a velocity meter and velocity is the same for all groups because it's just sent with the note on
@Felix-ro6ep5 жыл бұрын
Thank you for the tutorial! How can you make the vu meter react only to a certain range of keys for example just from C2 to C4 and also can you use a on/off switch for the vu meter ??
@Xtant-audio5 жыл бұрын
For the range you just need to check if the incoming note is less than the lowest key you want or higher than the highest key. For the switch just add a switch to the interface and wrap the VU meter code in an if statement that checks the value of the switch.
@Felix-ro6ep5 жыл бұрын
how to include the incoming note? can you gave me an example using your script?? while($cn < $EVENT_VELOCITY / 3) $knob := $cn inc($cn) end while end on on release while($cn > 1) $knob := $cn wait(10000) dec($cn) end while
@Xtant-audio5 жыл бұрын
@@Felix-ro6ep I don't remember the script very well but Kontakt gives you the note with EVENT_NOTE - this is available in on note and in on release.
@Felix-ro6ep5 жыл бұрын
thanks i got this but how to add the switch ? is it gonna be like that : if ($switch=0) $knob := 0 end if if ($switch=1) $knob := 1 end if
@Xtant-audio5 жыл бұрын
@@Felix-ro6ep Yeah that's the idea 0 = off, 1 = on
@samuelsantana76307 жыл бұрын
How do i have a home / group meter or a meter on each key / or a meter on each group of keys or octave ??? Thank you so much for the video.
@Xtant-audio7 жыл бұрын
You'd need to add multiple meter (sliders) and in the on note callback check which note triggered the callback and affect the corresponding meter
@hermanmixbus32c802 жыл бұрын
Hi! great video,.. could you tell me how can i have others 4 animated velocity?,..i have tried, but i can not. I copied the same script, but send " message error" Thanks for you help.
@Xtant-audio2 жыл бұрын
Hello, it's been a few years since I last used Kontakt and I'm very rusty with KSP now. You'll probably have more luck posting on the VI-Control Kontakt forum.
@hermanmixbus32c802 жыл бұрын
@@Xtant-audioOk,thanks
@RitikSuntwal3 жыл бұрын
Hey, thank you for the tutorial! but I am stuck at one thing I want meter for a individual note. Here's the code : on init declare ui_slider $kickvolume(0, 127) set_control_par_str(get_ui_id($kickvolume), $CONTROL_PAR_PICTURE, "ledvolume") on note $kickvolume := $EVENT_VELOCITY end on on release if (search(%KEY_DOWN, 1) = -1) while ($kickvolume>0) $kickvolume := $kickvolume-1 wait(2500) end while end if end on right now vu meter is reacting to every note. I want it for a particular note for ex. C4 how to do it? I've searched forums but I couldn't find anything that would do this can you please help?
@Xtant-audio3 жыл бұрын
Use an if statement to check if the incoming note is MIDI note 72 (or if by C4 you mean middle C, which is sometimes C3 then check for MIDI note 60). Use MIDI notes rather than note names to avoid confusion with the different systems.
@RitikSuntwal3 жыл бұрын
@@Xtant-audio Can you share a demo code I've been trying for very long time it isn't working.
@christaporgarabetian55449 жыл бұрын
I tried the same on "level_meter" but it doesn't work too !!!
@LKSAMPLESOFC5 жыл бұрын
O site knobman não funciona mais?
@Xtant-audio5 жыл бұрын
Search for KnobMan on google
@cristhianvillagra89978 жыл бұрын
Hello, I ask a question ... as I can do to make the animation move only when I pressed a key selection? an example, that moves when tighten the c1 key but ... when pressed key c2 not move ... thanks
@Xtant-audio8 жыл бұрын
+Cristhian Villagra Without seeing your script I can't really say what the problem is
@samuelsantana76307 жыл бұрын
I'm making a battery and I already have the image and I wanted the image to move according to what is played (the bass drum shines "kick" when it plays C1, the box shines "snare" when it plays the D1 note) how?
@Xtant-audio7 жыл бұрын
This isn't something that can be explained here. Ask this question at the NI forum or the vi-control Kontakt forum to get a proper response
@wlacsilbalazs5 жыл бұрын
@@Xtant-audio But is it even possible? I have the same(ish) idea. I would put a velocity meter in the center and some hi-tech sci fi analizators around it which would react to cutoff and reverb. I already made them in After Effects. But I did not found any video about someone made something like it.
@Xtant-audio5 жыл бұрын
@@wlacsilbalazs Yes, it's possible, you'd need to animate it. Again the best place for this is VI-Control
@wlacsilbalazs5 жыл бұрын
@@Xtant-audio I will check. Thanks for the answer!
@jessebillson8 ай бұрын
this would be so much easier to follow if i didn't have to look at whatever language this is before it gets compiled!!!
@varoxp8 ай бұрын
The information that you copy and paste is not the same
@lyteyearz58107 жыл бұрын
Thanks so much
@marshallhill89377 жыл бұрын
How did you create that animated option menu.
@Xtant-audio7 жыл бұрын
What time in the video is that at?
@marshallhill89377 жыл бұрын
There is no tutorial on this option.
@marshallhill89377 жыл бұрын
I have been searching the net for one. I think it's called and option menu where sounds are other selection can be scrolled and clicked on.
@Xtant-audio7 жыл бұрын
Sorry I thought you were asking about something I demonstrated in this video. Are you asking how to make a menu for selecting articulations/patches?
@marshallhill89377 жыл бұрын
Yes that's it.
@christaporgarabetian55449 жыл бұрын
hi guy !! it doesn't workd for me ..."declare ui_slicer" line is red ...
@Xtant-audio9 жыл бұрын
Christapor Garabetian You need to declare a ui_slider rather than a ui_slicer :)
@christaporgarabetian55449 жыл бұрын
it doesn't work (sorry, I wanna write slider)
@christaporgarabetian55449 жыл бұрын
Xtant Audio I think it's not the same language in KSP... I can see "control_par_picture" and not "picture :=" ... Sorry but, firstly, I'm a begginner, and secondly, I'm french... lol. But your Tutorial is really good ! ! so I think I don't understand how to make it... visibly, it's working for you. Thanks
@Xtant-audio9 жыл бұрын
Christapor Garabetian I'm working in the sublime text KSP editor, you need to be using either that or Nils Liberg's KSP editor to follow along with the code I write nilsliberg.se/ksp/
@christaporgarabetian55449 жыл бұрын
Xtant Audio I will test tomorrow the sublime text ksp editor... I've found my solution ! ! and sorry, 'cause... I haven't see that in "lock.txt" file that the resizable option is "YES" ! ! thanks a lot . Finally IT'S WORKING !!
@rickbryan82588 жыл бұрын
I am having a problem when i put in my velocity meter i am not getting any animation
@Xtant-audio8 жыл бұрын
Have you set up the text file for your velocity meter image?
@rickbryan82588 жыл бұрын
i set the text file, it still keeps showing me the vertical animation n
@rickbryan82588 жыл бұрын
i used knobman to make it it works in knobman but wont show as a animation in kontakt
@rickbryan82588 жыл бұрын
still showing as a sticthed file
@Xtant-audio8 жыл бұрын
I'll respond to your vi-control thread :)
@EvilDragon6668 жыл бұрын
The button for locking woudn't have been necessary if ui_label were used instead of an ui_slider :)
@LoopdillaBeats8 жыл бұрын
redline on "declare ui_slider sli_vel(0, 127)"
@Xtant-audio8 жыл бұрын
Which editor are you using?
@LoopdillaBeats8 жыл бұрын
Using Sublime2 with KSP
@Xtant-audio8 жыл бұрын
SublimeKSP is designed for Sublime Text 3 so maybe it's not compiling properly in sublime text 2
@LoopdillaBeats8 жыл бұрын
something in 3
@Xtant-audio8 жыл бұрын
?
@FedericoAntoni943 жыл бұрын
"if ( search( %KEY_DOWN, 1 ) = -1 )" is in red... I use Visual Studio Code