Ksp reference Manual


See Also  change_vol() fade_out() 8.10. fade_out()



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

See Also 
change_vol()
fade_out()
8.10. fade_out()
fade_out(
,
>,
)
Perform a fade-out for a specific note event

The ID number of the note event to be faded in

The fade-in time in microseconds

If set to 
1
, the voice is stopped after the fade out
If set to 
0
, the voice will still be running after the fade out
Examples
on controller
if ($CC_NUM = 1)
if (%CC[1] mod 2 # 0)
fade_out($ALL_EVENTS,5000,0)
else
fade_in($ALL_EVENTS,5000)
end if
end if
end on
Use the mod wheel on held notes to create a stutter effect
on controller
if ($CC_NUM = 1)
fade_out($ALL_EVENTS,5000,1)
end if
end on
A custom "All Sound Off" implementation triggered by the mod wheel
See Also 
change_vol()
Event Commands
60
KSP Reference Manual


fade_in()
8.11. get_event_ids()
get_event_ids()
Fills the specified array with all active event IDs. The command overwrites all existing values as
long as there are events, and writes 0 if no events are active anymore.

Array to be filled with
active event IDs
Examples
on init
declare const $ARRAY_SIZE := 500
declare %test_array[$ARRAY_SIZE]
declare $a
declare $note_count
end on
on note
get_event_ids(%test_array)
$a := 0
$note_count := 0
while($a < $ARRAY_SIZE and %test_array[$a] # 0)
inc($note_count)
inc($a)
end while
message("Active Events: " & $note_count)
end on
Monitoring the number of active events
See Also
event_status()
ignore_event()

Download 0,99 Mb.

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