Class Sync

java.lang.Object
org.audiveris.proxymusic.Sync

public class Sync extends Object
The sync type specifies the style that a score following application should use the synchronize an accompaniment with a performer. If this type is not included in a score, default synchronization depends on the application. The optional latency attribute specifies a time in milliseconds that the listening application should expect from the performer. The optional player and time-only attributes restrict the element to apply to a single player or set of times through a repeated section, respectively.

Java class for sync complex type.

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

 <complexType name="sync">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="type" use="required" type="{}sync-type" />
       <attribute name="latency" type="{}milliseconds" />
       <attribute name="player" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
       <attribute name="time-only" type="{}time-only" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Sync

      public Sync()
  • Method Details

    • getType

      public SyncType getType()
      Gets the value of the type property.
      Returns:
      possible object is SyncType
    • setType

      public void setType(SyncType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is SyncType
    • getLatency

      public BigInteger getLatency()
      Gets the value of the latency property.
      Returns:
      possible object is BigInteger
    • setLatency

      public void setLatency(BigInteger value)
      Sets the value of the latency property.
      Parameters:
      value - allowed object is BigInteger
    • getPlayer

      public Object getPlayer()
      Gets the value of the player property.
      Returns:
      possible object is Object
    • setPlayer

      public void setPlayer(Object value)
      Sets the value of the player property.
      Parameters:
      value - allowed object is Object
    • getTimeOnly

      public String getTimeOnly()
      Gets the value of the timeOnly property.
      Returns:
      possible object is String
    • setTimeOnly

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