#Main
Library = "Embertone Intimate Strings" # For which library algorithm is optimized
Type = 1 # Instrument type

# Instrument parameters
poly = 1 # Maximum number of simultaneous voices

# Controls
Volume_default = 117 # default 127 (direct CC volume, should not be changed by user)
db_max = 0 # Maximum controlled loudness in db when volume CC is 127
db_coef = 3 # Slope of CC to db function (3 for Kontakt, 1 for SWAM)
CC_Name = 1:  "Vibrato intensity"
CC_Name = 11: "Dynamics"
CC_Name = 14: "Vibrato speed"
CC_Name = 50: "Reverb level"
CC_Name = 51: "Bow noise reduction"
CC_Name = 52: "Transition attenuation"
CC_Name = 53: "Round-robin on"
CC_Name = 54: "Responsiveness"
CC_Name = 55: "Ensemble on"
CC_Name = 56: "Ensemble combine transitions"
CC_Name = 57: "Ensemble tightness"
CC_Name = 58: "Ensemble randomize"

# Map ensemble controls manually if you plan to use Ensemble mode
CC_Name = 3:  "Ensemble intonation"
CC_Name = 4:  "Ensemble L"
CC_Name = 19:  "Ensemble R"

# These controls should be mapped manually
CC_Name = 6:  "Transition speed lower"
CC_Name = 8:  "Transition speed upper"
CC_Name = 9:  "Solo intonation"
CC_Name = 13: "Shorts length control on"
CC_Name = 15: "Release samples on"
CC_Name = 17: "Portamento velocity threshold"
CC_Name = 18: "Dynamic KSW threshold"

# Techniques mapping to commands
Technique = "solo; Ensemble on: 0"
Technique = "tutti; Ensemble on" # Tutti mode in Viola requires gliss_freq=0 due to bug in virtual instrument. In Violin and Cello, setting gliss_freq to 10 or 0 is recommended

# Initial setup
Reverb level = 0 # default: enabled

# Initial setup (can change)
Bow noise reduction = 0
Round-robin on = 127
Volume = 100 # default 100 (relative volume from 0 to 100)

# Automation parameters
CC_dynamics = 11
CC_ma = 9 # Number of CC steps to moving average (please use only odd numbers)
CC_steps = 30 # Number of CC steps in one second

# Nonlegato adaptor
nonlegato_mingap = 13 # Minimum distance between note ending and next note start to sound nonlegato

# Vibrato adaptor
CC_vib = 1 # CC number for vibrato intensity
CC_vibf = 14 # CC number for vibrato speed

# Automatic crescendo for long notes without attack
cresc_mindur = 700 # Minimum note duration (ms) that can have automatic crescendo
cresc_mul = 80 # Multiply dynamics by this percent at crescendo start (0.2 creates smooth slope)
cresc_len = 30 # Percent of note length to use for crescendo
cresc_maxvel = 119 # Maximum velocity to still trigger automatic crescendo
cresc_minpause = 100 # Minimum pause length required before automatic crescendo (ms)

# Automatic diminuendo for long notes
dim_mindur = 200 # Minimum note duration (ms) that can have automatic diminuendo
dim_mul = 20 # Multiply dynamics by this percent at diminuendo end (0.2 creates smooth slope)
dim_len = 30 # Percent of note length to use for diminuendo
dim_minpause = 100 # Minimum pause length required after automatic diminuendo (ms)

# Reverse bell adaptor
rbell_freq = 0 # Frequency to apply reverse bell when all conditions met
rbell_dur = 300-1000 # Minimum note duration (ms) that can have a reverse bell - that will have deepest reverse bell
rbell_mul = 20-80 # Multiply dynamics by this parameter at bell center with longer-shorter duration
rbell_pos = 20-80 # Leftmost-rightmost minimum reverse bell position inside window (percent of window duration)

# Vibrato adaptor
vib_bell_dur = 200-600 # Minimum note duration (ms) that can have a vibrato bell - division between short and long notes
vib_bell_top = 10-90 # Leftmost-rightmost maximum vibrato intensity in note (percent of note duration)
vibf_bell_top = 10-90 # Leftmost-rightmost maximum vibrato speed in note (percent of note duration)
vib_bell_exp = 2 # Exponent to create non-linear bell shape (left)
vibf_bell_exp = 2 # Exponent to create non-linear bell shape (left)
vib_bell_rexp = 2 # Exponent to create non-linear bell shape (right)
vibf_bell_rexp = 2 # Exponent to create non-linear bell shape (right)
vib_bell_freq = 100 # Frequency to apply vibrato bell when all conditions met
vib_dyn = 30-110 # Min-max dynamics. Below min dynamics there is no vibrato. Above max dynamics vibrato is max vibrato
vib_bell = 30-127 # Maximum vibrato intensity in vibrato bell (for minimum and highest dynamics)
vibf_bell = 20-50 # Max vibrato frequency in vibrato bell (for minimum and highest dynamics)
rnd_vib = 10 # Randomize vibrato intensity not greater than this percent
rnd_vibf = 10 # Randomize vibrato speed not greater than this percent
rnd_vib_slow = 2 # Slow down random vibrato function by this value. Can be only integer: 1 and above
rnd_vibf_slow = 2 # Slow down random vibrato speed function by this value. Can be only integer: 1 and above

# Vibrato adaptor - short notes
vib_sbell_top = 10-90 # Leftmost-rightmost maximum vibrato intensity in note (percent of note duration)
vibf_sbell_top = 10-90 # Leftmost-rightmost maximum vibrato speed in note (percent of note duration)
vib_sbell_exp = 0.25 # Exponent to create non-linear bell shape (left)
vibf_sbell_exp = 0.25 # Exponent to create non-linear bell shape (left)
vib_sbell_rexp = 0.25 # Exponent to create non-linear bell shape (right)
vibf_sbell_rexp = 0.25 # Exponent to create non-linear bell shape (right)
vib_sbell_freq = 100 # Frequency to apply vibrato bell when all conditions met
vib_sdyn = 30-110 # Min-max dynamics. Below min dynamics there is no vibrato. Above max dynamics vibrato is max vibrato
vib_sbell = 30-127 # Maximum vibrato intensity in vibrato bell (for minimum and highest dynamics)
vibf_sbell = 30-60 # Max vibrato frequency in vibrato bell (for minimum and highest dynamics)

# Randomization
rnd_vel = 8 # Randomize note velocity not greater than this percent
rand_pos = 0-0 # Randomize note starts-ends not greater than percent of note length 
rand_pos_max = 0-0 # Maximum shift in ms (start-end)
rnd_dyn = 10 # Randomize step dynamics not greater than this percent
rnd_dyn_slow = 3 # Slow down random dynamics function by this value. Can be only integer: 1 and above

# Unison adaptor
unison_dyn_mul = 1.3 # Multiply dynamics of staying unison note by this value
