-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?php | ||
|
||
namespace MusicXML\Model; | ||
|
||
use MusicXML\MusicXMLWriter; | ||
|
||
/** | ||
* ForPart | ||
* @Xml | ||
* @Referece https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/for-part/ | ||
* @Data | ||
*/ | ||
class ForPart extends MusicXMLWriter | ||
{ | ||
/** | ||
* ID | ||
* | ||
* @Attribute | ||
* @var string | ||
*/ | ||
public $id; | ||
|
||
/** | ||
* Number | ||
* | ||
* @Attribute | ||
* @var integer | ||
*/ | ||
public $number; | ||
|
||
/** | ||
* Part clef | ||
* | ||
* @PropertyElement | ||
* @var PartClef | ||
*/ | ||
public $partClef; | ||
|
||
/** | ||
* Part transpose | ||
* | ||
* @PropertyElement(name="part-transpose") | ||
* @var PartTranspose | ||
*/ | ||
public $partTranspose; | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
|
||
namespace MusicXML\Model; | ||
|
||
use MusicXML\MusicXMLWriter; | ||
|
||
/** | ||
* PartClef | ||
* @Xml | ||
* @Reference https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/part-clef/ | ||
* @Data | ||
*/ | ||
class PartClef extends MusicXMLWriter | ||
{ | ||
/** | ||
* Sign | ||
* | ||
* @PropertyElement | ||
* @var string | ||
*/ | ||
public $sign; | ||
|
||
/** | ||
* Line | ||
* | ||
* @PropertyElement | ||
* @var integer | ||
*/ | ||
public $line; | ||
|
||
/** | ||
* Clef octave change | ||
* | ||
* @PropertyElement(name="clef-octave-change") | ||
* @var string | ||
*/ | ||
public $clefOctaveChange; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
|
||
namespace MusicXML\Model; | ||
|
||
use MusicXML\MusicXMLWriter; | ||
|
||
/** | ||
* PartTranspose | ||
* @Xml | ||
* @Reference https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/part-transpose/ | ||
* @Data | ||
*/ | ||
class PartTranspose extends MusicXMLWriter | ||
{ | ||
/** | ||
* Diatonic | ||
* @PropertyElement | ||
* @var string | ||
*/ | ||
public $diatonic; | ||
|
||
/** | ||
* Chromatic | ||
* @PropertyElement | ||
* @var string | ||
*/ | ||
public $chromatic; | ||
|
||
/** | ||
* Octave change | ||
* @PropertyElement(name="octave-change") | ||
* @var string | ||
*/ | ||
public $octaveChange; | ||
|
||
/** | ||
* Double | ||
* @PropertyElement(name="double") | ||
* @var string | ||
*/ | ||
public $double; | ||
} |