# Currently problem with this library is that section is switched automatically
# Best way to use it is to create 4 separate tracks for SATB

# Main
library = Voxos 2.0 Legato Sections # For which library algorithm is optimized
Type = 3 # Instrument type

# Instrument parameters
n_min = D2 # Lowest note
n_max = D6 # Highest note
t_min = 10 # Shortest note in ms
t_max = 12000 # Longest melody withot pauses in ms (0 = no limit). Decreases with dynamics
poly = 100 # Maximum number of simultaneous voices
#leap_t_min = 100 # Shortest note after leap in ms

# Automation parameters
CC_dynamics = 1
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
# CC2 - morph between Ooh and Ah

# Legato adaptor
legato_ahead = 165 # Time in ms to stretch legato notes back to cope with legato delay
max_ahead_note = 12 # Maximum chromatic interval having ahead property

# Nonlegato adaptor
nonlegato_minlen = 400 # Minimum note length (in ms) allowed to convert to nonlegato

# Automatic crescendo for long notes without attack
cresc_mindur = 700 # Minimum note duration (ms) that can have automatic crescendo
cresc_mul = 20 # 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)

# Randomization
rnd_vel = 8 # Randomize note velocity not greater than this percent
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
