add_notes
Add notes to the score at the current position. Specify note names, duration, and whether to add them as a chord or sequentially.
Instructions
Add notes to the score at the current position.
Args: notes: List of notes to add (e.g., ["C4", "E4", "G4"]) Format: Note name + octave, with optional # or b Examples: "C4", "F#5", "Bb3", "G#4" duration: Note duration - one of: "whole", "half", "quarter", "eighth", "sixteenth", "32nd", "64th" as_chord: If True, add all notes simultaneously as a chord. If False, add notes sequentially.
Returns: Success status and notes added
Examples: - Single note: add_notes(["C4"]) - Melody: add_notes(["C4", "D4", "E4", "F4", "G4"]) - C major chord: add_notes(["C4", "E4", "G4"], as_chord=True) - Half notes: add_notes(["C4", "E4"], duration="half")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| duration | No | quarter | |
| as_chord | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||