Class Listening

java.lang.Object
org.audiveris.proxymusic.Listening

public class Listening extends Object
The listen and listening types, new in Version 4.0, specify different ways that a score following or machine listening application can interact with a performer. The listening type handles interactions that change the state of the listening application from the specified point in the performance onward. If multiple child elements of the same type are present, they should have distinct player and/or time-only attributes. The offset element is used to indicate that the listening change takes place offset from the current score position. If the listening element is a child of a direction element, the listening offset element overrides the direction offset element if both elements are present. Note that the offset reflects the intended musical position for the change in state. It should not be used to compensate for latency issues in particular hardware configurations.

Java class for listening complex type.

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

 <complexType name="listening">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice maxOccurs="unbounded">
           <element name="sync" type="{}sync"/>
           <element name="other-listening" type="{}other-listening"/>
         </choice>
         <element name="offset" type="{}offset" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • syncOrOtherListening

      protected List<Object> syncOrOtherListening
    • offset

      protected Offset offset
  • Constructor Details

    • Listening

      public Listening()
  • Method Details

    • getSyncOrOtherListening

      public List<Object> getSyncOrOtherListening()
      Gets the value of the syncOrOtherListening property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the syncOrOtherListening property.

      For example, to add a new item, do as follows:

          getSyncOrOtherListening().add(newItem);
       

      Objects of the following type(s) are allowed in the list Sync OtherListening

    • getOffset

      public Offset getOffset()
      Gets the value of the offset property.
      Returns:
      possible object is Offset
    • setOffset

      public void setOffset(Offset value)
      Sets the value of the offset property.
      Parameters:
      value - allowed object is Offset