Hey all,
This post is in reference to the instrument based here: https://www.pianobook.co.uk/packs/found-strings/
Here’s where you can help though. In order to create a truly workhorse set of samples built according to all the secret gems I’ve used to blag may way through a fairly successful career as a media composers I’ve started learning how to script. Even with these old samples I’m figuring out ways of creating a whole series of templates that make the sampling process simpler where the end results are consistent and give me what I need, nothing more, nothing less.
This is only my second attempt at scripting. I want to know if I’m doing the assignment of front GUI and CC#01 right?
Starter for 10 is the amount I’m getting both the GUI and CC001 to modulate the sound. Ideally I’d like it not to go all the way to nothing? Here’s my script as it currently stands, please let me know how to improve… and if you can, explain to me what any tweaks you make are doing.
on init
make_perfview
set_ui_height_px (603)
set_ui_width_px (1000)
set_control_par_str ($INST_WALLPAPER_ID,$CONTROL_PAR_PICTURE, “CH-Archive_Found-Strings-001″)
declare ui_slider $Hpf (0,700000)
$Hpf := 1000000
declare $Hpf_ID
$Hpf_ID := get_ui_id ($Hpf)
make_persistent ($Hpf)
read_persistent_var($Hpf)
move_control_px ($Hpf,390,272)
set_control_par_str ($Hpf_ID,$CONTROL_PAR_PICTURE,”KSP_RnD_Fader-Sprite-v5″)
set_control_par ($Hpf_ID,$CONTROL_PAR_MOUSE_BEHAVIOUR,1500)
declare ui_slider $Trim (0,1000000)
$Trim := 1000000
declare $Trim_ID
$Trim_ID := get_ui_id ($Trim)
make_persistent ($Trim)
read_persistent_var($Trim)
move_control_px ($Trim,156,200)
set_control_par_str ($Trim_ID,$CONTROL_PAR_PICTURE,”KSP_RnD_Encoder-Sprite-v2”)
set_control_par ($Trim_ID,$CONTROL_PAR_MOUSE_BEHAVIOUR,-1500)
end on
on ui_control ($Trim)
set_engine_par ($ENGINE_PAR_VOLUME,$Trim,0,-1,-1)
set_engine_par ($ENGINE_PAR_CUTOFF,$Hpf,-1,0,1)
end on
on controller
if ($CC_NUM=1)
$Trim := %CC[1] * 7874
set_engine_par ($ENGINE_PAR_VOLUME,$Trim,0,-1,-1)
set_engine_par ($ENGINE_PAR_CUTOFF,$Hpf,-1,0,1)
end if
end on
on ui_control ($Hpf)
set_engine_par ($ENGINE_PAR_SEND_EFFECT_OUTPUT_GAIN,$Hpf,-1,0,1)
end on
