include "../../GenCF1/include/CF1.pl"

# Method parameters
method = sas # This method can be faster in some cases. Not working currently
#method = swa # This method is best for analysis and corrections in most cases

accept_reseed = 1 # After accepting first result reseed (if random_seed) and choose new range (if random_range)
random_seed = 1 # Seed melody with random numbers. This ensures giving different results if generation is very slow.
random_range = 0 # Limit scanning to one of possible fast-scan ranges (automatically enabled for RSWA)
s_len = 1 # Maximum number of measures to full scan. Higher values are slow to compute
cantus_id = 0 # Select particular cantus id. Set to 0 to select random
accept_cantus_rechoose = 0 # Choose new random cantus after accepting counterpoint
transpose_back = 0 # Should be set to 1 for CF1 generation algorithm only
transpose_cantus = 4 # Specify octave to transpose lower cantus to

animate = 0 # Draw animation of preliminary result every X ms (0 to show each change, high to disable animation)
animate_delay = 0 # Delay in ms after each animation step

shuffle = 0 # If you want to shuffle all canti after generation (can shuffle up to 32000 canti)

# Analysis
random_key = 0 # Select any of possible keys regardless of last note

# Main parameters
species = 1 # Choose counterpoint species
#notes_per_measure = 1 # Number of notes per measure (1 = species1, 2 = species2, 4 = species3, 8 = species5)
#start_pause = 0 # Length of starting pause at counterpoint voice start (length of pause is controlled by notes_per_measure)
rpenalty_accepted = 0 # Maximum accepted rule penalty for RandomSWA

# Technical parameters
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
t_cnt = 1000 # Maximum number of steps generated
midifile_export_marks = 1 # Set to export marks (harmony) to midifile lyrics
midifile_export_comments = 0 # Set to export comments (violations) to midifile lyrics
