Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
{----------FLT END-----------}
{----------SENDS START----------}
declare const $NUM_SEND := 4
declare ui_slider $reverb_send (0,1000000)
declare ui_slider $delay_send (0,1000000)
declare ui_label $lb_reverb_send (1,1)
declare ui_label $lb_delay_send (1,1)
declare %send_id[$NUM_SEND]
%send_id[0] := get_ui_id($reverb_send)
%send_id[1] := get_ui_id($delay_send)
%send_id[2] := get_ui_id($lb_reverb_send)
%send_id[3] := get_ui_id($lb_delay_send)
set_text($lb_reverb_send, "REVERB")
set_text($lb_delay_send, "DELAY")
set_control_help ($reverb_send, "Reverb Send Level: Controls the amount
of signal sent from the selected instrument to the master reverb effect.")
set_control_help ($delay_send, "Delay Send Level: Controls the amount of
signal sent from the selected instrument to the master delay effect.")
move_control_px($reverb_send,($GRID_X*6)-31,($GRID_Y * 4)-2)
move_control_px($delay_send,($GRID_X*6)-31,($GRID_Y * 7)-0)
$count := 0
while($count<2)
set_control_par_str(%send_id[$count],$CONTROL_PAR_PICTURE,"pv_ur
ban_knob_light_blue")
set_control_par(%send_id[$count],$CONTROL_PAR_MOUSE_BEHAVIOUR,-5
00)
inc($count)
end while
$count := 2
while($count<4)
set_control_par(%send_id[$count],$CONTROL_PAR_HIDE,$HIDE_PART_BG
)
set_control_par(%send_id[$count],$CONTROL_PAR_FONT_TYPE,$FONT_ID
)
set_control_par(%send_id[$count], $CONTROL_PAR_TEXT_ALIGNMENT, 1
)
set_control_par(%send_id[$count],$CONTROL_PAR_POS_X,get_control_
par...
(%send_id[$count-2],$CONTROL_PAR_POS_X) - 26)
set_control_par(%send_id[$count],$CONTROL_PAR_POS_Y,get_control_
par...
(%send_id[$count-2],$CONTROL_PAR_POS_Y) - 16)
inc($count)
end while
$reverb_send := _get_engine_par($ENGINE_PAR_SENDLEVEL_0,$selected_group,
$send_slot,1)
$delay_send := _get_engine_par($ENGINE_PAR_SENDLEVEL_1,$selected_group,$
send_slot,1)
set_control_par_str(get_ui_id($reverb_send),$CONTROL_PAR_AUTOMATION_NAME
,"Rvb Sd")
set_control_par_str(get_ui_id($delay_send),$CONTROL_PAR_AUTOMATION_NAME,
"Del Sd")
set_control_par_str(get_ui_id($reverb_send),$CONTROL_PAR_LABEL,get_engin
e_par_disp($ENGINE_PAR_SENDLEVEL_0,$selected_group,$send_slot,1) & " dB")
set_control_par_str(get_ui_id($delay_send),$CONTROL_PAR_LABEL,get_engine
_par_disp($ENGINE_PAR_SENDLEVEL_1,$selected_group,$send_slot,1)& " dB")
{----------SENDS END----------}
{----------MASTER FX START----------}
{POSITIONING OF CONTROL GROUP}
declare $x_grid_masterfx := 4 {X Position of Control Group in gr
id}
declare $y_grid_masterfx := 8 {Y Position of Control Group in gr
id}
declare $x_px_masterfx := 0 {X Position Offset Control Group in
pixel}
declare $y_px_masterfx := 0 {Y Position Offset Control Group in
pixel}
{DECLARATION AND UI_IDs}
declare const $num_ir_cats := 9 {the number of ir categories use
d in this instrument group}
declare const $num_ir_types := 18
declare const $NUM_MASTERFX := 25 {number of elements in this co
ntrol group}
declare ui_label $fxselectionpic_masterfx(1,1)
declare ui_label $reverb_bg_masterfx (1,1)
declare ui_label $eq_bg_masterfx (1,1)
declare ui_label $lb_rev_mix_masterfx (1,1)
declare ui_label $image_reverb (1,1)
declare ui_label $lb_delay_feedback_masterfx (1,1)
declare ui_label $lb_delay_time_masterfx (1,1)
declare ui_label $lb_delay_amount_masterfx (1,1)
declare ui_label $lb_eq_lo_masterfx (1,1)
declare ui_label $lb_eq_mid_masterfx (1,1)
declare ui_label $lb_eq_hi_masterfx (1,1)
declare ui_slider $rev_amount_masterfx (0, 1000000)
declare ui_slider $delay_feedback_masterfx (0, 1000000)
declare ui_slider $delay_time_masterfx (0, 1000000)
declare ui_slider $delay_amount_masterfx (0, 1000000)
declare ui_slider $eq_lo_masterfx (166666,833333)
declare ui_slider $eq_mid_masterfx (166666,833333)
declare ui_slider $eq_hi_masterfx (166666,833333)
declare ui_button $rev_masterfx
declare ui_button $delay_masterfx
declare ui_button $eq_masterfx
declare ui_switch $rev_onoff_masterfx
declare ui_switch $delay_onoff_masterfx
declare ui_switch $eq_onoff_masterfx
declare ui_menu $category_reverb
declare ui_menu $hall_reverb
declare ui_menu $cathedral_reverb
declare ui_menu $club_reverb
declare ui_menu $room_reverb
declare ui_menu $l300_reverb
declare ui_menu $plate_reverb
declare ui_menu $quadstick_reverb
declare ui_menu $brt7_reverb
declare ui_menu $cabinet_reverb
declare %masterfx_id[$NUM_MASTERFX]
%masterfx_id[0] := get_ui_id($fxselectionpic_masterfx)
%masterfx_id[1] := get_ui_id($image_reverb)
%masterfx_id[2] := get_ui_id($lb_rev_mix_masterfx)
%masterfx_id[3] := get_ui_id($lb_delay_feedback_masterfx)
%masterfx_id[4] := get_ui_id($lb_delay_time_masterfx)
%masterfx_id[5] := get_ui_id($lb_delay_amount_masterfx)
%masterfx_id[6] := get_ui_id($lb_eq_lo_masterfx)
%masterfx_id[7] := get_ui_id($lb_eq_mid_masterfx)
%masterfx_id[8] := get_ui_id($lb_eq_hi_masterfx)
%masterfx_id[9] := get_ui_id($rev_amount_masterfx)
%masterfx_id[10] := get_ui_id($delay_feedback_masterfx)
%masterfx_id[11] := get_ui_id($delay_time_masterfx)
%masterfx_id[12] := get_ui_id($delay_amount_masterfx)
%masterfx_id[13] := get_ui_id($eq_lo_masterfx)
%masterfx_id[14] := get_ui_id($eq_mid_masterfx)
%masterfx_id[15] := get_ui_id($eq_hi_masterfx)
%masterfx_id[16] := get_ui_id($rev_masterfx)
%masterfx_id[17] := get_ui_id($delay_masterfx)
%masterfx_id[18] := get_ui_id($eq_masterfx)
%masterfx_id[19] := get_ui_id($rev_onoff_masterfx)
%masterfx_id[20] := get_ui_id($delay_onoff_masterfx)
%masterfx_id[21] := get_ui_id($eq_onoff_masterfx)
%masterfx_id[22] := get_ui_id($category_reverb)
%masterfx_id[23] := get_ui_id($eq_bg_masterfx)
%masterfx_id[24] := get_ui_id($reverb_bg_masterfx)
declare const $NUM_REVERB := 5 + $num_ir_cats
declare %reverbfx_id[$NUM_REVERB]
%reverbfx_id[0] := get_ui_id($image_reverb)
%reverbfx_id[1] := get_ui_id($lb_rev_mix_masterfx)
%reverbfx_id[2] := get_ui_id($rev_amount_masterfx)
%reverbfx_id[3] := get_ui_id($category_reverb)
%reverbfx_id[4] := get_ui_id($hall_reverb)
%reverbfx_id[5] := get_ui_id($cathedral_reverb)
%reverbfx_id[6] := get_ui_id($club_reverb)
%reverbfx_id[7] := get_ui_id($room_reverb)
%reverbfx_id[8] := get_ui_id($l300_reverb)
%reverbfx_id[9] := get_ui_id($plate_reverb)
%reverbfx_id[10] := get_ui_id($quadstick_reverb)
%reverbfx_id[11] := get_ui_id($brt7_reverb)
%reverbfx_id[12] := get_ui_id($cabinet_reverb)
%reverbfx_id[13] := get_ui_id($reverb_bg_masterfx)
declare const $NUM_DELAY := 6
declare %delayfx_id[$NUM_DELAY]
%delayfx_id[0] := get_ui_id($lb_delay_feedback_masterfx)
%delayfx_id[1] := get_ui_id($lb_delay_time_masterfx)
%delayfx_id[2] := get_ui_id($lb_delay_amount_masterfx)
%delayfx_id[3] := get_ui_id($delay_feedback_masterfx)
%delayfx_id[4] := get_ui_id($delay_time_masterfx)
%delayfx_id[5] := get_ui_id($delay_amount_masterfx)
declare const $NUM_EQ := 7
declare %eqfx_id[$NUM_EQ]
%eqfx_id[0] := get_ui_id($lb_eq_lo_masterfx)
%eqfx_id[1] := get_ui_id($lb_eq_mid_masterfx)
%eqfx_id[2] := get_ui_id($lb_eq_hi_masterfx)
%eqfx_id[3] := get_ui_id($eq_lo_masterfx)
%eqfx_id[4] := get_ui_id($eq_mid_masterfx)
%eqfx_id[5] := get_ui_id($eq_hi_masterfx)
%eqfx_id[6] := get_ui_id($eq_bg_masterfx)
{POSITIONING OF INDIVIDUAL CONTROLS}
move_control_px($fxselectionpic_masterfx,($GRID_X)-32,($GRID_Y*5
)-18)
move_control_px($rev_masterfx, $GRID_X - 9, ($GRID_Y * 5) - 18)
move_control_px($delay_masterfx, $GRID_X - 9, ($GRID_Y * 6) - 10
)
move_control_px($eq_masterfx, $GRID_X - 9, ($GRID_Y * 7) - 2)
move_control_px($rev_onoff_masterfx, ($GRID_X)-27, ($GRID_Y * 5)
-14)
move_control_px($delay_onoff_masterfx, ($GRID_X)-27, ($GRID_Y *
6) -6)
move_control_px($eq_onoff_masterfx, ($GRID_X)-27, ($GRID_Y * 7)+
2)
move_control_px($reverb_bg_masterfx, ($GRID_X * 2) - 15, ($GRID_
Y * 5) - 13)
move_control_px($image_reverb, ($GRID_X * 2) - 13, ($GRID_Y * 5)
+ 2)
move_control_px($category_reverb, ($GRID_X * 2) - 16, ($GRID_Y *
5) - 15)
move_control_px($rev_amount_masterfx, ($GRID_X * 3) + 0, ($GRID_
Y * 6) - 11)
move_control_px($delay_feedback_masterfx, ($GRID_X * 2) + 41, ($
GRID_Y * 5) + 10)
move_control_px($delay_time_masterfx, ($GRID_X * 2) -10, ($GRID_
Y * 5) + 10)
move_control_px($delay_amount_masterfx, ($GRID_X * 3) + 0, ($GRI
D_Y * 5) + 10)
move_control_px($eq_bg_masterfx, ($GRID_X * 2) - 17, ($GRID_Y *
5) - 10)
move_control_px($eq_lo_masterfx, ($GRID_X * 2) + 14, ($GRID_Y *
5) - 9)
move_control_px($eq_mid_masterfx, ($GRID_X * 2) + 59, ($GRID_Y *
5) - 9)
move_control_px($eq_hi_masterfx, ($GRID_X * 3) + 12, ($GRID_Y *
5) - 9)
$count := 3
while ($count < 13)
set_control_par(%reverbfx_id[$count],$CONTROL_PAR_WIDTH,
92)
set_control_par(%reverbfx_id[$count],$CONTROL_PAR_FONT_T
YPE,$FONT_ID)
set_control_par(%reverbfx_id[$count],$CONTROL_PAR_TEXTPO
S_Y,3)
set_control_par_str(%reverbfx_id[$count],$CONTROL_PAR_PI
CTURE,"pv_urban_dropdown")
if ($count > 3)
set_control_par(%reverbfx_id[$count],$CONTROL_PA
R_POS_X,50+($GRID_X*4))
set_control_par(%reverbfx_id[$count],$CONTROL_PA
R_POS_Y,($GRID_Y*13)+4)
end if
inc($count)
end while
set_control_par_str(get_ui_id($eq_bg_masterfx),$CONTROL_PAR_PICT
URE,"pv_urban_master_fx_eq_bg")
set_control_par_str(get_ui_id($reverb_bg_masterfx),$CONTROL_PAR_
PICTURE,"pv_urban_master_fx_reverb_bg")
set_control_par_str(get_ui_id($image_reverb),$CONTROL_PAR_PICTUR
E,"pv_global_reverb_animation_small")
$count := 2
while ($count < 9)
if ($count < 6)
set_control_par(%masterfx_id[$count], $CONTROL_P
AR_POS_X, ...
get_control_par(%masterfx_id[$count+7],$
CONTROL_PAR_POS_X) - 26)
set_control_par(%masterfx_id[$count], $CONTROL_P
AR_POS_Y, ...
get_control_par(%masterfx_id[$count+7],$
CONTROL_PAR_POS_Y) - 16)
else
set_control_par(%masterfx_id[$count], $CONTROL_P
AR_POS_X, ...
get_control_par(%masterfx_id[$count+7],$
CONTROL_PAR_POS_X) - 37)
set_control_par(%masterfx_id[$count], $CONTROL_P
AR_POS_Y, ...
get_control_par(%masterfx_id[$count+7],$
CONTROL_PAR_POS_Y) + 54)
end if
inc($count)
end while
{VARIOUS ATTRIBUTES}
$rev_amount_masterfx := _get_engine_par ($ENGINE_PAR_SEND_EFFECT
_OUTPUT_GAIN, -1, $reverb_slot, 0)
$delay_feedback_masterfx := _get_engine_par ($ENGINE_PAR_DL_FEED
BACK, -1, $delay_slot, 0)
$delay_time_masterfx := _get_engine_par ($ENGINE_PAR_DL_TIME, -1
, $delay_slot, 0)
$delay_amount_masterfx := _get_engine_par ($ENGINE_PAR_SEND_EFFE
CT_OUTPUT_GAIN, -1, $delay_slot, 0)
$eq_lo_masterfx := _get_engine_par($ENGINE_PAR_GAIN1, -1, $meq_s
lot, 1)
$eq_mid_masterfx := _get_engine_par($ENGINE_PAR_GAIN2, -1, $meq_
slot, 1)
$eq_hi_masterfx := _get_engine_par($ENGINE_PAR_GAIN3, -1, $meq_s
lot, 1)
$rev_onoff_masterfx := (_get_engine_par($ENGINE_PAR_SEND_EFFECT_
BYPASS, -1, $reverb_slot, 0) + 1) mod 2
$delay_onoff_masterfx := (_get_engine_par($ENGINE_PAR_SEND_EFFEC
T_BYPASS, -1, $delay_slot, 0) + 1) mod 2
$eq_onoff_masterfx := (_get_engine_par($ENGINE_PAR_SEND_EFFECT_B
YPASS, -1, $meq_slot, 1) + 1) mod 2
$rev_masterfx := 1
set_text($lb_rev_mix_masterfx, "RETURN")
set_text($image_reverb, "")
set_text($eq_bg_masterfx, "")
set_text($reverb_bg_masterfx, "")
set_text($lb_delay_feedback_masterfx, "FEEDBK")
set_text($lb_delay_time_masterfx, "TIME")
set_text($lb_delay_amount_masterfx, "RETURN")
set_text($lb_eq_lo_masterfx, "LOW")
set_text($lb_eq_mid_masterfx, "MID")
set_text($lb_eq_hi_masterfx, "HIGH")
set_control_help ($rev_amount_masterfx, "Reverb Return: Sets the
output volume of the reverb send effect.")
set_control_help ($delay_feedback_masterfx, "Delay Feedback: Con
trols the amount of signal from the delay effect output that is fed back into th
e delay effect input.")
set_control_help ($delay_time_masterfx, "Delay Time: Sets the am
ount of time between the original input and the delayed output signal.")
set_control_help ($delay_amount_masterfx, "Reverb Return: Sets t
he output volume of the delay send effect.")
set_control_help ($eq_lo_masterfx, "EQ Low Gain: Controls the ga
in of the master output's lower frequencies.")
set_control_help ($eq_mid_masterfx, "EQ Mid Gain: Controls the g
ain of the master output's mid frequencies.")
set_control_help ($eq_hi_masterfx, "EQ High Gain: Controls the g
ain of the master output's higher frequencies.")
set_control_help ($rev_onoff_masterfx, "Reverb On/Off: Turns the
reverb send effect on or off.")
set_control_help ($delay_onoff_masterfx, "Delay On/Off: Turns th
e delay send effect on or off.")
set_control_help ($eq_onoff_masterfx, "EQ On/Off: Turns the mast
er equalizer on or off.")
set_control_help ($category_reverb, "Reverb IR Category: Select
a category from which you can choose a specific impulse response from the second
dropdown menu.")
set_control_help ($hall_reverb, "Concert Hall: Impulse responses
in this category are capured from real spaces and represent a variety of large
performance spaces.")
set_control_help ($cathedral_reverb, "Cathedral: A mix of real a
nd modelled spaces that offer large and dense reverb tails.")
set_control_help ($club_reverb, "Club: Impulse responses in this
category are capured from real spaces and represent a variety of small performa
nce spaces.")
set_control_help ($room_reverb, "Room: Impulse responses in this
category are capured from real spaces and cover a variety of smaller rooms.")
set_control_help ($l300_reverb, "L300: Impulse responses taken f
rom the classic studio digital reverb.")
set_control_help ($plate_reverb, "Plate: Impulse responses from
classic plate reverb effect units.")
set_control_help ($quadstick_reverb, "Quadstick: Impulse respons
es taken from the classic studio digital reverb.")
set_control_help ($brt7_reverb, "BRT 7: Impulse responses taken
from the classic studio digital reverb.")
set_control_help ($cabinet_reverb, "Cabinet: Impulse responses o
f several cabinet types.")
$count := 2
while ($count < 9)
set_control_par(%masterfx_id[$count], $CONTROL_PAR_HIDE,
$HIDE_PART_BG)
set_control_par(%masterfx_id[$count], $CONTROL_PAR_FONT_
TYPE, $FONT_ID)
set_control_par(%masterfx_id[$count], $CONTROL_PAR_TEXT_
ALIGNMENT, 1)
inc($count)
end while
$count := 9
while ($count < 13)
set_control_par_str(%masterfx_id[$count], $CONTROL_PAR_P
ICTURE, "pv_urban_knob_blue")
set_control_par(%masterfx_id[$count], $CONTROL_PAR_MOUSE
_BEHAVIOUR, -400)
inc($count)
end while
$count := 13
while ($count < 16)
set_control_par_str(%masterfx_id[$count], $CONTROL_PAR_P
ICTURE, "pv_urban_master_fx_eq_fader")
set_control_par(%masterfx_id[$count], $CONTROL_PAR_MOUSE
_BEHAVIOUR, -800)
set_control_par(%masterfx_id[$count], $CONTROL_PAR_DEFAU
LT_VALUE, 500000)
inc($count)
end while
set_control_par_str(%masterfx_id[0], $CONTROL_PAR_PICTURE, "pv_u
rban_tabs")
set_control_par(%masterfx_id[0], $CONTROL_PAR_PICTURE_STATE, 0)
set_control_par_str(%masterfx_id[0], $CONTROL_PAR_TEXT, "")
$count := 16
while ($count < 19)
set_control_par_str(%masterfx_id[$count], $CONTROL_PAR_P
ICTURE, "pv_vintage_drums_btn_trans")
set_control_par(%masterfx_id[$count], $CONTROL_PAR_HEIGH
T,25)
set_control_par(%masterfx_id[$count], $CONTROL_PAR_WIDTH
,78)
set_control_par_str(%masterfx_id[$count], $CONTROL_PAR_T
EXT, "")
inc($count)
end while
$count := 19
while ($count < 22)
set_control_par_str(%masterfx_id[$count], $CONTROL_PAR_P
ICTURE, "pv_urban_button")
set_control_par_str(%masterfx_id[$count], $CONTROL_PAR_T
EXT, "")
set_control_par(%masterfx_id[$count],$CONTROL_PAR_HEIGHT
,15)
set_control_par(%masterfx_id[$count],$CONTROL_PAR_WIDTH,
15)
inc($count)
end while
{Reverb Functionality}
declare %subcat_menu_id[9]
%subcat_menu_id[0] := get_ui_id($hall_reverb)
%subcat_menu_id[1] := get_ui_id($cathedral_reverb)
%subcat_menu_id[2] := get_ui_id($club_reverb)
%subcat_menu_id[3] := get_ui_id($room_reverb)
%subcat_menu_id[4] := get_ui_id($l300_reverb)
%subcat_menu_id[6] := get_ui_id($quadstick_reverb)
%subcat_menu_id[7] := get_ui_id($brt7_reverb)
%subcat_menu_id[5] := get_ui_id($plate_reverb)
%subcat_menu_id[8] := get_ui_id($cabinet_reverb)
{Fill the menus}
add_menu_item($category_reverb, "Concert Hall", 0)
add_menu_item($category_reverb, "Cathedral", 1)
add_menu_item($category_reverb, "Club", 2)
add_menu_item($category_reverb, "Room", 3)
add_menu_item($category_reverb, "L300", 4)
add_menu_item($category_reverb, "Quadstick", 6)
add_menu_item($category_reverb, "BRT 7", 7)
add_menu_item($category_reverb, "Plate", 5)
add_menu_item($category_reverb, "Cabinet", 8)
declare !ir_path[68]
!ir_path[0] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 IR
Samples/Concert Hall A.wav"
!ir_path[1] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 IR
Samples/Concert Hall B.wav"
!ir_path[2] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 IR
Samples/Exhibition Hall.wav"
!ir_path[3] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 IR
Samples/Cathedral A.wav"
!ir_path[4] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 IR
Samples/Cathedral B.wav"
!ir_path[5] := "presets/effects/convolution/10 Big Rooms/IR Samp
les/ndb_cathedral_ir_32bit.wav"
!ir_path[6] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 IR
Samples/Club A.wav"
!ir_path[7] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 IR
Samples/Club B.wav"
!ir_path[8] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 IR
Samples/Tavern Close.wav"
!ir_path[9] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 IR
Samples/Tavern Near.wav"
!ir_path[10] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Tavern Medium.wav"
!ir_path[11] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Tavern Far.wav"
!ir_path[12] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Auditorium A.wav"
!ir_path[13] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Auditorium B.wav"
!ir_path[14] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Chamber A.wav"
!ir_path[15] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Chamber B.wav"
!ir_path[16] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Rehearsal Room.wav"
!ir_path[17] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Hard Wood Room B.wav"
!ir_path[18] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Music Studio C.wav"
!ir_path[19] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Small Room A.wav"
!ir_path[20] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Small Room B.wav"
!ir_path[21] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Large Hall.wav"
!ir_path[22] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Gated Hall.wav"
!ir_path[23] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Large Room.wav"
!ir_path[24] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Large Chamber.wav"
!ir_path[25] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Studio C.wav"
!ir_path[26] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Contem-Plate.wav"
!ir_path[27] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Space & Echoes.wav"
!ir_path[28] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Medium Stop.wav"
!ir_path[29] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Drum Cave.wav"
!ir_path[30] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Large Ambience.wav"
!ir_path[31] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Smooth Ambience.wav"
!ir_path[32] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Ambience Wave.wav"
!ir_path[33] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/L300 Le Gate.wav"
!ir_path[34] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Quadstick Small - Basic.wav"
!ir_path[35] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Quadstick Small - Disco.wav"
!ir_path[36] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Quadstick Small - Funk.wav"
!ir_path[37] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Quadstick Small - Funky Club.wav"
!ir_path[38] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Quadstick Small - Hip Hop.wav"
!ir_path[39] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Quadstick Small - Reggae Modern.wav"
!ir_path[40] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Quadstick Small - RnB Neptunes.wav"
!ir_path[41] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/Quadstick Small - RnB Today 1.wav"
!ir_path[42] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/BRT 7 Ambience Large A.wav"
!ir_path[43] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/BRT 7 Ambience Small.wav"
!ir_path[44] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/BRT 7 Chamber Small.wav"
!ir_path[45] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/BRT 7 Chamber Vocal.wav"
!ir_path[46] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/BRT 7 Hall Dense.wav"
!ir_path[47] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/BRT 7 Location Chapel A.wav"
!ir_path[48] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/BRT 7 Plate Snare.wav"
!ir_path[49] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/BRT 7 Room Drum.wav"
!ir_path[50] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/BRT 7 Room Wood.wav"
!ir_path[51] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/BRT 7 Location Cineastic Room.wav"
!ir_path[52] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/E245 0.5s A.wav"
!ir_path[53] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/E245 1.0s A.wav"
!ir_path[54] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/E245 1.4s A.wav"
!ir_path[55] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/E245 2.1s A.wav"
!ir_path[56] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/E245 4.5s A.wav"
!ir_path[57] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/E252 0.6s.wav"
!ir_path[58] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/E252 1.0s.wav"
!ir_path[59] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/E252 1.8s.wav"
!ir_path[60] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/E252 3.0s.wav"
!ir_path[61] := "presets/effects/convolution/<<<K4IR.nkx>>>/K4 I
R Samples/E252 4.5s.wav"
!ir_path[62] := "presets/effects/convolution/17 Cabinets/Brit 21
2/IR Samples/Brit_212_Tube_Center.wav"
!ir_path[63] := "presets/effects/convolution/17 Cabinets/Tweed11
2/IR Samples/Tweed_112_Tube_Center.wav"
!ir_path[64] := "presets/effects/convolution/17 Cabinets/Tweed 2
12/IR Samples/Tweed_212_Tube_Center.wav"
!ir_path[65] := "presets/effects/convolution/17 Cabinets/Tweed 4
10/IR Samples/Tweed_410_Tube_Center.wav"
!ir_path[66] := "presets/effects/convolution/17 Cabinets/Rock 41
2/IR Samples/Rock_412_Tube_Center.wav"
!ir_path[67] := "presets/effects/convolution/17 Cabinets/Modern
412/IR Samples/Modern_412_Tube_Center.wav"
declare !ir_type[68]
!ir_type[0] := "Hall A"
!ir_type[1] := "Hall B"
!ir_type[2] := "Exhibit Hall"
!ir_type[3] := "Cathedral A"
!ir_type[4] := "Cathedral B"
!ir_type[5] := "NDB"
!ir_type[6] := "Club A"
!ir_type[7] := "Club B"
!ir_type[8] := "Tavern Close"
!ir_type[9] := "Tavern Near"
!ir_type[10] := "Tavern Mid"
!ir_type[11] := "Tavern Far"
!ir_type[12] := "Auditorium A"
!ir_type[13] := "Auditorium B"
!ir_type[14] := "Chamber A"
!ir_type[15] := "Chamber B"
!ir_type[16] := "Rehearsal"
!ir_type[17] := "Wood Room"
!ir_type[18] := "Music Studio"
!ir_type[19] := "Small Room A"
!ir_type[20] := "Small Room B"
!ir_type[21] := "Large Hall"
!ir_type[22] := "Gated Hall"
!ir_type[23] := "Large Room"
!ir_type[24] := "Lrg Chamber"
!ir_type[25] := "Studio C"
!ir_type[26] := "Contem-Plate"
!ir_type[27] := "Echoes"
!ir_type[28] := "Medium Stop"
!ir_type[29] := "Drum Cave"
!ir_type[30] := "Large Ambi"
!ir_type[31] := "Smooth Ambi"
!ir_type[32] := "Ambi Wave"
!ir_type[33] := "Le Gate"
!ir_type[34] := "Basic"
!ir_type[35] := "Disco"
!ir_type[36] := "Funk"
!ir_type[37] := "Funky Club"
!ir_type[38] := "Hip Hop"
!ir_type[39] := "Mod Reggae"
!ir_type[40] := "RnB Neptunes"
!ir_type[41] := "RnB Today"
!ir_type[42] := "Large Ambi"
!ir_type[43] := "Small Ambi"
!ir_type[44] := "Sml Chamber"
!ir_type[45] := "Voc Chamber"
!ir_type[46] := "Dense Hall"
!ir_type[47] := "Chapel"
!ir_type[48] := "Snare Plate"
!ir_type[49] := "Drum Room"
!ir_type[50] := "Wood Room"
!ir_type[51] := "Cineastic"
!ir_type[52] := "E245 0.5s"
!ir_type[53] := "E245 1.0s"
!ir_type[54] := "E245 1.4s"
!ir_type[55] := "E245 2.1s"
!ir_type[56] := "E245 4.5s"
!ir_type[57] := "E252 0.6s"
!ir_type[58] := "E252 1.0s"
!ir_type[59] := "E252 1.8s"
!ir_type[60] := "E252 3.0s"
!ir_type[61] := "E252 4.5s"
!ir_type[62] := "Brit 2x12"
!ir_type[63] := "Tweed 1x12"
!ir_type[64] := "Tweed 2x12"
!ir_type[65] := "Tweed 4x10"
!ir_type[66] := "Rock 4x12"
!ir_type[67] := "Modern 4x12"
$count := 0
while ($count < 68)
if ($count < 3)
add_menu_item($hall_reverb,!ir_type[$count],$cou
nt)
else
if ($count < 6)
add_menu_item($cathedral_reverb,!ir_type
[$count],$count)
else
if ($count < 14)
add_menu_item($club_reverb,!ir_t
ype[$count],$count)
else
if ($count < 21)
add_menu_item($room_reve
rb,!ir_type[$count],$count)
else
if ($count < 34)
add_menu_item($l300_r
everb,!ir_type[$count],$count)
else
if($count < 42)
add_menu
_item($quadstick_reverb,!ir_type[$count],$count)
else
if ($cou
nt < 52)
add_menu_item($brt7_reverb,!ir_type[$count],$count)
else
if ($count < 62)
add_menu_item($plate_reverb,!ir_type[$count],$count)
else
add_menu_item($cabinet_reverb,!ir_type[$count],$count)
end if
end if
end if
end if
end if
end if
end if
end if
inc ($count)
end while
make_persistent($category_reverb)
make_persistent($hall_reverb)
make_persistent($cathedral_reverb)
make_persistent($club_reverb)
make_persistent($room_reverb)
make_persistent($l300_reverb)
make_persistent($quadstick_reverb)
make_persistent($brt7_reverb)
make_persistent($plate_reverb)
make_persistent($cabinet_reverb)
_read_persistent_var($category_reverb)
_read_persistent_var($hall_reverb)
_read_persistent_var($cathedral_reverb)
_read_persistent_var($club_reverb)
_read_persistent_var($room_reverb)
_read_persistent_var($l300_reverb)
_read_persistent_var($quadstick_reverb)
_read_persistent_var($brt7_reverb)
_read_persistent_var($plate_reverb)
_read_persistent_var($cabinet_reverb)
$count := 0
while ($count < 9)
if ($count = $category_reverb)
set_control_par(%subcat_menu_id[$count],$CONTROL
_PAR_HIDE,$HIDE_PART_NOTHING)
else
set_control_par(%subcat_menu_id[$count],$CONTROL
_PAR_HIDE,$HIDE_WHOLE_CONTROL)
end if
inc ($count)
end while
set_control_par(get_ui_id($image_reverb),$CONTROL_PAR_PICTURE_ST
ATE,$category_reverb)
declare %offset_reverb[9] := (0,3,6,14,21,52,34,42,62)
on ui_control ($hall_reverb)
_load_ir_sample(_get_folder($GET_FOLDER_FACTORY_DIR)...
& !ir_path[$hall_reverb],$reverb_slot,0)
end on
on ui_control ($cathedral_reverb)
_load_ir_sample(_get_folder($GET_FOLDER_FACTORY_DIR)...
& !ir_path[$cathedral_reverb],$reverb_slot,0)
end on
on ui_control ($club_reverb)
_load_ir_sample(_get_folder($GET_FOLDER_FACTORY_DIR)...
& !ir_path[$club_reverb],$reverb_slot,0)
end on
on ui_control ($room_reverb)
_load_ir_sample(_get_folder($GET_FOLDER_FACTORY_DIR)...
& !ir_path[$room_reverb],$reverb_slot,0)
end on
on ui_control ($l300_reverb)
_load_ir_sample(_get_folder($GET_FOLDER_FACTORY_DIR)...
& !ir_path[$l300_reverb],$reverb_slot,0)
end on
on ui_control ($quadstick_reverb)
_load_ir_sample(_get_folder($GET_FOLDER_FACTORY_DIR)...
& !ir_path[$quadstick_reverb],$reverb_slot,0)
end on
on ui_control ($brt7_reverb)
_load_ir_sample(_get_folder($GET_FOLDER_FACTORY_DIR)...
& !ir_path[$brt7_reverb],$reverb_slot,0)
end on
on ui_control ($plate_reverb)
_load_ir_sample(_get_folder($GET_FOLDER_FACTORY_DIR)...
& !ir_path[$plate_reverb],$reverb_slot,0)
end on
on ui_control ($cabinet_reverb)
_load_ir_sample(_get_folder($GET_FOLDER_FACTORY_DIR)...
& !ir_path[$cabinet_reverb],$reverb_slot,0)
end on
{delay functionality}
on ui_control ($delay_onoff_masterfx)
_set_engine_par ($ENGINE_PAR_SEND_EFFECT_BYPASS, ($delay_onoff_masterfx+
1) mod 2, -1, $delay_slot, 0)
end on
on ui_control ($delay_feedback_masterfx)
_set_engine_par($ENGINE_PAR_DL_FEEDBACK, $delay_feedback_masterfx, -1, $
delay_slot, 0)
set_control_par_str(get_ui_id($delay_feedback_masterfx),$CONTROL_PAR_LAB
EL,get_engine_par_disp($ENGINE_PAR_DL_FEEDBACK, -1, $delay_slot, 0) & " %")
end on
on ui_control ($delay_time_masterfx)
_set_engine_par ($ENGINE_PAR_DL_TIME, $delay_time_masterfx, -1, $delay_s
lot, 0)
set_control_par_str(get_ui_id($delay_time_masterfx),$CONTROL_PAR_LABEL,g
et_engine_par_disp($ENGINE_PAR_DL_TIME, -1, $delay_slot, 0) & " ms")
end on
on ui_control ($delay_amount_masterfx)
_set_engine_par ($ENGINE_PAR_SEND_EFFECT_OUTPUT_GAIN, $delay_amount_mast
erfx, -1, $delay_slot, 0)
set_control_par_str(get_ui_id($delay_amount_masterfx),$CONTROL_PAR_LABEL
,get_engine_par_disp($ENGINE_PAR_SEND_EFFECT_OUTPUT_GAIN, -1, $delay_slot, 0) &
" dB")
end on
{eq functionality}
on ui_control ($eq_onoff_masterfx)
_set_engine_par ($ENGINE_PAR_EFFECT_BYPASS, (($eq_onoff_masterfx + 1) mo
d 2), -1, $meq_slot, 1)
end on
on ui_control ($eq_lo_masterfx)
_set_engine_par($ENGINE_PAR_GAIN1, $eq_lo_masterfx, -1, $meq_slot, 1)
set_control_par_str(get_ui_id($eq_lo_masterfx),$CONTROL_PAR_LABEL,get_en
gine_par_disp($ENGINE_PAR_GAIN1, -1, $meq_slot, 1) & " dB")
end on
on ui_control ($eq_mid_masterfx)
_set_engine_par($ENGINE_PAR_GAIN2, $eq_mid_masterfx, -1, $meq_slot, 1)
set_control_par_str(get_ui_id($eq_mid_masterfx),$CONTROL_PAR_LABEL,get_e
ngine_par_disp($ENGINE_PAR_GAIN2, -1, $meq_slot, 1) & " dB")
end on
on ui_control ($eq_hi_masterfx)
_set_engine_par($ENGINE_PAR_GAIN3, $eq_hi_masterfx, -1, $meq_slot, 1)
set_control_par_str(get_ui_id($eq_hi_masterfx),$CONTROL_PAR_LABEL,get_en
gine_par_disp($ENGINE_PAR_GAIN3, -1, $meq_slot, 1) & " dB")
end on
{*** END CONTROL GROUP "MASTERFX" UI_CONTROL CALLBACKS}
{*** CONTROL GROUP "SENDS" UI_CONTROL CALLBACKS}
on ui_control($reverb_send)
_set_engine_par($ENGINE_PAR_SENDLEVEL_0,$reverb_send,$selected_group,$se
nd_slot,1)
set_control_par_str(get_ui_id($reverb_send),$CONTROL_PAR_LABEL,get_engin
e_par_disp($ENGINE_PAR_SENDLEVEL_0,$selected_group,$send_slot,1) & " dB")
end on
on ui_control($delay_send)
set_engine_par($ENGINE_PAR_SENDLEVEL_1,$delay_send,$selected_group,$send
_slot,1)
set_control_par_str(get_ui_id($delay_send),$CONTROL_PAR_LABEL,get_engine
_par_disp($ENGINE_PAR_SENDLEVEL_1,$selected_group,$send_slot,1)& " dB")
end on
{*** END CONTROL GROUP "SENDS" UI_CONTROL CALLBACKS}