add_note_by_name
Insert a musical note into an LMMS project track using a note name like C4 or A#3. Specify position, length, and volume to compose or edit melodies programmatically.
Instructions
Add a note using a note name (e.g. 'C4', 'A#3', 'F#5').
Args: track_index: Zero-based track index note_name: Note name like 'C4', 'A#3', 'F5', 'Bb2' pos: Position in ticks (192 ticks = 1 bar) length: Note length in ticks (48 = 1/16, 96 = 1/8, 192 = 1 bar) volume: Note velocity (0-200)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pos | No | ||
| length | No | ||
| volume | No | ||
| note_name | No | C4 | |
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |