Ksp reference Manual


See Also ui_switch 4.2. ui_knob



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

See Also
ui_switch
4.2. ui_knob
declare ui_knob $name>(,,)
User Interface Controls
25
KSP Reference Manual


Create a user interface knob

The minimum value of the knob

The maximum value of the knob

The knob value is divided by 

for
display purposes
Examples
on init
declare ui_knob $Knob_1 (0,1000,1)
declare ui_knob $Knob_2 (0,1000,10)
declare ui_knob $Knob_3 (0,1000,100)
declare ui_knob $Knob_4 (0,1000,20)
declare ui_knob $Knob_5 (0,1000,-10)
end on
Various display ratios
on init
declare $count
declare !note_class[12]
!note_class[0] := "C"
!note_class[1] := "Db"
!note_class[2] := "D"
!note_class[3] := "Eb"
!note_class[4] := "E"
!note_class[5] := "F"
!note_class[6] := "Gb"
!note_class[7] := "G"
!note_class[8] := "Ab"
!note_class[9] := "A"
!note_class[10] := "Bb"
!note_class[11] := "B"
declare !note_names [128]
while ($count < 128)
!note_names[$count] := !note_class[$count mod 12] & (($count/12)-2)
inc ($count)
end while
declare ui_knob $Note (0,127,1)
set_knob_label ($Note,!note_names[$Note])
make_persistent ($Note)
read_persistent_var($Note)
set_knob_label ($Note,!note_names[$Note])
end on
on ui_control ($Note)
set_knob_label ($Note,!note_names[$Note])
end on

Download 0,99 Mb.

Do'stlaringiz bilan baham:
1   ...   18   19   20   21   22   23   24   25   ...   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