Ksp reference Manual



Download 0,99 Mb.
Pdf ko'rish
bet65/187
Sana10.02.2022
Hajmi0,99 Mb.
#441108
1   ...   61   62   63   64   65   66   67   68   ...   187
Bog'liq
KONTAKT 610 KSP Reference Manual

Time-Related Commands
77
KSP Reference Manual


Remarks
When using 
$NI_SIGNAL_TIMER_BEAT
, the maxium resolution is 24 ticks per beat/quarter note.
Examples
on init
set_listener($NI_SIGNAL_TIMER_BEAT,1)
end on
on listener
if ($NI_SIGNAL_TYPE = $NI_SIGNAL_TIMER_BEAT)
message($ENGINE_UPTIME)
end if
end on
Triggering the listener callback every beat. Triggering will occur even when transport is stopped.
See Also
change_listener_par()
$NI_SIGNAL_TYPE
11.4. stop_wait()
stop_wait(,
)
Stops wait commands in the specified callback

The callback’s ID number in which the wait commands will be stopped
0
: stops only the current wait
1
: stops the current wait and ignores all following wait commands in
this callback.
Remarks
• Be careful with while loops when stopping all wait commands in a callback.
Examples
on init
declare ui_button $Play
declare $id
end on
on ui_control ($Play)
if ($Play = 1)
$id := $NI_CALLBACK_ID
play_note(60,127,0,$DURATION_QUARTER)
wait($DURATION_QUARTER)
if ($Play = 1)
play_note(64,127,0,$DURATION_QUARTER)

Download 0,99 Mb.

Do'stlaringiz bilan baham:
1   ...   61   62   63   64   65   66   67   68   ...   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