1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
use alloc::string::String;
use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
/// Indicates shapes other than the open and closed ovals associated with note durations.
///
/// The values do, re, mi, fa, fa up, so, la, and ti correspond to Aikin's 7-shape system.
/// The "fa up" shape is typically used with upstems; the "fa" shape is typically used with downstems or no stems.
///
/// The arrow shapes differ from triangle and inverted triangle by being centered on the stem.
/// Slashed and back-slashed notes include both the normal notehead and a slash.
/// The triangle shape has the tip of the triangle pointing up;
/// the inverted triangle shape has the tip of the triangle pointing down.
/// The left triangle shape is a right triangle with the hypotenuse facing up and to the left.
///
/// The "other" notehead covers noteheads other than those listed here.
/// It is usually used in combination with the `smufl` attribute to specify a particular SMuFL notehead.
/// The `smufl` attribute may be used with any notehead value to help specify the appearance of symbols
/// that share the same MusicXML semantics. Noteheads in the SMuFL Note name noteheads and Note name noteheads
/// supplement ranges (U+E150–U+E1AF and U+EEE0–U+EEFF) should not use the `smufl` attribute or the "other" value,
/// but instead use the [NoteheadText][crate::elements::NoteheadText] element.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
pub enum NoteheadValue {
/// 
#[rename("arrow down")]
ArrowDown,
/// 
#[rename("arrow up")]
ArrowUp,
/// 
#[rename("back slashed")]
BackSlashed,
/// 
#[rename("circle dot")]
CircleDot,
/// 
#[rename("circle-x")]
CircleX,
/// 
Circled,
/// 
Cluster,
/// 
Cross,
/// 
Diamond,
/// As in Aikin's 7-shape system:
///
/// 
Do,
/// As in Aikin's 7-shape system, typically used with downstems or no stems:
///
/// 
Fa,
/// As in Aikin's 7-shape system, typically used with upstems:
///
/// 
#[rename("fa up")]
FaUp,
/// 
#[rename("inverted triangle")]
InvertedTriangle,
/// As in Aikin's 7-shape system:
///
/// 
La,
/// 
#[rename("left triangle")]
LeftTriangle,
/// As in Aikin's 7-shape system:
///
/// 
Mi,
/// 
None,
/// 
Normal,
/// As in Aikin's 7-shape system:
///
/// 
Re,
/// 
Rectangle,
/// 
Slash,
/// 
Slashed,
/// As in Aikin's 7-shape system:
///
/// 
So,
/// 
Square,
/// As in Aikin's 7-shape system:
///
/// 
Ti,
/// 
Triangle,
/// 
X,
/// Noteheads other than those listed here.
///
/// This value is usually used in combination with the `smufl` attribute to specify a particular SMuFL notehead.
/// The `smufl` attribute may also be used with any notehead value to help specify the appearance of symbols that
/// share the same MusicXML semantics. Noteheads in the SMuFL Note name noteheads and Note name noteheads
/// supplement ranges (U+E150–U+E1AF and U+EEE0–U+EEFF) should not use the `smufl` attribute or the other value,
/// but instead use the [NoteheadText][crate::elements::NoteheadText] element.
Other,
}