Package org.audiveris.proxymusic
Class KeyAccidental
java.lang.Object
org.audiveris.proxymusic.KeyAccidental
The key-accidental type indicates the accidental to be displayed in a non-traditional key signature, represented in the same manner as the accidental type without the formatting attributes.
Java class for key-accidental complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="key-accidental">
<simpleContent>
<extension base="<>accidental-value">
<attribute name="smufl" type="{}smufl-accidental-glyph-name" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSmufl()Gets the value of the smufl property.getValue()The accidental-value type represents notated accidentals supported by MusicXML.voidSets the value of the smufl property.voidsetValue(AccidentalValue value) Sets the value of the value property.
-
Field Details
-
value
-
smufl
-
-
Constructor Details
-
KeyAccidental
public KeyAccidental()
-
-
Method Details
-
getValue
The accidental-value type represents notated accidentals supported by MusicXML. In the MusicXML 2.0 DTD this was a string with values that could be included. The XSD strengthens the data typing to an enumerated list. The quarter- and three-quarters- accidentals are Tartini-style quarter-tone accidentals. The -down and -up accidentals are quarter-tone accidentals that include arrows pointing down or up. The slash- accidentals are used in Turkish classical music. The numbered sharp and flat accidentals are superscripted versions of the accidental signs, used in Turkish folk music. The sori and koron accidentals are microtonal sharp and flat accidentals used in Iranian and Persian music. The other accidental covers accidentals other than those listed here. It is usually used in combination with the smufl attribute to specify a particular SMuFL accidental. The smufl attribute may be used with any accidental value to help specify the appearance of symbols that share the same MusicXML semantics.- Returns:
- possible object is
AccidentalValue
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isAccidentalValue
-
getSmufl
Gets the value of the smufl property.- Returns:
- possible object is
String
-
setSmufl
Sets the value of the smufl property.- Parameters:
value- allowed object isString
-