You are here: MusicXML Reference > Score Schema (XSD) > Complex Types > Complex Type: hammer-on-pull-off

Complex Type: hammer-on-pull-off

Description

The hammer-on and pull-off elements are used in guitar and fretted instrument notation. Since a single slur can be marked over many notes, the hammer-on and pull-off elements are separate so the individual pair of notes can be specified. The element content can be used to specify how the hammer-on or pull-off should be notated. An empty element leaves this choice up to the application.

Derived By

Extending xs:string

Attributes
Name  Type  Required?  Default  Description 
type  start-stop  Yes 
number  number-level  No  When a number-level value is implied, the value is 1 by default.
default-x  tenths  No 
default-y  tenths  No 
relative-x  tenths  No 
relative-y  tenths  No 
font-family  comma-separated-text  No 
font-style  font-style  No 
font-size  font-size  No 
font-weight  font-weight  No 
color  color  No 
placement  above-below  No 
Referenced By
Definition
<xs:complexType name="hammer-on-pull-off">
  <xs:annotation>
    <xs:documentation>The hammer-on and pull-off elements are used in guitar and fretted instrument notation. Since a single slur can be marked over many notes, the hammer-on and pull-off elements are separate so the individual pair of notes can be specified. The element content can be used to specify how the hammer-on or pull-off should be notated. An empty element leaves this choice up to the application.</xs:documentation>
  </xs:annotation>
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="type" type="start-stop" use="required">
        <xsd:annotation>
          <xsd:documentation>
          </xsd:documentation>
        </xsd:annotation>
      </xs:attribute>
      <xs:attribute name="number" type="number-level" default="1">
        <xsd:annotation>
          <xsd:documentation>When a number-level value is implied, the value is 1 by default.</xsd:documentation>
        </xsd:annotation>
      </xs:attribute>
      <xs:attributeGroup ref="print-style" />
      <xs:attributeGroup ref="placement" />
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301