The melody follows the requested contour in diatonic steps from the tonic,
snapped to the key. When a chord is supplied, notes landing on bar downbeats
are pulled to the nearest chord tone. An optional jitter adds balanced
per-note variation without biasing the contour; it is off by default, so the
contour is reproduced exactly. Output is deterministic for a given seed.
Generate a short seed motif over
bars.The melody follows the requested contour in diatonic steps from the tonic, snapped to the key. When a chord is supplied, notes landing on bar downbeats are pulled to the nearest chord tone. An optional
jitteradds balanced per-note variation without biasing the contour; it is off by default, so the contour is reproduced exactly. Output is deterministic for a given seed.