User Interface Commands
82
KSP Reference Manual
12.2. add_text_line()
add_text_line( ,)
Add a new text line in the specified label without erasing existing text
The variable of the UI label
The text to be displayed
Examples
on init
declare ui_label $label (1,4)
set_text($label,"")
declare $count
end on
on note
inc($count)
select ($count)
case 1
set_text($label, $count & ": " & $EVENT_NOTE)
case 2 to 4
add_text_line($label, $count & ": " & $EVENT_NOTE)
end select
if ($count = 4)
$count := 0
end if
end on
Monitoring the last four played notes
See Also
set_text()
ui_label
12.3. attach_level_meter()
attach_level_meter(ID>,,,,)
Attach a level meter to a certain position within the in-
strument to read volume data
The ID number of the level meter
The index of the group you want to access. Should be set to -1
if not using the group level
The index of the fx slot you wish to access. Should be set to -1
if you do not wish to access an fx slot.
Select either the left (0) or right (1) channel
The index of the instrument bus you wish to access. Should be
set to -1 if you are not accessing the bus level.
Do'stlaringiz bilan baham: |