DOCS · GITHUB
READ THE MANUAL.
Full reference. No login wall. No "sign up for early access". Just markdown in /docs.
ENGINE
HARMONY MODES
STYLE PRESETS
PLUGIN HOST
◆ ◇ ◆ ◇ ◆ EXCERPT · src/harmony/voice_leading/style_rules.rs
/// Style-rule preset: Palestrina (strict 16th-c. species).
/// Hard rules: reject parallel 5ths + 8ves, max leap = perfect 4th.
/// Soft weights: stepwise motion rewarded, leaps penalized, common-
/// tones preferred, contrary motion bonused.
pub const PALESTRINA: StyleRules = StyleRules {
reject_parallel_fifths: true,
reject_parallel_octaves: true,
max_leap_semitones: 5,
stepwise_bonus: 60,
common_tone_bonus: 45,
leap_penalty_per_semi: -15,
voice_cross_penalty: -150,
spread_preference: -4,
contrary_motion_bonus: 40,
};