Class Beam

java.lang.Object
org.audiveris.proxymusic.Beam

public class Beam extends Object
Beam values include begin, continue, end, forward hook, and backward hook. Up to eight concurrent beams are available to cover up to 1024th notes. Each beam in a note is represented with a separate beam element, starting with the eighth note beam using a number attribute of 1. Note that the beam number does not distinguish sets of beams that overlap, as it does for slur and other elements. Beaming groups are distinguished by being in different voices and/or the presence or absence of grace and cue elements. Beams that have a begin value can also have a fan attribute to indicate accelerandos and ritardandos using fanned beams. The fan attribute may also be used with a continue value if the fanning direction changes on that note. The value is "none" if not specified. The repeater attribute has been deprecated in MusicXML 3.0. Formerly used for tremolos, it needs to be specified with a "yes" value for each beam using it.

Java class for beam complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="beam">
   <simpleContent>
     <extension base="<>beam-value">
       <attGroup ref="{}color"/>
       <attGroup ref="{}optional-unique-id"/>
       <attribute name="number" type="{}beam-level" default="1" />
       <attribute name="repeater" type="{}yes-no" />
       <attribute name="fan" type="{}fan" />
     </extension>
   </simpleContent>
 </complexType>
 
  • Field Details

    • value

      protected BeamValue value
    • number

      protected Integer number
    • repeater

      protected YesNo repeater
    • fan

      protected Fan fan
    • color

      protected String color
    • id

      protected String id
  • Constructor Details

    • Beam

      public Beam()
  • Method Details

    • getValue

      public BeamValue getValue()
      The beam-value type represents the type of beam associated with each of 8 beam levels (up to 1024th notes) available for each note.
      Returns:
      possible object is BeamValue
    • setValue

      public void setValue(BeamValue value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is BeamValue
    • getNumber

      public int getNumber()
      Gets the value of the number property.
      Returns:
      possible object is Integer
    • setNumber

      public void setNumber(Integer value)
      Sets the value of the number property.
      Parameters:
      value - allowed object is Integer
    • getRepeater

      public YesNo getRepeater()
      Gets the value of the repeater property.
      Returns:
      possible object is YesNo
    • setRepeater

      public void setRepeater(YesNo value)
      Sets the value of the repeater property.
      Parameters:
      value - allowed object is YesNo
    • getFan

      public Fan getFan()
      Gets the value of the fan property.
      Returns:
      possible object is Fan
    • setFan

      public void setFan(Fan value)
      Sets the value of the fan property.
      Parameters:
      value - allowed object is Fan
    • getColor

      public String getColor()
      Gets the value of the color property.
      Returns:
      possible object is String
    • setColor

      public void setColor(String value)
      Sets the value of the color property.
      Parameters:
      value - allowed object is String
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String