Skip to content

Commit c8960c6

Browse files
chore: autopublish 2021-08-20T20:48:25Z
1 parent 154e0f9 commit c8960c6

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

docs/library/note_entry.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- [calc_note_at_index](#calc_note_at_index)
1515
- [stem_sign](#stem_sign)
1616
- [duplicate_note](#duplicate_note)
17+
- [delete_note](#delete_note)
1718
- [calc_spans_number_of_octaves](#calc_spans_number_of_octaves)
1819
- [add_augmentation_dot](#add_augmentation_dot)
1920
- [get_next_same_v](#get_next_same_v)
@@ -242,6 +243,22 @@ note_entry.duplicate_note(note)
242243
| --- | --- |
243244
| `FCNote \| nil` | reference to added FCNote or `nil` if not success |
244245

246+
## delete_note
247+
248+
```lua
249+
note_entry.delete_note(note)
250+
```
251+
252+
Removes the specified FCNote from its associated FCNoteEntry.
253+
254+
| Input | Type | Description |
255+
| --- | --- | --- |
256+
| `note` | `FCNote` | |
257+
258+
| Output type | Description |
259+
| --- | --- |
260+
| `boolean` | true if success |
261+
245262
## calc_spans_number_of_octaves
246263

247264
```lua

docs/library/notehead.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Notehead
2+
3+
- [change_shape](#change_shape)
4+
5+
## change_shape
6+
7+
```lua
8+
notehead.change_shape(note, shape)
9+
```
10+
11+
Changes the given notehead to a specified notehead descriptor string. Currently only supports "diamond".
12+
13+
| Input | Type | Description |
14+
| --- | --- | --- |
15+
| `note` | `FCNote` | |
16+
| `shape` | `lua string` | |
17+
18+
| Output type | Description |
19+
| --- | --- |
20+
| `FCNoteheadMod` | the new notehead mod record created |

0 commit comments

Comments
 (0)