Ksp reference Manual



Download 0,99 Mb.
Pdf ko'rish
bet53/187
Sana10.02.2022
Hajmi0,99 Mb.
#441108
1   ...   49   50   51   52   53   54   55   56   ...   187
Bog'liq
KONTAKT 610 KSP Reference Manual

8.12. get_event_par()
get_event_par(,
ter>)
Return the value of a specific event parameter
of the specified event

The ID number of the event
Event Commands
61
KSP Reference Manual


The event parameter, either one of four freely assignable event parame-
ters:
$EVENT_PAR_0
$EVENT_PAR_1
$EVENT_PAR_2
$EVENT_PAR_3
or the "built-in" parameters of a note event:
$EVENT_PAR_VOLUME
$EVENT_PAR_PAN
$EVENT_PAR_TUNE
$EVENT_PAR_NOTE
$EVENT_PAR_VELOCITY
$EVENT_PAR_SOURCE
$EVENT_PAR_PLAY_POS
$EVENT_PAR_ZONE_ID 
(use with caution, see below)
Remarks
A note event always carries certain information like the note number, the played velocity, but also
Volume, Pan and Tune. With 
set_event_par()
, you can set either these parameters or use the
freely assignable parameters like $EVENT_PAR_0. This is especially useful when chaining scripts,
i.e. set an event parameter for an event in slot 1, then retrieve this information in slot 2 by using
get_event_par().
Examples
(see next page)
on note 
message(get_event_par($EVENT_ID,$EVENT_PAR_NOTE))
end on
The same functionality as message($EVENT_NOTE)
on note
message(get_event_par($EVENT_ID,$EVENT_PAR_SOURCE))
end on
Check if the event comes from outside (-1) or if it was created in one of the five script slots (0-4)
on note
wait(1)
message(get_event_par($EVENT_ID,$EVENT_PAR_ZONE_ID))
end on
Note that in the above example, an event itself does not carry a zone ID (only a voice has zone
IDs), therefore you need to insert 
wait(1)
 in order to retrieve the zone ID.

Download 0,99 Mb.

Do'stlaringiz bilan baham:
1   ...   49   50   51   52   53   54   55   56   ...   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