Ksp reference Manual


, the samples are reloaded. Group Commands



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

1
, the samples are reloaded.
Group Commands
74
KSP Reference Manual


Remarks
• When using 
purge_group()
in a while loop, don’t use any wait commands within the loop.

purge_group()
can only be used a UI and 
persistence_changed
callback.
• It is recommended to not use the 
purge_group()
command in the callback of an automata-
ble control.
Examples
on init
declare ui_button $purge
set_text ($purge,"Purge 1st Group")
end on
on ui_control ($purge)
purge_group(0,abs($purge-1))
end on
Unloading all samples of the first group
See Also
get_purge_state
Group Commands
75
KSP Reference Manual


11. TIME-RELATED COMMANDS
11.1. change_listener_par()
change_listener_par(,
)
Changes the parameters of the 
on listener
callback. It can be used
in every callback.

The signal to be changed, can be either:
$NI_SIGNAL_TIMER_MS
$NI_SIGNAL_TIMER_BEAT
Dependent on the specified signal type:
$NI_SIGNAL_TIMER_MS
Time interval in microseconds
$NI_SIGNAL_TIMER_BEAT
Time interval in fractions of a beat/quarter note
Examples
on init
declare ui_value_edit $Tempo (20,300,1)
$Tempo := 120
declare ui_switch $Play
set_listener($NI_SIGNAL_TIMER_MS,60000000 / $Tempo)
end on
on listener
if ($NI_SIGNAL_TYPE = $NI_SIGNAL_TIMER_MS and $Play = 1)
play_note(60,127,0,$DURATION_EIGHTH)
end if
end on
on ui_control($Tempo)
change_listener_par($NI_SIGNAL_TIMER_MS,60000000 / $Tempo)
end on
A very basic metronome
See Also
on listener
set_listener()

Download 0,99 Mb.

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