You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/MusicXML.jl
+15-17Lines changed: 15 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -463,16 +463,14 @@ end
463
463
464
464
# Arguments
465
465
```julia
466
-
- pitch::Pitch
467
-
- rest::Rest
468
-
- unpitched::Unpitched
469
-
- duration::UInt
470
-
- TODO voice
471
-
- type::String
472
-
- accidental::String
473
-
- TODO tie::Union{Nothing,Tie} # start, stop, nothing TODO
474
-
- TODO lyric
475
-
- aml::Node
466
+
- pitch::UN{Pitch} = nothing, "~"
467
+
- rest::UN{Rest} = nothing, "~"
468
+
- unpitched::UN{Unpitched} = nothing, "~"
469
+
- duration::UInt, "~"
470
+
- # voice
471
+
- type::UN{String} = nothing, "~"
472
+
- accidental::UN{String} = nothing, "~"
473
+
- tie::UN{String} = nothing, "~" # start, stop, nothing TODO
476
474
```
477
475
478
476
Notes are the most common type of MusicXML data. The MusicXML format keeps the MuseData distinction between elements used for sound information and elements used for notation information (e.g., tie is used for sound, tied for notation). Thus grace notes do not have a duration element. Cue notes have a duration element, as do forward elements, but no tie elements. Having these two types of information available can make interchange considerably easier, as some programs handle one type of information much more readily than the other.
0 commit comments