Remarks
Setting the key type is useful for supported
hosts like KOMPLETE KONTROL,
where keys with
control
functionality, e.g.
key switches, should not be affected by any note processing.
Examples
on init
declare $count
$count := 0
while ($count < 128)
set_key_type($count,$NI_KEY_TYPE_NONE)
inc($count)
end while
$count := 36
while ($count <= 96)
select ($count)
case 36 to 47 {e.g. key switch}
set_key_type($count,$NI_KEY_TYPE_CONTROL)
case 48 to 96 {e.g. main notes}
set_key_type($count,$NI_KEY_TYPE_DEFAULT)
end
select
inc($count)
end while
end on
Do'stlaringiz bilan baham: