include "include/CP3.pl"

method = swa
cantus_id = 1
swa_steps = 7 # Do not increase swa window above this value if rules penalty does not decrease significantly

key = Am # Music key to use for generation
first_note = A5 # Starting note of each cantus
last_note = A5 # Ending note of each cantus
random_key = 0 # Allow generator to select random key
tempo = 100-130 # Tempo range
cantus_high = 0 # Set to 1 to consider cantus to be higher voice
transpose_cantus = 4 # Specify octave to transpose lower cantus to

show_severity = 1 # =1 to show severity and flag id in square brackets in comments to notes (also when exporting to MIDI file)
show_harmony_bass = 2 # 0 = do not show bass, 1 = Show harmony bass, 2 = Show chord type (6 or 64)
harm_notation = 1 # Harmonic notation (see configs/harm/harm-notation.csv for details)
tempo_bell = 1.3 # Increase tempo in the middle of cantus / counterpoint. 0 - preserve source tempo

show_ignored_flags = 0 # Show even ignored flags (with strikethrough in rules.xlsm)
show_allowed_flags = 0 # Show even allowed flags (bold in rules.xlsm)
show_min_severity = 49 # Minimum severity to highlight note

ly_flag_style = 2 # 0 - no flag visualisation, 1 - color note, 2 - x above note
ly_msh = 0 # 0 - do not show mshape, 1 - show mshape
ly_pagebreak = 0 # Page break after each analysis

ly_rule_verbose = 2 # 0 - Show only rule name up to colon. Show only subrules starting with colon, 1 - Add subrules without colon, 2 - Add rule comments

midifile_export_marks = 1 # Set to export marks (harmony) to midifile lyrics
midifile_export_comments = 0 # Set to export comments (violations) to midifile lyrics

midifile_out_mul = 1 # All notes length is multiplied by this number before exporting
midifile_in_mul = 2 # Multiply note length with this value when loading

unison_mute = 1 # 0 - do not mute unisons; 1 - mute unisons in voices with same instruments
reverb_mix = 30 # Control reverb mix from 0 to 100% (0% is totally dry, 100% is totally wet)
rnd_tempo = 6 # Randomize tempo not greater than this percent
rnd_tempo_slow = 1 # Tempo randomization function slowness

Midi_file = "server\cache\Exercise-1.mid"
ctools_task_id = "96850"
ctools_file_id = "30149"
ctools_file_name = "Exercise-1.mid"
Instruments = "Piano" # Injected by Amer Arow at 2023-08-12 15:36:46
species = "4" # Injected by Amer Arow at 2023-08-12 15:37:03
AutoLegato = "50" # Injected by Amer Arow at 2023-08-12 15:44:47
# 2023-08-12 15:44:50 config snapshot at task start
