Showing:

Annotations
Attributes
Diagrams
Facets
Properties
Source
Used by
Element midi-instrument/midi-channel
Namespace No namespace
Annotations
The midi-channel element specifies a MIDI 1.0 channel numbers ranging from 1 to 16.

!!! TODO See if this is really happening in multi-bank MusicXML files, or if restriction needs to be relaxed.
Diagram
Diagram musicxml186.tmp#id18
Type midi-16
Properties
content: simple
minOccurs: 0
Facets
maxInclusive 16
minInclusive 1
Source
<xs:element name="midi-channel" type="midi-16" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The midi-channel element specifies a MIDI 1.0 channel numbers ranging from 1 to 16. !!! TODO See if this is really happening in multi-bank MusicXML files, or if restriction needs to be relaxed.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element midi-instrument/midi-name
Namespace No namespace
Annotations
The midi-name element corresponds to a ProgramName meta-event within a Standard MIDI File.
Diagram
Diagram
Type xs:string
Properties
content: simple
minOccurs: 0
Source
<xs:element name="midi-name" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The midi-name element corresponds to a ProgramName meta-event within a Standard MIDI File.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element midi-instrument/midi-bank
Namespace No namespace
Annotations
The midi-bank element specified a MIDI 1.0 bank number ranging from 1 to 16,384.
Diagram
Diagram musicxml92.tmp#id20
Type midi-16384
Properties
content: simple
minOccurs: 0
Facets
maxInclusive 16384
minInclusive 1
Source
<xs:element name="midi-bank" type="midi-16384" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The midi-bank element specified a MIDI 1.0 bank number ranging from 1 to 16,384.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element midi-instrument/midi-program
Namespace No namespace
Annotations
The midi-program element specifies a MIDI 1.0 program number ranging from 1 to 128.
Diagram
Diagram musicxml218.tmp#id19
Type midi-128
Properties
content: simple
minOccurs: 0
Facets
maxInclusive 128
minInclusive 1
Source
<xs:element name="midi-program" type="midi-128" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The midi-program element specifies a MIDI 1.0 program number ranging from 1 to 128.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element midi-instrument/midi-unpitched
Namespace No namespace
Annotations
For unpitched instruments, the midi-unpitched element specifies a MIDI 1.0 note number ranging from 1 to 128. It is usually used with MIDI banks for percussion.
Diagram
Diagram musicxml218.tmp#id19
Type midi-128
Properties
content: simple
minOccurs: 0
Facets
maxInclusive 128
minInclusive 1
Source
<xs:element name="midi-unpitched" type="midi-128" minOccurs="0">
  <xs:annotation>
    <xs:documentation>For unpitched instruments, the midi-unpitched element specifies a MIDI 1.0 note number ranging from 1 to 128. It is usually used with MIDI banks for percussion.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element midi-instrument/volume
Namespace No namespace
Annotations
The volume element value is a percentage of the maximum ranging from 0 to 100, with decimal values allowed. This corresponds to a scaling value for the MIDI 1.0 channel volume controller.
Diagram
Diagram musicxml97.tmp#id27
Type percent
Properties
content: simple
minOccurs: 0
Facets
maxInclusive 100
minInclusive 0
Source
<xs:element name="volume" type="percent" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The volume element value is a percentage of the maximum ranging from 0 to 100, with decimal values allowed. This corresponds to a scaling value for the MIDI 1.0 channel volume controller.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element midi-instrument/pan
Namespace No namespace
Annotations
The pan and elevation elements allow placing of sound in a 3-D space relative to the listener. Both are expressed in degrees ranging from -180 to 180. For pan, 0 is straight ahead, -90 is hard left, 90 is hard right, and -180 and 180 are directly behind the listener.
Diagram
Diagram musicxml172.tmp#id31
Type rotation-degrees
Properties
content: simple
minOccurs: 0
Facets
maxInclusive 180
minInclusive -180
Source
<xs:element name="pan" type="rotation-degrees" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The pan and elevation elements allow placing of sound in a 3-D space relative to the listener. Both are expressed in degrees ranging from -180 to 180. For pan, 0 is straight ahead, -90 is hard left, 90 is hard right, and -180 and 180 are directly behind the listener.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element midi-instrument/elevation
Namespace No namespace
Annotations
The pan and elevation elements allow placing of sound in a 3-D space relative to the listener. Both are expressed in degrees ranging from -180 to 180. For elevation, 0 is level with the listener, 90 is directly above, and -90 is directly below.
Diagram
Diagram musicxml172.tmp#id31
Type rotation-degrees
Properties
content: simple
minOccurs: 0
Facets
maxInclusive 180
minInclusive -180
Source
<xs:element name="elevation" type="rotation-degrees" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The pan and elevation elements allow placing of sound in a 3-D space relative to the listener. Both are expressed in degrees ranging from -180 to 180. For elevation, 0 is level with the listener, 90 is directly above, and -90 is directly below.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Complex Type midi-instrument
Namespace No namespace
Annotations
The midi-instrument type defines MIDI 1.0 instrument playback. The midi-instrument element can be a part of either the score-instrument element at the start of a part, or the sound element within a part. The id attribute refers to the score-instrument affected by the change.
Diagram
Diagram musicxml206.tmp#id250 musicxml206.tmp#id242 musicxml206.tmp#id243 musicxml206.tmp#id244 musicxml206.tmp#id245 musicxml206.tmp#id246 musicxml206.tmp#id247 musicxml206.tmp#id248 musicxml206.tmp#id249
Used by
Model midi-channel{0,1} , midi-name{0,1} , midi-bank{0,1} , midi-program{0,1} , midi-unpitched{0,1} , volume{0,1} , pan{0,1} , elevation{0,1}
Children elevation, midi-bank, midi-channel, midi-name, midi-program, midi-unpitched, pan, volume
Attributes
QName Type Fixed Default Use Annotation
id xs:IDREF required
Source
<xs:complexType name="midi-instrument">
  <xs:annotation>
    <xs:documentation>The midi-instrument type defines MIDI 1.0 instrument playback. The midi-instrument element can be a part of either the score-instrument element at the start of a part, or the sound element within a part. The id attribute refers to the score-instrument affected by the change.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="midi-channel" type="midi-16" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The midi-channel element specifies a MIDI 1.0 channel numbers ranging from 1 to 16. !!! TODO See if this is really happening in multi-bank MusicXML files, or if restriction needs to be relaxed.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="midi-name" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The midi-name element corresponds to a ProgramName meta-event within a Standard MIDI File.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="midi-bank" type="midi-16384" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The midi-bank element specified a MIDI 1.0 bank number ranging from 1 to 16,384.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="midi-program" type="midi-128" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The midi-program element specifies a MIDI 1.0 program number ranging from 1 to 128.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="midi-unpitched" type="midi-128" minOccurs="0">
      <xs:annotation>
        <xs:documentation>For unpitched instruments, the midi-unpitched element specifies a MIDI 1.0 note number ranging from 1 to 128. It is usually used with MIDI banks for percussion.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="volume" type="percent" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The volume element value is a percentage of the maximum ranging from 0 to 100, with decimal values allowed. This corresponds to a scaling value for the MIDI 1.0 channel volume controller.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="pan" type="rotation-degrees" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The pan and elevation elements allow placing of sound in a 3-D space relative to the listener. Both are expressed in degrees ranging from -180 to 180. For pan, 0 is straight ahead, -90 is hard left, 90 is hard right, and -180 and 180 are directly behind the listener.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="elevation" type="rotation-degrees" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The pan and elevation elements allow placing of sound in a 3-D space relative to the listener. Both are expressed in degrees ranging from -180 to 180. For elevation, 0 is level with the listener, 90 is directly above, and -90 is directly below.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
  <xs:attribute name="id" type="xs:IDREF" use="required"/>
</xs:complexType>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Attribute midi-instrument/@id
Namespace No namespace
Type xs:IDREF
Properties
use: required
Used by
Complex Type midi-instrument
Source
<xs:attribute name="id" type="xs:IDREF" use="required"/>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd