Ksp reference Manual



Download 0,99 Mb.
Pdf ko'rish
bet20/187
Sana10.02.2022
Hajmi0,99 Mb.
#441108
1   ...   16   17   18   19   20   21   22   23   ...   187
Bog'liq
KONTAKT 610 KSP Reference Manual

3.14. watch_var())
watch_var()
sends an event to the Creator Tools Debugger for every change of the watched array cell’s value
Remarks
• This command can only be used within the init callback.
• This command has no effect on Kontakt’s Status Bar – the events only appear on Creator
Tools.
• This command does not work with built-in variables
Examples
on init
declare $intVar
watch_var($intVar)
make_persistent($intVar)
end on
Variables
22
KSP Reference Manual


on note
$intVar := $EVENT_VELOCITY 
end on
Try playing some notes while having Creator Tools running. Make sure you have the Variable
Watching panel of the Debugger tool open.
3.15. watch_array_idx()
watch_array_idx(, )
sends an event to the Creator Tools Debugger for every change of the watched array cell’s value
Remarks
• This command can only be used within the init callback.
• This command has no effect on Kontakt’s Status Bar – the events only appear on Creator
Tools.
• This command does not work with built-in arrays
Examples
on init 
declare %mykeys[128]
watch_array_idx(%mykeys,60)
watch_array_idx(%mykeys,61)
watch_array_idx(%mykeys,62)
watch_array_idx(%mykeys,63)
watch_array_idx(%mykeys,64)
declare ui_button
$save
declare ui_button
$load
end on
on note 
%mykeys[$EVENT_NOTE]
:= $EVENT_VELOCITY
end on
on ui_control($save)
save_array(%mykeys,0)
end on
on ui_control($load)
load_array(%mykeys,0)
Variables
23
KSP Reference Manual


end on
Try playing some notes or clicking on the save and load buttons while having Creator Tools run-
ning. Make sure you have the Variable Watching panel of the Debugger tool open.
Variables
24
KSP Reference Manual



Download 0,99 Mb.

Do'stlaringiz bilan baham:
1   ...   16   17   18   19   20   21   22   23   ...   187




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish