constrain_to_key
Snap proposed notes to the nearest in-key pitches before writing, based on a chosen key and mode.
Instructions
Snap a proposed note set to the nearest in-key pitches before writing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| key | Yes | ||
| mode | No | major |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||