How to script an animated velocity meter in Kontakt

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

Xtant Audio

Xtant Audio

Күн бұрын

Пікірлер: 73
@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?
@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?
@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.
@MehrbodR
@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
@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
@MehrbodR Жыл бұрын
@@Xtant-audio Thank you✌
@5amJones69
@5amJones69 6 ай бұрын
Is there anything other than velocity that can affect a slider/sprite? Such as adsr or lfo?
@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
@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
@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
@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
@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.
@christaporgarabetian5544
@christaporgarabetian5544 9 жыл бұрын
I tried the same on "level_meter" but it doesn't work too !!!
@LKSAMPLESOFC
@LKSAMPLESOFC 5 жыл бұрын
O site knobman não funciona mais?
@Xtant-audio
@Xtant-audio 5 жыл бұрын
Search for KnobMan on google
@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
@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 5 жыл бұрын
@@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 5 жыл бұрын
@@wlacsilbalazs Yes, it's possible, you'd need to animate it. Again the best place for this is VI-Control
@wlacsilbalazs
@wlacsilbalazs 5 жыл бұрын
@@Xtant-audio I will check. Thanks for the answer!
@jessebillson
@jessebillson 8 ай бұрын
this would be so much easier to follow if i didn't have to look at whatever language this is before it gets compiled!!!
@varoxp
@varoxp 8 ай бұрын
The information that you copy and paste is not the same
@lyteyearz5810
@lyteyearz5810 7 жыл бұрын
Thanks so much
@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 !!
@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 :)
@EvilDragon666
@EvilDragon666 8 жыл бұрын
The button for locking woudn't have been necessary if ui_label were used instead of an ui_slider :)
@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
How to Script KEY SWITCHES for Your Kontakt Instrument!
8:41
Stephen O'Connell - Cmd Shift New
Рет қаралды 1,7 М.
How to script switches that toggle in Kontakt
8:33
Xtant Audio
Рет қаралды 6 М.
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 8 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 17 МЛН
Triple kill😹
00:18
GG Animation
Рет қаралды 17 МЛН
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 29 МЛН
How to script a repetition key in Kontakt
24:48
Xtant Audio
Рет қаралды 4,8 М.
How to lock a Kontakt script
25:53
Xtant Audio
Рет қаралды 9 М.
How To Build A Piano Instrument In KONTAKT
26:03
The Crow Hill Company
Рет қаралды 56 М.
Scripting with Simon - Callbacks and Script Structure
25:00
Ivy Audio
Рет қаралды 18 М.
MULTIPLE BACKGROUNDS IN KONTAKT… Creating Different Pages or Tabs With Kontakt Scripting
10:20
Stephen O'Connell - Cmd Shift New
Рет қаралды 1,1 М.
Group your Kontakt UI Controls Together with Panels - Kontakt Scripting Tutorial
7:43
Stephen O'Connell - Cmd Shift New
Рет қаралды 2 М.
Kontakt Tutorial: How to Add Fake Legato to Your Instruments
9:19
David Hilowitz Music
Рет қаралды 19 М.
The BALL rolling Along a ROPE! Is too excitining #shorts GamGam Family
0:16
$1 vs $500,000 Experiences!
17:40
MrBeast
Рет қаралды 60 МЛН