Bus Solo Button In Kontakt

Ok, so I’m working on a drum instrument and need a button to solo the busses. For some reason I can’t just access the bus solo with the script, So how is this done?

I should note that I don’t know ANYTHING about scripting, so any advice has to be very clear. This is really starting to do my head in.

Hi Kiko

I have done very limited scripting and not worked with solo or mutes.

I have just uploaded a new set of Melodica Pads powered by the Photosynthesis Engine which has 3 layers to mix and includes solos and buttons. Hopefully the files will be posted soon. In the mean time I have extracted a portion of the script that deals with the solo.mutes on the main page and it may be of some help

Regards Bob

declare ui_switch $mix_solo1
set_text($mix_solo1,"")
make_persistent($mix_solo1)
read_persistent_var($mix_solo1)
set_control_par_str(get_ui_id($mix_solo1),$CONTROL_PAR_PICTURE,“SwitchSolo”)
set_control_par(get_ui_id($mix_solo1),$CONTROL_PAR_WIDTH,15)
set_control_par(get_ui_id($mix_solo1),$CONTROL_PAR_HEIGHT,15)
move_control_px($mix_solo1,258,118)
declare ui_switch $mix_solo2
set_text($mix_solo2,"")
make_persistent($mix_solo2)
read_persistent_var($mix_solo2)
set_control_par_str(get_ui_id($mix_solo2),$CONTROL_PAR_PICTURE,“SwitchSolo”)
set_control_par(get_ui_id($mix_solo2),$CONTROL_PAR_WIDTH,15)
set_control_par(get_ui_id($mix_solo2),$CONTROL_PAR_HEIGHT,15)
move_control_px($mix_solo2,303,118)
declare ui_switch $mix_solo3
set_text($mix_solo3,"")
make_persistent($mix_solo3)
read_persistent_var($mix_solo3)
set_control_par_str(get_ui_id($mix_solo3),$CONTROL_PAR_PICTURE,“SwitchSolo”)
set_control_par(get_ui_id($mix_solo3),$CONTROL_PAR_WIDTH,15)
set_control_par(get_ui_id($mix_solo3),$CONTROL_PAR_HEIGHT,15)
move_control_px($mix_solo3,347,118)
declare ui_switch $mix_mute1
set_text($mix_mute1,"")
make_persistent($mix_mute1)
read_persistent_var($mix_mute1)
set_control_par_str(get_ui_id($mix_mute1),$CONTROL_PAR_PICTURE,“SwitchMute”)
set_control_par(get_ui_id($mix_mute1),$CONTROL_PAR_WIDTH,15)
set_control_par(get_ui_id($mix_mute1),$CONTROL_PAR_HEIGHT,15)
move_control_px($mix_mute1,258,135)
declare ui_switch $mix_mute2
set_text($mix_mute2,"")
make_persistent($mix_mute2)
read_persistent_var($mix_mute2)
set_control_par_str(get_ui_id($mix_mute2),$CONTROL_PAR_PICTURE,“SwitchMute”)
set_control_par(get_ui_id($mix_mute2),$CONTROL_PAR_WIDTH,15)
set_control_par(get_ui_id($mix_mute2),$CONTROL_PAR_HEIGHT,15)
move_control_px($mix_mute2,303,135)
declare ui_switch $mix_mute3
set_text($mix_mute3,"")
make_persistent($mix_mute3)
read_persistent_var($mix_mute3)
set_control_par_str(get_ui_id($mix_mute3),$CONTROL_PAR_PICTURE,“SwitchMute”)
set_control_par(get_ui_id($mix_mute3),$CONTROL_PAR_WIDTH,15)
set_control_par(get_ui_id($mix_mute3),$CONTROL_PAR_HEIGHT,15)
move_control_px($mix_mute3,347,135)

on note
if ($mix_solo1=1 or ($mix_solo2=1) or ($mix_solo3=1))
disallow_group($ALL_GROUPS)
if ($mix_solo1=1)
if ($mix_mute1=0)
$count := 0
while ($count<4)
allow_group($count)
inc($count)
end while
end if
end if
if ($mix_solo2=1)
if ($mix_mute2=0)
$count := 4
while ($count<8)
allow_group($count)
inc($count)
end while
end if
end if
if ($mix_solo3=1)
if ($mix_mute3=0)
$count := 8
while ($count<12)
allow_group($count)
inc($count)
end while
end if
end if
else
disallow_group($ALL_GROUPS)
if ($mix_mute1=0)
$count := 0
while ($count<4)
allow_group($count)
inc($count)
end while
end if
if ($mix_mute2=0)
$count := 4
while ($count<8)
allow_group($count)
inc($count)
end while
end if
if ($mix_mute3=0)
$count := 8
while ($count<12)
allow_group($count)
inc($count)
end while
end if
end if
end on

on ui_control($mix_solo1)
$mix_solo2 := 0
$mix_solo3 := 0
end on

on ui_control($mix_solo2)
$mix_solo1 := 0
$mix_solo3 := 0
end on

on ui_control($mix_solo3)
$mix_solo1 := 0
$mix_solo2 := 0
end on