How to script an animated velocity meter in Kontakt

  Рет қаралды 8,185

Xtant Audio

Xtant Audio

Күн бұрын

In this video we'll discuss how to quickly create an animated velocity meter, in the style of a vu meter, for your Kontakt instruments.
More tutorials available here: http//www.xtant-audio.com
VU meter, and other graphics free from: www.g200kg.com/...

Пікірлер: 73
@corbobilly
@corbobilly 9 жыл бұрын
Thank you for making us discover KSP logic with these little tutorials . Good job _
@FedericoAntoni94
@FedericoAntoni94 3 жыл бұрын
In case I want to make the animation start when I press the key, what would the code look like?
@5amJones69
@5amJones69 5 ай бұрын
Is there anything other than velocity that can affect a slider/sprite? Such as adsr or lfo?
@GusWMusic
@GusWMusic 3 жыл бұрын
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?
@MR-Production-
@MR-Production- Жыл бұрын
thank you a lot. would you make a video about, how to display Text by pressing key switches (Name of Articulations) please?
@Xtant-audio
@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
@MR-Production-
@MR-Production- Жыл бұрын
@@Xtant-audio Thank you✌
@milansarkadi4808
@milansarkadi4808 9 жыл бұрын
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.
@varoxp
@varoxp 7 ай бұрын
The information that you copy and paste is not the same
@cristhianvillagra8997
@cristhianvillagra8997 8 жыл бұрын
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-audio
@Xtant-audio 8 жыл бұрын
+Cristhian Villagra Without seeing your script I can't really say what the problem is
@christaporgarabetian5544
@christaporgarabetian5544 9 жыл бұрын
I tried the same on "level_meter" but it doesn't work too !!!
@samuelsantana7630
@samuelsantana7630 7 жыл бұрын
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-audio
@Xtant-audio 7 жыл бұрын
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
@samuelsantana7630
@samuelsantana7630 7 жыл бұрын
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-audio
@Xtant-audio 7 жыл бұрын
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
@RitikSuntwal
@RitikSuntwal 3 жыл бұрын
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-audio
@Xtant-audio 3 жыл бұрын
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.
@RitikSuntwal
@RitikSuntwal 3 жыл бұрын
@@Xtant-audio Can you share a demo code I've been trying for very long time it isn't working.
@LKSAMPLESOFC
@LKSAMPLESOFC 5 жыл бұрын
O site knobman não funciona mais?
@Xtant-audio
@Xtant-audio 5 жыл бұрын
Search for KnobMan on google
@hermanmixbus32c80
@hermanmixbus32c80 2 жыл бұрын
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-audio
@Xtant-audio 2 жыл бұрын
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.
@hermanmixbus32c80
@hermanmixbus32c80 2 жыл бұрын
@@Xtant-audioOk,thanks
@samuelsantana7630
@samuelsantana7630 7 жыл бұрын
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-audio
@Xtant-audio 7 жыл бұрын
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
@wlacsilbalazs
@wlacsilbalazs 4 жыл бұрын
@@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-audio
@Xtant-audio 4 жыл бұрын
@@wlacsilbalazs Yes, it's possible, you'd need to animate it. Again the best place for this is VI-Control
@wlacsilbalazs
@wlacsilbalazs 4 жыл бұрын
@@Xtant-audio I will check. Thanks for the answer!
@lyteyearz5810
@lyteyearz5810 7 жыл бұрын
Thanks so much
@Felix-ro6ep
@Felix-ro6ep 5 жыл бұрын
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-audio
@Xtant-audio 5 жыл бұрын
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-ro6ep
@Felix-ro6ep 5 жыл бұрын
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-audio
@Xtant-audio 5 жыл бұрын
@@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-ro6ep
@Felix-ro6ep 5 жыл бұрын
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-audio
@Xtant-audio 5 жыл бұрын
@@Felix-ro6ep Yeah that's the idea 0 = off, 1 = on
@EvilDragon666
@EvilDragon666 8 жыл бұрын
The button for locking woudn't have been necessary if ui_label were used instead of an ui_slider :)
@jessebillson
@jessebillson 7 ай бұрын
this would be so much easier to follow if i didn't have to look at whatever language this is before it gets compiled!!!
@rickbryan8258
@rickbryan8258 8 жыл бұрын
I am having a problem when i put in my velocity meter i am not getting any animation
@Xtant-audio
@Xtant-audio 8 жыл бұрын
Have you set up the text file for your velocity meter image?
@rickbryan8258
@rickbryan8258 8 жыл бұрын
i set the text file, it still keeps showing me the vertical animation n
@rickbryan8258
@rickbryan8258 8 жыл бұрын
i used knobman to make it it works in knobman but wont show as a animation in kontakt
@rickbryan8258
@rickbryan8258 8 жыл бұрын
still showing as a sticthed file
@Xtant-audio
@Xtant-audio 8 жыл бұрын
I'll respond to your vi-control thread :)
@marshallhill8937
@marshallhill8937 7 жыл бұрын
How did you create that animated option menu.
@Xtant-audio
@Xtant-audio 7 жыл бұрын
What time in the video is that at?
@marshallhill8937
@marshallhill8937 7 жыл бұрын
There is no tutorial on this option.
@marshallhill8937
@marshallhill8937 7 жыл бұрын
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-audio
@Xtant-audio 7 жыл бұрын
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?
@marshallhill8937
@marshallhill8937 7 жыл бұрын
Yes that's it.
@christaporgarabetian5544
@christaporgarabetian5544 9 жыл бұрын
hi guy !! it doesn't workd for me ..."declare ui_slicer" line is red ...
@Xtant-audio
@Xtant-audio 9 жыл бұрын
Christapor Garabetian You need to declare a ui_slider rather than a ui_slicer :)
@christaporgarabetian5544
@christaporgarabetian5544 9 жыл бұрын
it doesn't work (sorry, I wanna write slider)
@christaporgarabetian5544
@christaporgarabetian5544 9 жыл бұрын
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-audio
@Xtant-audio 9 жыл бұрын
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/
@christaporgarabetian5544
@christaporgarabetian5544 9 жыл бұрын
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 !!
@LoopdillaBeats
@LoopdillaBeats 8 жыл бұрын
redline on "declare ui_slider sli_vel(0, 127)"
@Xtant-audio
@Xtant-audio 8 жыл бұрын
Which editor are you using?
@LoopdillaBeats
@LoopdillaBeats 8 жыл бұрын
Using Sublime2 with KSP
@Xtant-audio
@Xtant-audio 8 жыл бұрын
SublimeKSP is designed for Sublime Text 3 so maybe it's not compiling properly in sublime text 2
@LoopdillaBeats
@LoopdillaBeats 8 жыл бұрын
something in 3
@Xtant-audio
@Xtant-audio 8 жыл бұрын
?
@FedericoAntoni94
@FedericoAntoni94 3 жыл бұрын
"if ( search( %KEY_DOWN, 1 ) = -1 )" is in red... I use Visual Studio Code
@Xtant-audio
@Xtant-audio 3 жыл бұрын
Use Sublime KSP
Scripting with Simon - Skinning UI Elements in Kontakt
20:03
Ivy Audio
Рет қаралды 17 М.
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Wian
Рет қаралды 16 МЛН
GTA 5 vs GTA San Andreas Doctors🥼🚑
00:57
Xzit Thamer
Рет қаралды 28 МЛН
How to lock a Kontakt script
25:53
Xtant Audio
Рет қаралды 9 М.
How to script switches that toggle in Kontakt
8:33
Xtant Audio
Рет қаралды 6 М.
Scripting with Simon - Callbacks and Script Structure
25:00
Ivy Audio
Рет қаралды 18 М.
Kontakt - Scripting: EQ in Performance View - How To Tutorial
22:08
ADSR Music Production Tutorials
Рет қаралды 6 М.
How To Build A Piano Instrument In KONTAKT
26:03
The Crow Hill Company
Рет қаралды 55 М.
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Wian
Рет қаралды 16 МЛН