mxml

package
v0.0.0-...-c512b0b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2018 License: MIT Imports: 2 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type Accent ¶

type Accent struct {
	XMLName xml.Name `xml:"accent"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Accent is the structure for accent MusicXML element.

func (*Accent) ToMXML ¶

func (r *Accent) ToMXML() *MXML

ToMXML creates a MXML.

type Accidental ¶

type Accidental struct {
	XMLName xml.Name `xml:"accidental"`

	BracketAttr     string `xml:"bracket,attr,omitempty"`
	CautionaryAttr  string `xml:"cautionary,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	EditorialAttr   string `xml:"editorial,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	ParenthesesAttr string `xml:"parentheses,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SizeAttr        string `xml:"size,attr,omitempty"`
	SmuflAttr       string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Accidental is the structure for accidental MusicXML element.

func (*Accidental) ToMXML ¶

func (r *Accidental) ToMXML() *MXML

ToMXML creates a MXML.

type AccidentalMark ¶

type AccidentalMark struct {
	XMLName xml.Name `xml:"accidental-mark"`

	BracketAttr     string `xml:"bracket,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	ParenthesesAttr string `xml:"parentheses,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SizeAttr        string `xml:"size,attr,omitempty"`
	SmuflAttr       string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

AccidentalMark is the structure for accidental-mark MusicXML element.

func (*AccidentalMark) ToMXML ¶

func (r *AccidentalMark) ToMXML() *MXML

ToMXML creates a MXML.

type AccidentalText ¶

type AccidentalText struct {
	XMLName xml.Name `xml:"accidental-text"`

	ColorAttr         string `xml:"color,attr,omitempty"`
	DefaultXAttr      string `xml:"default-x,attr,omitempty"`
	DefaultYAttr      string `xml:"default-y,attr,omitempty"`
	DirAttr           string `xml:"dir,attr,omitempty"`
	EnclosureAttr     string `xml:"enclosure,attr,omitempty"`
	FontFamilyAttr    string `xml:"font-family,attr,omitempty"`
	FontSizeAttr      string `xml:"font-size,attr,omitempty"`
	FontStyleAttr     string `xml:"font-style,attr,omitempty"`
	FontWeightAttr    string `xml:"font-weight,attr,omitempty"`
	HalignAttr        string `xml:"halign,attr,omitempty"`
	JustifyAttr       string `xml:"justify,attr,omitempty"`
	LangAttr          string `xml:"lang,attr,omitempty"`
	LetterSpacingAttr string `xml:"letter-spacing,attr,omitempty"`
	LineHeightAttr    string `xml:"line-height,attr,omitempty"`
	LineThroughAttr   string `xml:"line-through,attr,omitempty"`
	OverlineAttr      string `xml:"overline,attr,omitempty"`
	RelativeXAttr     string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr     string `xml:"relative-y,attr,omitempty"`
	RotationAttr      string `xml:"rotation,attr,omitempty"`
	SmuflAttr         string `xml:"smufl,attr,omitempty"`
	SpaceAttr         string `xml:"space,attr,omitempty"`
	UnderlineAttr     string `xml:"underline,attr,omitempty"`
	ValignAttr        string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

AccidentalText is the structure for accidental-text MusicXML element.

func (*AccidentalText) ToMXML ¶

func (r *AccidentalText) ToMXML() *MXML

ToMXML creates a MXML.

type Accord ¶

type Accord struct {
	XMLName xml.Name `xml:"accord"`

	StringAttr string `xml:"string,attr,omitempty"`

	TuningAlter  []TuningAlter  `xml:"tuning-alter,omitempty"`
	TuningOctave []TuningOctave `xml:"tuning-octave,omitempty"`
	TuningStep   []TuningStep   `xml:"tuning-step,omitempty"`

	IValue string `xml:",chardata"`
}

Accord is the structure for accord MusicXML element.

func (*Accord) ToMXML ¶

func (r *Accord) ToMXML() *MXML

ToMXML creates a MXML.

type AccordionHigh ¶

type AccordionHigh struct {
	XMLName xml.Name `xml:"accordion-high"`

	IValue string `xml:",chardata"`
}

AccordionHigh is the structure for accordion-high MusicXML element.

func (*AccordionHigh) ToMXML ¶

func (r *AccordionHigh) ToMXML() *MXML

ToMXML creates a MXML.

type AccordionLow ¶

type AccordionLow struct {
	XMLName xml.Name `xml:"accordion-low"`

	IValue string `xml:",chardata"`
}

AccordionLow is the structure for accordion-low MusicXML element.

func (*AccordionLow) ToMXML ¶

func (r *AccordionLow) ToMXML() *MXML

ToMXML creates a MXML.

type AccordionMiddle ¶

type AccordionMiddle struct {
	XMLName xml.Name `xml:"accordion-middle"`

	IValue string `xml:",chardata"`
}

AccordionMiddle is the structure for accordion-middle MusicXML element.

func (*AccordionMiddle) ToMXML ¶

func (r *AccordionMiddle) ToMXML() *MXML

ToMXML creates a MXML.

type AccordionRegistration ¶

type AccordionRegistration struct {
	XMLName xml.Name `xml:"accordion-registration"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HalignAttr     string `xml:"halign,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	ValignAttr     string `xml:"valign,attr,omitempty"`

	AccordionHigh   []AccordionHigh   `xml:"accordion-high,omitempty"`
	AccordionLow    []AccordionLow    `xml:"accordion-low,omitempty"`
	AccordionMiddle []AccordionMiddle `xml:"accordion-middle,omitempty"`

	IValue string `xml:",chardata"`
}

AccordionRegistration is the structure for accordion-registration MusicXML element.

func (*AccordionRegistration) ToMXML ¶

func (r *AccordionRegistration) ToMXML() *MXML

ToMXML creates a MXML.

type ActualNotes ¶

type ActualNotes struct {
	XMLName xml.Name `xml:"actual-notes"`

	IValue string `xml:",chardata"`
}

ActualNotes is the structure for actual-notes MusicXML element.

func (*ActualNotes) ToMXML ¶

func (r *ActualNotes) ToMXML() *MXML

ToMXML creates a MXML.

type Alter ¶

type Alter struct {
	XMLName xml.Name `xml:"alter"`

	IValue string `xml:",chardata"`
}

Alter is the structure for alter MusicXML element.

func (*Alter) ToMXML ¶

func (r *Alter) ToMXML() *MXML

ToMXML creates a MXML.

type Appearance ¶

type Appearance struct {
	XMLName xml.Name `xml:"appearance"`

	Distance        []Distance        `xml:"distance,omitempty"`
	Glyph           []Glyph           `xml:"glyph,omitempty"`
	LineWidth       []LineWidth       `xml:"line-width,omitempty"`
	NoteSize        []NoteSize        `xml:"note-size,omitempty"`
	OtherAppearance []OtherAppearance `xml:"other-appearance,omitempty"`

	IValue string `xml:",chardata"`
}

Appearance is the structure for appearance MusicXML element.

func (*Appearance) ToMXML ¶

func (r *Appearance) ToMXML() *MXML

ToMXML creates a MXML.

type Arpeggiate ¶

type Arpeggiate struct {
	XMLName xml.Name `xml:"arpeggiate"`

	ColorAttr     string `xml:"color,attr,omitempty"`
	DefaultXAttr  string `xml:"default-x,attr,omitempty"`
	DefaultYAttr  string `xml:"default-y,attr,omitempty"`
	DirectionAttr string `xml:"direction,attr,omitempty"`
	IdAttr        string `xml:"id,attr,omitempty"`
	NumberAttr    string `xml:"number,attr,omitempty"`
	PlacementAttr string `xml:"placement,attr,omitempty"`
	RelativeXAttr string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Arpeggiate is the structure for arpeggiate MusicXML element.

func (*Arpeggiate) ToMXML ¶

func (r *Arpeggiate) ToMXML() *MXML

ToMXML creates a MXML.

type Arrow ¶

type Arrow struct {
	XMLName xml.Name `xml:"arrow"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	SmuflAttr      string `xml:"smufl,attr,omitempty"`

	ArrowDirection []ArrowDirection `xml:"arrow-direction,omitempty"`
	ArrowStyle     []ArrowStyle     `xml:"arrow-style,omitempty"`
	Arrowhead      []Arrowhead      `xml:"arrowhead,omitempty"`
	CircularArrow  []CircularArrow  `xml:"circular-arrow,omitempty"`

	IValue string `xml:",chardata"`
}

Arrow is the structure for arrow MusicXML element.

func (*Arrow) ToMXML ¶

func (r *Arrow) ToMXML() *MXML

ToMXML creates a MXML.

type ArrowDirection ¶

type ArrowDirection struct {
	XMLName xml.Name `xml:"arrow-direction"`

	IValue string `xml:",chardata"`
}

ArrowDirection is the structure for arrow-direction MusicXML element.

func (*ArrowDirection) ToMXML ¶

func (r *ArrowDirection) ToMXML() *MXML

ToMXML creates a MXML.

type ArrowStyle ¶

type ArrowStyle struct {
	XMLName xml.Name `xml:"arrow-style"`

	IValue string `xml:",chardata"`
}

ArrowStyle is the structure for arrow-style MusicXML element.

func (*ArrowStyle) ToMXML ¶

func (r *ArrowStyle) ToMXML() *MXML

ToMXML creates a MXML.

type Arrowhead ¶

type Arrowhead struct {
	XMLName xml.Name `xml:"arrowhead"`

	IValue string `xml:",chardata"`
}

Arrowhead is the structure for arrowhead MusicXML element.

func (*Arrowhead) ToMXML ¶

func (r *Arrowhead) ToMXML() *MXML

ToMXML creates a MXML.

type Articulations ¶

type Articulations struct {
	XMLName xml.Name `xml:"articulations"`

	IdAttr string `xml:"id,attr,omitempty"`

	Accent            []Accent            `xml:"accent,omitempty"`
	BreathMark        []BreathMark        `xml:"breath-mark,omitempty"`
	Caesura           []Caesura           `xml:"caesura,omitempty"`
	DetachedLegato    []DetachedLegato    `xml:"detached-legato,omitempty"`
	Doit              []Doit              `xml:"doit,omitempty"`
	Falloff           []Falloff           `xml:"falloff,omitempty"`
	OtherArticulation []OtherArticulation `xml:"other-articulation,omitempty"`
	Plop              []Plop              `xml:"plop,omitempty"`
	Scoop             []Scoop             `xml:"scoop,omitempty"`
	SoftAccent        []SoftAccent        `xml:"soft-accent,omitempty"`
	Spiccato          []Spiccato          `xml:"spiccato,omitempty"`
	Staccatissimo     []Staccatissimo     `xml:"staccatissimo,omitempty"`
	Staccato          []Staccato          `xml:"staccato,omitempty"`
	Stress            []Stress            `xml:"stress,omitempty"`
	StrongAccent      []StrongAccent      `xml:"strong-accent,omitempty"`
	Tenuto            []Tenuto            `xml:"tenuto,omitempty"`
	Unstress          []Unstress          `xml:"unstress,omitempty"`

	IValue string `xml:",chardata"`
}

Articulations is the structure for articulations MusicXML element.

func (*Articulations) ToMXML ¶

func (r *Articulations) ToMXML() *MXML

ToMXML creates a MXML.

type Artificial ¶

type Artificial struct {
	XMLName xml.Name `xml:"artificial"`

	IValue string `xml:",chardata"`
}

Artificial is the structure for artificial MusicXML element.

func (*Artificial) ToMXML ¶

func (r *Artificial) ToMXML() *MXML

ToMXML creates a MXML.

type Attributes ¶

type Attributes struct {
	XMLName xml.Name `xml:"attributes"`

	Clef         []Clef         `xml:"clef,omitempty"`
	Directive    []Directive    `xml:"directive,omitempty"`
	Divisions    []Divisions    `xml:"divisions,omitempty"`
	Footnote     []Footnote     `xml:"footnote,omitempty"`
	Instruments  []Instruments  `xml:"instruments,omitempty"`
	Key          []Key          `xml:"key,omitempty"`
	Level        []Level        `xml:"level,omitempty"`
	MeasureStyle []MeasureStyle `xml:"measure-style,omitempty"`
	PartSymbol   []PartSymbol   `xml:"part-symbol,omitempty"`
	StaffDetails []StaffDetails `xml:"staff-details,omitempty"`
	Staves       []Staves       `xml:"staves,omitempty"`
	Time         []Time         `xml:"time,omitempty"`
	Transpose    []Transpose    `xml:"transpose,omitempty"`

	IValue string `xml:",chardata"`
}

Attributes is the structure for attributes MusicXML element.

func (*Attributes) ToMXML ¶

func (r *Attributes) ToMXML() *MXML

ToMXML creates a MXML.

type Backup ¶

type Backup struct {
	XMLName xml.Name `xml:"backup"`

	Duration []Duration `xml:"duration,omitempty"`
	Footnote []Footnote `xml:"footnote,omitempty"`
	Level    []Level    `xml:"level,omitempty"`

	IValue string `xml:",chardata"`
}

Backup is the structure for backup MusicXML element.

func (*Backup) ToMXML ¶

func (r *Backup) ToMXML() *MXML

ToMXML creates a MXML.

type BarStyle ¶

type BarStyle struct {
	XMLName xml.Name `xml:"bar-style"`

	ColorAttr string `xml:"color,attr,omitempty"`

	IValue string `xml:",chardata"`
}

BarStyle is the structure for bar-style MusicXML element.

func (*BarStyle) ToMXML ¶

func (r *BarStyle) ToMXML() *MXML

ToMXML creates a MXML.

type Barline ¶

type Barline struct {
	XMLName xml.Name `xml:"barline"`

	CodaAttr      string `xml:"coda,attr,omitempty"`
	DivisionsAttr string `xml:"divisions,attr,omitempty"`
	IdAttr        string `xml:"id,attr,omitempty"`
	LocationAttr  string `xml:"location,attr,omitempty"`
	SegnoAttr     string `xml:"segno,attr,omitempty"`

	BarStyle []BarStyle `xml:"bar-style,omitempty"`
	Coda     []Coda     `xml:"coda,omitempty"`
	Ending   []Ending   `xml:"ending,omitempty"`
	Fermata  []Fermata  `xml:"fermata,omitempty"`
	Footnote []Footnote `xml:"footnote,omitempty"`
	Level    []Level    `xml:"level,omitempty"`
	Repeat   []Repeat   `xml:"repeat,omitempty"`
	Segno    []Segno    `xml:"segno,omitempty"`
	WavyLine []WavyLine `xml:"wavy-line,omitempty"`

	IValue string `xml:",chardata"`
}

Barline is the structure for barline MusicXML element.

func (*Barline) ToMXML ¶

func (r *Barline) ToMXML() *MXML

ToMXML creates a MXML.

type Barre ¶

type Barre struct {
	XMLName xml.Name `xml:"barre"`

	ColorAttr string `xml:"color,attr,omitempty"`
	TypeAttr  string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Barre is the structure for barre MusicXML element.

func (*Barre) ToMXML ¶

func (r *Barre) ToMXML() *MXML

ToMXML creates a MXML.

type BasePitch ¶

type BasePitch struct {
	XMLName xml.Name `xml:"base-pitch"`

	IValue string `xml:",chardata"`
}

BasePitch is the structure for base-pitch MusicXML element.

func (*BasePitch) ToMXML ¶

func (r *BasePitch) ToMXML() *MXML

ToMXML creates a MXML.

type Bass ¶

type Bass struct {
	XMLName xml.Name `xml:"bass"`

	BassAlter []BassAlter `xml:"bass-alter,omitempty"`
	BassStep  []BassStep  `xml:"bass-step,omitempty"`

	IValue string `xml:",chardata"`
}

Bass is the structure for bass MusicXML element.

func (*Bass) ToMXML ¶

func (r *Bass) ToMXML() *MXML

ToMXML creates a MXML.

type BassAlter ¶

type BassAlter struct {
	XMLName xml.Name `xml:"bass-alter"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LocationAttr    string `xml:"location,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

BassAlter is the structure for bass-alter MusicXML element.

func (*BassAlter) ToMXML ¶

func (r *BassAlter) ToMXML() *MXML

ToMXML creates a MXML.

type BassStep ¶

type BassStep struct {
	XMLName xml.Name `xml:"bass-step"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	TextAttr       string `xml:"text,attr,omitempty"`

	IValue string `xml:",chardata"`
}

BassStep is the structure for bass-step MusicXML element.

func (*BassStep) ToMXML ¶

func (r *BassStep) ToMXML() *MXML

ToMXML creates a MXML.

type Beam ¶

type Beam struct {
	XMLName xml.Name `xml:"beam"`

	ColorAttr    string `xml:"color,attr,omitempty"`
	FanAttr      string `xml:"fan,attr,omitempty"`
	IdAttr       string `xml:"id,attr,omitempty"`
	NumberAttr   string `xml:"number,attr,omitempty"`
	RepeaterAttr string `xml:"repeater,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Beam is the structure for beam MusicXML element.

func (*Beam) ToMXML ¶

func (r *Beam) ToMXML() *MXML

ToMXML creates a MXML.

type BeatRepeat ¶

type BeatRepeat struct {
	XMLName xml.Name `xml:"beat-repeat"`

	SlashesAttr string `xml:"slashes,attr,omitempty"`
	TypeAttr    string `xml:"type,attr,omitempty"`
	UseDotsAttr string `xml:"use-dots,attr,omitempty"`

	ExceptVoice []ExceptVoice `xml:"except-voice,omitempty"`
	SlashDot    []SlashDot    `xml:"slash-dot,omitempty"`
	SlashType   []SlashType   `xml:"slash-type,omitempty"`

	IValue string `xml:",chardata"`
}

BeatRepeat is the structure for beat-repeat MusicXML element.

func (*BeatRepeat) ToMXML ¶

func (r *BeatRepeat) ToMXML() *MXML

ToMXML creates a MXML.

type BeatType ¶

type BeatType struct {
	XMLName xml.Name `xml:"beat-type"`

	IValue string `xml:",chardata"`
}

BeatType is the structure for beat-type MusicXML element.

func (*BeatType) ToMXML ¶

func (r *BeatType) ToMXML() *MXML

ToMXML creates a MXML.

type BeatUnit ¶

type BeatUnit struct {
	XMLName xml.Name `xml:"beat-unit"`

	IValue string `xml:",chardata"`
}

BeatUnit is the structure for beat-unit MusicXML element.

func (*BeatUnit) ToMXML ¶

func (r *BeatUnit) ToMXML() *MXML

ToMXML creates a MXML.

type BeatUnitDot ¶

type BeatUnitDot struct {
	XMLName xml.Name `xml:"beat-unit-dot"`

	IValue string `xml:",chardata"`
}

BeatUnitDot is the structure for beat-unit-dot MusicXML element.

func (*BeatUnitDot) ToMXML ¶

func (r *BeatUnitDot) ToMXML() *MXML

ToMXML creates a MXML.

type BeatUnitTied ¶

type BeatUnitTied struct {
	XMLName xml.Name `xml:"beat-unit-tied"`

	BeatUnit    []BeatUnit    `xml:"beat-unit,omitempty"`
	BeatUnitDot []BeatUnitDot `xml:"beat-unit-dot,omitempty"`

	IValue string `xml:",chardata"`
}

BeatUnitTied is the structure for beat-unit-tied MusicXML element.

func (*BeatUnitTied) ToMXML ¶

func (r *BeatUnitTied) ToMXML() *MXML

ToMXML creates a MXML.

type Beater ¶

type Beater struct {
	XMLName xml.Name `xml:"beater"`

	TipAttr string `xml:"tip,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Beater is the structure for beater MusicXML element.

func (*Beater) ToMXML ¶

func (r *Beater) ToMXML() *MXML

ToMXML creates a MXML.

type Beats ¶

type Beats struct {
	XMLName xml.Name `xml:"beats"`

	IValue string `xml:",chardata"`
}

Beats is the structure for beats MusicXML element.

func (*Beats) ToMXML ¶

func (r *Beats) ToMXML() *MXML

ToMXML creates a MXML.

type Bend ¶

type Bend struct {
	XMLName xml.Name `xml:"bend"`

	AccelerateAttr string `xml:"accelerate,attr,omitempty"`
	BeatsAttr      string `xml:"beats,attr,omitempty"`
	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FirstBeatAttr  string `xml:"first-beat,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	LastBeatAttr   string `xml:"last-beat,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	BendAlter []BendAlter `xml:"bend-alter,omitempty"`
	PreBend   []PreBend   `xml:"pre-bend,omitempty"`
	Release   []Release   `xml:"release,omitempty"`
	WithBar   []WithBar   `xml:"with-bar,omitempty"`

	IValue string `xml:",chardata"`
}

Bend is the structure for bend MusicXML element.

func (*Bend) ToMXML ¶

func (r *Bend) ToMXML() *MXML

ToMXML creates a MXML.

type BendAlter ¶

type BendAlter struct {
	XMLName xml.Name `xml:"bend-alter"`

	IValue string `xml:",chardata"`
}

BendAlter is the structure for bend-alter MusicXML element.

func (*BendAlter) ToMXML ¶

func (r *BendAlter) ToMXML() *MXML

ToMXML creates a MXML.

type Bookmark ¶

type Bookmark struct {
	XMLName xml.Name `xml:"bookmark"`

	ElementAttr  string `xml:"element,attr,omitempty"`
	IdAttr       string `xml:"id,attr,omitempty"`
	NameAttr     string `xml:"name,attr,omitempty"`
	PositionAttr string `xml:"position,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Bookmark is the structure for bookmark MusicXML element.

func (*Bookmark) ToMXML ¶

func (r *Bookmark) ToMXML() *MXML

ToMXML creates a MXML.

type BottomMargin ¶

type BottomMargin struct {
	XMLName xml.Name `xml:"bottom-margin"`

	IValue string `xml:",chardata"`
}

BottomMargin is the structure for bottom-margin MusicXML element.

func (*BottomMargin) ToMXML ¶

func (r *BottomMargin) ToMXML() *MXML

ToMXML creates a MXML.

type Bracket ¶

type Bracket struct {
	XMLName xml.Name `xml:"bracket"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DashLengthAttr  string `xml:"dash-length,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	EndLengthAttr   string `xml:"end-length,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	LineEndAttr     string `xml:"line-end,attr,omitempty"`
	LineTypeAttr    string `xml:"line-type,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SpaceLengthAttr string `xml:"space-length,attr,omitempty"`
	TypeAttr        string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Bracket is the structure for bracket MusicXML element.

func (*Bracket) ToMXML ¶

func (r *Bracket) ToMXML() *MXML

ToMXML creates a MXML.

type BrassBend ¶

type BrassBend struct {
	XMLName xml.Name `xml:"brass-bend"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

BrassBend is the structure for brass-bend MusicXML element.

func (*BrassBend) ToMXML ¶

func (r *BrassBend) ToMXML() *MXML

ToMXML creates a MXML.

type BreathMark ¶

type BreathMark struct {
	XMLName xml.Name `xml:"breath-mark"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

BreathMark is the structure for breath-mark MusicXML element.

func (*BreathMark) ToMXML ¶

func (r *BreathMark) ToMXML() *MXML

ToMXML creates a MXML.

type Caesura ¶

type Caesura struct {
	XMLName xml.Name `xml:"caesura"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Caesura is the structure for caesura MusicXML element.

func (*Caesura) ToMXML ¶

func (r *Caesura) ToMXML() *MXML

ToMXML creates a MXML.

type Cancel ¶

type Cancel struct {
	XMLName xml.Name `xml:"cancel"`

	LocationAttr string `xml:"location,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Cancel is the structure for cancel MusicXML element.

func (*Cancel) ToMXML ¶

func (r *Cancel) ToMXML() *MXML

ToMXML creates a MXML.

type Capo ¶

type Capo struct {
	XMLName xml.Name `xml:"capo"`

	IValue string `xml:",chardata"`
}

Capo is the structure for capo MusicXML element.

func (*Capo) ToMXML ¶

func (r *Capo) ToMXML() *MXML

ToMXML creates a MXML.

type Chord ¶

type Chord struct {
	XMLName xml.Name `xml:"chord"`

	IValue string `xml:",chardata"`
}

Chord is the structure for chord MusicXML element.

func (*Chord) ToMXML ¶

func (r *Chord) ToMXML() *MXML

ToMXML creates a MXML.

type Chromatic ¶

type Chromatic struct {
	XMLName xml.Name `xml:"chromatic"`

	IValue string `xml:",chardata"`
}

Chromatic is the structure for chromatic MusicXML element.

func (*Chromatic) ToMXML ¶

func (r *Chromatic) ToMXML() *MXML

ToMXML creates a MXML.

type CircularArrow ¶

type CircularArrow struct {
	XMLName xml.Name `xml:"circular-arrow"`

	IValue string `xml:",chardata"`
}

CircularArrow is the structure for circular-arrow MusicXML element.

func (*CircularArrow) ToMXML ¶

func (r *CircularArrow) ToMXML() *MXML

ToMXML creates a MXML.

type Clef ¶

type Clef struct {
	XMLName xml.Name `xml:"clef"`

	AdditionalAttr   string `xml:"additional,attr,omitempty"`
	AfterBarlineAttr string `xml:"after-barline,attr,omitempty"`
	ColorAttr        string `xml:"color,attr,omitempty"`
	DefaultXAttr     string `xml:"default-x,attr,omitempty"`
	DefaultYAttr     string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr   string `xml:"font-family,attr,omitempty"`
	FontSizeAttr     string `xml:"font-size,attr,omitempty"`
	FontStyleAttr    string `xml:"font-style,attr,omitempty"`
	FontWeightAttr   string `xml:"font-weight,attr,omitempty"`
	IdAttr           string `xml:"id,attr,omitempty"`
	NumberAttr       string `xml:"number,attr,omitempty"`
	PrintObjectAttr  string `xml:"print-object,attr,omitempty"`
	RelativeXAttr    string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr    string `xml:"relative-y,attr,omitempty"`
	SizeAttr         string `xml:"size,attr,omitempty"`

	ClefOctaveChange []ClefOctaveChange `xml:"clef-octave-change,omitempty"`
	Line             []Line             `xml:"line,omitempty"`
	Sign             []Sign             `xml:"sign,omitempty"`

	IValue string `xml:",chardata"`
}

Clef is the structure for clef MusicXML element.

func (*Clef) ToMXML ¶

func (r *Clef) ToMXML() *MXML

ToMXML creates a MXML.

type ClefOctaveChange ¶

type ClefOctaveChange struct {
	XMLName xml.Name `xml:"clef-octave-change"`

	IValue string `xml:",chardata"`
}

ClefOctaveChange is the structure for clef-octave-change MusicXML element.

func (*ClefOctaveChange) ToMXML ¶

func (r *ClefOctaveChange) ToMXML() *MXML

ToMXML creates a MXML.

type Coda ¶

type Coda struct {
	XMLName xml.Name `xml:"coda"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HalignAttr     string `xml:"halign,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	SmuflAttr      string `xml:"smufl,attr,omitempty"`
	ValignAttr     string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Coda is the structure for coda MusicXML element.

func (*Coda) ToMXML ¶

func (r *Coda) ToMXML() *MXML

ToMXML creates a MXML.

type Creator ¶

type Creator struct {
	XMLName xml.Name `xml:"creator"`

	TypeAttr string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Creator is the structure for creator MusicXML element.

func (*Creator) ToMXML ¶

func (r *Creator) ToMXML() *MXML

ToMXML creates a MXML.

type Credit ¶

type Credit struct {
	XMLName xml.Name `xml:"credit"`

	IdAttr   string `xml:"id,attr,omitempty"`
	PageAttr string `xml:"page,attr,omitempty"`

	Bookmark     []Bookmark     `xml:"bookmark,omitempty"`
	CreditImage  []CreditImage  `xml:"credit-image,omitempty"`
	CreditSymbol []CreditSymbol `xml:"credit-symbol,omitempty"`
	CreditType   []CreditType   `xml:"credit-type,omitempty"`
	CreditWords  []CreditWords  `xml:"credit-words,omitempty"`
	Link         []Link         `xml:"link,omitempty"`

	IValue string `xml:",chardata"`
}

Credit is the structure for credit MusicXML element.

func (*Credit) ToMXML ¶

func (r *Credit) ToMXML() *MXML

ToMXML creates a MXML.

type CreditImage ¶

type CreditImage struct {
	XMLName xml.Name `xml:"credit-image"`

	DefaultXAttr  string `xml:"default-x,attr,omitempty"`
	DefaultYAttr  string `xml:"default-y,attr,omitempty"`
	HalignAttr    string `xml:"halign,attr,omitempty"`
	HeightAttr    string `xml:"height,attr,omitempty"`
	IdAttr        string `xml:"id,attr,omitempty"`
	RelativeXAttr string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr string `xml:"relative-y,attr,omitempty"`
	SourceAttr    string `xml:"source,attr,omitempty"`
	TypeAttr      string `xml:"type,attr,omitempty"`
	ValignAttr    string `xml:"valign,attr,omitempty"`
	WidthAttr     string `xml:"width,attr,omitempty"`

	IValue string `xml:",chardata"`
}

CreditImage is the structure for credit-image MusicXML element.

func (*CreditImage) ToMXML ¶

func (r *CreditImage) ToMXML() *MXML

ToMXML creates a MXML.

type CreditSymbol ¶

type CreditSymbol struct {
	XMLName xml.Name `xml:"credit-symbol"`

	ColorAttr         string `xml:"color,attr,omitempty"`
	DefaultXAttr      string `xml:"default-x,attr,omitempty"`
	DefaultYAttr      string `xml:"default-y,attr,omitempty"`
	DirAttr           string `xml:"dir,attr,omitempty"`
	EnclosureAttr     string `xml:"enclosure,attr,omitempty"`
	FontFamilyAttr    string `xml:"font-family,attr,omitempty"`
	FontSizeAttr      string `xml:"font-size,attr,omitempty"`
	FontStyleAttr     string `xml:"font-style,attr,omitempty"`
	FontWeightAttr    string `xml:"font-weight,attr,omitempty"`
	HalignAttr        string `xml:"halign,attr,omitempty"`
	IdAttr            string `xml:"id,attr,omitempty"`
	JustifyAttr       string `xml:"justify,attr,omitempty"`
	LetterSpacingAttr string `xml:"letter-spacing,attr,omitempty"`
	LineHeightAttr    string `xml:"line-height,attr,omitempty"`
	LineThroughAttr   string `xml:"line-through,attr,omitempty"`
	OverlineAttr      string `xml:"overline,attr,omitempty"`
	RelativeXAttr     string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr     string `xml:"relative-y,attr,omitempty"`
	RotationAttr      string `xml:"rotation,attr,omitempty"`
	UnderlineAttr     string `xml:"underline,attr,omitempty"`
	ValignAttr        string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

CreditSymbol is the structure for credit-symbol MusicXML element.

func (*CreditSymbol) ToMXML ¶

func (r *CreditSymbol) ToMXML() *MXML

ToMXML creates a MXML.

type CreditType ¶

type CreditType struct {
	XMLName xml.Name `xml:"credit-type"`

	IValue string `xml:",chardata"`
}

CreditType is the structure for credit-type MusicXML element.

func (*CreditType) ToMXML ¶

func (r *CreditType) ToMXML() *MXML

ToMXML creates a MXML.

type CreditWords ¶

type CreditWords struct {
	XMLName xml.Name `xml:"credit-words"`

	ColorAttr         string `xml:"color,attr,omitempty"`
	DefaultXAttr      string `xml:"default-x,attr,omitempty"`
	DefaultYAttr      string `xml:"default-y,attr,omitempty"`
	DirAttr           string `xml:"dir,attr,omitempty"`
	EnclosureAttr     string `xml:"enclosure,attr,omitempty"`
	FontFamilyAttr    string `xml:"font-family,attr,omitempty"`
	FontSizeAttr      string `xml:"font-size,attr,omitempty"`
	FontStyleAttr     string `xml:"font-style,attr,omitempty"`
	FontWeightAttr    string `xml:"font-weight,attr,omitempty"`
	HalignAttr        string `xml:"halign,attr,omitempty"`
	IdAttr            string `xml:"id,attr,omitempty"`
	JustifyAttr       string `xml:"justify,attr,omitempty"`
	LangAttr          string `xml:"lang,attr,omitempty"`
	LetterSpacingAttr string `xml:"letter-spacing,attr,omitempty"`
	LineHeightAttr    string `xml:"line-height,attr,omitempty"`
	LineThroughAttr   string `xml:"line-through,attr,omitempty"`
	OverlineAttr      string `xml:"overline,attr,omitempty"`
	RelativeXAttr     string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr     string `xml:"relative-y,attr,omitempty"`
	RotationAttr      string `xml:"rotation,attr,omitempty"`
	SpaceAttr         string `xml:"space,attr,omitempty"`
	UnderlineAttr     string `xml:"underline,attr,omitempty"`
	ValignAttr        string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

CreditWords is the structure for credit-words MusicXML element.

func (*CreditWords) ToMXML ¶

func (r *CreditWords) ToMXML() *MXML

ToMXML creates a MXML.

type Cue ¶

type Cue struct {
	XMLName xml.Name `xml:"cue"`

	IValue string `xml:",chardata"`
}

Cue is the structure for cue MusicXML element.

func (*Cue) ToMXML ¶

func (r *Cue) ToMXML() *MXML

ToMXML creates a MXML.

type Damp ¶

type Damp struct {
	XMLName xml.Name `xml:"damp"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HalignAttr     string `xml:"halign,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	ValignAttr     string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Damp is the structure for damp MusicXML element.

func (*Damp) ToMXML ¶

func (r *Damp) ToMXML() *MXML

ToMXML creates a MXML.

type DampAll ¶

type DampAll struct {
	XMLName xml.Name `xml:"damp-all"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HalignAttr     string `xml:"halign,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	ValignAttr     string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

DampAll is the structure for damp-all MusicXML element.

func (*DampAll) ToMXML ¶

func (r *DampAll) ToMXML() *MXML

ToMXML creates a MXML.

type Dashes ¶

type Dashes struct {
	XMLName xml.Name `xml:"dashes"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DashLengthAttr  string `xml:"dash-length,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SpaceLengthAttr string `xml:"space-length,attr,omitempty"`
	TypeAttr        string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Dashes is the structure for dashes MusicXML element.

func (*Dashes) ToMXML ¶

func (r *Dashes) ToMXML() *MXML

ToMXML creates a MXML.

type Defaults ¶

type Defaults struct {
	XMLName xml.Name `xml:"defaults"`

	Appearance    []Appearance    `xml:"appearance,omitempty"`
	LyricFont     []LyricFont     `xml:"lyric-font,omitempty"`
	LyricLanguage []LyricLanguage `xml:"lyric-language,omitempty"`
	MusicFont     []MusicFont     `xml:"music-font,omitempty"`
	PageLayout    []PageLayout    `xml:"page-layout,omitempty"`
	Scaling       []Scaling       `xml:"scaling,omitempty"`
	StaffLayout   []StaffLayout   `xml:"staff-layout,omitempty"`
	SystemLayout  []SystemLayout  `xml:"system-layout,omitempty"`
	WordFont      []WordFont      `xml:"word-font,omitempty"`

	IValue string `xml:",chardata"`
}

Defaults is the structure for defaults MusicXML element.

func (*Defaults) ToMXML ¶

func (r *Defaults) ToMXML() *MXML

ToMXML creates a MXML.

type Degree ¶

type Degree struct {
	XMLName xml.Name `xml:"degree"`

	PrintObjectAttr string `xml:"print-object,attr,omitempty"`

	DegreeAlter []DegreeAlter `xml:"degree-alter,omitempty"`
	DegreeType  []DegreeType  `xml:"degree-type,omitempty"`
	DegreeValue []DegreeValue `xml:"degree-value,omitempty"`

	IValue string `xml:",chardata"`
}

Degree is the structure for degree MusicXML element.

func (*Degree) ToMXML ¶

func (r *Degree) ToMXML() *MXML

ToMXML creates a MXML.

type DegreeAlter ¶

type DegreeAlter struct {
	XMLName xml.Name `xml:"degree-alter"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlusMinusAttr  string `xml:"plus-minus,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

DegreeAlter is the structure for degree-alter MusicXML element.

func (*DegreeAlter) ToMXML ¶

func (r *DegreeAlter) ToMXML() *MXML

ToMXML creates a MXML.

type DegreeType ¶

type DegreeType struct {
	XMLName xml.Name `xml:"degree-type"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	TextAttr       string `xml:"text,attr,omitempty"`

	IValue string `xml:",chardata"`
}

DegreeType is the structure for degree-type MusicXML element.

func (*DegreeType) ToMXML ¶

func (r *DegreeType) ToMXML() *MXML

ToMXML creates a MXML.

type DegreeValue ¶

type DegreeValue struct {
	XMLName xml.Name `xml:"degree-value"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	SymbolAttr     string `xml:"symbol,attr,omitempty"`
	TextAttr       string `xml:"text,attr,omitempty"`

	IValue string `xml:",chardata"`
}

DegreeValue is the structure for degree-value MusicXML element.

func (*DegreeValue) ToMXML ¶

func (r *DegreeValue) ToMXML() *MXML

ToMXML creates a MXML.

type DelayedInvertedTurn ¶

type DelayedInvertedTurn struct {
	XMLName xml.Name `xml:"delayed-inverted-turn"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SecondBeatAttr  string `xml:"second-beat,attr,omitempty"`
	SlashAttr       string `xml:"slash,attr,omitempty"`
	StartNoteAttr   string `xml:"start-note,attr,omitempty"`
	TrillStepAttr   string `xml:"trill-step,attr,omitempty"`
	TwoNoteTurnAttr string `xml:"two-note-turn,attr,omitempty"`

	IValue string `xml:",chardata"`
}

DelayedInvertedTurn is the structure for delayed-inverted-turn MusicXML element.

func (*DelayedInvertedTurn) ToMXML ¶

func (r *DelayedInvertedTurn) ToMXML() *MXML

ToMXML creates a MXML.

type DelayedTurn ¶

type DelayedTurn struct {
	XMLName xml.Name `xml:"delayed-turn"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SecondBeatAttr  string `xml:"second-beat,attr,omitempty"`
	SlashAttr       string `xml:"slash,attr,omitempty"`
	StartNoteAttr   string `xml:"start-note,attr,omitempty"`
	TrillStepAttr   string `xml:"trill-step,attr,omitempty"`
	TwoNoteTurnAttr string `xml:"two-note-turn,attr,omitempty"`

	IValue string `xml:",chardata"`
}

DelayedTurn is the structure for delayed-turn MusicXML element.

func (*DelayedTurn) ToMXML ¶

func (r *DelayedTurn) ToMXML() *MXML

ToMXML creates a MXML.

type DetachedLegato ¶

type DetachedLegato struct {
	XMLName xml.Name `xml:"detached-legato"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

DetachedLegato is the structure for detached-legato MusicXML element.

func (*DetachedLegato) ToMXML ¶

func (r *DetachedLegato) ToMXML() *MXML

ToMXML creates a MXML.

type Diatonic ¶

type Diatonic struct {
	XMLName xml.Name `xml:"diatonic"`

	IValue string `xml:",chardata"`
}

Diatonic is the structure for diatonic MusicXML element.

func (*Diatonic) ToMXML ¶

func (r *Diatonic) ToMXML() *MXML

ToMXML creates a MXML.

type Direction ¶

type Direction struct {
	XMLName xml.Name `xml:"direction"`

	DirectiveAttr string `xml:"directive,attr,omitempty"`
	IdAttr        string `xml:"id,attr,omitempty"`
	PlacementAttr string `xml:"placement,attr,omitempty"`

	DirectionType []DirectionType `xml:"direction-type,omitempty"`
	Footnote      []Footnote      `xml:"footnote,omitempty"`
	Level         []Level         `xml:"level,omitempty"`
	Offset        []Offset        `xml:"offset,omitempty"`
	Sound         []Sound         `xml:"sound,omitempty"`
	Staff         []Staff         `xml:"staff,omitempty"`
	Voice         []Voice         `xml:"voice,omitempty"`

	IValue string `xml:",chardata"`
}

Direction is the structure for direction MusicXML element.

func (*Direction) ToMXML ¶

func (r *Direction) ToMXML() *MXML

ToMXML creates a MXML.

type DirectionType ¶

type DirectionType struct {
	XMLName xml.Name `xml:"direction-type"`

	IdAttr string `xml:"id,attr,omitempty"`

	AccordionRegistration []AccordionRegistration `xml:"accordion-registration,omitempty"`
	Bracket               []Bracket               `xml:"bracket,omitempty"`
	Coda                  []Coda                  `xml:"coda,omitempty"`
	Damp                  []Damp                  `xml:"damp,omitempty"`
	DampAll               []DampAll               `xml:"damp-all,omitempty"`
	Dashes                []Dashes                `xml:"dashes,omitempty"`
	Dynamics              []Dynamics              `xml:"dynamics,omitempty"`
	Eyeglasses            []Eyeglasses            `xml:"eyeglasses,omitempty"`
	HarpPedals            []HarpPedals            `xml:"harp-pedals,omitempty"`
	Image                 []Image                 `xml:"image,omitempty"`
	Metronome             []Metronome             `xml:"metronome,omitempty"`
	OctaveShift           []OctaveShift           `xml:"octave-shift,omitempty"`
	OtherDirection        []OtherDirection        `xml:"other-direction,omitempty"`
	Pedal                 []Pedal                 `xml:"pedal,omitempty"`
	Percussion            []Percussion            `xml:"percussion,omitempty"`
	PrincipalVoice        []PrincipalVoice        `xml:"principal-voice,omitempty"`
	Rehearsal             []Rehearsal             `xml:"rehearsal,omitempty"`
	Scordatura            []Scordatura            `xml:"scordatura,omitempty"`
	Segno                 []Segno                 `xml:"segno,omitempty"`
	StaffDivide           []StaffDivide           `xml:"staff-divide,omitempty"`
	StringMute            []StringMute            `xml:"string-mute,omitempty"`
	Symbol                []Symbol                `xml:"symbol,omitempty"`
	Wedge                 []Wedge                 `xml:"wedge,omitempty"`
	Words                 []Words                 `xml:"words,omitempty"`

	IValue string `xml:",chardata"`
}

DirectionType is the structure for direction-type MusicXML element.

func (*DirectionType) ToMXML ¶

func (r *DirectionType) ToMXML() *MXML

ToMXML creates a MXML.

type Directive ¶

type Directive struct {
	XMLName xml.Name `xml:"directive"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	LangAttr       string `xml:"lang,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Directive is the structure for directive MusicXML element.

func (*Directive) ToMXML ¶

func (r *Directive) ToMXML() *MXML

ToMXML creates a MXML.

type DisplayOctave ¶

type DisplayOctave struct {
	XMLName xml.Name `xml:"display-octave"`

	IValue string `xml:",chardata"`
}

DisplayOctave is the structure for display-octave MusicXML element.

func (*DisplayOctave) ToMXML ¶

func (r *DisplayOctave) ToMXML() *MXML

ToMXML creates a MXML.

type DisplayStep ¶

type DisplayStep struct {
	XMLName xml.Name `xml:"display-step"`

	IValue string `xml:",chardata"`
}

DisplayStep is the structure for display-step MusicXML element.

func (*DisplayStep) ToMXML ¶

func (r *DisplayStep) ToMXML() *MXML

ToMXML creates a MXML.

type DisplayText ¶

type DisplayText struct {
	XMLName xml.Name `xml:"display-text"`

	ColorAttr         string `xml:"color,attr,omitempty"`
	DefaultXAttr      string `xml:"default-x,attr,omitempty"`
	DefaultYAttr      string `xml:"default-y,attr,omitempty"`
	DirAttr           string `xml:"dir,attr,omitempty"`
	EnclosureAttr     string `xml:"enclosure,attr,omitempty"`
	FontFamilyAttr    string `xml:"font-family,attr,omitempty"`
	FontSizeAttr      string `xml:"font-size,attr,omitempty"`
	FontStyleAttr     string `xml:"font-style,attr,omitempty"`
	FontWeightAttr    string `xml:"font-weight,attr,omitempty"`
	HalignAttr        string `xml:"halign,attr,omitempty"`
	JustifyAttr       string `xml:"justify,attr,omitempty"`
	LangAttr          string `xml:"lang,attr,omitempty"`
	LetterSpacingAttr string `xml:"letter-spacing,attr,omitempty"`
	LineHeightAttr    string `xml:"line-height,attr,omitempty"`
	LineThroughAttr   string `xml:"line-through,attr,omitempty"`
	OverlineAttr      string `xml:"overline,attr,omitempty"`
	RelativeXAttr     string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr     string `xml:"relative-y,attr,omitempty"`
	RotationAttr      string `xml:"rotation,attr,omitempty"`
	SpaceAttr         string `xml:"space,attr,omitempty"`
	UnderlineAttr     string `xml:"underline,attr,omitempty"`
	ValignAttr        string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

DisplayText is the structure for display-text MusicXML element.

func (*DisplayText) ToMXML ¶

func (r *DisplayText) ToMXML() *MXML

ToMXML creates a MXML.

type Distance ¶

type Distance struct {
	XMLName xml.Name `xml:"distance"`

	TypeAttr string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Distance is the structure for distance MusicXML element.

func (*Distance) ToMXML ¶

func (r *Distance) ToMXML() *MXML

ToMXML creates a MXML.

type Divisions ¶

type Divisions struct {
	XMLName xml.Name `xml:"divisions"`

	IValue string `xml:",chardata"`
}

Divisions is the structure for divisions MusicXML element.

func (*Divisions) ToMXML ¶

func (r *Divisions) ToMXML() *MXML

ToMXML creates a MXML.

type Doit ¶

type Doit struct {
	XMLName xml.Name `xml:"doit"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DashLengthAttr  string `xml:"dash-length,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LineLengthAttr  string `xml:"line-length,attr,omitempty"`
	LineShapeAttr   string `xml:"line-shape,attr,omitempty"`
	LineTypeAttr    string `xml:"line-type,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SpaceLengthAttr string `xml:"space-length,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Doit is the structure for doit MusicXML element.

func (*Doit) ToMXML ¶

func (r *Doit) ToMXML() *MXML

ToMXML creates a MXML.

type Dot ¶

type Dot struct {
	XMLName xml.Name `xml:"dot"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Dot is the structure for dot MusicXML element.

func (*Dot) ToMXML ¶

func (r *Dot) ToMXML() *MXML

ToMXML creates a MXML.

type Double ¶

type Double struct {
	XMLName xml.Name `xml:"double"`

	IValue string `xml:",chardata"`
}

Double is the structure for double MusicXML element.

func (*Double) ToMXML ¶

func (r *Double) ToMXML() *MXML

ToMXML creates a MXML.

type DoubleTongue ¶

type DoubleTongue struct {
	XMLName xml.Name `xml:"double-tongue"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

DoubleTongue is the structure for double-tongue MusicXML element.

func (*DoubleTongue) ToMXML ¶

func (r *DoubleTongue) ToMXML() *MXML

ToMXML creates a MXML.

type DownBow ¶

type DownBow struct {
	XMLName xml.Name `xml:"down-bow"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

DownBow is the structure for down-bow MusicXML element.

func (*DownBow) ToMXML ¶

func (r *DownBow) ToMXML() *MXML

ToMXML creates a MXML.

type Duration ¶

type Duration struct {
	XMLName xml.Name `xml:"duration"`

	IValue string `xml:",chardata"`
}

Duration is the structure for duration MusicXML element.

func (*Duration) ToMXML ¶

func (r *Duration) ToMXML() *MXML

ToMXML creates a MXML.

type Dynamics ¶

type Dynamics struct {
	XMLName xml.Name `xml:"dynamics"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	EnclosureAttr   string `xml:"enclosure,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	HalignAttr      string `xml:"halign,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	LineThroughAttr string `xml:"line-through,attr,omitempty"`
	OverlineAttr    string `xml:"overline,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	UnderlineAttr   string `xml:"underline,attr,omitempty"`
	ValignAttr      string `xml:"valign,attr,omitempty"`

	F             []F             `xml:"f,omitempty"`
	Ff            []Ff            `xml:"ff,omitempty"`
	Fff           []Fff           `xml:"fff,omitempty"`
	Ffff          []Ffff          `xml:"ffff,omitempty"`
	Fffff         []Fffff         `xml:"fffff,omitempty"`
	Ffffff        []Ffffff        `xml:"ffffff,omitempty"`
	Fp            []Fp            `xml:"fp,omitempty"`
	Fz            []Fz            `xml:"fz,omitempty"`
	Mf            []Mf            `xml:"mf,omitempty"`
	Mp            []Mp            `xml:"mp,omitempty"`
	N             []N             `xml:"n,omitempty"`
	OtherDynamics []OtherDynamics `xml:"other-dynamics,omitempty"`
	P             []P             `xml:"p,omitempty"`
	Pf            []Pf            `xml:"pf,omitempty"`
	Pp            []Pp            `xml:"pp,omitempty"`
	Ppp           []Ppp           `xml:"ppp,omitempty"`
	Pppp          []Pppp          `xml:"pppp,omitempty"`
	Ppppp         []Ppppp         `xml:"ppppp,omitempty"`
	Pppppp        []Pppppp        `xml:"pppppp,omitempty"`
	Rf            []Rf            `xml:"rf,omitempty"`
	Rfz           []Rfz           `xml:"rfz,omitempty"`
	Sf            []Sf            `xml:"sf,omitempty"`
	Sffz          []Sffz          `xml:"sffz,omitempty"`
	Sfp           []Sfp           `xml:"sfp,omitempty"`
	Sfpp          []Sfpp          `xml:"sfpp,omitempty"`
	Sfz           []Sfz           `xml:"sfz,omitempty"`
	Sfzp          []Sfzp          `xml:"sfzp,omitempty"`

	IValue string `xml:",chardata"`
}

Dynamics is the structure for dynamics MusicXML element.

func (*Dynamics) ToMXML ¶

func (r *Dynamics) ToMXML() *MXML

ToMXML creates a MXML.

type Effect ¶

type Effect struct {
	XMLName xml.Name `xml:"effect"`

	IValue string `xml:",chardata"`
}

Effect is the structure for effect MusicXML element.

func (*Effect) ToMXML ¶

func (r *Effect) ToMXML() *MXML

ToMXML creates a MXML.

type Elevation ¶

type Elevation struct {
	XMLName xml.Name `xml:"elevation"`

	IValue string `xml:",chardata"`
}

Elevation is the structure for elevation MusicXML element.

func (*Elevation) ToMXML ¶

func (r *Elevation) ToMXML() *MXML

ToMXML creates a MXML.

type Elision ¶

type Elision struct {
	XMLName xml.Name `xml:"elision"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	SmuflAttr      string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Elision is the structure for elision MusicXML element.

func (*Elision) ToMXML ¶

func (r *Elision) ToMXML() *MXML

ToMXML creates a MXML.

type Encoder ¶

type Encoder struct {
	XMLName xml.Name `xml:"encoder"`

	TypeAttr string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Encoder is the structure for encoder MusicXML element.

func (*Encoder) ToMXML ¶

func (r *Encoder) ToMXML() *MXML

ToMXML creates a MXML.

type Encoding ¶

type Encoding struct {
	XMLName xml.Name `xml:"encoding"`

	Encoder             []Encoder             `xml:"encoder,omitempty"`
	EncodingDate        []EncodingDate        `xml:"encoding-date,omitempty"`
	EncodingDescription []EncodingDescription `xml:"encoding-description,omitempty"`
	Software            []Software            `xml:"software,omitempty"`
	Supports            []Supports            `xml:"supports,omitempty"`

	IValue string `xml:",chardata"`
}

Encoding is the structure for encoding MusicXML element.

func (*Encoding) ToMXML ¶

func (r *Encoding) ToMXML() *MXML

ToMXML creates a MXML.

type EncodingDate ¶

type EncodingDate struct {
	XMLName xml.Name `xml:"encoding-date"`

	IValue string `xml:",chardata"`
}

EncodingDate is the structure for encoding-date MusicXML element.

func (*EncodingDate) ToMXML ¶

func (r *EncodingDate) ToMXML() *MXML

ToMXML creates a MXML.

type EncodingDescription ¶

type EncodingDescription struct {
	XMLName xml.Name `xml:"encoding-description"`

	IValue string `xml:",chardata"`
}

EncodingDescription is the structure for encoding-description MusicXML element.

func (*EncodingDescription) ToMXML ¶

func (r *EncodingDescription) ToMXML() *MXML

ToMXML creates a MXML.

type EndLine ¶

type EndLine struct {
	XMLName xml.Name `xml:"end-line"`

	IValue string `xml:",chardata"`
}

EndLine is the structure for end-line MusicXML element.

func (*EndLine) ToMXML ¶

func (r *EndLine) ToMXML() *MXML

ToMXML creates a MXML.

type EndParagraph ¶

type EndParagraph struct {
	XMLName xml.Name `xml:"end-paragraph"`

	IValue string `xml:",chardata"`
}

EndParagraph is the structure for end-paragraph MusicXML element.

func (*EndParagraph) ToMXML ¶

func (r *EndParagraph) ToMXML() *MXML

ToMXML creates a MXML.

type Ending ¶

type Ending struct {
	XMLName xml.Name `xml:"ending"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	EndLengthAttr   string `xml:"end-length,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	TextXAttr       string `xml:"text-x,attr,omitempty"`
	TextYAttr       string `xml:"text-y,attr,omitempty"`
	TypeAttr        string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Ending is the structure for ending MusicXML element.

func (*Ending) ToMXML ¶

func (r *Ending) ToMXML() *MXML

ToMXML creates a MXML.

type Ensemble ¶

type Ensemble struct {
	XMLName xml.Name `xml:"ensemble"`

	IValue string `xml:",chardata"`
}

Ensemble is the structure for ensemble MusicXML element.

func (*Ensemble) ToMXML ¶

func (r *Ensemble) ToMXML() *MXML

ToMXML creates a MXML.

type ExceptVoice ¶

type ExceptVoice struct {
	XMLName xml.Name `xml:"except-voice"`

	IValue string `xml:",chardata"`
}

ExceptVoice is the structure for except-voice MusicXML element.

func (*ExceptVoice) ToMXML ¶

func (r *ExceptVoice) ToMXML() *MXML

ToMXML creates a MXML.

type Extend ¶

type Extend struct {
	XMLName xml.Name `xml:"extend"`

	ColorAttr     string `xml:"color,attr,omitempty"`
	DefaultXAttr  string `xml:"default-x,attr,omitempty"`
	DefaultYAttr  string `xml:"default-y,attr,omitempty"`
	RelativeXAttr string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr string `xml:"relative-y,attr,omitempty"`
	TypeAttr      string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Extend is the structure for extend MusicXML element.

func (*Extend) ToMXML ¶

func (r *Extend) ToMXML() *MXML

ToMXML creates a MXML.

type Eyeglasses ¶

type Eyeglasses struct {
	XMLName xml.Name `xml:"eyeglasses"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HalignAttr     string `xml:"halign,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	ValignAttr     string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Eyeglasses is the structure for eyeglasses MusicXML element.

func (*Eyeglasses) ToMXML ¶

func (r *Eyeglasses) ToMXML() *MXML

ToMXML creates a MXML.

type F ¶

type F struct {
	XMLName xml.Name `xml:"f"`

	IValue string `xml:",chardata"`
}

F is the structure for f MusicXML element.

func (*F) ToMXML ¶

func (r *F) ToMXML() *MXML

ToMXML creates a MXML.

type Falloff ¶

type Falloff struct {
	XMLName xml.Name `xml:"falloff"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DashLengthAttr  string `xml:"dash-length,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LineLengthAttr  string `xml:"line-length,attr,omitempty"`
	LineShapeAttr   string `xml:"line-shape,attr,omitempty"`
	LineTypeAttr    string `xml:"line-type,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SpaceLengthAttr string `xml:"space-length,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Falloff is the structure for falloff MusicXML element.

func (*Falloff) ToMXML ¶

func (r *Falloff) ToMXML() *MXML

ToMXML creates a MXML.

type Feature ¶

type Feature struct {
	XMLName xml.Name `xml:"feature"`

	TypeAttr string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Feature is the structure for feature MusicXML element.

func (*Feature) ToMXML ¶

func (r *Feature) ToMXML() *MXML

ToMXML creates a MXML.

type Fermata ¶

type Fermata struct {
	XMLName xml.Name `xml:"fermata"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	TypeAttr       string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Fermata is the structure for fermata MusicXML element.

func (*Fermata) ToMXML ¶

func (r *Fermata) ToMXML() *MXML

ToMXML creates a MXML.

type Ff ¶

type Ff struct {
	XMLName xml.Name `xml:"ff"`

	IValue string `xml:",chardata"`
}

Ff is the structure for ff MusicXML element.

func (*Ff) ToMXML ¶

func (r *Ff) ToMXML() *MXML

ToMXML creates a MXML.

type Fff ¶

type Fff struct {
	XMLName xml.Name `xml:"fff"`

	IValue string `xml:",chardata"`
}

Fff is the structure for fff MusicXML element.

func (*Fff) ToMXML ¶

func (r *Fff) ToMXML() *MXML

ToMXML creates a MXML.

type Ffff ¶

type Ffff struct {
	XMLName xml.Name `xml:"ffff"`

	IValue string `xml:",chardata"`
}

Ffff is the structure for ffff MusicXML element.

func (*Ffff) ToMXML ¶

func (r *Ffff) ToMXML() *MXML

ToMXML creates a MXML.

type Fffff ¶

type Fffff struct {
	XMLName xml.Name `xml:"fffff"`

	IValue string `xml:",chardata"`
}

Fffff is the structure for fffff MusicXML element.

func (*Fffff) ToMXML ¶

func (r *Fffff) ToMXML() *MXML

ToMXML creates a MXML.

type Ffffff ¶

type Ffffff struct {
	XMLName xml.Name `xml:"ffffff"`

	IValue string `xml:",chardata"`
}

Ffffff is the structure for ffffff MusicXML element.

func (*Ffffff) ToMXML ¶

func (r *Ffffff) ToMXML() *MXML

ToMXML creates a MXML.

type Fifths ¶

type Fifths struct {
	XMLName xml.Name `xml:"fifths"`

	IValue string `xml:",chardata"`
}

Fifths is the structure for fifths MusicXML element.

func (*Fifths) ToMXML ¶

func (r *Fifths) ToMXML() *MXML

ToMXML creates a MXML.

type Figure ¶

type Figure struct {
	XMLName xml.Name `xml:"figure"`

	Extend       []Extend       `xml:"extend,omitempty"`
	FigureNumber []FigureNumber `xml:"figure-number,omitempty"`
	Footnote     []Footnote     `xml:"footnote,omitempty"`
	Level        []Level        `xml:"level,omitempty"`
	Prefix       []Prefix       `xml:"prefix,omitempty"`
	Suffix       []Suffix       `xml:"suffix,omitempty"`

	IValue string `xml:",chardata"`
}

Figure is the structure for figure MusicXML element.

func (*Figure) ToMXML ¶

func (r *Figure) ToMXML() *MXML

ToMXML creates a MXML.

type FigureNumber ¶

type FigureNumber struct {
	XMLName xml.Name `xml:"figure-number"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

FigureNumber is the structure for figure-number MusicXML element.

func (*FigureNumber) ToMXML ¶

func (r *FigureNumber) ToMXML() *MXML

ToMXML creates a MXML.

type FiguredBass ¶

type FiguredBass struct {
	XMLName xml.Name `xml:"figured-bass"`

	ColorAttr        string `xml:"color,attr,omitempty"`
	DefaultXAttr     string `xml:"default-x,attr,omitempty"`
	DefaultYAttr     string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr   string `xml:"font-family,attr,omitempty"`
	FontSizeAttr     string `xml:"font-size,attr,omitempty"`
	FontStyleAttr    string `xml:"font-style,attr,omitempty"`
	FontWeightAttr   string `xml:"font-weight,attr,omitempty"`
	IdAttr           string `xml:"id,attr,omitempty"`
	ParenthesesAttr  string `xml:"parentheses,attr,omitempty"`
	PrintDotAttr     string `xml:"print-dot,attr,omitempty"`
	PrintLyricAttr   string `xml:"print-lyric,attr,omitempty"`
	PrintObjectAttr  string `xml:"print-object,attr,omitempty"`
	PrintSpacingAttr string `xml:"print-spacing,attr,omitempty"`
	RelativeXAttr    string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr    string `xml:"relative-y,attr,omitempty"`

	Duration []Duration `xml:"duration,omitempty"`
	Figure   []Figure   `xml:"figure,omitempty"`
	Footnote []Footnote `xml:"footnote,omitempty"`
	Level    []Level    `xml:"level,omitempty"`

	IValue string `xml:",chardata"`
}

FiguredBass is the structure for figured-bass MusicXML element.

func (*FiguredBass) ToMXML ¶

func (r *FiguredBass) ToMXML() *MXML

ToMXML creates a MXML.

type Fingering ¶

type Fingering struct {
	XMLName xml.Name `xml:"fingering"`

	AlternateAttr    string `xml:"alternate,attr,omitempty"`
	ColorAttr        string `xml:"color,attr,omitempty"`
	DefaultXAttr     string `xml:"default-x,attr,omitempty"`
	DefaultYAttr     string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr   string `xml:"font-family,attr,omitempty"`
	FontSizeAttr     string `xml:"font-size,attr,omitempty"`
	FontStyleAttr    string `xml:"font-style,attr,omitempty"`
	FontWeightAttr   string `xml:"font-weight,attr,omitempty"`
	PlacementAttr    string `xml:"placement,attr,omitempty"`
	RelativeXAttr    string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr    string `xml:"relative-y,attr,omitempty"`
	SubstitutionAttr string `xml:"substitution,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Fingering is the structure for fingering MusicXML element.

func (*Fingering) ToMXML ¶

func (r *Fingering) ToMXML() *MXML

ToMXML creates a MXML.

type Fingernails ¶

type Fingernails struct {
	XMLName xml.Name `xml:"fingernails"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Fingernails is the structure for fingernails MusicXML element.

func (*Fingernails) ToMXML ¶

func (r *Fingernails) ToMXML() *MXML

ToMXML creates a MXML.

type FirstFret ¶

type FirstFret struct {
	XMLName xml.Name `xml:"first-fret"`

	LocationAttr string `xml:"location,attr,omitempty"`
	TextAttr     string `xml:"text,attr,omitempty"`

	IValue string `xml:",chardata"`
}

FirstFret is the structure for first-fret MusicXML element.

func (*FirstFret) ToMXML ¶

func (r *FirstFret) ToMXML() *MXML

ToMXML creates a MXML.

type Flip ¶

type Flip struct {
	XMLName xml.Name `xml:"flip"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Flip is the structure for flip MusicXML element.

func (*Flip) ToMXML ¶

func (r *Flip) ToMXML() *MXML

ToMXML creates a MXML.

type Footnote ¶

type Footnote struct {
	XMLName xml.Name `xml:"footnote"`

	ColorAttr         string `xml:"color,attr,omitempty"`
	DefaultXAttr      string `xml:"default-x,attr,omitempty"`
	DefaultYAttr      string `xml:"default-y,attr,omitempty"`
	DirAttr           string `xml:"dir,attr,omitempty"`
	EnclosureAttr     string `xml:"enclosure,attr,omitempty"`
	FontFamilyAttr    string `xml:"font-family,attr,omitempty"`
	FontSizeAttr      string `xml:"font-size,attr,omitempty"`
	FontStyleAttr     string `xml:"font-style,attr,omitempty"`
	FontWeightAttr    string `xml:"font-weight,attr,omitempty"`
	HalignAttr        string `xml:"halign,attr,omitempty"`
	JustifyAttr       string `xml:"justify,attr,omitempty"`
	LangAttr          string `xml:"lang,attr,omitempty"`
	LetterSpacingAttr string `xml:"letter-spacing,attr,omitempty"`
	LineHeightAttr    string `xml:"line-height,attr,omitempty"`
	LineThroughAttr   string `xml:"line-through,attr,omitempty"`
	OverlineAttr      string `xml:"overline,attr,omitempty"`
	RelativeXAttr     string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr     string `xml:"relative-y,attr,omitempty"`
	RotationAttr      string `xml:"rotation,attr,omitempty"`
	SpaceAttr         string `xml:"space,attr,omitempty"`
	UnderlineAttr     string `xml:"underline,attr,omitempty"`
	ValignAttr        string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Footnote is the structure for footnote MusicXML element.

func (*Footnote) ToMXML ¶

func (r *Footnote) ToMXML() *MXML

ToMXML creates a MXML.

type Forward ¶

type Forward struct {
	XMLName xml.Name `xml:"forward"`

	Duration []Duration `xml:"duration,omitempty"`
	Footnote []Footnote `xml:"footnote,omitempty"`
	Level    []Level    `xml:"level,omitempty"`
	Staff    []Staff    `xml:"staff,omitempty"`
	Voice    []Voice    `xml:"voice,omitempty"`

	IValue string `xml:",chardata"`
}

Forward is the structure for forward MusicXML element.

func (*Forward) ToMXML ¶

func (r *Forward) ToMXML() *MXML

ToMXML creates a MXML.

type Fp ¶

type Fp struct {
	XMLName xml.Name `xml:"fp"`

	IValue string `xml:",chardata"`
}

Fp is the structure for fp MusicXML element.

func (*Fp) ToMXML ¶

func (r *Fp) ToMXML() *MXML

ToMXML creates a MXML.

type Frame ¶

type Frame struct {
	XMLName xml.Name `xml:"frame"`

	ColorAttr     string `xml:"color,attr,omitempty"`
	DefaultXAttr  string `xml:"default-x,attr,omitempty"`
	DefaultYAttr  string `xml:"default-y,attr,omitempty"`
	HalignAttr    string `xml:"halign,attr,omitempty"`
	HeightAttr    string `xml:"height,attr,omitempty"`
	IdAttr        string `xml:"id,attr,omitempty"`
	RelativeXAttr string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr string `xml:"relative-y,attr,omitempty"`
	UnplayedAttr  string `xml:"unplayed,attr,omitempty"`
	ValignAttr    string `xml:"valign,attr,omitempty"`
	WidthAttr     string `xml:"width,attr,omitempty"`

	FirstFret    []FirstFret    `xml:"first-fret,omitempty"`
	FrameFrets   []FrameFrets   `xml:"frame-frets,omitempty"`
	FrameNote    []FrameNote    `xml:"frame-note,omitempty"`
	FrameStrings []FrameStrings `xml:"frame-strings,omitempty"`

	IValue string `xml:",chardata"`
}

Frame is the structure for frame MusicXML element.

func (*Frame) ToMXML ¶

func (r *Frame) ToMXML() *MXML

ToMXML creates a MXML.

type FrameFrets ¶

type FrameFrets struct {
	XMLName xml.Name `xml:"frame-frets"`

	IValue string `xml:",chardata"`
}

FrameFrets is the structure for frame-frets MusicXML element.

func (*FrameFrets) ToMXML ¶

func (r *FrameFrets) ToMXML() *MXML

ToMXML creates a MXML.

type FrameNote ¶

type FrameNote struct {
	XMLName xml.Name `xml:"frame-note"`

	Barre     []Barre     `xml:"barre,omitempty"`
	Fingering []Fingering `xml:"fingering,omitempty"`
	Fret      []Fret      `xml:"fret,omitempty"`
	String    []String    `xml:"string,omitempty"`

	IValue string `xml:",chardata"`
}

FrameNote is the structure for frame-note MusicXML element.

func (*FrameNote) ToMXML ¶

func (r *FrameNote) ToMXML() *MXML

ToMXML creates a MXML.

type FrameStrings ¶

type FrameStrings struct {
	XMLName xml.Name `xml:"frame-strings"`

	IValue string `xml:",chardata"`
}

FrameStrings is the structure for frame-strings MusicXML element.

func (*FrameStrings) ToMXML ¶

func (r *FrameStrings) ToMXML() *MXML

ToMXML creates a MXML.

type Fret ¶

type Fret struct {
	XMLName xml.Name `xml:"fret"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Fret is the structure for fret MusicXML element.

func (*Fret) ToMXML ¶

func (r *Fret) ToMXML() *MXML

ToMXML creates a MXML.

type Function ¶

type Function struct {
	XMLName xml.Name `xml:"function"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Function is the structure for function MusicXML element.

func (*Function) ToMXML ¶

func (r *Function) ToMXML() *MXML

ToMXML creates a MXML.

type Fz ¶

type Fz struct {
	XMLName xml.Name `xml:"fz"`

	IValue string `xml:",chardata"`
}

Fz is the structure for fz MusicXML element.

func (*Fz) ToMXML ¶

func (r *Fz) ToMXML() *MXML

ToMXML creates a MXML.

type Glass ¶

type Glass struct {
	XMLName xml.Name `xml:"glass"`

	SmuflAttr string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Glass is the structure for glass MusicXML element.

func (*Glass) ToMXML ¶

func (r *Glass) ToMXML() *MXML

ToMXML creates a MXML.

type Glissando ¶

type Glissando struct {
	XMLName xml.Name `xml:"glissando"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DashLengthAttr  string `xml:"dash-length,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	LineTypeAttr    string `xml:"line-type,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SpaceLengthAttr string `xml:"space-length,attr,omitempty"`
	TypeAttr        string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Glissando is the structure for glissando MusicXML element.

func (*Glissando) ToMXML ¶

func (r *Glissando) ToMXML() *MXML

ToMXML creates a MXML.

type Glyph ¶

type Glyph struct {
	XMLName xml.Name `xml:"glyph"`

	TypeAttr string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Glyph is the structure for glyph MusicXML element.

func (*Glyph) ToMXML ¶

func (r *Glyph) ToMXML() *MXML

ToMXML creates a MXML.

type Golpe ¶

type Golpe struct {
	XMLName xml.Name `xml:"golpe"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Golpe is the structure for golpe MusicXML element.

func (*Golpe) ToMXML ¶

func (r *Golpe) ToMXML() *MXML

ToMXML creates a MXML.

type Grace ¶

type Grace struct {
	XMLName xml.Name `xml:"grace"`

	MakeTimeAttr           string `xml:"make-time,attr,omitempty"`
	SlashAttr              string `xml:"slash,attr,omitempty"`
	StealTimeFollowingAttr string `xml:"steal-time-following,attr,omitempty"`
	StealTimePreviousAttr  string `xml:"steal-time-previous,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Grace is the structure for grace MusicXML element.

func (*Grace) ToMXML ¶

func (r *Grace) ToMXML() *MXML

ToMXML creates a MXML.

type Group ¶

type Group struct {
	XMLName xml.Name `xml:"group"`

	IValue string `xml:",chardata"`
}

Group is the structure for group MusicXML element.

func (*Group) ToMXML ¶

func (r *Group) ToMXML() *MXML

ToMXML creates a MXML.

type GroupAbbreviation ¶

type GroupAbbreviation struct {
	XMLName xml.Name `xml:"group-abbreviation"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	JustifyAttr    string `xml:"justify,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

GroupAbbreviation is the structure for group-abbreviation MusicXML element.

func (*GroupAbbreviation) ToMXML ¶

func (r *GroupAbbreviation) ToMXML() *MXML

ToMXML creates a MXML.

type GroupAbbreviationDisplay ¶

type GroupAbbreviationDisplay struct {
	XMLName xml.Name `xml:"group-abbreviation-display"`

	PrintObjectAttr string `xml:"print-object,attr,omitempty"`

	AccidentalText []AccidentalText `xml:"accidental-text,omitempty"`
	DisplayText    []DisplayText    `xml:"display-text,omitempty"`

	IValue string `xml:",chardata"`
}

GroupAbbreviationDisplay is the structure for group-abbreviation-display MusicXML element.

func (*GroupAbbreviationDisplay) ToMXML ¶

func (r *GroupAbbreviationDisplay) ToMXML() *MXML

ToMXML creates a MXML.

type GroupBarline ¶

type GroupBarline struct {
	XMLName xml.Name `xml:"group-barline"`

	ColorAttr string `xml:"color,attr,omitempty"`

	IValue string `xml:",chardata"`
}

GroupBarline is the structure for group-barline MusicXML element.

func (*GroupBarline) ToMXML ¶

func (r *GroupBarline) ToMXML() *MXML

ToMXML creates a MXML.

type GroupName ¶

type GroupName struct {
	XMLName xml.Name `xml:"group-name"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	JustifyAttr    string `xml:"justify,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

GroupName is the structure for group-name MusicXML element.

func (*GroupName) ToMXML ¶

func (r *GroupName) ToMXML() *MXML

ToMXML creates a MXML.

type GroupNameDisplay ¶

type GroupNameDisplay struct {
	XMLName xml.Name `xml:"group-name-display"`

	PrintObjectAttr string `xml:"print-object,attr,omitempty"`

	AccidentalText []AccidentalText `xml:"accidental-text,omitempty"`
	DisplayText    []DisplayText    `xml:"display-text,omitempty"`

	IValue string `xml:",chardata"`
}

GroupNameDisplay is the structure for group-name-display MusicXML element.

func (*GroupNameDisplay) ToMXML ¶

func (r *GroupNameDisplay) ToMXML() *MXML

ToMXML creates a MXML.

type GroupSymbol ¶

type GroupSymbol struct {
	XMLName xml.Name `xml:"group-symbol"`

	ColorAttr     string `xml:"color,attr,omitempty"`
	DefaultXAttr  string `xml:"default-x,attr,omitempty"`
	DefaultYAttr  string `xml:"default-y,attr,omitempty"`
	RelativeXAttr string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

GroupSymbol is the structure for group-symbol MusicXML element.

func (*GroupSymbol) ToMXML ¶

func (r *GroupSymbol) ToMXML() *MXML

ToMXML creates a MXML.

type GroupTime ¶

type GroupTime struct {
	XMLName xml.Name `xml:"group-time"`

	IValue string `xml:",chardata"`
}

GroupTime is the structure for group-time MusicXML element.

func (*GroupTime) ToMXML ¶

func (r *GroupTime) ToMXML() *MXML

ToMXML creates a MXML.

type Grouping ¶

type Grouping struct {
	XMLName xml.Name `xml:"grouping"`

	IdAttr       string `xml:"id,attr,omitempty"`
	MemberOfAttr string `xml:"member-of,attr,omitempty"`
	NumberAttr   string `xml:"number,attr,omitempty"`
	TypeAttr     string `xml:"type,attr,omitempty"`

	Feature []Feature `xml:"feature,omitempty"`

	IValue string `xml:",chardata"`
}

Grouping is the structure for grouping MusicXML element.

func (*Grouping) ToMXML ¶

func (r *Grouping) ToMXML() *MXML

ToMXML creates a MXML.

type HalfMuted ¶

type HalfMuted struct {
	XMLName xml.Name `xml:"half-muted"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	SmuflAttr      string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

HalfMuted is the structure for half-muted MusicXML element.

func (*HalfMuted) ToMXML ¶

func (r *HalfMuted) ToMXML() *MXML

ToMXML creates a MXML.

type HammerOn ¶

type HammerOn struct {
	XMLName xml.Name `xml:"hammer-on"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	NumberAttr     string `xml:"number,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	TypeAttr       string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

HammerOn is the structure for hammer-on MusicXML element.

func (*HammerOn) ToMXML ¶

func (r *HammerOn) ToMXML() *MXML

ToMXML creates a MXML.

type Handbell ¶

type Handbell struct {
	XMLName xml.Name `xml:"handbell"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Handbell is the structure for handbell MusicXML element.

func (*Handbell) ToMXML ¶

func (r *Handbell) ToMXML() *MXML

ToMXML creates a MXML.

type HarmonClosed ¶

type HarmonClosed struct {
	XMLName xml.Name `xml:"harmon-closed"`

	LocationAttr string `xml:"location,attr,omitempty"`

	IValue string `xml:",chardata"`
}

HarmonClosed is the structure for harmon-closed MusicXML element.

func (*HarmonClosed) ToMXML ¶

func (r *HarmonClosed) ToMXML() *MXML

ToMXML creates a MXML.

type HarmonMute ¶

type HarmonMute struct {
	XMLName xml.Name `xml:"harmon-mute"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	HarmonClosed []HarmonClosed `xml:"harmon-closed,omitempty"`

	IValue string `xml:",chardata"`
}

HarmonMute is the structure for harmon-mute MusicXML element.

func (*HarmonMute) ToMXML ¶

func (r *HarmonMute) ToMXML() *MXML

ToMXML creates a MXML.

type Harmonic ¶

type Harmonic struct {
	XMLName xml.Name `xml:"harmonic"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`

	Artificial    []Artificial    `xml:"artificial,omitempty"`
	BasePitch     []BasePitch     `xml:"base-pitch,omitempty"`
	Natural       []Natural       `xml:"natural,omitempty"`
	SoundingPitch []SoundingPitch `xml:"sounding-pitch,omitempty"`
	TouchingPitch []TouchingPitch `xml:"touching-pitch,omitempty"`

	IValue string `xml:",chardata"`
}

Harmonic is the structure for harmonic MusicXML element.

func (*Harmonic) ToMXML ¶

func (r *Harmonic) ToMXML() *MXML

ToMXML creates a MXML.

type Harmony ¶

type Harmony struct {
	XMLName xml.Name `xml:"harmony"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	PrintFrameAttr  string `xml:"print-frame,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	TypeAttr        string `xml:"type,attr,omitempty"`

	Bass      []Bass      `xml:"bass,omitempty"`
	Degree    []Degree    `xml:"degree,omitempty"`
	Footnote  []Footnote  `xml:"footnote,omitempty"`
	Frame     []Frame     `xml:"frame,omitempty"`
	Function  []Function  `xml:"function,omitempty"`
	Inversion []Inversion `xml:"inversion,omitempty"`
	Kind      []Kind      `xml:"kind,omitempty"`
	Level     []Level     `xml:"level,omitempty"`
	Offset    []Offset    `xml:"offset,omitempty"`
	Root      []Root      `xml:"root,omitempty"`
	Staff     []Staff     `xml:"staff,omitempty"`

	IValue string `xml:",chardata"`
}

Harmony is the structure for harmony MusicXML element.

func (*Harmony) ToMXML ¶

func (r *Harmony) ToMXML() *MXML

ToMXML creates a MXML.

type HarpPedals ¶

type HarpPedals struct {
	XMLName xml.Name `xml:"harp-pedals"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HalignAttr     string `xml:"halign,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	ValignAttr     string `xml:"valign,attr,omitempty"`

	PedalTuning []PedalTuning `xml:"pedal-tuning,omitempty"`

	IValue string `xml:",chardata"`
}

HarpPedals is the structure for harp-pedals MusicXML element.

func (*HarpPedals) ToMXML ¶

func (r *HarpPedals) ToMXML() *MXML

ToMXML creates a MXML.

type Haydn ¶

type Haydn struct {
	XMLName xml.Name `xml:"haydn"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SecondBeatAttr  string `xml:"second-beat,attr,omitempty"`
	StartNoteAttr   string `xml:"start-note,attr,omitempty"`
	TrillStepAttr   string `xml:"trill-step,attr,omitempty"`
	TwoNoteTurnAttr string `xml:"two-note-turn,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Haydn is the structure for haydn MusicXML element.

func (*Haydn) ToMXML ¶

func (r *Haydn) ToMXML() *MXML

ToMXML creates a MXML.

type Heel ¶

type Heel struct {
	XMLName xml.Name `xml:"heel"`

	ColorAttr        string `xml:"color,attr,omitempty"`
	DefaultXAttr     string `xml:"default-x,attr,omitempty"`
	DefaultYAttr     string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr   string `xml:"font-family,attr,omitempty"`
	FontSizeAttr     string `xml:"font-size,attr,omitempty"`
	FontStyleAttr    string `xml:"font-style,attr,omitempty"`
	FontWeightAttr   string `xml:"font-weight,attr,omitempty"`
	PlacementAttr    string `xml:"placement,attr,omitempty"`
	RelativeXAttr    string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr    string `xml:"relative-y,attr,omitempty"`
	SubstitutionAttr string `xml:"substitution,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Heel is the structure for heel MusicXML element.

func (*Heel) ToMXML ¶

func (r *Heel) ToMXML() *MXML

ToMXML creates a MXML.

type Hole ¶

type Hole struct {
	XMLName xml.Name `xml:"hole"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	HoleClosed []HoleClosed `xml:"hole-closed,omitempty"`
	HoleShape  []HoleShape  `xml:"hole-shape,omitempty"`
	HoleType   []HoleType   `xml:"hole-type,omitempty"`

	IValue string `xml:",chardata"`
}

Hole is the structure for hole MusicXML element.

func (*Hole) ToMXML ¶

func (r *Hole) ToMXML() *MXML

ToMXML creates a MXML.

type HoleClosed ¶

type HoleClosed struct {
	XMLName xml.Name `xml:"hole-closed"`

	LocationAttr string `xml:"location,attr,omitempty"`

	IValue string `xml:",chardata"`
}

HoleClosed is the structure for hole-closed MusicXML element.

func (*HoleClosed) ToMXML ¶

func (r *HoleClosed) ToMXML() *MXML

ToMXML creates a MXML.

type HoleShape ¶

type HoleShape struct {
	XMLName xml.Name `xml:"hole-shape"`

	IValue string `xml:",chardata"`
}

HoleShape is the structure for hole-shape MusicXML element.

func (*HoleShape) ToMXML ¶

func (r *HoleShape) ToMXML() *MXML

ToMXML creates a MXML.

type HoleType ¶

type HoleType struct {
	XMLName xml.Name `xml:"hole-type"`

	IValue string `xml:",chardata"`
}

HoleType is the structure for hole-type MusicXML element.

func (*HoleType) ToMXML ¶

func (r *HoleType) ToMXML() *MXML

ToMXML creates a MXML.

type Humming ¶

type Humming struct {
	XMLName xml.Name `xml:"humming"`

	IValue string `xml:",chardata"`
}

Humming is the structure for humming MusicXML element.

func (*Humming) ToMXML ¶

func (r *Humming) ToMXML() *MXML

ToMXML creates a MXML.

type Identification ¶

type Identification struct {
	XMLName xml.Name `xml:"identification"`

	Creator       []Creator       `xml:"creator,omitempty"`
	Encoding      []Encoding      `xml:"encoding,omitempty"`
	Miscellaneous []Miscellaneous `xml:"miscellaneous,omitempty"`
	Relation      []Relation      `xml:"relation,omitempty"`
	Rights        []Rights        `xml:"rights,omitempty"`
	Source        []Source        `xml:"source,omitempty"`

	IValue string `xml:",chardata"`
}

Identification is the structure for identification MusicXML element.

func (*Identification) ToMXML ¶

func (r *Identification) ToMXML() *MXML

ToMXML creates a MXML.

type Image ¶

type Image struct {
	XMLName xml.Name `xml:"image"`

	DefaultXAttr  string `xml:"default-x,attr,omitempty"`
	DefaultYAttr  string `xml:"default-y,attr,omitempty"`
	HalignAttr    string `xml:"halign,attr,omitempty"`
	HeightAttr    string `xml:"height,attr,omitempty"`
	IdAttr        string `xml:"id,attr,omitempty"`
	RelativeXAttr string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr string `xml:"relative-y,attr,omitempty"`
	SourceAttr    string `xml:"source,attr,omitempty"`
	TypeAttr      string `xml:"type,attr,omitempty"`
	ValignAttr    string `xml:"valign,attr,omitempty"`
	WidthAttr     string `xml:"width,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Image is the structure for image MusicXML element.

func (*Image) ToMXML ¶

func (r *Image) ToMXML() *MXML

ToMXML creates a MXML.

type Instrument ¶

type Instrument struct {
	XMLName xml.Name `xml:"instrument"`

	IdAttr string `xml:"id,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Instrument is the structure for instrument MusicXML element.

func (*Instrument) ToMXML ¶

func (r *Instrument) ToMXML() *MXML

ToMXML creates a MXML.

type InstrumentAbbreviation ¶

type InstrumentAbbreviation struct {
	XMLName xml.Name `xml:"instrument-abbreviation"`

	IValue string `xml:",chardata"`
}

InstrumentAbbreviation is the structure for instrument-abbreviation MusicXML element.

func (*InstrumentAbbreviation) ToMXML ¶

func (r *InstrumentAbbreviation) ToMXML() *MXML

ToMXML creates a MXML.

type InstrumentName ¶

type InstrumentName struct {
	XMLName xml.Name `xml:"instrument-name"`

	IValue string `xml:",chardata"`
}

InstrumentName is the structure for instrument-name MusicXML element.

func (*InstrumentName) ToMXML ¶

func (r *InstrumentName) ToMXML() *MXML

ToMXML creates a MXML.

type InstrumentSound ¶

type InstrumentSound struct {
	XMLName xml.Name `xml:"instrument-sound"`

	IValue string `xml:",chardata"`
}

InstrumentSound is the structure for instrument-sound MusicXML element.

func (*InstrumentSound) ToMXML ¶

func (r *InstrumentSound) ToMXML() *MXML

ToMXML creates a MXML.

type Instruments ¶

type Instruments struct {
	XMLName xml.Name `xml:"instruments"`

	IValue string `xml:",chardata"`
}

Instruments is the structure for instruments MusicXML element.

func (*Instruments) ToMXML ¶

func (r *Instruments) ToMXML() *MXML

ToMXML creates a MXML.

type Interchangeable ¶

type Interchangeable struct {
	XMLName xml.Name `xml:"interchangeable"`

	SeparatorAttr string `xml:"separator,attr,omitempty"`
	SymbolAttr    string `xml:"symbol,attr,omitempty"`

	BeatType     []BeatType     `xml:"beat-type,omitempty"`
	Beats        []Beats        `xml:"beats,omitempty"`
	TimeRelation []TimeRelation `xml:"time-relation,omitempty"`

	IValue string `xml:",chardata"`
}

Interchangeable is the structure for interchangeable MusicXML element.

func (*Interchangeable) ToMXML ¶

func (r *Interchangeable) ToMXML() *MXML

ToMXML creates a MXML.

type Inversion ¶

type Inversion struct {
	XMLName xml.Name `xml:"inversion"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Inversion is the structure for inversion MusicXML element.

func (*Inversion) ToMXML ¶

func (r *Inversion) ToMXML() *MXML

ToMXML creates a MXML.

type InvertedMordent ¶

type InvertedMordent struct {
	XMLName xml.Name `xml:"inverted-mordent"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	ApproachAttr    string `xml:"approach,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	DepartureAttr   string `xml:"departure,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	LongAttr        string `xml:"long,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SecondBeatAttr  string `xml:"second-beat,attr,omitempty"`
	StartNoteAttr   string `xml:"start-note,attr,omitempty"`
	TrillStepAttr   string `xml:"trill-step,attr,omitempty"`
	TwoNoteTurnAttr string `xml:"two-note-turn,attr,omitempty"`

	IValue string `xml:",chardata"`
}

InvertedMordent is the structure for inverted-mordent MusicXML element.

func (*InvertedMordent) ToMXML ¶

func (r *InvertedMordent) ToMXML() *MXML

ToMXML creates a MXML.

type InvertedTurn ¶

type InvertedTurn struct {
	XMLName xml.Name `xml:"inverted-turn"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SecondBeatAttr  string `xml:"second-beat,attr,omitempty"`
	SlashAttr       string `xml:"slash,attr,omitempty"`
	StartNoteAttr   string `xml:"start-note,attr,omitempty"`
	TrillStepAttr   string `xml:"trill-step,attr,omitempty"`
	TwoNoteTurnAttr string `xml:"two-note-turn,attr,omitempty"`

	IValue string `xml:",chardata"`
}

InvertedTurn is the structure for inverted-turn MusicXML element.

func (*InvertedTurn) ToMXML ¶

func (r *InvertedTurn) ToMXML() *MXML

ToMXML creates a MXML.

type InvertedVerticalTurn ¶

type InvertedVerticalTurn struct {
	XMLName xml.Name `xml:"inverted-vertical-turn"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SecondBeatAttr  string `xml:"second-beat,attr,omitempty"`
	StartNoteAttr   string `xml:"start-note,attr,omitempty"`
	TrillStepAttr   string `xml:"trill-step,attr,omitempty"`
	TwoNoteTurnAttr string `xml:"two-note-turn,attr,omitempty"`

	IValue string `xml:",chardata"`
}

InvertedVerticalTurn is the structure for inverted-vertical-turn MusicXML element.

func (*InvertedVerticalTurn) ToMXML ¶

func (r *InvertedVerticalTurn) ToMXML() *MXML

ToMXML creates a MXML.

type Ipa ¶

type Ipa struct {
	XMLName xml.Name `xml:"ipa"`

	IValue string `xml:",chardata"`
}

Ipa is the structure for ipa MusicXML element.

func (*Ipa) ToMXML ¶

func (r *Ipa) ToMXML() *MXML

ToMXML creates a MXML.

type Key ¶

type Key struct {
	XMLName xml.Name `xml:"key"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`

	Cancel        []Cancel        `xml:"cancel,omitempty"`
	Fifths        []Fifths        `xml:"fifths,omitempty"`
	KeyAccidental []KeyAccidental `xml:"key-accidental,omitempty"`
	KeyAlter      []KeyAlter      `xml:"key-alter,omitempty"`
	KeyOctave     []KeyOctave     `xml:"key-octave,omitempty"`
	KeyStep       []KeyStep       `xml:"key-step,omitempty"`
	Mode          []Mode          `xml:"mode,omitempty"`

	IValue string `xml:",chardata"`
}

Key is the structure for key MusicXML element.

func (*Key) ToMXML ¶

func (r *Key) ToMXML() *MXML

ToMXML creates a MXML.

type KeyAccidental ¶

type KeyAccidental struct {
	XMLName xml.Name `xml:"key-accidental"`

	SmuflAttr string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

KeyAccidental is the structure for key-accidental MusicXML element.

func (*KeyAccidental) ToMXML ¶

func (r *KeyAccidental) ToMXML() *MXML

ToMXML creates a MXML.

type KeyAlter ¶

type KeyAlter struct {
	XMLName xml.Name `xml:"key-alter"`

	IValue string `xml:",chardata"`
}

KeyAlter is the structure for key-alter MusicXML element.

func (*KeyAlter) ToMXML ¶

func (r *KeyAlter) ToMXML() *MXML

ToMXML creates a MXML.

type KeyOctave ¶

type KeyOctave struct {
	XMLName xml.Name `xml:"key-octave"`

	CancelAttr string `xml:"cancel,attr,omitempty"`
	NumberAttr string `xml:"number,attr,omitempty"`

	IValue string `xml:",chardata"`
}

KeyOctave is the structure for key-octave MusicXML element.

func (*KeyOctave) ToMXML ¶

func (r *KeyOctave) ToMXML() *MXML

ToMXML creates a MXML.

type KeyStep ¶

type KeyStep struct {
	XMLName xml.Name `xml:"key-step"`

	IValue string `xml:",chardata"`
}

KeyStep is the structure for key-step MusicXML element.

func (*KeyStep) ToMXML ¶

func (r *KeyStep) ToMXML() *MXML

ToMXML creates a MXML.

type Kind ¶

type Kind struct {
	XMLName xml.Name `xml:"kind"`

	BracketDegreesAttr     string `xml:"bracket-degrees,attr,omitempty"`
	ColorAttr              string `xml:"color,attr,omitempty"`
	DefaultXAttr           string `xml:"default-x,attr,omitempty"`
	DefaultYAttr           string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr         string `xml:"font-family,attr,omitempty"`
	FontSizeAttr           string `xml:"font-size,attr,omitempty"`
	FontStyleAttr          string `xml:"font-style,attr,omitempty"`
	FontWeightAttr         string `xml:"font-weight,attr,omitempty"`
	HalignAttr             string `xml:"halign,attr,omitempty"`
	ParenthesesDegreesAttr string `xml:"parentheses-degrees,attr,omitempty"`
	RelativeXAttr          string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr          string `xml:"relative-y,attr,omitempty"`
	StackDegreesAttr       string `xml:"stack-degrees,attr,omitempty"`
	TextAttr               string `xml:"text,attr,omitempty"`
	UseSymbolsAttr         string `xml:"use-symbols,attr,omitempty"`
	ValignAttr             string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Kind is the structure for kind MusicXML element.

func (*Kind) ToMXML ¶

func (r *Kind) ToMXML() *MXML

ToMXML creates a MXML.

type Laughing ¶

type Laughing struct {
	XMLName xml.Name `xml:"laughing"`

	IValue string `xml:",chardata"`
}

Laughing is the structure for laughing MusicXML element.

func (*Laughing) ToMXML ¶

func (r *Laughing) ToMXML() *MXML

ToMXML creates a MXML.

type LeftDivider ¶

type LeftDivider struct {
	XMLName xml.Name `xml:"left-divider"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	HalignAttr      string `xml:"halign,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	ValignAttr      string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

LeftDivider is the structure for left-divider MusicXML element.

func (*LeftDivider) ToMXML ¶

func (r *LeftDivider) ToMXML() *MXML

ToMXML creates a MXML.

type LeftMargin ¶

type LeftMargin struct {
	XMLName xml.Name `xml:"left-margin"`

	IValue string `xml:",chardata"`
}

LeftMargin is the structure for left-margin MusicXML element.

func (*LeftMargin) ToMXML ¶

func (r *LeftMargin) ToMXML() *MXML

ToMXML creates a MXML.

type Level ¶

type Level struct {
	XMLName xml.Name `xml:"level"`

	BracketAttr     string `xml:"bracket,attr,omitempty"`
	ParenthesesAttr string `xml:"parentheses,attr,omitempty"`
	ReferenceAttr   string `xml:"reference,attr,omitempty"`
	SizeAttr        string `xml:"size,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Level is the structure for level MusicXML element.

func (*Level) ToMXML ¶

func (r *Level) ToMXML() *MXML

ToMXML creates a MXML.

type Line ¶

type Line struct {
	XMLName xml.Name `xml:"line"`

	IValue string `xml:",chardata"`
}

Line is the structure for line MusicXML element.

func (*Line) ToMXML ¶

func (r *Line) ToMXML() *MXML

ToMXML creates a MXML.

type LineWidth ¶

type LineWidth struct {
	XMLName xml.Name `xml:"line-width"`

	TypeAttr string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

LineWidth is the structure for line-width MusicXML element.

func (*LineWidth) ToMXML ¶

func (r *LineWidth) ToMXML() *MXML

ToMXML creates a MXML.

type Link struct {
	XMLName xml.Name `xml:"link"`

	ActuateAttr   string `xml:"actuate,attr,omitempty"`
	DefaultXAttr  string `xml:"default-x,attr,omitempty"`
	DefaultYAttr  string `xml:"default-y,attr,omitempty"`
	ElementAttr   string `xml:"element,attr,omitempty"`
	HrefAttr      string `xml:"href,attr,omitempty"`
	NameAttr      string `xml:"name,attr,omitempty"`
	PositionAttr  string `xml:"position,attr,omitempty"`
	RelativeXAttr string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr string `xml:"relative-y,attr,omitempty"`
	RoleAttr      string `xml:"role,attr,omitempty"`
	ShowAttr      string `xml:"show,attr,omitempty"`
	TitleAttr     string `xml:"title,attr,omitempty"`
	TypeAttr      string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Link is the structure for link MusicXML element.

func (*Link) ToMXML ¶

func (r *Link) ToMXML() *MXML

ToMXML creates a MXML.

type Lyric ¶

type Lyric struct {
	XMLName xml.Name `xml:"lyric"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	JustifyAttr     string `xml:"justify,attr,omitempty"`
	NameAttr        string `xml:"name,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	TimeOnlyAttr    string `xml:"time-only,attr,omitempty"`

	Elision      []Elision      `xml:"elision,omitempty"`
	EndLine      []EndLine      `xml:"end-line,omitempty"`
	EndParagraph []EndParagraph `xml:"end-paragraph,omitempty"`
	Extend       []Extend       `xml:"extend,omitempty"`
	Footnote     []Footnote     `xml:"footnote,omitempty"`
	Humming      []Humming      `xml:"humming,omitempty"`
	Laughing     []Laughing     `xml:"laughing,omitempty"`
	Level        []Level        `xml:"level,omitempty"`
	Syllabic     []Syllabic     `xml:"syllabic,omitempty"`
	Text         []Text         `xml:"text,omitempty"`

	IValue string `xml:",chardata"`
}

Lyric is the structure for lyric MusicXML element.

func (*Lyric) ToMXML ¶

func (r *Lyric) ToMXML() *MXML

ToMXML creates a MXML.

type LyricFont ¶

type LyricFont struct {
	XMLName xml.Name `xml:"lyric-font"`

	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	NameAttr       string `xml:"name,attr,omitempty"`
	NumberAttr     string `xml:"number,attr,omitempty"`

	IValue string `xml:",chardata"`
}

LyricFont is the structure for lyric-font MusicXML element.

func (*LyricFont) ToMXML ¶

func (r *LyricFont) ToMXML() *MXML

ToMXML creates a MXML.

type LyricLanguage ¶

type LyricLanguage struct {
	XMLName xml.Name `xml:"lyric-language"`

	LangAttr   string `xml:"lang,attr,omitempty"`
	NameAttr   string `xml:"name,attr,omitempty"`
	NumberAttr string `xml:"number,attr,omitempty"`

	IValue string `xml:",chardata"`
}

LyricLanguage is the structure for lyric-language MusicXML element.

func (*LyricLanguage) ToMXML ¶

func (r *LyricLanguage) ToMXML() *MXML

ToMXML creates a MXML.

type MXML ¶

type MXML struct {
	// contains filtered or unexported fields
}

MXML stores MusicXML data as a tree.

func (*MXML) Attributes ¶

func (m *MXML) Attributes() map[string]string

Attributes returns the attributes of the MusicXML element.

func (*MXML) Children ¶

func (m *MXML) Children() map[string][]*MXML

Children returns the children of the MusicXML element.

func (*MXML) IValue ¶

func (m *MXML) IValue() string

IValue returns the inner value of the MusicXML element.

func (*MXML) Name ¶

func (m *MXML) Name() string

Name returns the name of the MusicXML element.

type Measure ¶

type Measure struct {
	XMLName xml.Name `xml:"measure"`

	IdAttr             string `xml:"id,attr,omitempty"`
	ImplicitAttr       string `xml:"implicit,attr,omitempty"`
	NonControllingAttr string `xml:"non-controlling,attr,omitempty"`
	NumberAttr         string `xml:"number,attr,omitempty"`
	TextAttr           string `xml:"text,attr,omitempty"`
	WidthAttr          string `xml:"width,attr,omitempty"`

	Attributes  []Attributes  `xml:"attributes,omitempty"`
	Backup      []Backup      `xml:"backup,omitempty"`
	Barline     []Barline     `xml:"barline,omitempty"`
	Bookmark    []Bookmark    `xml:"bookmark,omitempty"`
	Direction   []Direction   `xml:"direction,omitempty"`
	FiguredBass []FiguredBass `xml:"figured-bass,omitempty"`
	Forward     []Forward     `xml:"forward,omitempty"`
	Grouping    []Grouping    `xml:"grouping,omitempty"`
	Harmony     []Harmony     `xml:"harmony,omitempty"`
	Link        []Link        `xml:"link,omitempty"`
	Note        []Note        `xml:"note,omitempty"`
	Part        []Part        `xml:"part,omitempty"`
	Print       []Print       `xml:"print,omitempty"`
	Sound       []Sound       `xml:"sound,omitempty"`

	IValue string `xml:",chardata"`
}

Measure is the structure for measure MusicXML element.

func (*Measure) ToMXML ¶

func (r *Measure) ToMXML() *MXML

ToMXML creates a MXML.

type MeasureDistance ¶

type MeasureDistance struct {
	XMLName xml.Name `xml:"measure-distance"`

	IValue string `xml:",chardata"`
}

MeasureDistance is the structure for measure-distance MusicXML element.

func (*MeasureDistance) ToMXML ¶

func (r *MeasureDistance) ToMXML() *MXML

ToMXML creates a MXML.

type MeasureLayout ¶

type MeasureLayout struct {
	XMLName xml.Name `xml:"measure-layout"`

	MeasureDistance []MeasureDistance `xml:"measure-distance,omitempty"`

	IValue string `xml:",chardata"`
}

MeasureLayout is the structure for measure-layout MusicXML element.

func (*MeasureLayout) ToMXML ¶

func (r *MeasureLayout) ToMXML() *MXML

ToMXML creates a MXML.

type MeasureNumbering ¶

type MeasureNumbering struct {
	XMLName xml.Name `xml:"measure-numbering"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HalignAttr     string `xml:"halign,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	ValignAttr     string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

MeasureNumbering is the structure for measure-numbering MusicXML element.

func (*MeasureNumbering) ToMXML ¶

func (r *MeasureNumbering) ToMXML() *MXML

ToMXML creates a MXML.

type MeasureRepeat ¶

type MeasureRepeat struct {
	XMLName xml.Name `xml:"measure-repeat"`

	SlashesAttr string `xml:"slashes,attr,omitempty"`
	TypeAttr    string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

MeasureRepeat is the structure for measure-repeat MusicXML element.

func (*MeasureRepeat) ToMXML ¶

func (r *MeasureRepeat) ToMXML() *MXML

ToMXML creates a MXML.

type MeasureStyle ¶

type MeasureStyle struct {
	XMLName xml.Name `xml:"measure-style"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	NumberAttr     string `xml:"number,attr,omitempty"`

	BeatRepeat    []BeatRepeat    `xml:"beat-repeat,omitempty"`
	MeasureRepeat []MeasureRepeat `xml:"measure-repeat,omitempty"`
	MultipleRest  []MultipleRest  `xml:"multiple-rest,omitempty"`
	Slash         []Slash         `xml:"slash,omitempty"`

	IValue string `xml:",chardata"`
}

MeasureStyle is the structure for measure-style MusicXML element.

func (*MeasureStyle) ToMXML ¶

func (r *MeasureStyle) ToMXML() *MXML

ToMXML creates a MXML.

type Membrane ¶

type Membrane struct {
	XMLName xml.Name `xml:"membrane"`

	IValue string `xml:",chardata"`
}

Membrane is the structure for membrane MusicXML element.

func (*Membrane) ToMXML ¶

func (r *Membrane) ToMXML() *MXML

ToMXML creates a MXML.

type Metal ¶

type Metal struct {
	XMLName xml.Name `xml:"metal"`

	IValue string `xml:",chardata"`
}

Metal is the structure for metal MusicXML element.

func (*Metal) ToMXML ¶

func (r *Metal) ToMXML() *MXML

ToMXML creates a MXML.

type Metronome ¶

type Metronome struct {
	XMLName xml.Name `xml:"metronome"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	HalignAttr      string `xml:"halign,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	JustifyAttr     string `xml:"justify,attr,omitempty"`
	ParenthesesAttr string `xml:"parentheses,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	ValignAttr      string `xml:"valign,attr,omitempty"`

	BeatUnit          []BeatUnit          `xml:"beat-unit,omitempty"`
	BeatUnitDot       []BeatUnitDot       `xml:"beat-unit-dot,omitempty"`
	BeatUnitTied      []BeatUnitTied      `xml:"beat-unit-tied,omitempty"`
	MetronomeArrows   []MetronomeArrows   `xml:"metronome-arrows,omitempty"`
	MetronomeNote     []MetronomeNote     `xml:"metronome-note,omitempty"`
	MetronomeRelation []MetronomeRelation `xml:"metronome-relation,omitempty"`
	PerMinute         []PerMinute         `xml:"per-minute,omitempty"`

	IValue string `xml:",chardata"`
}

Metronome is the structure for metronome MusicXML element.

func (*Metronome) ToMXML ¶

func (r *Metronome) ToMXML() *MXML

ToMXML creates a MXML.

type MetronomeArrows ¶

type MetronomeArrows struct {
	XMLName xml.Name `xml:"metronome-arrows"`

	IValue string `xml:",chardata"`
}

MetronomeArrows is the structure for metronome-arrows MusicXML element.

func (*MetronomeArrows) ToMXML ¶

func (r *MetronomeArrows) ToMXML() *MXML

ToMXML creates a MXML.

type MetronomeBeam ¶

type MetronomeBeam struct {
	XMLName xml.Name `xml:"metronome-beam"`

	NumberAttr string `xml:"number,attr,omitempty"`

	IValue string `xml:",chardata"`
}

MetronomeBeam is the structure for metronome-beam MusicXML element.

func (*MetronomeBeam) ToMXML ¶

func (r *MetronomeBeam) ToMXML() *MXML

ToMXML creates a MXML.

type MetronomeDot ¶

type MetronomeDot struct {
	XMLName xml.Name `xml:"metronome-dot"`

	IValue string `xml:",chardata"`
}

MetronomeDot is the structure for metronome-dot MusicXML element.

func (*MetronomeDot) ToMXML ¶

func (r *MetronomeDot) ToMXML() *MXML

ToMXML creates a MXML.

type MetronomeNote ¶

type MetronomeNote struct {
	XMLName xml.Name `xml:"metronome-note"`

	MetronomeBeam   []MetronomeBeam   `xml:"metronome-beam,omitempty"`
	MetronomeDot    []MetronomeDot    `xml:"metronome-dot,omitempty"`
	MetronomeTied   []MetronomeTied   `xml:"metronome-tied,omitempty"`
	MetronomeTuplet []MetronomeTuplet `xml:"metronome-tuplet,omitempty"`
	MetronomeType   []MetronomeType   `xml:"metronome-type,omitempty"`

	IValue string `xml:",chardata"`
}

MetronomeNote is the structure for metronome-note MusicXML element.

func (*MetronomeNote) ToMXML ¶

func (r *MetronomeNote) ToMXML() *MXML

ToMXML creates a MXML.

type MetronomeRelation ¶

type MetronomeRelation struct {
	XMLName xml.Name `xml:"metronome-relation"`

	IValue string `xml:",chardata"`
}

MetronomeRelation is the structure for metronome-relation MusicXML element.

func (*MetronomeRelation) ToMXML ¶

func (r *MetronomeRelation) ToMXML() *MXML

ToMXML creates a MXML.

type MetronomeTied ¶

type MetronomeTied struct {
	XMLName xml.Name `xml:"metronome-tied"`

	TypeAttr string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

MetronomeTied is the structure for metronome-tied MusicXML element.

func (*MetronomeTied) ToMXML ¶

func (r *MetronomeTied) ToMXML() *MXML

ToMXML creates a MXML.

type MetronomeTuplet ¶

type MetronomeTuplet struct {
	XMLName xml.Name `xml:"metronome-tuplet"`

	BracketAttr    string `xml:"bracket,attr,omitempty"`
	ShowNumberAttr string `xml:"show-number,attr,omitempty"`
	TypeAttr       string `xml:"type,attr,omitempty"`

	ActualNotes []ActualNotes `xml:"actual-notes,omitempty"`
	NormalDot   []NormalDot   `xml:"normal-dot,omitempty"`
	NormalNotes []NormalNotes `xml:"normal-notes,omitempty"`
	NormalType  []NormalType  `xml:"normal-type,omitempty"`

	IValue string `xml:",chardata"`
}

MetronomeTuplet is the structure for metronome-tuplet MusicXML element.

func (*MetronomeTuplet) ToMXML ¶

func (r *MetronomeTuplet) ToMXML() *MXML

ToMXML creates a MXML.

type MetronomeType ¶

type MetronomeType struct {
	XMLName xml.Name `xml:"metronome-type"`

	IValue string `xml:",chardata"`
}

MetronomeType is the structure for metronome-type MusicXML element.

func (*MetronomeType) ToMXML ¶

func (r *MetronomeType) ToMXML() *MXML

ToMXML creates a MXML.

type Mf ¶

type Mf struct {
	XMLName xml.Name `xml:"mf"`

	IValue string `xml:",chardata"`
}

Mf is the structure for mf MusicXML element.

func (*Mf) ToMXML ¶

func (r *Mf) ToMXML() *MXML

ToMXML creates a MXML.

type MidiBank ¶

type MidiBank struct {
	XMLName xml.Name `xml:"midi-bank"`

	IValue string `xml:",chardata"`
}

MidiBank is the structure for midi-bank MusicXML element.

func (*MidiBank) ToMXML ¶

func (r *MidiBank) ToMXML() *MXML

ToMXML creates a MXML.

type MidiChannel ¶

type MidiChannel struct {
	XMLName xml.Name `xml:"midi-channel"`

	IValue string `xml:",chardata"`
}

MidiChannel is the structure for midi-channel MusicXML element.

func (*MidiChannel) ToMXML ¶

func (r *MidiChannel) ToMXML() *MXML

ToMXML creates a MXML.

type MidiDevice ¶

type MidiDevice struct {
	XMLName xml.Name `xml:"midi-device"`

	IdAttr   string `xml:"id,attr,omitempty"`
	PortAttr string `xml:"port,attr,omitempty"`

	IValue string `xml:",chardata"`
}

MidiDevice is the structure for midi-device MusicXML element.

func (*MidiDevice) ToMXML ¶

func (r *MidiDevice) ToMXML() *MXML

ToMXML creates a MXML.

type MidiInstrument ¶

type MidiInstrument struct {
	XMLName xml.Name `xml:"midi-instrument"`

	IdAttr string `xml:"id,attr,omitempty"`

	Elevation     []Elevation     `xml:"elevation,omitempty"`
	MidiBank      []MidiBank      `xml:"midi-bank,omitempty"`
	MidiChannel   []MidiChannel   `xml:"midi-channel,omitempty"`
	MidiName      []MidiName      `xml:"midi-name,omitempty"`
	MidiProgram   []MidiProgram   `xml:"midi-program,omitempty"`
	MidiUnpitched []MidiUnpitched `xml:"midi-unpitched,omitempty"`
	Pan           []Pan           `xml:"pan,omitempty"`
	Volume        []Volume        `xml:"volume,omitempty"`

	IValue string `xml:",chardata"`
}

MidiInstrument is the structure for midi-instrument MusicXML element.

func (*MidiInstrument) ToMXML ¶

func (r *MidiInstrument) ToMXML() *MXML

ToMXML creates a MXML.

type MidiName ¶

type MidiName struct {
	XMLName xml.Name `xml:"midi-name"`

	IValue string `xml:",chardata"`
}

MidiName is the structure for midi-name MusicXML element.

func (*MidiName) ToMXML ¶

func (r *MidiName) ToMXML() *MXML

ToMXML creates a MXML.

type MidiProgram ¶

type MidiProgram struct {
	XMLName xml.Name `xml:"midi-program"`

	IValue string `xml:",chardata"`
}

MidiProgram is the structure for midi-program MusicXML element.

func (*MidiProgram) ToMXML ¶

func (r *MidiProgram) ToMXML() *MXML

ToMXML creates a MXML.

type MidiUnpitched ¶

type MidiUnpitched struct {
	XMLName xml.Name `xml:"midi-unpitched"`

	IValue string `xml:",chardata"`
}

MidiUnpitched is the structure for midi-unpitched MusicXML element.

func (*MidiUnpitched) ToMXML ¶

func (r *MidiUnpitched) ToMXML() *MXML

ToMXML creates a MXML.

type Millimeters ¶

type Millimeters struct {
	XMLName xml.Name `xml:"millimeters"`

	IValue string `xml:",chardata"`
}

Millimeters is the structure for millimeters MusicXML element.

func (*Millimeters) ToMXML ¶

func (r *Millimeters) ToMXML() *MXML

ToMXML creates a MXML.

type Miscellaneous ¶

type Miscellaneous struct {
	XMLName xml.Name `xml:"miscellaneous"`

	MiscellaneousField []MiscellaneousField `xml:"miscellaneous-field,omitempty"`

	IValue string `xml:",chardata"`
}

Miscellaneous is the structure for miscellaneous MusicXML element.

func (*Miscellaneous) ToMXML ¶

func (r *Miscellaneous) ToMXML() *MXML

ToMXML creates a MXML.

type MiscellaneousField ¶

type MiscellaneousField struct {
	XMLName xml.Name `xml:"miscellaneous-field"`

	NameAttr string `xml:"name,attr,omitempty"`

	IValue string `xml:",chardata"`
}

MiscellaneousField is the structure for miscellaneous-field MusicXML element.

func (*MiscellaneousField) ToMXML ¶

func (r *MiscellaneousField) ToMXML() *MXML

ToMXML creates a MXML.

type Mode ¶

type Mode struct {
	XMLName xml.Name `xml:"mode"`

	IValue string `xml:",chardata"`
}

Mode is the structure for mode MusicXML element.

func (*Mode) ToMXML ¶

func (r *Mode) ToMXML() *MXML

ToMXML creates a MXML.

type Mordent ¶

type Mordent struct {
	XMLName xml.Name `xml:"mordent"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	ApproachAttr    string `xml:"approach,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	DepartureAttr   string `xml:"departure,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	LongAttr        string `xml:"long,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SecondBeatAttr  string `xml:"second-beat,attr,omitempty"`
	StartNoteAttr   string `xml:"start-note,attr,omitempty"`
	TrillStepAttr   string `xml:"trill-step,attr,omitempty"`
	TwoNoteTurnAttr string `xml:"two-note-turn,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Mordent is the structure for mordent MusicXML element.

func (*Mordent) ToMXML ¶

func (r *Mordent) ToMXML() *MXML

ToMXML creates a MXML.

type MovementNumber ¶

type MovementNumber struct {
	XMLName xml.Name `xml:"movement-number"`

	IValue string `xml:",chardata"`
}

MovementNumber is the structure for movement-number MusicXML element.

func (*MovementNumber) ToMXML ¶

func (r *MovementNumber) ToMXML() *MXML

ToMXML creates a MXML.

type MovementTitle ¶

type MovementTitle struct {
	XMLName xml.Name `xml:"movement-title"`

	IValue string `xml:",chardata"`
}

MovementTitle is the structure for movement-title MusicXML element.

func (*MovementTitle) ToMXML ¶

func (r *MovementTitle) ToMXML() *MXML

ToMXML creates a MXML.

type Mp ¶

type Mp struct {
	XMLName xml.Name `xml:"mp"`

	IValue string `xml:",chardata"`
}

Mp is the structure for mp MusicXML element.

func (*Mp) ToMXML ¶

func (r *Mp) ToMXML() *MXML

ToMXML creates a MXML.

type MultipleRest ¶

type MultipleRest struct {
	XMLName xml.Name `xml:"multiple-rest"`

	UseSymbolsAttr string `xml:"use-symbols,attr,omitempty"`

	IValue string `xml:",chardata"`
}

MultipleRest is the structure for multiple-rest MusicXML element.

func (*MultipleRest) ToMXML ¶

func (r *MultipleRest) ToMXML() *MXML

ToMXML creates a MXML.

type MusicFont ¶

type MusicFont struct {
	XMLName xml.Name `xml:"music-font"`

	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`

	IValue string `xml:",chardata"`
}

MusicFont is the structure for music-font MusicXML element.

func (*MusicFont) ToMXML ¶

func (r *MusicFont) ToMXML() *MXML

ToMXML creates a MXML.

type Mute ¶

type Mute struct {
	XMLName xml.Name `xml:"mute"`

	IValue string `xml:",chardata"`
}

Mute is the structure for mute MusicXML element.

func (*Mute) ToMXML ¶

func (r *Mute) ToMXML() *MXML

ToMXML creates a MXML.

type N ¶

type N struct {
	XMLName xml.Name `xml:"n"`

	IValue string `xml:",chardata"`
}

N is the structure for n MusicXML element.

func (*N) ToMXML ¶

func (r *N) ToMXML() *MXML

ToMXML creates a MXML.

type Natural ¶

type Natural struct {
	XMLName xml.Name `xml:"natural"`

	IValue string `xml:",chardata"`
}

Natural is the structure for natural MusicXML element.

func (*Natural) ToMXML ¶

func (r *Natural) ToMXML() *MXML

ToMXML creates a MXML.

type NonArpeggiate ¶

type NonArpeggiate struct {
	XMLName xml.Name `xml:"non-arpeggiate"`

	ColorAttr     string `xml:"color,attr,omitempty"`
	DefaultXAttr  string `xml:"default-x,attr,omitempty"`
	DefaultYAttr  string `xml:"default-y,attr,omitempty"`
	IdAttr        string `xml:"id,attr,omitempty"`
	NumberAttr    string `xml:"number,attr,omitempty"`
	PlacementAttr string `xml:"placement,attr,omitempty"`
	RelativeXAttr string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr string `xml:"relative-y,attr,omitempty"`
	TypeAttr      string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

NonArpeggiate is the structure for non-arpeggiate MusicXML element.

func (*NonArpeggiate) ToMXML ¶

func (r *NonArpeggiate) ToMXML() *MXML

ToMXML creates a MXML.

type NormalDot ¶

type NormalDot struct {
	XMLName xml.Name `xml:"normal-dot"`

	IValue string `xml:",chardata"`
}

NormalDot is the structure for normal-dot MusicXML element.

func (*NormalDot) ToMXML ¶

func (r *NormalDot) ToMXML() *MXML

ToMXML creates a MXML.

type NormalNotes ¶

type NormalNotes struct {
	XMLName xml.Name `xml:"normal-notes"`

	IValue string `xml:",chardata"`
}

NormalNotes is the structure for normal-notes MusicXML element.

func (*NormalNotes) ToMXML ¶

func (r *NormalNotes) ToMXML() *MXML

ToMXML creates a MXML.

type NormalType ¶

type NormalType struct {
	XMLName xml.Name `xml:"normal-type"`

	IValue string `xml:",chardata"`
}

NormalType is the structure for normal-type MusicXML element.

func (*NormalType) ToMXML ¶

func (r *NormalType) ToMXML() *MXML

ToMXML creates a MXML.

type Notations ¶

type Notations struct {
	XMLName xml.Name `xml:"notations"`

	IdAttr          string `xml:"id,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`

	AccidentalMark []AccidentalMark `xml:"accidental-mark,omitempty"`
	Arpeggiate     []Arpeggiate     `xml:"arpeggiate,omitempty"`
	Articulations  []Articulations  `xml:"articulations,omitempty"`
	Dynamics       []Dynamics       `xml:"dynamics,omitempty"`
	Fermata        []Fermata        `xml:"fermata,omitempty"`
	Footnote       []Footnote       `xml:"footnote,omitempty"`
	Glissando      []Glissando      `xml:"glissando,omitempty"`
	Level          []Level          `xml:"level,omitempty"`
	NonArpeggiate  []NonArpeggiate  `xml:"non-arpeggiate,omitempty"`
	Ornaments      []Ornaments      `xml:"ornaments,omitempty"`
	OtherNotation  []OtherNotation  `xml:"other-notation,omitempty"`
	Slide          []Slide          `xml:"slide,omitempty"`
	Slur           []Slur           `xml:"slur,omitempty"`
	Technical      []Technical      `xml:"technical,omitempty"`
	Tied           []Tied           `xml:"tied,omitempty"`
	Tuplet         []Tuplet         `xml:"tuplet,omitempty"`

	IValue string `xml:",chardata"`
}

Notations is the structure for notations MusicXML element.

func (*Notations) ToMXML ¶

func (r *Notations) ToMXML() *MXML

ToMXML creates a MXML.

type Note ¶

type Note struct {
	XMLName xml.Name `xml:"note"`

	AttackAttr       string `xml:"attack,attr,omitempty"`
	ColorAttr        string `xml:"color,attr,omitempty"`
	DefaultXAttr     string `xml:"default-x,attr,omitempty"`
	DefaultYAttr     string `xml:"default-y,attr,omitempty"`
	DynamicsAttr     string `xml:"dynamics,attr,omitempty"`
	EndDynamicsAttr  string `xml:"end-dynamics,attr,omitempty"`
	FontFamilyAttr   string `xml:"font-family,attr,omitempty"`
	FontSizeAttr     string `xml:"font-size,attr,omitempty"`
	FontStyleAttr    string `xml:"font-style,attr,omitempty"`
	FontWeightAttr   string `xml:"font-weight,attr,omitempty"`
	IdAttr           string `xml:"id,attr,omitempty"`
	PizzicatoAttr    string `xml:"pizzicato,attr,omitempty"`
	PrintDotAttr     string `xml:"print-dot,attr,omitempty"`
	PrintLegerAttr   string `xml:"print-leger,attr,omitempty"`
	PrintLyricAttr   string `xml:"print-lyric,attr,omitempty"`
	PrintObjectAttr  string `xml:"print-object,attr,omitempty"`
	PrintSpacingAttr string `xml:"print-spacing,attr,omitempty"`
	RelativeXAttr    string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr    string `xml:"relative-y,attr,omitempty"`
	ReleaseAttr      string `xml:"release,attr,omitempty"`
	TimeOnlyAttr     string `xml:"time-only,attr,omitempty"`

	Accidental       []Accidental       `xml:"accidental,omitempty"`
	Beam             []Beam             `xml:"beam,omitempty"`
	Chord            []Chord            `xml:"chord,omitempty"`
	Cue              []Cue              `xml:"cue,omitempty"`
	Dot              []Dot              `xml:"dot,omitempty"`
	Duration         []Duration         `xml:"duration,omitempty"`
	Footnote         []Footnote         `xml:"footnote,omitempty"`
	Grace            []Grace            `xml:"grace,omitempty"`
	Instrument       []Instrument       `xml:"instrument,omitempty"`
	Level            []Level            `xml:"level,omitempty"`
	Lyric            []Lyric            `xml:"lyric,omitempty"`
	Notations        []Notations        `xml:"notations,omitempty"`
	Notehead         []Notehead         `xml:"notehead,omitempty"`
	NoteheadText     []NoteheadText     `xml:"notehead-text,omitempty"`
	Pitch            []Pitch            `xml:"pitch,omitempty"`
	Play             []Play             `xml:"play,omitempty"`
	Rest             []Rest             `xml:"rest,omitempty"`
	Staff            []Staff            `xml:"staff,omitempty"`
	Stem             []Stem             `xml:"stem,omitempty"`
	Tie              []Tie              `xml:"tie,omitempty"`
	TimeModification []TimeModification `xml:"time-modification,omitempty"`
	Type             []Type             `xml:"type,omitempty"`
	Unpitched        []Unpitched        `xml:"unpitched,omitempty"`
	Voice            []Voice            `xml:"voice,omitempty"`

	IValue string `xml:",chardata"`
}

Note is the structure for note MusicXML element.

func (*Note) ToMXML ¶

func (r *Note) ToMXML() *MXML

ToMXML creates a MXML.

type NoteSize ¶

type NoteSize struct {
	XMLName xml.Name `xml:"note-size"`

	TypeAttr string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

NoteSize is the structure for note-size MusicXML element.

func (*NoteSize) ToMXML ¶

func (r *NoteSize) ToMXML() *MXML

ToMXML creates a MXML.

type Notehead ¶

type Notehead struct {
	XMLName xml.Name `xml:"notehead"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	FilledAttr      string `xml:"filled,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	ParenthesesAttr string `xml:"parentheses,attr,omitempty"`
	SmuflAttr       string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Notehead is the structure for notehead MusicXML element.

func (*Notehead) ToMXML ¶

func (r *Notehead) ToMXML() *MXML

ToMXML creates a MXML.

type NoteheadText ¶

type NoteheadText struct {
	XMLName xml.Name `xml:"notehead-text"`

	AccidentalText []AccidentalText `xml:"accidental-text,omitempty"`
	DisplayText    []DisplayText    `xml:"display-text,omitempty"`

	IValue string `xml:",chardata"`
}

NoteheadText is the structure for notehead-text MusicXML element.

func (*NoteheadText) ToMXML ¶

func (r *NoteheadText) ToMXML() *MXML

ToMXML creates a MXML.

type Octave ¶

type Octave struct {
	XMLName xml.Name `xml:"octave"`

	IValue string `xml:",chardata"`
}

Octave is the structure for octave MusicXML element.

func (*Octave) ToMXML ¶

func (r *Octave) ToMXML() *MXML

ToMXML creates a MXML.

type OctaveChange ¶

type OctaveChange struct {
	XMLName xml.Name `xml:"octave-change"`

	IValue string `xml:",chardata"`
}

OctaveChange is the structure for octave-change MusicXML element.

func (*OctaveChange) ToMXML ¶

func (r *OctaveChange) ToMXML() *MXML

ToMXML creates a MXML.

type OctaveShift ¶

type OctaveShift struct {
	XMLName xml.Name `xml:"octave-shift"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DashLengthAttr  string `xml:"dash-length,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SizeAttr        string `xml:"size,attr,omitempty"`
	SpaceLengthAttr string `xml:"space-length,attr,omitempty"`
	TypeAttr        string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

OctaveShift is the structure for octave-shift MusicXML element.

func (*OctaveShift) ToMXML ¶

func (r *OctaveShift) ToMXML() *MXML

ToMXML creates a MXML.

type Offset ¶

type Offset struct {
	XMLName xml.Name `xml:"offset"`

	SoundAttr string `xml:"sound,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Offset is the structure for offset MusicXML element.

func (*Offset) ToMXML ¶

func (r *Offset) ToMXML() *MXML

ToMXML creates a MXML.

type Open ¶

type Open struct {
	XMLName xml.Name `xml:"open"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	SmuflAttr      string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Open is the structure for open MusicXML element.

func (*Open) ToMXML ¶

func (r *Open) ToMXML() *MXML

ToMXML creates a MXML.

type OpenString ¶

type OpenString struct {
	XMLName xml.Name `xml:"open-string"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

OpenString is the structure for open-string MusicXML element.

func (*OpenString) ToMXML ¶

func (r *OpenString) ToMXML() *MXML

ToMXML creates a MXML.

type Opus ¶

type Opus struct {
	XMLName xml.Name `xml:"opus"`

	ActuateAttr string `xml:"actuate,attr,omitempty"`
	HrefAttr    string `xml:"href,attr,omitempty"`
	RoleAttr    string `xml:"role,attr,omitempty"`
	ShowAttr    string `xml:"show,attr,omitempty"`
	TitleAttr   string `xml:"title,attr,omitempty"`
	TypeAttr    string `xml:"type,attr,omitempty"`
	VersionAttr string `xml:"version,attr,omitempty"`

	Opus     []Opus     `xml:"opus,omitempty"`
	OpusLink []OpusLink `xml:"opus-link,omitempty"`
	Score    []Score    `xml:"score,omitempty"`
	Title    []Title    `xml:"title,omitempty"`

	IValue string `xml:",chardata"`
}

Opus is the structure for opus MusicXML element.

func (*Opus) ToMXML ¶

func (r *Opus) ToMXML() *MXML

ToMXML creates a MXML.

type OpusLink struct {
	XMLName xml.Name `xml:"opus-link"`

	ActuateAttr string `xml:"actuate,attr,omitempty"`
	HrefAttr    string `xml:"href,attr,omitempty"`
	RoleAttr    string `xml:"role,attr,omitempty"`
	ShowAttr    string `xml:"show,attr,omitempty"`
	TitleAttr   string `xml:"title,attr,omitempty"`
	TypeAttr    string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

OpusLink is the structure for opus-link MusicXML element.

func (*OpusLink) ToMXML ¶

func (r *OpusLink) ToMXML() *MXML

ToMXML creates a MXML.

type Ornaments ¶

type Ornaments struct {
	XMLName xml.Name `xml:"ornaments"`

	IdAttr string `xml:"id,attr,omitempty"`

	AccidentalMark       []AccidentalMark       `xml:"accidental-mark,omitempty"`
	DelayedInvertedTurn  []DelayedInvertedTurn  `xml:"delayed-inverted-turn,omitempty"`
	DelayedTurn          []DelayedTurn          `xml:"delayed-turn,omitempty"`
	Haydn                []Haydn                `xml:"haydn,omitempty"`
	InvertedMordent      []InvertedMordent      `xml:"inverted-mordent,omitempty"`
	InvertedTurn         []InvertedTurn         `xml:"inverted-turn,omitempty"`
	InvertedVerticalTurn []InvertedVerticalTurn `xml:"inverted-vertical-turn,omitempty"`
	Mordent              []Mordent              `xml:"mordent,omitempty"`
	OtherOrnament        []OtherOrnament        `xml:"other-ornament,omitempty"`
	Schleifer            []Schleifer            `xml:"schleifer,omitempty"`
	Shake                []Shake                `xml:"shake,omitempty"`
	Tremolo              []Tremolo              `xml:"tremolo,omitempty"`
	TrillMark            []TrillMark            `xml:"trill-mark,omitempty"`
	Turn                 []Turn                 `xml:"turn,omitempty"`
	VerticalTurn         []VerticalTurn         `xml:"vertical-turn,omitempty"`
	WavyLine             []WavyLine             `xml:"wavy-line,omitempty"`

	IValue string `xml:",chardata"`
}

Ornaments is the structure for ornaments MusicXML element.

func (*Ornaments) ToMXML ¶

func (r *Ornaments) ToMXML() *MXML

ToMXML creates a MXML.

type OtherAppearance ¶

type OtherAppearance struct {
	XMLName xml.Name `xml:"other-appearance"`

	TypeAttr string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

OtherAppearance is the structure for other-appearance MusicXML element.

func (*OtherAppearance) ToMXML ¶

func (r *OtherAppearance) ToMXML() *MXML

ToMXML creates a MXML.

type OtherArticulation ¶

type OtherArticulation struct {
	XMLName xml.Name `xml:"other-articulation"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	SmuflAttr      string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

OtherArticulation is the structure for other-articulation MusicXML element.

func (*OtherArticulation) ToMXML ¶

func (r *OtherArticulation) ToMXML() *MXML

ToMXML creates a MXML.

type OtherDirection ¶

type OtherDirection struct {
	XMLName xml.Name `xml:"other-direction"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	HalignAttr      string `xml:"halign,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SmuflAttr       string `xml:"smufl,attr,omitempty"`
	ValignAttr      string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

OtherDirection is the structure for other-direction MusicXML element.

func (*OtherDirection) ToMXML ¶

func (r *OtherDirection) ToMXML() *MXML

ToMXML creates a MXML.

type OtherDynamics ¶

type OtherDynamics struct {
	XMLName xml.Name `xml:"other-dynamics"`

	SmuflAttr string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

OtherDynamics is the structure for other-dynamics MusicXML element.

func (*OtherDynamics) ToMXML ¶

func (r *OtherDynamics) ToMXML() *MXML

ToMXML creates a MXML.

type OtherNotation ¶

type OtherNotation struct {
	XMLName xml.Name `xml:"other-notation"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SmuflAttr       string `xml:"smufl,attr,omitempty"`
	TypeAttr        string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

OtherNotation is the structure for other-notation MusicXML element.

func (*OtherNotation) ToMXML ¶

func (r *OtherNotation) ToMXML() *MXML

ToMXML creates a MXML.

type OtherOrnament ¶

type OtherOrnament struct {
	XMLName xml.Name `xml:"other-ornament"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	SmuflAttr      string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

OtherOrnament is the structure for other-ornament MusicXML element.

func (*OtherOrnament) ToMXML ¶

func (r *OtherOrnament) ToMXML() *MXML

ToMXML creates a MXML.

type OtherPercussion ¶

type OtherPercussion struct {
	XMLName xml.Name `xml:"other-percussion"`

	SmuflAttr string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

OtherPercussion is the structure for other-percussion MusicXML element.

func (*OtherPercussion) ToMXML ¶

func (r *OtherPercussion) ToMXML() *MXML

ToMXML creates a MXML.

type OtherPlay ¶

type OtherPlay struct {
	XMLName xml.Name `xml:"other-play"`

	TypeAttr string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

OtherPlay is the structure for other-play MusicXML element.

func (*OtherPlay) ToMXML ¶

func (r *OtherPlay) ToMXML() *MXML

ToMXML creates a MXML.

type OtherTechnical ¶

type OtherTechnical struct {
	XMLName xml.Name `xml:"other-technical"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	SmuflAttr      string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

OtherTechnical is the structure for other-technical MusicXML element.

func (*OtherTechnical) ToMXML ¶

func (r *OtherTechnical) ToMXML() *MXML

ToMXML creates a MXML.

type P ¶

type P struct {
	XMLName xml.Name `xml:"p"`

	IValue string `xml:",chardata"`
}

P is the structure for p MusicXML element.

func (*P) ToMXML ¶

func (r *P) ToMXML() *MXML

ToMXML creates a MXML.

type PageHeight ¶

type PageHeight struct {
	XMLName xml.Name `xml:"page-height"`

	IValue string `xml:",chardata"`
}

PageHeight is the structure for page-height MusicXML element.

func (*PageHeight) ToMXML ¶

func (r *PageHeight) ToMXML() *MXML

ToMXML creates a MXML.

type PageLayout ¶

type PageLayout struct {
	XMLName xml.Name `xml:"page-layout"`

	PageHeight  []PageHeight  `xml:"page-height,omitempty"`
	PageMargins []PageMargins `xml:"page-margins,omitempty"`
	PageWidth   []PageWidth   `xml:"page-width,omitempty"`

	IValue string `xml:",chardata"`
}

PageLayout is the structure for page-layout MusicXML element.

func (*PageLayout) ToMXML ¶

func (r *PageLayout) ToMXML() *MXML

ToMXML creates a MXML.

type PageMargins ¶

type PageMargins struct {
	XMLName xml.Name `xml:"page-margins"`

	TypeAttr string `xml:"type,attr,omitempty"`

	BottomMargin []BottomMargin `xml:"bottom-margin,omitempty"`
	LeftMargin   []LeftMargin   `xml:"left-margin,omitempty"`
	RightMargin  []RightMargin  `xml:"right-margin,omitempty"`
	TopMargin    []TopMargin    `xml:"top-margin,omitempty"`

	IValue string `xml:",chardata"`
}

PageMargins is the structure for page-margins MusicXML element.

func (*PageMargins) ToMXML ¶

func (r *PageMargins) ToMXML() *MXML

ToMXML creates a MXML.

type PageWidth ¶

type PageWidth struct {
	XMLName xml.Name `xml:"page-width"`

	IValue string `xml:",chardata"`
}

PageWidth is the structure for page-width MusicXML element.

func (*PageWidth) ToMXML ¶

func (r *PageWidth) ToMXML() *MXML

ToMXML creates a MXML.

type Pan ¶

type Pan struct {
	XMLName xml.Name `xml:"pan"`

	IValue string `xml:",chardata"`
}

Pan is the structure for pan MusicXML element.

func (*Pan) ToMXML ¶

func (r *Pan) ToMXML() *MXML

ToMXML creates a MXML.

type Part ¶

type Part struct {
	XMLName xml.Name `xml:"part"`

	IdAttr string `xml:"id,attr,omitempty"`

	Attributes  []Attributes  `xml:"attributes,omitempty"`
	Backup      []Backup      `xml:"backup,omitempty"`
	Barline     []Barline     `xml:"barline,omitempty"`
	Bookmark    []Bookmark    `xml:"bookmark,omitempty"`
	Direction   []Direction   `xml:"direction,omitempty"`
	FiguredBass []FiguredBass `xml:"figured-bass,omitempty"`
	Forward     []Forward     `xml:"forward,omitempty"`
	Grouping    []Grouping    `xml:"grouping,omitempty"`
	Harmony     []Harmony     `xml:"harmony,omitempty"`
	Link        []Link        `xml:"link,omitempty"`
	Measure     []Measure     `xml:"measure,omitempty"`
	Note        []Note        `xml:"note,omitempty"`
	Print       []Print       `xml:"print,omitempty"`
	Sound       []Sound       `xml:"sound,omitempty"`

	IValue string `xml:",chardata"`
}

Part is the structure for part MusicXML element.

func (*Part) ToMXML ¶

func (r *Part) ToMXML() *MXML

ToMXML creates a MXML.

type PartAbbreviation ¶

type PartAbbreviation struct {
	XMLName xml.Name `xml:"part-abbreviation"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	JustifyAttr     string `xml:"justify,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

PartAbbreviation is the structure for part-abbreviation MusicXML element.

func (*PartAbbreviation) ToMXML ¶

func (r *PartAbbreviation) ToMXML() *MXML

ToMXML creates a MXML.

type PartAbbreviationDisplay ¶

type PartAbbreviationDisplay struct {
	XMLName xml.Name `xml:"part-abbreviation-display"`

	PrintObjectAttr string `xml:"print-object,attr,omitempty"`

	AccidentalText []AccidentalText `xml:"accidental-text,omitempty"`
	DisplayText    []DisplayText    `xml:"display-text,omitempty"`

	IValue string `xml:",chardata"`
}

PartAbbreviationDisplay is the structure for part-abbreviation-display MusicXML element.

func (*PartAbbreviationDisplay) ToMXML ¶

func (r *PartAbbreviationDisplay) ToMXML() *MXML

ToMXML creates a MXML.

type PartGroup ¶

type PartGroup struct {
	XMLName xml.Name `xml:"part-group"`

	NumberAttr string `xml:"number,attr,omitempty"`
	TypeAttr   string `xml:"type,attr,omitempty"`

	Footnote                 []Footnote                 `xml:"footnote,omitempty"`
	GroupAbbreviation        []GroupAbbreviation        `xml:"group-abbreviation,omitempty"`
	GroupAbbreviationDisplay []GroupAbbreviationDisplay `xml:"group-abbreviation-display,omitempty"`
	GroupBarline             []GroupBarline             `xml:"group-barline,omitempty"`
	GroupName                []GroupName                `xml:"group-name,omitempty"`
	GroupNameDisplay         []GroupNameDisplay         `xml:"group-name-display,omitempty"`
	GroupSymbol              []GroupSymbol              `xml:"group-symbol,omitempty"`
	GroupTime                []GroupTime                `xml:"group-time,omitempty"`
	Level                    []Level                    `xml:"level,omitempty"`

	IValue string `xml:",chardata"`
}

PartGroup is the structure for part-group MusicXML element.

func (*PartGroup) ToMXML ¶

func (r *PartGroup) ToMXML() *MXML

ToMXML creates a MXML.

type PartList ¶

type PartList struct {
	XMLName xml.Name `xml:"part-list"`

	PartGroup []PartGroup `xml:"part-group,omitempty"`
	ScorePart []ScorePart `xml:"score-part,omitempty"`

	IValue string `xml:",chardata"`
}

PartList is the structure for part-list MusicXML element.

func (*PartList) ToMXML ¶

func (r *PartList) ToMXML() *MXML

ToMXML creates a MXML.

type PartName ¶

type PartName struct {
	XMLName xml.Name `xml:"part-name"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	JustifyAttr     string `xml:"justify,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

PartName is the structure for part-name MusicXML element.

func (*PartName) ToMXML ¶

func (r *PartName) ToMXML() *MXML

ToMXML creates a MXML.

type PartNameDisplay ¶

type PartNameDisplay struct {
	XMLName xml.Name `xml:"part-name-display"`

	PrintObjectAttr string `xml:"print-object,attr,omitempty"`

	AccidentalText []AccidentalText `xml:"accidental-text,omitempty"`
	DisplayText    []DisplayText    `xml:"display-text,omitempty"`

	IValue string `xml:",chardata"`
}

PartNameDisplay is the structure for part-name-display MusicXML element.

func (*PartNameDisplay) ToMXML ¶

func (r *PartNameDisplay) ToMXML() *MXML

ToMXML creates a MXML.

type PartSymbol ¶

type PartSymbol struct {
	XMLName xml.Name `xml:"part-symbol"`

	BottomStaffAttr string `xml:"bottom-staff,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	TopStaffAttr    string `xml:"top-staff,attr,omitempty"`

	IValue string `xml:",chardata"`
}

PartSymbol is the structure for part-symbol MusicXML element.

func (*PartSymbol) ToMXML ¶

func (r *PartSymbol) ToMXML() *MXML

ToMXML creates a MXML.

type Pedal ¶

type Pedal struct {
	XMLName xml.Name `xml:"pedal"`

	AbbreviatedAttr string `xml:"abbreviated,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	HalignAttr      string `xml:"halign,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	LineAttr        string `xml:"line,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SignAttr        string `xml:"sign,attr,omitempty"`
	TypeAttr        string `xml:"type,attr,omitempty"`
	ValignAttr      string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Pedal is the structure for pedal MusicXML element.

func (*Pedal) ToMXML ¶

func (r *Pedal) ToMXML() *MXML

ToMXML creates a MXML.

type PedalAlter ¶

type PedalAlter struct {
	XMLName xml.Name `xml:"pedal-alter"`

	IValue string `xml:",chardata"`
}

PedalAlter is the structure for pedal-alter MusicXML element.

func (*PedalAlter) ToMXML ¶

func (r *PedalAlter) ToMXML() *MXML

ToMXML creates a MXML.

type PedalStep ¶

type PedalStep struct {
	XMLName xml.Name `xml:"pedal-step"`

	IValue string `xml:",chardata"`
}

PedalStep is the structure for pedal-step MusicXML element.

func (*PedalStep) ToMXML ¶

func (r *PedalStep) ToMXML() *MXML

ToMXML creates a MXML.

type PedalTuning ¶

type PedalTuning struct {
	XMLName xml.Name `xml:"pedal-tuning"`

	PedalAlter []PedalAlter `xml:"pedal-alter,omitempty"`
	PedalStep  []PedalStep  `xml:"pedal-step,omitempty"`

	IValue string `xml:",chardata"`
}

PedalTuning is the structure for pedal-tuning MusicXML element.

func (*PedalTuning) ToMXML ¶

func (r *PedalTuning) ToMXML() *MXML

ToMXML creates a MXML.

type PerMinute ¶

type PerMinute struct {
	XMLName xml.Name `xml:"per-minute"`

	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`

	IValue string `xml:",chardata"`
}

PerMinute is the structure for per-minute MusicXML element.

func (*PerMinute) ToMXML ¶

func (r *PerMinute) ToMXML() *MXML

ToMXML creates a MXML.

type Percussion ¶

type Percussion struct {
	XMLName xml.Name `xml:"percussion"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	EnclosureAttr  string `xml:"enclosure,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HalignAttr     string `xml:"halign,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	ValignAttr     string `xml:"valign,attr,omitempty"`

	Beater          []Beater          `xml:"beater,omitempty"`
	Effect          []Effect          `xml:"effect,omitempty"`
	Glass           []Glass           `xml:"glass,omitempty"`
	Membrane        []Membrane        `xml:"membrane,omitempty"`
	Metal           []Metal           `xml:"metal,omitempty"`
	OtherPercussion []OtherPercussion `xml:"other-percussion,omitempty"`
	Pitched         []Pitched         `xml:"pitched,omitempty"`
	Stick           []Stick           `xml:"stick,omitempty"`
	StickLocation   []StickLocation   `xml:"stick-location,omitempty"`
	Timpani         []Timpani         `xml:"timpani,omitempty"`
	Wood            []Wood            `xml:"wood,omitempty"`

	IValue string `xml:",chardata"`
}

Percussion is the structure for percussion MusicXML element.

func (*Percussion) ToMXML ¶

func (r *Percussion) ToMXML() *MXML

ToMXML creates a MXML.

type Pf ¶

type Pf struct {
	XMLName xml.Name `xml:"pf"`

	IValue string `xml:",chardata"`
}

Pf is the structure for pf MusicXML element.

func (*Pf) ToMXML ¶

func (r *Pf) ToMXML() *MXML

ToMXML creates a MXML.

type Pitch ¶

type Pitch struct {
	XMLName xml.Name `xml:"pitch"`

	Alter  []Alter  `xml:"alter,omitempty"`
	Octave []Octave `xml:"octave,omitempty"`
	Step   []Step   `xml:"step,omitempty"`

	IValue string `xml:",chardata"`
}

Pitch is the structure for pitch MusicXML element.

func (*Pitch) ToMXML ¶

func (r *Pitch) ToMXML() *MXML

ToMXML creates a MXML.

type Pitched ¶

type Pitched struct {
	XMLName xml.Name `xml:"pitched"`

	SmuflAttr string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Pitched is the structure for pitched MusicXML element.

func (*Pitched) ToMXML ¶

func (r *Pitched) ToMXML() *MXML

ToMXML creates a MXML.

type Play ¶

type Play struct {
	XMLName xml.Name `xml:"play"`

	IdAttr string `xml:"id,attr,omitempty"`

	Ipa         []Ipa         `xml:"ipa,omitempty"`
	Mute        []Mute        `xml:"mute,omitempty"`
	OtherPlay   []OtherPlay   `xml:"other-play,omitempty"`
	SemiPitched []SemiPitched `xml:"semi-pitched,omitempty"`

	IValue string `xml:",chardata"`
}

Play is the structure for play MusicXML element.

func (*Play) ToMXML ¶

func (r *Play) ToMXML() *MXML

ToMXML creates a MXML.

type Plop ¶

type Plop struct {
	XMLName xml.Name `xml:"plop"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DashLengthAttr  string `xml:"dash-length,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LineLengthAttr  string `xml:"line-length,attr,omitempty"`
	LineShapeAttr   string `xml:"line-shape,attr,omitempty"`
	LineTypeAttr    string `xml:"line-type,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SpaceLengthAttr string `xml:"space-length,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Plop is the structure for plop MusicXML element.

func (*Plop) ToMXML ¶

func (r *Plop) ToMXML() *MXML

ToMXML creates a MXML.

type Pluck ¶

type Pluck struct {
	XMLName xml.Name `xml:"pluck"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Pluck is the structure for pluck MusicXML element.

func (*Pluck) ToMXML ¶

func (r *Pluck) ToMXML() *MXML

ToMXML creates a MXML.

type Pp ¶

type Pp struct {
	XMLName xml.Name `xml:"pp"`

	IValue string `xml:",chardata"`
}

Pp is the structure for pp MusicXML element.

func (*Pp) ToMXML ¶

func (r *Pp) ToMXML() *MXML

ToMXML creates a MXML.

type Ppp ¶

type Ppp struct {
	XMLName xml.Name `xml:"ppp"`

	IValue string `xml:",chardata"`
}

Ppp is the structure for ppp MusicXML element.

func (*Ppp) ToMXML ¶

func (r *Ppp) ToMXML() *MXML

ToMXML creates a MXML.

type Pppp ¶

type Pppp struct {
	XMLName xml.Name `xml:"pppp"`

	IValue string `xml:",chardata"`
}

Pppp is the structure for pppp MusicXML element.

func (*Pppp) ToMXML ¶

func (r *Pppp) ToMXML() *MXML

ToMXML creates a MXML.

type Ppppp ¶

type Ppppp struct {
	XMLName xml.Name `xml:"ppppp"`

	IValue string `xml:",chardata"`
}

Ppppp is the structure for ppppp MusicXML element.

func (*Ppppp) ToMXML ¶

func (r *Ppppp) ToMXML() *MXML

ToMXML creates a MXML.

type Pppppp ¶

type Pppppp struct {
	XMLName xml.Name `xml:"pppppp"`

	IValue string `xml:",chardata"`
}

Pppppp is the structure for pppppp MusicXML element.

func (*Pppppp) ToMXML ¶

func (r *Pppppp) ToMXML() *MXML

ToMXML creates a MXML.

type PreBend ¶

type PreBend struct {
	XMLName xml.Name `xml:"pre-bend"`

	IValue string `xml:",chardata"`
}

PreBend is the structure for pre-bend MusicXML element.

func (*PreBend) ToMXML ¶

func (r *PreBend) ToMXML() *MXML

ToMXML creates a MXML.

type Prefix ¶

type Prefix struct {
	XMLName xml.Name `xml:"prefix"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Prefix is the structure for prefix MusicXML element.

func (*Prefix) ToMXML ¶

func (r *Prefix) ToMXML() *MXML

ToMXML creates a MXML.

type PrincipalVoice ¶

type PrincipalVoice struct {
	XMLName xml.Name `xml:"principal-voice"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HalignAttr     string `xml:"halign,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	SymbolAttr     string `xml:"symbol,attr,omitempty"`
	TypeAttr       string `xml:"type,attr,omitempty"`
	ValignAttr     string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

PrincipalVoice is the structure for principal-voice MusicXML element.

func (*PrincipalVoice) ToMXML ¶

func (r *PrincipalVoice) ToMXML() *MXML

ToMXML creates a MXML.

type Print ¶

type Print struct {
	XMLName xml.Name `xml:"print"`

	BlankPageAttr    string `xml:"blank-page,attr,omitempty"`
	IdAttr           string `xml:"id,attr,omitempty"`
	NewPageAttr      string `xml:"new-page,attr,omitempty"`
	NewSystemAttr    string `xml:"new-system,attr,omitempty"`
	PageNumberAttr   string `xml:"page-number,attr,omitempty"`
	StaffSpacingAttr string `xml:"staff-spacing,attr,omitempty"`

	MeasureLayout           []MeasureLayout           `xml:"measure-layout,omitempty"`
	MeasureNumbering        []MeasureNumbering        `xml:"measure-numbering,omitempty"`
	PageLayout              []PageLayout              `xml:"page-layout,omitempty"`
	PartAbbreviationDisplay []PartAbbreviationDisplay `xml:"part-abbreviation-display,omitempty"`
	PartNameDisplay         []PartNameDisplay         `xml:"part-name-display,omitempty"`
	StaffLayout             []StaffLayout             `xml:"staff-layout,omitempty"`
	SystemLayout            []SystemLayout            `xml:"system-layout,omitempty"`

	IValue string `xml:",chardata"`
}

Print is the structure for print MusicXML element.

func (*Print) ToMXML ¶

func (r *Print) ToMXML() *MXML

ToMXML creates a MXML.

type PullOff ¶

type PullOff struct {
	XMLName xml.Name `xml:"pull-off"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	NumberAttr     string `xml:"number,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	TypeAttr       string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

PullOff is the structure for pull-off MusicXML element.

func (*PullOff) ToMXML ¶

func (r *PullOff) ToMXML() *MXML

ToMXML creates a MXML.

type Rehearsal ¶

type Rehearsal struct {
	XMLName xml.Name `xml:"rehearsal"`

	ColorAttr         string `xml:"color,attr,omitempty"`
	DefaultXAttr      string `xml:"default-x,attr,omitempty"`
	DefaultYAttr      string `xml:"default-y,attr,omitempty"`
	DirAttr           string `xml:"dir,attr,omitempty"`
	EnclosureAttr     string `xml:"enclosure,attr,omitempty"`
	FontFamilyAttr    string `xml:"font-family,attr,omitempty"`
	FontSizeAttr      string `xml:"font-size,attr,omitempty"`
	FontStyleAttr     string `xml:"font-style,attr,omitempty"`
	FontWeightAttr    string `xml:"font-weight,attr,omitempty"`
	HalignAttr        string `xml:"halign,attr,omitempty"`
	IdAttr            string `xml:"id,attr,omitempty"`
	JustifyAttr       string `xml:"justify,attr,omitempty"`
	LangAttr          string `xml:"lang,attr,omitempty"`
	LetterSpacingAttr string `xml:"letter-spacing,attr,omitempty"`
	LineHeightAttr    string `xml:"line-height,attr,omitempty"`
	LineThroughAttr   string `xml:"line-through,attr,omitempty"`
	OverlineAttr      string `xml:"overline,attr,omitempty"`
	RelativeXAttr     string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr     string `xml:"relative-y,attr,omitempty"`
	RotationAttr      string `xml:"rotation,attr,omitempty"`
	SpaceAttr         string `xml:"space,attr,omitempty"`
	UnderlineAttr     string `xml:"underline,attr,omitempty"`
	ValignAttr        string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Rehearsal is the structure for rehearsal MusicXML element.

func (*Rehearsal) ToMXML ¶

func (r *Rehearsal) ToMXML() *MXML

ToMXML creates a MXML.

type Relation ¶

type Relation struct {
	XMLName xml.Name `xml:"relation"`

	TypeAttr string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Relation is the structure for relation MusicXML element.

func (*Relation) ToMXML ¶

func (r *Relation) ToMXML() *MXML

ToMXML creates a MXML.

type Release ¶

type Release struct {
	XMLName xml.Name `xml:"release"`

	IValue string `xml:",chardata"`
}

Release is the structure for release MusicXML element.

func (*Release) ToMXML ¶

func (r *Release) ToMXML() *MXML

ToMXML creates a MXML.

type Repeat ¶

type Repeat struct {
	XMLName xml.Name `xml:"repeat"`

	DirectionAttr string `xml:"direction,attr,omitempty"`
	TimesAttr     string `xml:"times,attr,omitempty"`
	WingedAttr    string `xml:"winged,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Repeat is the structure for repeat MusicXML element.

func (*Repeat) ToMXML ¶

func (r *Repeat) ToMXML() *MXML

ToMXML creates a MXML.

type Rest ¶

type Rest struct {
	XMLName xml.Name `xml:"rest"`

	MeasureAttr string `xml:"measure,attr,omitempty"`

	DisplayOctave []DisplayOctave `xml:"display-octave,omitempty"`
	DisplayStep   []DisplayStep   `xml:"display-step,omitempty"`

	IValue string `xml:",chardata"`
}

Rest is the structure for rest MusicXML element.

func (*Rest) ToMXML ¶

func (r *Rest) ToMXML() *MXML

ToMXML creates a MXML.

type Rf ¶

type Rf struct {
	XMLName xml.Name `xml:"rf"`

	IValue string `xml:",chardata"`
}

Rf is the structure for rf MusicXML element.

func (*Rf) ToMXML ¶

func (r *Rf) ToMXML() *MXML

ToMXML creates a MXML.

type Rfz ¶

type Rfz struct {
	XMLName xml.Name `xml:"rfz"`

	IValue string `xml:",chardata"`
}

Rfz is the structure for rfz MusicXML element.

func (*Rfz) ToMXML ¶

func (r *Rfz) ToMXML() *MXML

ToMXML creates a MXML.

type RightDivider ¶

type RightDivider struct {
	XMLName xml.Name `xml:"right-divider"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	HalignAttr      string `xml:"halign,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	ValignAttr      string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

RightDivider is the structure for right-divider MusicXML element.

func (*RightDivider) ToMXML ¶

func (r *RightDivider) ToMXML() *MXML

ToMXML creates a MXML.

type RightMargin ¶

type RightMargin struct {
	XMLName xml.Name `xml:"right-margin"`

	IValue string `xml:",chardata"`
}

RightMargin is the structure for right-margin MusicXML element.

func (*RightMargin) ToMXML ¶

func (r *RightMargin) ToMXML() *MXML

ToMXML creates a MXML.

type Rights ¶

type Rights struct {
	XMLName xml.Name `xml:"rights"`

	TypeAttr string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Rights is the structure for rights MusicXML element.

func (*Rights) ToMXML ¶

func (r *Rights) ToMXML() *MXML

ToMXML creates a MXML.

type Root ¶

type Root struct {
	XMLName xml.Name `xml:"root"`

	RootAlter []RootAlter `xml:"root-alter,omitempty"`
	RootStep  []RootStep  `xml:"root-step,omitempty"`

	IValue string `xml:",chardata"`
}

Root is the structure for root MusicXML element.

func (*Root) ToMXML ¶

func (r *Root) ToMXML() *MXML

ToMXML creates a MXML.

type RootAlter ¶

type RootAlter struct {
	XMLName xml.Name `xml:"root-alter"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LocationAttr    string `xml:"location,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

RootAlter is the structure for root-alter MusicXML element.

func (*RootAlter) ToMXML ¶

func (r *RootAlter) ToMXML() *MXML

ToMXML creates a MXML.

type RootStep ¶

type RootStep struct {
	XMLName xml.Name `xml:"root-step"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	TextAttr       string `xml:"text,attr,omitempty"`

	IValue string `xml:",chardata"`
}

RootStep is the structure for root-step MusicXML element.

func (*RootStep) ToMXML ¶

func (r *RootStep) ToMXML() *MXML

ToMXML creates a MXML.

type Scaling ¶

type Scaling struct {
	XMLName xml.Name `xml:"scaling"`

	Millimeters []Millimeters `xml:"millimeters,omitempty"`
	Tenths      []Tenths      `xml:"tenths,omitempty"`

	IValue string `xml:",chardata"`
}

Scaling is the structure for scaling MusicXML element.

func (*Scaling) ToMXML ¶

func (r *Scaling) ToMXML() *MXML

ToMXML creates a MXML.

type Schleifer ¶

type Schleifer struct {
	XMLName xml.Name `xml:"schleifer"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Schleifer is the structure for schleifer MusicXML element.

func (*Schleifer) ToMXML ¶

func (r *Schleifer) ToMXML() *MXML

ToMXML creates a MXML.

type Scoop ¶

type Scoop struct {
	XMLName xml.Name `xml:"scoop"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DashLengthAttr  string `xml:"dash-length,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LineLengthAttr  string `xml:"line-length,attr,omitempty"`
	LineShapeAttr   string `xml:"line-shape,attr,omitempty"`
	LineTypeAttr    string `xml:"line-type,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SpaceLengthAttr string `xml:"space-length,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Scoop is the structure for scoop MusicXML element.

func (*Scoop) ToMXML ¶

func (r *Scoop) ToMXML() *MXML

ToMXML creates a MXML.

type Scordatura ¶

type Scordatura struct {
	XMLName xml.Name `xml:"scordatura"`

	IdAttr string `xml:"id,attr,omitempty"`

	Accord []Accord `xml:"accord,omitempty"`

	IValue string `xml:",chardata"`
}

Scordatura is the structure for scordatura MusicXML element.

func (*Scordatura) ToMXML ¶

func (r *Scordatura) ToMXML() *MXML

ToMXML creates a MXML.

type Score ¶

type Score struct {
	XMLName xml.Name `xml:"score"`

	ActuateAttr string `xml:"actuate,attr,omitempty"`
	HrefAttr    string `xml:"href,attr,omitempty"`
	NewPageAttr string `xml:"new-page,attr,omitempty"`
	RoleAttr    string `xml:"role,attr,omitempty"`
	ShowAttr    string `xml:"show,attr,omitempty"`
	TitleAttr   string `xml:"title,attr,omitempty"`
	TypeAttr    string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Score is the structure for score MusicXML element.

func (*Score) ToMXML ¶

func (r *Score) ToMXML() *MXML

ToMXML creates a MXML.

type ScoreInstrument ¶

type ScoreInstrument struct {
	XMLName xml.Name `xml:"score-instrument"`

	IdAttr string `xml:"id,attr,omitempty"`

	Ensemble               []Ensemble               `xml:"ensemble,omitempty"`
	InstrumentAbbreviation []InstrumentAbbreviation `xml:"instrument-abbreviation,omitempty"`
	InstrumentName         []InstrumentName         `xml:"instrument-name,omitempty"`
	InstrumentSound        []InstrumentSound        `xml:"instrument-sound,omitempty"`
	Solo                   []Solo                   `xml:"solo,omitempty"`
	VirtualInstrument      []VirtualInstrument      `xml:"virtual-instrument,omitempty"`

	IValue string `xml:",chardata"`
}

ScoreInstrument is the structure for score-instrument MusicXML element.

func (*ScoreInstrument) ToMXML ¶

func (r *ScoreInstrument) ToMXML() *MXML

ToMXML creates a MXML.

type ScorePart ¶

type ScorePart struct {
	XMLName xml.Name `xml:"score-part"`

	IdAttr string `xml:"id,attr,omitempty"`

	Group                   []Group                   `xml:"group,omitempty"`
	Identification          []Identification          `xml:"identification,omitempty"`
	MidiDevice              []MidiDevice              `xml:"midi-device,omitempty"`
	MidiInstrument          []MidiInstrument          `xml:"midi-instrument,omitempty"`
	PartAbbreviation        []PartAbbreviation        `xml:"part-abbreviation,omitempty"`
	PartAbbreviationDisplay []PartAbbreviationDisplay `xml:"part-abbreviation-display,omitempty"`
	PartName                []PartName                `xml:"part-name,omitempty"`
	PartNameDisplay         []PartNameDisplay         `xml:"part-name-display,omitempty"`
	ScoreInstrument         []ScoreInstrument         `xml:"score-instrument,omitempty"`

	IValue string `xml:",chardata"`
}

ScorePart is the structure for score-part MusicXML element.

func (*ScorePart) ToMXML ¶

func (r *ScorePart) ToMXML() *MXML

ToMXML creates a MXML.

type ScorePartwise ¶

type ScorePartwise struct {
	XMLName xml.Name `xml:"score-partwise"`

	VersionAttr string `xml:"version,attr,omitempty"`

	Credit         []Credit         `xml:"credit,omitempty"`
	Defaults       []Defaults       `xml:"defaults,omitempty"`
	Identification []Identification `xml:"identification,omitempty"`
	MovementNumber []MovementNumber `xml:"movement-number,omitempty"`
	MovementTitle  []MovementTitle  `xml:"movement-title,omitempty"`
	Part           []Part           `xml:"part,omitempty"`
	PartList       []PartList       `xml:"part-list,omitempty"`
	Work           []Work           `xml:"work,omitempty"`

	IValue string `xml:",chardata"`
}

ScorePartwise is the structure for score-partwise MusicXML element.

func (*ScorePartwise) ToMXML ¶

func (r *ScorePartwise) ToMXML() *MXML

ToMXML creates a MXML.

type ScoreTimewise ¶

type ScoreTimewise struct {
	XMLName xml.Name `xml:"score-timewise"`

	VersionAttr string `xml:"version,attr,omitempty"`

	Credit         []Credit         `xml:"credit,omitempty"`
	Defaults       []Defaults       `xml:"defaults,omitempty"`
	Identification []Identification `xml:"identification,omitempty"`
	Measure        []Measure        `xml:"measure,omitempty"`
	MovementNumber []MovementNumber `xml:"movement-number,omitempty"`
	MovementTitle  []MovementTitle  `xml:"movement-title,omitempty"`
	PartList       []PartList       `xml:"part-list,omitempty"`
	Work           []Work           `xml:"work,omitempty"`

	IValue string `xml:",chardata"`
}

ScoreTimewise is the structure for score-timewise MusicXML element.

func (*ScoreTimewise) ToMXML ¶

func (r *ScoreTimewise) ToMXML() *MXML

ToMXML creates a MXML.

type Segno ¶

type Segno struct {
	XMLName xml.Name `xml:"segno"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HalignAttr     string `xml:"halign,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	SmuflAttr      string `xml:"smufl,attr,omitempty"`
	ValignAttr     string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Segno is the structure for segno MusicXML element.

func (*Segno) ToMXML ¶

func (r *Segno) ToMXML() *MXML

ToMXML creates a MXML.

type SemiPitched ¶

type SemiPitched struct {
	XMLName xml.Name `xml:"semi-pitched"`

	IValue string `xml:",chardata"`
}

SemiPitched is the structure for semi-pitched MusicXML element.

func (*SemiPitched) ToMXML ¶

func (r *SemiPitched) ToMXML() *MXML

ToMXML creates a MXML.

type SenzaMisura ¶

type SenzaMisura struct {
	XMLName xml.Name `xml:"senza-misura"`

	IValue string `xml:",chardata"`
}

SenzaMisura is the structure for senza-misura MusicXML element.

func (*SenzaMisura) ToMXML ¶

func (r *SenzaMisura) ToMXML() *MXML

ToMXML creates a MXML.

type Sf ¶

type Sf struct {
	XMLName xml.Name `xml:"sf"`

	IValue string `xml:",chardata"`
}

Sf is the structure for sf MusicXML element.

func (*Sf) ToMXML ¶

func (r *Sf) ToMXML() *MXML

ToMXML creates a MXML.

type Sffz ¶

type Sffz struct {
	XMLName xml.Name `xml:"sffz"`

	IValue string `xml:",chardata"`
}

Sffz is the structure for sffz MusicXML element.

func (*Sffz) ToMXML ¶

func (r *Sffz) ToMXML() *MXML

ToMXML creates a MXML.

type Sfp ¶

type Sfp struct {
	XMLName xml.Name `xml:"sfp"`

	IValue string `xml:",chardata"`
}

Sfp is the structure for sfp MusicXML element.

func (*Sfp) ToMXML ¶

func (r *Sfp) ToMXML() *MXML

ToMXML creates a MXML.

type Sfpp ¶

type Sfpp struct {
	XMLName xml.Name `xml:"sfpp"`

	IValue string `xml:",chardata"`
}

Sfpp is the structure for sfpp MusicXML element.

func (*Sfpp) ToMXML ¶

func (r *Sfpp) ToMXML() *MXML

ToMXML creates a MXML.

type Sfz ¶

type Sfz struct {
	XMLName xml.Name `xml:"sfz"`

	IValue string `xml:",chardata"`
}

Sfz is the structure for sfz MusicXML element.

func (*Sfz) ToMXML ¶

func (r *Sfz) ToMXML() *MXML

ToMXML creates a MXML.

type Sfzp ¶

type Sfzp struct {
	XMLName xml.Name `xml:"sfzp"`

	IValue string `xml:",chardata"`
}

Sfzp is the structure for sfzp MusicXML element.

func (*Sfzp) ToMXML ¶

func (r *Sfzp) ToMXML() *MXML

ToMXML creates a MXML.

type Shake ¶

type Shake struct {
	XMLName xml.Name `xml:"shake"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SecondBeatAttr  string `xml:"second-beat,attr,omitempty"`
	StartNoteAttr   string `xml:"start-note,attr,omitempty"`
	TrillStepAttr   string `xml:"trill-step,attr,omitempty"`
	TwoNoteTurnAttr string `xml:"two-note-turn,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Shake is the structure for shake MusicXML element.

func (*Shake) ToMXML ¶

func (r *Shake) ToMXML() *MXML

ToMXML creates a MXML.

type Sign ¶

type Sign struct {
	XMLName xml.Name `xml:"sign"`

	IValue string `xml:",chardata"`
}

Sign is the structure for sign MusicXML element.

func (*Sign) ToMXML ¶

func (r *Sign) ToMXML() *MXML

ToMXML creates a MXML.

type Slash ¶

type Slash struct {
	XMLName xml.Name `xml:"slash"`

	TypeAttr     string `xml:"type,attr,omitempty"`
	UseDotsAttr  string `xml:"use-dots,attr,omitempty"`
	UseStemsAttr string `xml:"use-stems,attr,omitempty"`

	ExceptVoice []ExceptVoice `xml:"except-voice,omitempty"`
	SlashDot    []SlashDot    `xml:"slash-dot,omitempty"`
	SlashType   []SlashType   `xml:"slash-type,omitempty"`

	IValue string `xml:",chardata"`
}

Slash is the structure for slash MusicXML element.

func (*Slash) ToMXML ¶

func (r *Slash) ToMXML() *MXML

ToMXML creates a MXML.

type SlashDot ¶

type SlashDot struct {
	XMLName xml.Name `xml:"slash-dot"`

	IValue string `xml:",chardata"`
}

SlashDot is the structure for slash-dot MusicXML element.

func (*SlashDot) ToMXML ¶

func (r *SlashDot) ToMXML() *MXML

ToMXML creates a MXML.

type SlashType ¶

type SlashType struct {
	XMLName xml.Name `xml:"slash-type"`

	IValue string `xml:",chardata"`
}

SlashType is the structure for slash-type MusicXML element.

func (*SlashType) ToMXML ¶

func (r *SlashType) ToMXML() *MXML

ToMXML creates a MXML.

type Slide ¶

type Slide struct {
	XMLName xml.Name `xml:"slide"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DashLengthAttr  string `xml:"dash-length,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FirstBeatAttr   string `xml:"first-beat,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	LineTypeAttr    string `xml:"line-type,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SpaceLengthAttr string `xml:"space-length,attr,omitempty"`
	TypeAttr        string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Slide is the structure for slide MusicXML element.

func (*Slide) ToMXML ¶

func (r *Slide) ToMXML() *MXML

ToMXML creates a MXML.

type Slur ¶

type Slur struct {
	XMLName xml.Name `xml:"slur"`

	BezierOffsetAttr  string `xml:"bezier-offset,attr,omitempty"`
	BezierOffset2Attr string `xml:"bezier-offset2,attr,omitempty"`
	BezierXAttr       string `xml:"bezier-x,attr,omitempty"`
	BezierX2Attr      string `xml:"bezier-x2,attr,omitempty"`
	BezierYAttr       string `xml:"bezier-y,attr,omitempty"`
	BezierY2Attr      string `xml:"bezier-y2,attr,omitempty"`
	ColorAttr         string `xml:"color,attr,omitempty"`
	DashLengthAttr    string `xml:"dash-length,attr,omitempty"`
	DefaultXAttr      string `xml:"default-x,attr,omitempty"`
	DefaultYAttr      string `xml:"default-y,attr,omitempty"`
	IdAttr            string `xml:"id,attr,omitempty"`
	LineTypeAttr      string `xml:"line-type,attr,omitempty"`
	NumberAttr        string `xml:"number,attr,omitempty"`
	OrientationAttr   string `xml:"orientation,attr,omitempty"`
	PlacementAttr     string `xml:"placement,attr,omitempty"`
	RelativeXAttr     string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr     string `xml:"relative-y,attr,omitempty"`
	SpaceLengthAttr   string `xml:"space-length,attr,omitempty"`
	TypeAttr          string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Slur is the structure for slur MusicXML element.

func (*Slur) ToMXML ¶

func (r *Slur) ToMXML() *MXML

ToMXML creates a MXML.

type Smear ¶

type Smear struct {
	XMLName xml.Name `xml:"smear"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Smear is the structure for smear MusicXML element.

func (*Smear) ToMXML ¶

func (r *Smear) ToMXML() *MXML

ToMXML creates a MXML.

type SnapPizzicato ¶

type SnapPizzicato struct {
	XMLName xml.Name `xml:"snap-pizzicato"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

SnapPizzicato is the structure for snap-pizzicato MusicXML element.

func (*SnapPizzicato) ToMXML ¶

func (r *SnapPizzicato) ToMXML() *MXML

ToMXML creates a MXML.

type SoftAccent ¶

type SoftAccent struct {
	XMLName xml.Name `xml:"soft-accent"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

SoftAccent is the structure for soft-accent MusicXML element.

func (*SoftAccent) ToMXML ¶

func (r *SoftAccent) ToMXML() *MXML

ToMXML creates a MXML.

type Software ¶

type Software struct {
	XMLName xml.Name `xml:"software"`

	IValue string `xml:",chardata"`
}

Software is the structure for software MusicXML element.

func (*Software) ToMXML ¶

func (r *Software) ToMXML() *MXML

ToMXML creates a MXML.

type Solo ¶

type Solo struct {
	XMLName xml.Name `xml:"solo"`

	IValue string `xml:",chardata"`
}

Solo is the structure for solo MusicXML element.

func (*Solo) ToMXML ¶

func (r *Solo) ToMXML() *MXML

ToMXML creates a MXML.

type Sound ¶

type Sound struct {
	XMLName xml.Name `xml:"sound"`

	CodaAttr           string `xml:"coda,attr,omitempty"`
	DacapoAttr         string `xml:"dacapo,attr,omitempty"`
	DalsegnoAttr       string `xml:"dalsegno,attr,omitempty"`
	DamperPedalAttr    string `xml:"damper-pedal,attr,omitempty"`
	DivisionsAttr      string `xml:"divisions,attr,omitempty"`
	DynamicsAttr       string `xml:"dynamics,attr,omitempty"`
	ElevationAttr      string `xml:"elevation,attr,omitempty"`
	FineAttr           string `xml:"fine,attr,omitempty"`
	ForwardRepeatAttr  string `xml:"forward-repeat,attr,omitempty"`
	IdAttr             string `xml:"id,attr,omitempty"`
	PanAttr            string `xml:"pan,attr,omitempty"`
	PizzicatoAttr      string `xml:"pizzicato,attr,omitempty"`
	SegnoAttr          string `xml:"segno,attr,omitempty"`
	SoftPedalAttr      string `xml:"soft-pedal,attr,omitempty"`
	SostenutoPedalAttr string `xml:"sostenuto-pedal,attr,omitempty"`
	TempoAttr          string `xml:"tempo,attr,omitempty"`
	TimeOnlyAttr       string `xml:"time-only,attr,omitempty"`
	TocodaAttr         string `xml:"tocoda,attr,omitempty"`

	MidiDevice     []MidiDevice     `xml:"midi-device,omitempty"`
	MidiInstrument []MidiInstrument `xml:"midi-instrument,omitempty"`
	Offset         []Offset         `xml:"offset,omitempty"`
	Play           []Play           `xml:"play,omitempty"`

	IValue string `xml:",chardata"`
}

Sound is the structure for sound MusicXML element.

func (*Sound) ToMXML ¶

func (r *Sound) ToMXML() *MXML

ToMXML creates a MXML.

type SoundingPitch ¶

type SoundingPitch struct {
	XMLName xml.Name `xml:"sounding-pitch"`

	IValue string `xml:",chardata"`
}

SoundingPitch is the structure for sounding-pitch MusicXML element.

func (*SoundingPitch) ToMXML ¶

func (r *SoundingPitch) ToMXML() *MXML

ToMXML creates a MXML.

type Source ¶

type Source struct {
	XMLName xml.Name `xml:"source"`

	IValue string `xml:",chardata"`
}

Source is the structure for source MusicXML element.

func (*Source) ToMXML ¶

func (r *Source) ToMXML() *MXML

ToMXML creates a MXML.

type Spiccato ¶

type Spiccato struct {
	XMLName xml.Name `xml:"spiccato"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Spiccato is the structure for spiccato MusicXML element.

func (*Spiccato) ToMXML ¶

func (r *Spiccato) ToMXML() *MXML

ToMXML creates a MXML.

type Staccatissimo ¶

type Staccatissimo struct {
	XMLName xml.Name `xml:"staccatissimo"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Staccatissimo is the structure for staccatissimo MusicXML element.

func (*Staccatissimo) ToMXML ¶

func (r *Staccatissimo) ToMXML() *MXML

ToMXML creates a MXML.

type Staccato ¶

type Staccato struct {
	XMLName xml.Name `xml:"staccato"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Staccato is the structure for staccato MusicXML element.

func (*Staccato) ToMXML ¶

func (r *Staccato) ToMXML() *MXML

ToMXML creates a MXML.

type Staff ¶

type Staff struct {
	XMLName xml.Name `xml:"staff"`

	IValue string `xml:",chardata"`
}

Staff is the structure for staff MusicXML element.

func (*Staff) ToMXML ¶

func (r *Staff) ToMXML() *MXML

ToMXML creates a MXML.

type StaffDetails ¶

type StaffDetails struct {
	XMLName xml.Name `xml:"staff-details"`

	NumberAttr       string `xml:"number,attr,omitempty"`
	PrintObjectAttr  string `xml:"print-object,attr,omitempty"`
	PrintSpacingAttr string `xml:"print-spacing,attr,omitempty"`
	ShowFretsAttr    string `xml:"show-frets,attr,omitempty"`

	Capo        []Capo        `xml:"capo,omitempty"`
	StaffLines  []StaffLines  `xml:"staff-lines,omitempty"`
	StaffSize   []StaffSize   `xml:"staff-size,omitempty"`
	StaffTuning []StaffTuning `xml:"staff-tuning,omitempty"`
	StaffType   []StaffType   `xml:"staff-type,omitempty"`

	IValue string `xml:",chardata"`
}

StaffDetails is the structure for staff-details MusicXML element.

func (*StaffDetails) ToMXML ¶

func (r *StaffDetails) ToMXML() *MXML

ToMXML creates a MXML.

type StaffDistance ¶

type StaffDistance struct {
	XMLName xml.Name `xml:"staff-distance"`

	IValue string `xml:",chardata"`
}

StaffDistance is the structure for staff-distance MusicXML element.

func (*StaffDistance) ToMXML ¶

func (r *StaffDistance) ToMXML() *MXML

ToMXML creates a MXML.

type StaffDivide ¶

type StaffDivide struct {
	XMLName xml.Name `xml:"staff-divide"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HalignAttr     string `xml:"halign,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	TypeAttr       string `xml:"type,attr,omitempty"`
	ValignAttr     string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

StaffDivide is the structure for staff-divide MusicXML element.

func (*StaffDivide) ToMXML ¶

func (r *StaffDivide) ToMXML() *MXML

ToMXML creates a MXML.

type StaffLayout ¶

type StaffLayout struct {
	XMLName xml.Name `xml:"staff-layout"`

	NumberAttr string `xml:"number,attr,omitempty"`

	StaffDistance []StaffDistance `xml:"staff-distance,omitempty"`

	IValue string `xml:",chardata"`
}

StaffLayout is the structure for staff-layout MusicXML element.

func (*StaffLayout) ToMXML ¶

func (r *StaffLayout) ToMXML() *MXML

ToMXML creates a MXML.

type StaffLines ¶

type StaffLines struct {
	XMLName xml.Name `xml:"staff-lines"`

	IValue string `xml:",chardata"`
}

StaffLines is the structure for staff-lines MusicXML element.

func (*StaffLines) ToMXML ¶

func (r *StaffLines) ToMXML() *MXML

ToMXML creates a MXML.

type StaffSize ¶

type StaffSize struct {
	XMLName xml.Name `xml:"staff-size"`

	IValue string `xml:",chardata"`
}

StaffSize is the structure for staff-size MusicXML element.

func (*StaffSize) ToMXML ¶

func (r *StaffSize) ToMXML() *MXML

ToMXML creates a MXML.

type StaffTuning ¶

type StaffTuning struct {
	XMLName xml.Name `xml:"staff-tuning"`

	LineAttr string `xml:"line,attr,omitempty"`

	TuningAlter  []TuningAlter  `xml:"tuning-alter,omitempty"`
	TuningOctave []TuningOctave `xml:"tuning-octave,omitempty"`
	TuningStep   []TuningStep   `xml:"tuning-step,omitempty"`

	IValue string `xml:",chardata"`
}

StaffTuning is the structure for staff-tuning MusicXML element.

func (*StaffTuning) ToMXML ¶

func (r *StaffTuning) ToMXML() *MXML

ToMXML creates a MXML.

type StaffType ¶

type StaffType struct {
	XMLName xml.Name `xml:"staff-type"`

	IValue string `xml:",chardata"`
}

StaffType is the structure for staff-type MusicXML element.

func (*StaffType) ToMXML ¶

func (r *StaffType) ToMXML() *MXML

ToMXML creates a MXML.

type Staves ¶

type Staves struct {
	XMLName xml.Name `xml:"staves"`

	IValue string `xml:",chardata"`
}

Staves is the structure for staves MusicXML element.

func (*Staves) ToMXML ¶

func (r *Staves) ToMXML() *MXML

ToMXML creates a MXML.

type Stem ¶

type Stem struct {
	XMLName xml.Name `xml:"stem"`

	ColorAttr     string `xml:"color,attr,omitempty"`
	DefaultXAttr  string `xml:"default-x,attr,omitempty"`
	DefaultYAttr  string `xml:"default-y,attr,omitempty"`
	RelativeXAttr string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Stem is the structure for stem MusicXML element.

func (*Stem) ToMXML ¶

func (r *Stem) ToMXML() *MXML

ToMXML creates a MXML.

type Step ¶

type Step struct {
	XMLName xml.Name `xml:"step"`

	IValue string `xml:",chardata"`
}

Step is the structure for step MusicXML element.

func (*Step) ToMXML ¶

func (r *Step) ToMXML() *MXML

ToMXML creates a MXML.

type Stick ¶

type Stick struct {
	XMLName xml.Name `xml:"stick"`

	DashedCircleAttr string `xml:"dashed-circle,attr,omitempty"`
	ParenthesesAttr  string `xml:"parentheses,attr,omitempty"`
	TipAttr          string `xml:"tip,attr,omitempty"`

	StickMaterial []StickMaterial `xml:"stick-material,omitempty"`
	StickType     []StickType     `xml:"stick-type,omitempty"`

	IValue string `xml:",chardata"`
}

Stick is the structure for stick MusicXML element.

func (*Stick) ToMXML ¶

func (r *Stick) ToMXML() *MXML

ToMXML creates a MXML.

type StickLocation ¶

type StickLocation struct {
	XMLName xml.Name `xml:"stick-location"`

	IValue string `xml:",chardata"`
}

StickLocation is the structure for stick-location MusicXML element.

func (*StickLocation) ToMXML ¶

func (r *StickLocation) ToMXML() *MXML

ToMXML creates a MXML.

type StickMaterial ¶

type StickMaterial struct {
	XMLName xml.Name `xml:"stick-material"`

	IValue string `xml:",chardata"`
}

StickMaterial is the structure for stick-material MusicXML element.

func (*StickMaterial) ToMXML ¶

func (r *StickMaterial) ToMXML() *MXML

ToMXML creates a MXML.

type StickType ¶

type StickType struct {
	XMLName xml.Name `xml:"stick-type"`

	IValue string `xml:",chardata"`
}

StickType is the structure for stick-type MusicXML element.

func (*StickType) ToMXML ¶

func (r *StickType) ToMXML() *MXML

ToMXML creates a MXML.

type Stopped ¶

type Stopped struct {
	XMLName xml.Name `xml:"stopped"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	SmuflAttr      string `xml:"smufl,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Stopped is the structure for stopped MusicXML element.

func (*Stopped) ToMXML ¶

func (r *Stopped) ToMXML() *MXML

ToMXML creates a MXML.

type Stress ¶

type Stress struct {
	XMLName xml.Name `xml:"stress"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Stress is the structure for stress MusicXML element.

func (*Stress) ToMXML ¶

func (r *Stress) ToMXML() *MXML

ToMXML creates a MXML.

type String ¶

type String struct {
	XMLName xml.Name `xml:"string"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

String is the structure for string MusicXML element.

func (*String) ToMXML ¶

func (r *String) ToMXML() *MXML

ToMXML creates a MXML.

type StringMute ¶

type StringMute struct {
	XMLName xml.Name `xml:"string-mute"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HalignAttr     string `xml:"halign,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	TypeAttr       string `xml:"type,attr,omitempty"`
	ValignAttr     string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

StringMute is the structure for string-mute MusicXML element.

func (*StringMute) ToMXML ¶

func (r *StringMute) ToMXML() *MXML

ToMXML creates a MXML.

type StrongAccent ¶

type StrongAccent struct {
	XMLName xml.Name `xml:"strong-accent"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	TypeAttr       string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

StrongAccent is the structure for strong-accent MusicXML element.

func (*StrongAccent) ToMXML ¶

func (r *StrongAccent) ToMXML() *MXML

ToMXML creates a MXML.

type Suffix ¶

type Suffix struct {
	XMLName xml.Name `xml:"suffix"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Suffix is the structure for suffix MusicXML element.

func (*Suffix) ToMXML ¶

func (r *Suffix) ToMXML() *MXML

ToMXML creates a MXML.

type Supports ¶

type Supports struct {
	XMLName xml.Name `xml:"supports"`

	AttributeAttr string `xml:"attribute,attr,omitempty"`
	ElementAttr   string `xml:"element,attr,omitempty"`
	TypeAttr      string `xml:"type,attr,omitempty"`
	ValueAttr     string `xml:"value,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Supports is the structure for supports MusicXML element.

func (*Supports) ToMXML ¶

func (r *Supports) ToMXML() *MXML

ToMXML creates a MXML.

type Syllabic ¶

type Syllabic struct {
	XMLName xml.Name `xml:"syllabic"`

	IValue string `xml:",chardata"`
}

Syllabic is the structure for syllabic MusicXML element.

func (*Syllabic) ToMXML ¶

func (r *Syllabic) ToMXML() *MXML

ToMXML creates a MXML.

type Symbol ¶

type Symbol struct {
	XMLName xml.Name `xml:"symbol"`

	ColorAttr         string `xml:"color,attr,omitempty"`
	DefaultXAttr      string `xml:"default-x,attr,omitempty"`
	DefaultYAttr      string `xml:"default-y,attr,omitempty"`
	DirAttr           string `xml:"dir,attr,omitempty"`
	EnclosureAttr     string `xml:"enclosure,attr,omitempty"`
	FontFamilyAttr    string `xml:"font-family,attr,omitempty"`
	FontSizeAttr      string `xml:"font-size,attr,omitempty"`
	FontStyleAttr     string `xml:"font-style,attr,omitempty"`
	FontWeightAttr    string `xml:"font-weight,attr,omitempty"`
	HalignAttr        string `xml:"halign,attr,omitempty"`
	IdAttr            string `xml:"id,attr,omitempty"`
	JustifyAttr       string `xml:"justify,attr,omitempty"`
	LetterSpacingAttr string `xml:"letter-spacing,attr,omitempty"`
	LineHeightAttr    string `xml:"line-height,attr,omitempty"`
	LineThroughAttr   string `xml:"line-through,attr,omitempty"`
	OverlineAttr      string `xml:"overline,attr,omitempty"`
	RelativeXAttr     string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr     string `xml:"relative-y,attr,omitempty"`
	RotationAttr      string `xml:"rotation,attr,omitempty"`
	UnderlineAttr     string `xml:"underline,attr,omitempty"`
	ValignAttr        string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Symbol is the structure for symbol MusicXML element.

func (*Symbol) ToMXML ¶

func (r *Symbol) ToMXML() *MXML

ToMXML creates a MXML.

type SystemDistance ¶

type SystemDistance struct {
	XMLName xml.Name `xml:"system-distance"`

	IValue string `xml:",chardata"`
}

SystemDistance is the structure for system-distance MusicXML element.

func (*SystemDistance) ToMXML ¶

func (r *SystemDistance) ToMXML() *MXML

ToMXML creates a MXML.

type SystemDividers ¶

type SystemDividers struct {
	XMLName xml.Name `xml:"system-dividers"`

	LeftDivider  []LeftDivider  `xml:"left-divider,omitempty"`
	RightDivider []RightDivider `xml:"right-divider,omitempty"`

	IValue string `xml:",chardata"`
}

SystemDividers is the structure for system-dividers MusicXML element.

func (*SystemDividers) ToMXML ¶

func (r *SystemDividers) ToMXML() *MXML

ToMXML creates a MXML.

type SystemLayout ¶

type SystemLayout struct {
	XMLName xml.Name `xml:"system-layout"`

	SystemDistance    []SystemDistance    `xml:"system-distance,omitempty"`
	SystemDividers    []SystemDividers    `xml:"system-dividers,omitempty"`
	SystemMargins     []SystemMargins     `xml:"system-margins,omitempty"`
	TopSystemDistance []TopSystemDistance `xml:"top-system-distance,omitempty"`

	IValue string `xml:",chardata"`
}

SystemLayout is the structure for system-layout MusicXML element.

func (*SystemLayout) ToMXML ¶

func (r *SystemLayout) ToMXML() *MXML

ToMXML creates a MXML.

type SystemMargins ¶

type SystemMargins struct {
	XMLName xml.Name `xml:"system-margins"`

	LeftMargin  []LeftMargin  `xml:"left-margin,omitempty"`
	RightMargin []RightMargin `xml:"right-margin,omitempty"`

	IValue string `xml:",chardata"`
}

SystemMargins is the structure for system-margins MusicXML element.

func (*SystemMargins) ToMXML ¶

func (r *SystemMargins) ToMXML() *MXML

ToMXML creates a MXML.

type Tap ¶

type Tap struct {
	XMLName xml.Name `xml:"tap"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	HandAttr       string `xml:"hand,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Tap is the structure for tap MusicXML element.

func (*Tap) ToMXML ¶

func (r *Tap) ToMXML() *MXML

ToMXML creates a MXML.

type Technical ¶

type Technical struct {
	XMLName xml.Name `xml:"technical"`

	IdAttr string `xml:"id,attr,omitempty"`

	Arrow          []Arrow          `xml:"arrow,omitempty"`
	Bend           []Bend           `xml:"bend,omitempty"`
	BrassBend      []BrassBend      `xml:"brass-bend,omitempty"`
	DoubleTongue   []DoubleTongue   `xml:"double-tongue,omitempty"`
	DownBow        []DownBow        `xml:"down-bow,omitempty"`
	Fingering      []Fingering      `xml:"fingering,omitempty"`
	Fingernails    []Fingernails    `xml:"fingernails,omitempty"`
	Flip           []Flip           `xml:"flip,omitempty"`
	Fret           []Fret           `xml:"fret,omitempty"`
	Golpe          []Golpe          `xml:"golpe,omitempty"`
	HalfMuted      []HalfMuted      `xml:"half-muted,omitempty"`
	HammerOn       []HammerOn       `xml:"hammer-on,omitempty"`
	Handbell       []Handbell       `xml:"handbell,omitempty"`
	HarmonMute     []HarmonMute     `xml:"harmon-mute,omitempty"`
	Harmonic       []Harmonic       `xml:"harmonic,omitempty"`
	Heel           []Heel           `xml:"heel,omitempty"`
	Hole           []Hole           `xml:"hole,omitempty"`
	Open           []Open           `xml:"open,omitempty"`
	OpenString     []OpenString     `xml:"open-string,omitempty"`
	OtherTechnical []OtherTechnical `xml:"other-technical,omitempty"`
	Pluck          []Pluck          `xml:"pluck,omitempty"`
	PullOff        []PullOff        `xml:"pull-off,omitempty"`
	Smear          []Smear          `xml:"smear,omitempty"`
	SnapPizzicato  []SnapPizzicato  `xml:"snap-pizzicato,omitempty"`
	Stopped        []Stopped        `xml:"stopped,omitempty"`
	String         []String         `xml:"string,omitempty"`
	Tap            []Tap            `xml:"tap,omitempty"`
	ThumbPosition  []ThumbPosition  `xml:"thumb-position,omitempty"`
	Toe            []Toe            `xml:"toe,omitempty"`
	TripleTongue   []TripleTongue   `xml:"triple-tongue,omitempty"`
	UpBow          []UpBow          `xml:"up-bow,omitempty"`

	IValue string `xml:",chardata"`
}

Technical is the structure for technical MusicXML element.

func (*Technical) ToMXML ¶

func (r *Technical) ToMXML() *MXML

ToMXML creates a MXML.

type Tenths ¶

type Tenths struct {
	XMLName xml.Name `xml:"tenths"`

	IValue string `xml:",chardata"`
}

Tenths is the structure for tenths MusicXML element.

func (*Tenths) ToMXML ¶

func (r *Tenths) ToMXML() *MXML

ToMXML creates a MXML.

type Tenuto ¶

type Tenuto struct {
	XMLName xml.Name `xml:"tenuto"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Tenuto is the structure for tenuto MusicXML element.

func (*Tenuto) ToMXML ¶

func (r *Tenuto) ToMXML() *MXML

ToMXML creates a MXML.

type Text ¶

type Text struct {
	XMLName xml.Name `xml:"text"`

	ColorAttr         string `xml:"color,attr,omitempty"`
	DirAttr           string `xml:"dir,attr,omitempty"`
	FontFamilyAttr    string `xml:"font-family,attr,omitempty"`
	FontSizeAttr      string `xml:"font-size,attr,omitempty"`
	FontStyleAttr     string `xml:"font-style,attr,omitempty"`
	FontWeightAttr    string `xml:"font-weight,attr,omitempty"`
	LangAttr          string `xml:"lang,attr,omitempty"`
	LetterSpacingAttr string `xml:"letter-spacing,attr,omitempty"`
	LineThroughAttr   string `xml:"line-through,attr,omitempty"`
	OverlineAttr      string `xml:"overline,attr,omitempty"`
	RotationAttr      string `xml:"rotation,attr,omitempty"`
	UnderlineAttr     string `xml:"underline,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Text is the structure for text MusicXML element.

func (*Text) ToMXML ¶

func (r *Text) ToMXML() *MXML

ToMXML creates a MXML.

type ThumbPosition ¶

type ThumbPosition struct {
	XMLName xml.Name `xml:"thumb-position"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

ThumbPosition is the structure for thumb-position MusicXML element.

func (*ThumbPosition) ToMXML ¶

func (r *ThumbPosition) ToMXML() *MXML

ToMXML creates a MXML.

type Tie ¶

type Tie struct {
	XMLName xml.Name `xml:"tie"`

	TimeOnlyAttr string `xml:"time-only,attr,omitempty"`
	TypeAttr     string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Tie is the structure for tie MusicXML element.

func (*Tie) ToMXML ¶

func (r *Tie) ToMXML() *MXML

ToMXML creates a MXML.

type Tied ¶

type Tied struct {
	XMLName xml.Name `xml:"tied"`

	BezierOffsetAttr  string `xml:"bezier-offset,attr,omitempty"`
	BezierOffset2Attr string `xml:"bezier-offset2,attr,omitempty"`
	BezierXAttr       string `xml:"bezier-x,attr,omitempty"`
	BezierX2Attr      string `xml:"bezier-x2,attr,omitempty"`
	BezierYAttr       string `xml:"bezier-y,attr,omitempty"`
	BezierY2Attr      string `xml:"bezier-y2,attr,omitempty"`
	ColorAttr         string `xml:"color,attr,omitempty"`
	DashLengthAttr    string `xml:"dash-length,attr,omitempty"`
	DefaultXAttr      string `xml:"default-x,attr,omitempty"`
	DefaultYAttr      string `xml:"default-y,attr,omitempty"`
	IdAttr            string `xml:"id,attr,omitempty"`
	LineTypeAttr      string `xml:"line-type,attr,omitempty"`
	NumberAttr        string `xml:"number,attr,omitempty"`
	OrientationAttr   string `xml:"orientation,attr,omitempty"`
	PlacementAttr     string `xml:"placement,attr,omitempty"`
	RelativeXAttr     string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr     string `xml:"relative-y,attr,omitempty"`
	SpaceLengthAttr   string `xml:"space-length,attr,omitempty"`
	TypeAttr          string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Tied is the structure for tied MusicXML element.

func (*Tied) ToMXML ¶

func (r *Tied) ToMXML() *MXML

ToMXML creates a MXML.

type Time ¶

type Time struct {
	XMLName xml.Name `xml:"time"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	HalignAttr      string `xml:"halign,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	PrintObjectAttr string `xml:"print-object,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SeparatorAttr   string `xml:"separator,attr,omitempty"`
	SymbolAttr      string `xml:"symbol,attr,omitempty"`
	ValignAttr      string `xml:"valign,attr,omitempty"`

	BeatType        []BeatType        `xml:"beat-type,omitempty"`
	Beats           []Beats           `xml:"beats,omitempty"`
	Interchangeable []Interchangeable `xml:"interchangeable,omitempty"`
	SenzaMisura     []SenzaMisura     `xml:"senza-misura,omitempty"`

	IValue string `xml:",chardata"`
}

Time is the structure for time MusicXML element.

func (*Time) ToMXML ¶

func (r *Time) ToMXML() *MXML

ToMXML creates a MXML.

type TimeModification ¶

type TimeModification struct {
	XMLName xml.Name `xml:"time-modification"`

	ActualNotes []ActualNotes `xml:"actual-notes,omitempty"`
	NormalDot   []NormalDot   `xml:"normal-dot,omitempty"`
	NormalNotes []NormalNotes `xml:"normal-notes,omitempty"`
	NormalType  []NormalType  `xml:"normal-type,omitempty"`

	IValue string `xml:",chardata"`
}

TimeModification is the structure for time-modification MusicXML element.

func (*TimeModification) ToMXML ¶

func (r *TimeModification) ToMXML() *MXML

ToMXML creates a MXML.

type TimeRelation ¶

type TimeRelation struct {
	XMLName xml.Name `xml:"time-relation"`

	IValue string `xml:",chardata"`
}

TimeRelation is the structure for time-relation MusicXML element.

func (*TimeRelation) ToMXML ¶

func (r *TimeRelation) ToMXML() *MXML

ToMXML creates a MXML.

type Timpani ¶

type Timpani struct {
	XMLName xml.Name `xml:"timpani"`

	IValue string `xml:",chardata"`
}

Timpani is the structure for timpani MusicXML element.

func (*Timpani) ToMXML ¶

func (r *Timpani) ToMXML() *MXML

ToMXML creates a MXML.

type Title ¶

type Title struct {
	XMLName xml.Name `xml:"title"`

	IValue string `xml:",chardata"`
}

Title is the structure for title MusicXML element.

func (*Title) ToMXML ¶

func (r *Title) ToMXML() *MXML

ToMXML creates a MXML.

type Toe ¶

type Toe struct {
	XMLName xml.Name `xml:"toe"`

	ColorAttr        string `xml:"color,attr,omitempty"`
	DefaultXAttr     string `xml:"default-x,attr,omitempty"`
	DefaultYAttr     string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr   string `xml:"font-family,attr,omitempty"`
	FontSizeAttr     string `xml:"font-size,attr,omitempty"`
	FontStyleAttr    string `xml:"font-style,attr,omitempty"`
	FontWeightAttr   string `xml:"font-weight,attr,omitempty"`
	PlacementAttr    string `xml:"placement,attr,omitempty"`
	RelativeXAttr    string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr    string `xml:"relative-y,attr,omitempty"`
	SubstitutionAttr string `xml:"substitution,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Toe is the structure for toe MusicXML element.

func (*Toe) ToMXML ¶

func (r *Toe) ToMXML() *MXML

ToMXML creates a MXML.

type TopMargin ¶

type TopMargin struct {
	XMLName xml.Name `xml:"top-margin"`

	IValue string `xml:",chardata"`
}

TopMargin is the structure for top-margin MusicXML element.

func (*TopMargin) ToMXML ¶

func (r *TopMargin) ToMXML() *MXML

ToMXML creates a MXML.

type TopSystemDistance ¶

type TopSystemDistance struct {
	XMLName xml.Name `xml:"top-system-distance"`

	IValue string `xml:",chardata"`
}

TopSystemDistance is the structure for top-system-distance MusicXML element.

func (*TopSystemDistance) ToMXML ¶

func (r *TopSystemDistance) ToMXML() *MXML

ToMXML creates a MXML.

type TouchingPitch ¶

type TouchingPitch struct {
	XMLName xml.Name `xml:"touching-pitch"`

	IValue string `xml:",chardata"`
}

TouchingPitch is the structure for touching-pitch MusicXML element.

func (*TouchingPitch) ToMXML ¶

func (r *TouchingPitch) ToMXML() *MXML

ToMXML creates a MXML.

type Transpose ¶

type Transpose struct {
	XMLName xml.Name `xml:"transpose"`

	IdAttr     string `xml:"id,attr,omitempty"`
	NumberAttr string `xml:"number,attr,omitempty"`

	Chromatic    []Chromatic    `xml:"chromatic,omitempty"`
	Diatonic     []Diatonic     `xml:"diatonic,omitempty"`
	Double       []Double       `xml:"double,omitempty"`
	OctaveChange []OctaveChange `xml:"octave-change,omitempty"`

	IValue string `xml:",chardata"`
}

Transpose is the structure for transpose MusicXML element.

func (*Transpose) ToMXML ¶

func (r *Transpose) ToMXML() *MXML

ToMXML creates a MXML.

type Tremolo ¶

type Tremolo struct {
	XMLName xml.Name `xml:"tremolo"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	SmuflAttr      string `xml:"smufl,attr,omitempty"`
	TypeAttr       string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Tremolo is the structure for tremolo MusicXML element.

func (*Tremolo) ToMXML ¶

func (r *Tremolo) ToMXML() *MXML

ToMXML creates a MXML.

type TrillMark ¶

type TrillMark struct {
	XMLName xml.Name `xml:"trill-mark"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SecondBeatAttr  string `xml:"second-beat,attr,omitempty"`
	StartNoteAttr   string `xml:"start-note,attr,omitempty"`
	TrillStepAttr   string `xml:"trill-step,attr,omitempty"`
	TwoNoteTurnAttr string `xml:"two-note-turn,attr,omitempty"`

	IValue string `xml:",chardata"`
}

TrillMark is the structure for trill-mark MusicXML element.

func (*TrillMark) ToMXML ¶

func (r *TrillMark) ToMXML() *MXML

ToMXML creates a MXML.

type TripleTongue ¶

type TripleTongue struct {
	XMLName xml.Name `xml:"triple-tongue"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

TripleTongue is the structure for triple-tongue MusicXML element.

func (*TripleTongue) ToMXML ¶

func (r *TripleTongue) ToMXML() *MXML

ToMXML creates a MXML.

type TuningAlter ¶

type TuningAlter struct {
	XMLName xml.Name `xml:"tuning-alter"`

	IValue string `xml:",chardata"`
}

TuningAlter is the structure for tuning-alter MusicXML element.

func (*TuningAlter) ToMXML ¶

func (r *TuningAlter) ToMXML() *MXML

ToMXML creates a MXML.

type TuningOctave ¶

type TuningOctave struct {
	XMLName xml.Name `xml:"tuning-octave"`

	IValue string `xml:",chardata"`
}

TuningOctave is the structure for tuning-octave MusicXML element.

func (*TuningOctave) ToMXML ¶

func (r *TuningOctave) ToMXML() *MXML

ToMXML creates a MXML.

type TuningStep ¶

type TuningStep struct {
	XMLName xml.Name `xml:"tuning-step"`

	IValue string `xml:",chardata"`
}

TuningStep is the structure for tuning-step MusicXML element.

func (*TuningStep) ToMXML ¶

func (r *TuningStep) ToMXML() *MXML

ToMXML creates a MXML.

type Tuplet ¶

type Tuplet struct {
	XMLName xml.Name `xml:"tuplet"`

	BracketAttr    string `xml:"bracket,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	IdAttr         string `xml:"id,attr,omitempty"`
	LineShapeAttr  string `xml:"line-shape,attr,omitempty"`
	NumberAttr     string `xml:"number,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`
	ShowNumberAttr string `xml:"show-number,attr,omitempty"`
	ShowTypeAttr   string `xml:"show-type,attr,omitempty"`
	TypeAttr       string `xml:"type,attr,omitempty"`

	TupletActual []TupletActual `xml:"tuplet-actual,omitempty"`
	TupletNormal []TupletNormal `xml:"tuplet-normal,omitempty"`

	IValue string `xml:",chardata"`
}

Tuplet is the structure for tuplet MusicXML element.

func (*Tuplet) ToMXML ¶

func (r *Tuplet) ToMXML() *MXML

ToMXML creates a MXML.

type TupletActual ¶

type TupletActual struct {
	XMLName xml.Name `xml:"tuplet-actual"`

	TupletDot    []TupletDot    `xml:"tuplet-dot,omitempty"`
	TupletNumber []TupletNumber `xml:"tuplet-number,omitempty"`
	TupletType   []TupletType   `xml:"tuplet-type,omitempty"`

	IValue string `xml:",chardata"`
}

TupletActual is the structure for tuplet-actual MusicXML element.

func (*TupletActual) ToMXML ¶

func (r *TupletActual) ToMXML() *MXML

ToMXML creates a MXML.

type TupletDot ¶

type TupletDot struct {
	XMLName xml.Name `xml:"tuplet-dot"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`

	IValue string `xml:",chardata"`
}

TupletDot is the structure for tuplet-dot MusicXML element.

func (*TupletDot) ToMXML ¶

func (r *TupletDot) ToMXML() *MXML

ToMXML creates a MXML.

type TupletNormal ¶

type TupletNormal struct {
	XMLName xml.Name `xml:"tuplet-normal"`

	TupletDot    []TupletDot    `xml:"tuplet-dot,omitempty"`
	TupletNumber []TupletNumber `xml:"tuplet-number,omitempty"`
	TupletType   []TupletType   `xml:"tuplet-type,omitempty"`

	IValue string `xml:",chardata"`
}

TupletNormal is the structure for tuplet-normal MusicXML element.

func (*TupletNormal) ToMXML ¶

func (r *TupletNormal) ToMXML() *MXML

ToMXML creates a MXML.

type TupletNumber ¶

type TupletNumber struct {
	XMLName xml.Name `xml:"tuplet-number"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`

	IValue string `xml:",chardata"`
}

TupletNumber is the structure for tuplet-number MusicXML element.

func (*TupletNumber) ToMXML ¶

func (r *TupletNumber) ToMXML() *MXML

ToMXML creates a MXML.

type TupletType ¶

type TupletType struct {
	XMLName xml.Name `xml:"tuplet-type"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`

	IValue string `xml:",chardata"`
}

TupletType is the structure for tuplet-type MusicXML element.

func (*TupletType) ToMXML ¶

func (r *TupletType) ToMXML() *MXML

ToMXML creates a MXML.

type Turn ¶

type Turn struct {
	XMLName xml.Name `xml:"turn"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SecondBeatAttr  string `xml:"second-beat,attr,omitempty"`
	SlashAttr       string `xml:"slash,attr,omitempty"`
	StartNoteAttr   string `xml:"start-note,attr,omitempty"`
	TrillStepAttr   string `xml:"trill-step,attr,omitempty"`
	TwoNoteTurnAttr string `xml:"two-note-turn,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Turn is the structure for turn MusicXML element.

func (*Turn) ToMXML ¶

func (r *Turn) ToMXML() *MXML

ToMXML creates a MXML.

type Type ¶

type Type struct {
	XMLName xml.Name `xml:"type"`

	SizeAttr string `xml:"size,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Type is the structure for type MusicXML element.

func (*Type) ToMXML ¶

func (r *Type) ToMXML() *MXML

ToMXML creates a MXML.

type Unpitched ¶

type Unpitched struct {
	XMLName xml.Name `xml:"unpitched"`

	DisplayOctave []DisplayOctave `xml:"display-octave,omitempty"`
	DisplayStep   []DisplayStep   `xml:"display-step,omitempty"`

	IValue string `xml:",chardata"`
}

Unpitched is the structure for unpitched MusicXML element.

func (*Unpitched) ToMXML ¶

func (r *Unpitched) ToMXML() *MXML

ToMXML creates a MXML.

type Unstress ¶

type Unstress struct {
	XMLName xml.Name `xml:"unstress"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Unstress is the structure for unstress MusicXML element.

func (*Unstress) ToMXML ¶

func (r *Unstress) ToMXML() *MXML

ToMXML creates a MXML.

type UpBow ¶

type UpBow struct {
	XMLName xml.Name `xml:"up-bow"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

UpBow is the structure for up-bow MusicXML element.

func (*UpBow) ToMXML ¶

func (r *UpBow) ToMXML() *MXML

ToMXML creates a MXML.

type VerticalTurn ¶

type VerticalTurn struct {
	XMLName xml.Name `xml:"vertical-turn"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr  string `xml:"font-family,attr,omitempty"`
	FontSizeAttr    string `xml:"font-size,attr,omitempty"`
	FontStyleAttr   string `xml:"font-style,attr,omitempty"`
	FontWeightAttr  string `xml:"font-weight,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SecondBeatAttr  string `xml:"second-beat,attr,omitempty"`
	StartNoteAttr   string `xml:"start-note,attr,omitempty"`
	TrillStepAttr   string `xml:"trill-step,attr,omitempty"`
	TwoNoteTurnAttr string `xml:"two-note-turn,attr,omitempty"`

	IValue string `xml:",chardata"`
}

VerticalTurn is the structure for vertical-turn MusicXML element.

func (*VerticalTurn) ToMXML ¶

func (r *VerticalTurn) ToMXML() *MXML

ToMXML creates a MXML.

type VirtualInstrument ¶

type VirtualInstrument struct {
	XMLName xml.Name `xml:"virtual-instrument"`

	VirtualLibrary []VirtualLibrary `xml:"virtual-library,omitempty"`
	VirtualName    []VirtualName    `xml:"virtual-name,omitempty"`

	IValue string `xml:",chardata"`
}

VirtualInstrument is the structure for virtual-instrument MusicXML element.

func (*VirtualInstrument) ToMXML ¶

func (r *VirtualInstrument) ToMXML() *MXML

ToMXML creates a MXML.

type VirtualLibrary ¶

type VirtualLibrary struct {
	XMLName xml.Name `xml:"virtual-library"`

	IValue string `xml:",chardata"`
}

VirtualLibrary is the structure for virtual-library MusicXML element.

func (*VirtualLibrary) ToMXML ¶

func (r *VirtualLibrary) ToMXML() *MXML

ToMXML creates a MXML.

type VirtualName ¶

type VirtualName struct {
	XMLName xml.Name `xml:"virtual-name"`

	IValue string `xml:",chardata"`
}

VirtualName is the structure for virtual-name MusicXML element.

func (*VirtualName) ToMXML ¶

func (r *VirtualName) ToMXML() *MXML

ToMXML creates a MXML.

type Voice ¶

type Voice struct {
	XMLName xml.Name `xml:"voice"`

	IValue string `xml:",chardata"`
}

Voice is the structure for voice MusicXML element.

func (*Voice) ToMXML ¶

func (r *Voice) ToMXML() *MXML

ToMXML creates a MXML.

type Volume ¶

type Volume struct {
	XMLName xml.Name `xml:"volume"`

	IValue string `xml:",chardata"`
}

Volume is the structure for volume MusicXML element.

func (*Volume) ToMXML ¶

func (r *Volume) ToMXML() *MXML

ToMXML creates a MXML.

type WavyLine ¶

type WavyLine struct {
	XMLName xml.Name `xml:"wavy-line"`

	AccelerateAttr  string `xml:"accelerate,attr,omitempty"`
	BeatsAttr       string `xml:"beats,attr,omitempty"`
	ColorAttr       string `xml:"color,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	LastBeatAttr    string `xml:"last-beat,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	PlacementAttr   string `xml:"placement,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SecondBeatAttr  string `xml:"second-beat,attr,omitempty"`
	StartNoteAttr   string `xml:"start-note,attr,omitempty"`
	TrillStepAttr   string `xml:"trill-step,attr,omitempty"`
	TwoNoteTurnAttr string `xml:"two-note-turn,attr,omitempty"`
	TypeAttr        string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

WavyLine is the structure for wavy-line MusicXML element.

func (*WavyLine) ToMXML ¶

func (r *WavyLine) ToMXML() *MXML

ToMXML creates a MXML.

type Wedge ¶

type Wedge struct {
	XMLName xml.Name `xml:"wedge"`

	ColorAttr       string `xml:"color,attr,omitempty"`
	DashLengthAttr  string `xml:"dash-length,attr,omitempty"`
	DefaultXAttr    string `xml:"default-x,attr,omitempty"`
	DefaultYAttr    string `xml:"default-y,attr,omitempty"`
	IdAttr          string `xml:"id,attr,omitempty"`
	LineTypeAttr    string `xml:"line-type,attr,omitempty"`
	NienteAttr      string `xml:"niente,attr,omitempty"`
	NumberAttr      string `xml:"number,attr,omitempty"`
	RelativeXAttr   string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr   string `xml:"relative-y,attr,omitempty"`
	SpaceLengthAttr string `xml:"space-length,attr,omitempty"`
	SpreadAttr      string `xml:"spread,attr,omitempty"`
	TypeAttr        string `xml:"type,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Wedge is the structure for wedge MusicXML element.

func (*Wedge) ToMXML ¶

func (r *Wedge) ToMXML() *MXML

ToMXML creates a MXML.

type WithBar ¶

type WithBar struct {
	XMLName xml.Name `xml:"with-bar"`

	ColorAttr      string `xml:"color,attr,omitempty"`
	DefaultXAttr   string `xml:"default-x,attr,omitempty"`
	DefaultYAttr   string `xml:"default-y,attr,omitempty"`
	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`
	PlacementAttr  string `xml:"placement,attr,omitempty"`
	RelativeXAttr  string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr  string `xml:"relative-y,attr,omitempty"`

	IValue string `xml:",chardata"`
}

WithBar is the structure for with-bar MusicXML element.

func (*WithBar) ToMXML ¶

func (r *WithBar) ToMXML() *MXML

ToMXML creates a MXML.

type Wood ¶

type Wood struct {
	XMLName xml.Name `xml:"wood"`

	IValue string `xml:",chardata"`
}

Wood is the structure for wood MusicXML element.

func (*Wood) ToMXML ¶

func (r *Wood) ToMXML() *MXML

ToMXML creates a MXML.

type WordFont ¶

type WordFont struct {
	XMLName xml.Name `xml:"word-font"`

	FontFamilyAttr string `xml:"font-family,attr,omitempty"`
	FontSizeAttr   string `xml:"font-size,attr,omitempty"`
	FontStyleAttr  string `xml:"font-style,attr,omitempty"`
	FontWeightAttr string `xml:"font-weight,attr,omitempty"`

	IValue string `xml:",chardata"`
}

WordFont is the structure for word-font MusicXML element.

func (*WordFont) ToMXML ¶

func (r *WordFont) ToMXML() *MXML

ToMXML creates a MXML.

type Words ¶

type Words struct {
	XMLName xml.Name `xml:"words"`

	ColorAttr         string `xml:"color,attr,omitempty"`
	DefaultXAttr      string `xml:"default-x,attr,omitempty"`
	DefaultYAttr      string `xml:"default-y,attr,omitempty"`
	DirAttr           string `xml:"dir,attr,omitempty"`
	EnclosureAttr     string `xml:"enclosure,attr,omitempty"`
	FontFamilyAttr    string `xml:"font-family,attr,omitempty"`
	FontSizeAttr      string `xml:"font-size,attr,omitempty"`
	FontStyleAttr     string `xml:"font-style,attr,omitempty"`
	FontWeightAttr    string `xml:"font-weight,attr,omitempty"`
	HalignAttr        string `xml:"halign,attr,omitempty"`
	IdAttr            string `xml:"id,attr,omitempty"`
	JustifyAttr       string `xml:"justify,attr,omitempty"`
	LangAttr          string `xml:"lang,attr,omitempty"`
	LetterSpacingAttr string `xml:"letter-spacing,attr,omitempty"`
	LineHeightAttr    string `xml:"line-height,attr,omitempty"`
	LineThroughAttr   string `xml:"line-through,attr,omitempty"`
	OverlineAttr      string `xml:"overline,attr,omitempty"`
	RelativeXAttr     string `xml:"relative-x,attr,omitempty"`
	RelativeYAttr     string `xml:"relative-y,attr,omitempty"`
	RotationAttr      string `xml:"rotation,attr,omitempty"`
	SpaceAttr         string `xml:"space,attr,omitempty"`
	UnderlineAttr     string `xml:"underline,attr,omitempty"`
	ValignAttr        string `xml:"valign,attr,omitempty"`

	IValue string `xml:",chardata"`
}

Words is the structure for words MusicXML element.

func (*Words) ToMXML ¶

func (r *Words) ToMXML() *MXML

ToMXML creates a MXML.

type Work ¶

type Work struct {
	XMLName xml.Name `xml:"work"`

	Opus       []Opus       `xml:"opus,omitempty"`
	WorkNumber []WorkNumber `xml:"work-number,omitempty"`
	WorkTitle  []WorkTitle  `xml:"work-title,omitempty"`

	IValue string `xml:",chardata"`
}

Work is the structure for work MusicXML element.

func (*Work) ToMXML ¶

func (r *Work) ToMXML() *MXML

ToMXML creates a MXML.

type WorkNumber ¶

type WorkNumber struct {
	XMLName xml.Name `xml:"work-number"`

	IValue string `xml:",chardata"`
}

WorkNumber is the structure for work-number MusicXML element.

func (*WorkNumber) ToMXML ¶

func (r *WorkNumber) ToMXML() *MXML

ToMXML creates a MXML.

type WorkTitle ¶

type WorkTitle struct {
	XMLName xml.Name `xml:"work-title"`

	IValue string `xml:",chardata"`
}

WorkTitle is the structure for work-title MusicXML element.

func (*WorkTitle) ToMXML ¶

func (r *WorkTitle) ToMXML() *MXML

ToMXML creates a MXML.

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL