From 02064fa10d7014b0b003232fc6d1be0847cb46cf Mon Sep 17 00:00:00 2001 From: infojunkie Date: Sun, 13 Oct 2024 21:19:50 -0700 Subject: [PATCH] Add recognizable names to MIDI track names --- build/filter.sef.json | 2 +- build/groove.sef.json | 2 +- build/mma.sef.json | 2 +- build/musicxml.sef.json | 2 +- build/timemap.sef.json | 2 +- build/unroll.sef.json | 2 +- mma | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/js/server.js | 47 +++++++++++++++++++++-------------------- src/xsl/mma.xsl | 11 ++++++++-- test/03-mma.bats | 7 +++--- test/server.test.js | 6 +++--- 13 files changed, 50 insertions(+), 41 deletions(-) diff --git a/build/filter.sef.json b/build/filter.sef.json index e26e104a..6b436ef7 100644 --- a/build/filter.sef.json +++ b/build/filter.sef.json @@ -1 +1 @@ -{"N":"package","version":"10","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2024-10-11T21:36:41.379-07:00","ns":"xml=~ xsl=~","C":[{"N":"co","binds":"","id":"0","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}filter","sType":"* ","slots":"200","module":"filter.xsl","flags":"r","as":"","ns":"xml=~ xsl=~","C":[{"N":"str","sType":"1AS ","val":"","role":"select"}]}]},{"N":"co","id":"1","binds":"0 1","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"1","ns":"xml=~ xsl=~","minImp":"0","flags":"s","slots":"200","line":"23","module":"filter.xsl","expand-text":"false","match":"*[local-name()=tokenize($filter,'\\|')]","prio":"0.5","matches":"NE","C":[{"N":"p.withPredicate","role":"match","sType":"1NE","ns":"= xml=~ fn=~ xsl=~ ","C":[{"N":"p.nodeTest","test":"NE"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"fn","name":"tokenize","C":[{"N":"treat","as":"AS","diag":"0|0||tokenize","C":[{"N":"check","card":"?","diag":"0|0||tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||tokenize","C":[{"N":"check","card":"?","diag":"0|0||tokenize","C":[{"N":"data","diag":"0|0||tokenize","C":[{"N":"gVarRef","name":"Q{}filter","bSlot":"0"}]}]}]}]}]},{"N":"str","val":"\\|"}]}]}]},{"N":"empty","sType":"0 ","role":"action"}]},{"N":"templateRule","rank":"1","prec":"0","seq":"0","ns":"xml=~ xsl=~","minImp":"0","flags":"s","slots":"200","line":"17","module":"filter.xsl","expand-text":"false","match":"node()|@*","prio":"-0.5","matches":"N u[NT,NP,NC,NE]","C":[{"N":"p.nodeTest","role":"match","test":"N u[NT,NP,NC,NE]","sType":"1N u[NT,NP,NC,NE]"},{"N":"copy","sType":"1N u[1NT ,1NP ,1NC ,1NE ] ","flags":"cin","role":"action","line":"18","C":[{"N":"applyT","sType":"* ","line":"19","mode":"#unnamed","bSlot":"1","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[NT,NP],NC],NE],NA]","role":"select","line":"19","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[NT,NP],NC],NE],NA]","ns":"= xml=~ fn=~ xsl=~ ","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]"},{"N":"axis","name":"attribute","nodeTest":"*NA"}]}]}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"0","ns":"xml=~ xsl=~","minImp":"0","flags":"s","slots":"200","line":"17","module":"filter.xsl","expand-text":"false","match":"node()|@*","prio":"-0.5","matches":"NA","C":[{"N":"p.nodeTest","role":"match","test":"NA","sType":"1NA"},{"N":"copy","sType":"1NA ","flags":"cin","role":"action","line":"18","C":[{"N":"applyT","sType":"* ","line":"19","mode":"#unnamed","bSlot":"1","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[NT,NP],NC],NE],NA]","role":"select","line":"19","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[NT,NP],NC],NE],NA]","ns":"= xml=~ fn=~ xsl=~ ","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]"},{"N":"axis","name":"attribute","nodeTest":"*NA"}]}]}]}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"10"},{"N":"property","name":"omit-xml-declaration","value":"no"},{"N":"property","name":"indent","value":"yes"}]},{"N":"decimalFormat"}],"Σ":"c7482637"} \ No newline at end of file +{"N":"package","version":"10","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2024-10-13T21:18:19.965-07:00","ns":"xml=~ xsl=~","C":[{"N":"co","binds":"","id":"0","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}filter","sType":"* ","slots":"200","module":"filter.xsl","flags":"r","as":"","ns":"xml=~ xsl=~","C":[{"N":"str","sType":"1AS ","val":"","role":"select"}]}]},{"N":"co","id":"1","binds":"0 1","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"1","ns":"xml=~ xsl=~","minImp":"0","flags":"s","slots":"200","line":"23","module":"filter.xsl","expand-text":"false","match":"*[local-name()=tokenize($filter,'\\|')]","prio":"0.5","matches":"NE","C":[{"N":"p.withPredicate","role":"match","sType":"1NE","ns":"= xml=~ fn=~ xsl=~ ","C":[{"N":"p.nodeTest","test":"NE"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"fn","name":"tokenize","C":[{"N":"treat","as":"AS","diag":"0|0||tokenize","C":[{"N":"check","card":"?","diag":"0|0||tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||tokenize","C":[{"N":"check","card":"?","diag":"0|0||tokenize","C":[{"N":"data","diag":"0|0||tokenize","C":[{"N":"gVarRef","name":"Q{}filter","bSlot":"0"}]}]}]}]}]},{"N":"str","val":"\\|"}]}]}]},{"N":"empty","sType":"0 ","role":"action"}]},{"N":"templateRule","rank":"1","prec":"0","seq":"0","ns":"xml=~ xsl=~","minImp":"0","flags":"s","slots":"200","line":"17","module":"filter.xsl","expand-text":"false","match":"node()|@*","prio":"-0.5","matches":"N u[NT,NP,NC,NE]","C":[{"N":"p.nodeTest","role":"match","test":"N u[NT,NP,NC,NE]","sType":"1N u[NT,NP,NC,NE]"},{"N":"copy","sType":"1N u[1NT ,1NP ,1NC ,1NE ] ","flags":"cin","role":"action","line":"18","C":[{"N":"applyT","sType":"* ","line":"19","mode":"#unnamed","bSlot":"1","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[NT,NP],NC],NE],NA]","role":"select","line":"19","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[NT,NP],NC],NE],NA]","ns":"= xml=~ fn=~ xsl=~ ","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]"},{"N":"axis","name":"attribute","nodeTest":"*NA"}]}]}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"0","ns":"xml=~ xsl=~","minImp":"0","flags":"s","slots":"200","line":"17","module":"filter.xsl","expand-text":"false","match":"node()|@*","prio":"-0.5","matches":"NA","C":[{"N":"p.nodeTest","role":"match","test":"NA","sType":"1NA"},{"N":"copy","sType":"1NA ","flags":"cin","role":"action","line":"18","C":[{"N":"applyT","sType":"* ","line":"19","mode":"#unnamed","bSlot":"1","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[NT,NP],NC],NE],NA]","role":"select","line":"19","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[NT,NP],NC],NE],NA]","ns":"= xml=~ fn=~ xsl=~ ","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]"},{"N":"axis","name":"attribute","nodeTest":"*NA"}]}]}]}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"10"},{"N":"property","name":"omit-xml-declaration","value":"no"},{"N":"property","name":"indent","value":"yes"}]},{"N":"decimalFormat"}],"Σ":"c7787bb7"} \ No newline at end of file diff --git a/build/groove.sef.json b/build/groove.sef.json index 57bc1a20..9efc8337 100644 --- a/build/groove.sef.json +++ b/build/groove.sef.json @@ -1 +1 @@ -{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2024-10-11T21:36:41.793-07:00","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"co","id":"0","uniform":"true","binds":"6 4 2 3 1 5","C":[{"N":"template","flags":"os","module":"groove.xsl","slots":"200","name":"Q{}groove","line":"29","expand-text":"false","sType":"* ","C":[{"N":"sequence","role":"body","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nMidiText Generated by github.com/infojunkie/musicxml-midi\nKeySig "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"32","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}keysig","bSlot":"0","role":"select","line":"32"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nTempo "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"33","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}tempo","bSlot":"1","role":"select","line":"33"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nGroove "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"34","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}groove","bSlot":"2","role":"select","line":"34"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nMidiMark Groove:"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"35","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}groove","bSlot":"2","role":"select","line":"35"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nSet Duration $( round( $_Time * 60000 / $_Tempo ) )\n "}]},{"N":"let","var":"Q{}chordSeq","slot":"0","sType":"* ","line":"38","C":[{"N":"fn","name":"tokenize","sType":"*AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"38","C":[{"N":"treat","as":"AS","diag":"0|0||fn:tokenize","C":[{"N":"check","card":"?","diag":"0|0||fn:tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:tokenize","C":[{"N":"check","card":"?","diag":"0|0||fn:tokenize","C":[{"N":"data","diag":"0|0||fn:tokenize","C":[{"N":"gVarRef","name":"Q{}chords","bSlot":"3"}]}]}]}]}]},{"N":"str","val":"\\s*,\\s*"}]},{"N":"callT","bSlot":"4","sType":"* ","name":"Q{}measure","line":"39","C":[{"N":"withParam","name":"Q{}i","slot":"0","sType":"1ADI","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"40"}]},{"N":"withParam","name":"Q{}count","slot":"0","sType":"* ","C":[{"N":"gVarRef","name":"Q{}count","bSlot":"5","sType":"* ","role":"select","line":"41"}]},{"N":"withParam","name":"Q{}chordSeq","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}chordSeq","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"42"}]}]}]}]}]}]},{"N":"co","id":"1","uniform":"true","binds":"1","C":[{"N":"template","flags":"os","module":"groove.xsl","slots":"200","name":"Q{}measure","line":"46","expand-text":"false","sType":"* ","C":[{"N":"sequence","role":"body","sType":"* ","C":[{"N":"param","name":"Q{}i","slot":"0","sType":"* ","as":"* ","flags":"","line":"47","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"param","name":"Q{}count","slot":"1","sType":"* ","as":"* ","flags":"","line":"48","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"1","sType":"* "}]},{"N":"param","name":"Q{}chordSeq","slot":"2","sType":"* ","as":"* ","flags":"","line":"49","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"2","sType":"* "}]},{"N":"choose","sType":"* ","line":"50","C":[{"N":"gc","op":"<","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"50","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}i","slot":"0"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}count","slot":"1"}]}]},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nMidiMark 0 Measure:"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"52","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}i","slot":"0","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"52"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":": $Duration\n"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"53","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"filter","sType":"*","flags":"p","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"53","C":[{"N":"varRef","name":"Q{}chordSeq","slot":"2"},{"N":"arith","op":"+","calc":"a+a","C":[{"N":"int","val":"1"},{"N":"arith","op":"mod","calc":"a%a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}i","slot":"0"}]}]},{"N":"fn","name":"count","C":[{"N":"varRef","name":"Q{}chordSeq","slot":"2"}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}measure","line":"54","C":[{"N":"withParam","name":"Q{}i","slot":"0","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"55","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}i","slot":"0"}]}]},{"N":"int","val":"1"}]}]},{"N":"withParam","name":"Q{}count","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}count","slot":"1","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"56"}]},{"N":"withParam","name":"Q{}chordSeq","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}chordSeq","slot":"2","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"57"}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]},{"N":"co","binds":"","id":"2","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}groove","sType":"* ","slots":"200","module":"groove.xsl","flags":"r","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"str","sType":"1AS ","val":"","role":"select"}]}]},{"N":"co","binds":"","id":"3","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}chords","sType":"* ","slots":"200","module":"groove.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"str","val":"z","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"24"}]}]},{"N":"co","binds":"","id":"4","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}tempo","sType":"* ","slots":"200","module":"groove.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"int","val":"120","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"25"}]}]},{"N":"co","binds":"","id":"5","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}count","sType":"* ","slots":"200","module":"groove.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"int","val":"4","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"26"}]}]},{"N":"co","binds":"","id":"6","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}keysig","sType":"* ","slots":"200","module":"groove.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"str","val":"C","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"27"}]}]},{"N":"co","binds":"","id":"7","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":""}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"30"},{"N":"property","name":"method","value":"text"},{"N":"property","name":"media-type","value":"text/plain"},{"N":"property","name":"omit-xml-declaration","value":"yes"}]},{"N":"decimalFormat"}],"Σ":"d1b6abc9"} \ No newline at end of file +{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2024-10-13T21:18:20.38-07:00","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"co","id":"0","uniform":"true","binds":"6 4 2 3 1 5","C":[{"N":"template","flags":"os","module":"groove.xsl","slots":"200","name":"Q{}groove","line":"29","expand-text":"false","sType":"* ","C":[{"N":"sequence","role":"body","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nMidiText Generated by github.com/infojunkie/musicxml-midi\nKeySig "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"32","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}keysig","bSlot":"0","role":"select","line":"32"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nTempo "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"33","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}tempo","bSlot":"1","role":"select","line":"33"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nGroove "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"34","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}groove","bSlot":"2","role":"select","line":"34"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nMidiMark Groove:"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"35","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}groove","bSlot":"2","role":"select","line":"35"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nSet Duration $( round( $_Time * 60000 / $_Tempo ) )\n "}]},{"N":"let","var":"Q{}chordSeq","slot":"0","sType":"* ","line":"38","C":[{"N":"fn","name":"tokenize","sType":"*AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"38","C":[{"N":"treat","as":"AS","diag":"0|0||fn:tokenize","C":[{"N":"check","card":"?","diag":"0|0||fn:tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:tokenize","C":[{"N":"check","card":"?","diag":"0|0||fn:tokenize","C":[{"N":"data","diag":"0|0||fn:tokenize","C":[{"N":"gVarRef","name":"Q{}chords","bSlot":"3"}]}]}]}]}]},{"N":"str","val":"\\s*,\\s*"}]},{"N":"callT","bSlot":"4","sType":"* ","name":"Q{}measure","line":"39","C":[{"N":"withParam","name":"Q{}i","slot":"0","sType":"1ADI","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"40"}]},{"N":"withParam","name":"Q{}count","slot":"0","sType":"* ","C":[{"N":"gVarRef","name":"Q{}count","bSlot":"5","sType":"* ","role":"select","line":"41"}]},{"N":"withParam","name":"Q{}chordSeq","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}chordSeq","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"42"}]}]}]}]}]}]},{"N":"co","id":"1","uniform":"true","binds":"1","C":[{"N":"template","flags":"os","module":"groove.xsl","slots":"200","name":"Q{}measure","line":"46","expand-text":"false","sType":"* ","C":[{"N":"sequence","role":"body","sType":"* ","C":[{"N":"param","name":"Q{}i","slot":"0","sType":"* ","as":"* ","flags":"","line":"47","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"param","name":"Q{}count","slot":"1","sType":"* ","as":"* ","flags":"","line":"48","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"1","sType":"* "}]},{"N":"param","name":"Q{}chordSeq","slot":"2","sType":"* ","as":"* ","flags":"","line":"49","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"2","sType":"* "}]},{"N":"choose","sType":"* ","line":"50","C":[{"N":"gc","op":"<","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"50","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}i","slot":"0"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}count","slot":"1"}]}]},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nMidiMark 0 Measure:"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"52","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}i","slot":"0","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"52"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":": $Duration\n"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"53","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"filter","sType":"*","flags":"p","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"53","C":[{"N":"varRef","name":"Q{}chordSeq","slot":"2"},{"N":"arith","op":"+","calc":"a+a","C":[{"N":"int","val":"1"},{"N":"arith","op":"mod","calc":"a%a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}i","slot":"0"}]}]},{"N":"fn","name":"count","C":[{"N":"varRef","name":"Q{}chordSeq","slot":"2"}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}measure","line":"54","C":[{"N":"withParam","name":"Q{}i","slot":"0","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"55","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}i","slot":"0"}]}]},{"N":"int","val":"1"}]}]},{"N":"withParam","name":"Q{}count","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}count","slot":"1","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"56"}]},{"N":"withParam","name":"Q{}chordSeq","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}chordSeq","slot":"2","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"57"}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]},{"N":"co","binds":"","id":"2","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}groove","sType":"* ","slots":"200","module":"groove.xsl","flags":"r","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"str","sType":"1AS ","val":"","role":"select"}]}]},{"N":"co","binds":"","id":"3","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}chords","sType":"* ","slots":"200","module":"groove.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"str","val":"z","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"24"}]}]},{"N":"co","binds":"","id":"4","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}tempo","sType":"* ","slots":"200","module":"groove.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"int","val":"120","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"25"}]}]},{"N":"co","binds":"","id":"5","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}count","sType":"* ","slots":"200","module":"groove.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"int","val":"4","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"26"}]}]},{"N":"co","binds":"","id":"6","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}keysig","sType":"* ","slots":"200","module":"groove.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"str","val":"C","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"27"}]}]},{"N":"co","binds":"","id":"7","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":""}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"30"},{"N":"property","name":"method","value":"text"},{"N":"property","name":"media-type","value":"text/plain"},{"N":"property","name":"omit-xml-declaration","value":"yes"}]},{"N":"decimalFormat"}],"Σ":"ea931e89"} \ No newline at end of file diff --git a/build/mma.sef.json b/build/mma.sef.json index 715315c8..ab4dc6fc 100644 --- a/build/mma.sef.json +++ b/build/mma.sef.json @@ -1 +1 @@ -{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2024-10-11T21:36:42.585-07:00","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"co","binds":"","id":"0","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","as":"1AO ","slots":"203","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","line":"114","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"arg","slot":"2","name":"Q{}tempo","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"arith","op":"div","calc":"a/a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"118","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"60000"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}tempo","slot":"2"}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"1","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ] ","line":"124","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"fn","name":"round","sType":"?A m[AO,AD,AF]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"127","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"192"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"2","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[* ] ","sType":"1F r[1AO ] a[* ] ","line":"133","C":[{"N":"arg","slot":"0","name":"Q{}harmony","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"let","var":"Q{}id","slot":"1","sType":"*A ","line":"135","role":"body","C":[{"N":"fn","name":"generate-id","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"135","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]}]}]},{"N":"fn","name":"sum","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"138","C":[{"N":"data","diag":"0|0||sum","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]},{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"generate-id","C":[{"N":"fn","name":"reverse","C":[{"N":"first","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]}]}]}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"3","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.mellowood.ca/mma}note","as":"1ADI ","slots":"202","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","module":"mma.xsl","flags":"muu","sig":"1F r[1ADI ] a[* ,* ] ","sType":"1F r[1ADI ] a[* ,* ] ","line":"73","C":[{"N":"arg","slot":"0","name":"Q{}step","as":"* ","sType":"* "},{"N":"arg","slot":"1","name":"Q{}alter","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1ADI ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}note()","role":"body","C":[{"N":"treat","as":"ADI ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}note()","role":"body","C":[{"N":"check","card":"1","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}note()","role":"body","C":[{"N":"cvUntyped","to":"ADI","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}note()","role":"body","C":[{"N":"data","sType":"*A ","role":"body","C":[{"N":"choose","sType":"? ","type":"item()*","role":"body","line":"76","C":[{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"77","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"G"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"A"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]}]},{"N":"int","val":"-4","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"100"},{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"78","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"A"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"B"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]}]},{"N":"int","val":"-2","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"102"},{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"79","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"C"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"D"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]}]},{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"104"},{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"80","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"D"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"E"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]}]},{"N":"int","val":"3","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"106"},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"81","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"G"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]},{"N":"int","val":"-6","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"108"},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"82","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"C"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]},{"N":"int","val":"-1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"110"},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"83","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"B"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"112"},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"84","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"F"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]},{"N":"int","val":"4","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"114"},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"85","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"E"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"int","val":"5","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"116"},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"86","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"F"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"int","val":"6","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"118"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"87","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"G"}]},{"N":"int","val":"-5","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"120"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"88","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"A"}]},{"N":"int","val":"-3","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"122"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"89","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"D"}]},{"N":"int","val":"2","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"124"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"90","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"B"}]},{"N":"int","val":"-1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"126"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"91","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"C"}]},{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"128"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"92","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"E"}]},{"N":"int","val":"4","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"130"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"93","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"F"}]},{"N":"int","val":"5","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"132"},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"4","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.mellowood.ca/mma}groove","as":"* ","slots":"202","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","module":"mma.xsl","flags":"muu","sig":"1F r[* ] a[* ,* ] ","sType":"1F r[* ] a[* ,* ] ","line":"100","C":[{"N":"arg","slot":"0","name":"Q{}groove","as":"* ","sType":"* "},{"N":"arg","slot":"1","name":"Q{}time","as":"* ","sType":"* "},{"N":"choose","sType":"? ","type":"item()*","role":"body","line":"107","C":[{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"108","C":[{"N":"fn","name":"contains","C":[{"N":"fn","name":"lower-case","C":[{"N":"treat","as":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"varRef","name":"Q{}groove","slot":"0"}]}]}]}]}]}]},{"N":"str","val":"swing"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]},{"N":"fn","name":"contains","C":[{"N":"fn","name":"lower-case","C":[{"N":"treat","as":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"varRef","name":"Q{}groove","slot":"0"}]}]}]}]}]}]},{"N":"str","val":"jazz"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{"N":"choose","sType":"?AS ","type":"item()*","line":"109","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"110","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}time","slot":"1"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]"}]}]}]},{"N":"int","val":"5"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}time","slot":"1"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]}]},{"N":"int","val":"4"}]}]},{"N":"str","val":"Jazz54","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"140"},{"N":"true"},{"N":"str","val":"Swing","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"142"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]},{"N":"co","binds":"","id":"5","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.mellowood.ca/mma}mod","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","module":"mma.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ] ","line":"122","C":[{"N":"arg","slot":"0","name":"Q{}dividend","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisor","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}mod()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}mod()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}mod()","role":"body","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"body","line":"125","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}dividend","slot":"0"}]}]},{"N":"arith","op":"*","calc":"a*a","C":[{"N":"fn","name":"floor","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||floor","C":[{"N":"check","card":"?","diag":"0|0||floor","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||floor","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}dividend","slot":"0"}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisor","slot":"1"}]}]}]}]}]}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisor","slot":"1"}]}]}]}]}]}]}]}]}]},{"N":"co","id":"6","vis":"PRIVATE","ex:uniform":"true","binds":"6 11","C":[{"N":"function","name":"Q{http://www.mellowood.ca/mma}noteDuration","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","module":"mma.xsl","flags":"muu","sig":"1F r[1AO ] a[* ,1AO ] ","sType":"1F r[1AO ] a[* ,1AO ] ","line":"131","C":[{"N":"arg","slot":"0","name":"Q{}note","as":"* ","sType":"* "},{"N":"arg","slot":"1","name":"Q{}duration","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}noteDuration()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}noteDuration()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}noteDuration()","role":"body","C":[{"N":"let","var":"Q{}tie","slot":"2","sType":"*A ","line":"134","role":"body","C":[{"N":"docOrder","sType":"*NE u[NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied],NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]]","role":"select","line":"134","C":[{"N":"choose","sType":"*NE u[NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied],NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]"}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied]"}]}]},{"N":"true"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"}]}]}]}]},{"N":"choose","sType":"?A ","type":"item()*","line":"135","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"136","C":[{"N":"filter","C":[{"N":"varRef","name":"Q{}tie","slot":"2"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]},{"N":"fn","name":"not","C":[{"N":"filter","C":[{"N":"varRef","name":"Q{}tie","slot":"2"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"start"}]}]}]}]},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"154","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}duration","slot":"1"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]},{"N":"true"},{"N":"ufCall","name":"Q{http://www.mellowood.ca/mma}noteDuration","coId":"6","sType":"1AO","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"144","bSlot":"0","C":[{"N":"choose","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"filter","C":[{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"1"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"first","C":[{"N":"filter","C":[{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"1"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]}]}]}]},{"N":"true"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"parent","nodeTest":"?N"}]},{"N":"first","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"first","C":[{"N":"filter","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"1"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]}]}]}]}]},{"N":"check","card":"1","diag":"0|1||mma:noteDuration","C":[{"N":"convert","to":"AO","flags":"","C":[{"N":"cvUntyped","to":"AO","diag":"0|1||mma:noteDuration","C":[{"N":"arith","op":"+","calc":"a+a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}duration","slot":"1"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"7","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}useSef","sType":"AB ","slots":"200","module":"mma.xsl","as":"AB ","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"false","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"25"}]}]},{"N":"co","binds":"","id":"8","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}chordVolume","sType":"* ","slots":"200","module":"mma.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"int","val":"50","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"26"}]}]},{"N":"co","binds":"","id":"9","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}melodyInstrument","sType":"* ","slots":"200","module":"mma.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"str","val":"TenorSax","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"27"}]}]},{"N":"co","binds":"","id":"10","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}chordInstrument","sType":"* ","slots":"200","module":"mma.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"str","val":"Piano1","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"28"}]}]},{"N":"co","binds":"","id":"11","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}melodyVoice","sType":"* ","slots":"200","module":"mma.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"29"}]}]},{"N":"co","binds":"","id":"12","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}globalGroove","sType":"* ","slots":"200","module":"mma.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"str","val":"","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"30"}]}]},{"N":"co","binds":"","id":"13","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}renumberMeasures","sType":"AB ","slots":"200","module":"mma.xsl","as":"AB ","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"false","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"31"}]}]},{"N":"co","id":"14","vis":"PUBLIC","ex:uniform":"true","binds":"13","C":[{"N":"globalVariable","name":"Q{}stylesheetParams","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","module":"mma.xsl","slots":"200","sType":"1FM","C":[{"N":"map","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"154","C":[{"N":"fn","name":"QName","C":[{"N":"str","val":""},{"N":"str","val":"renumberMeasures"}]},{"N":"gVarRef","name":"Q{}renumberMeasures","bSlot":"0"}]}]}]},{"N":"co","id":"15","vis":"PUBLIC","ex:uniform":"true","binds":"7 14","C":[{"N":"globalVariable","name":"Q{}unrolled","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","module":"mma.xsl","slots":"200","sType":"?ND ","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-midi/src/xsl/mma.xsl","role":"select","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","line":"156","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"156","C":[{"N":"gVarRef","name":"Q{}useSef","bSlot":"0"}]},{"N":"lookup","op":"?","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"161","C":[{"N":"fn","name":"transform","C":[{"N":"map","C":[{"N":"str","val":"source-node"},{"N":"root"},{"N":"str","val":"stylesheet-node"},{"N":"fn","name":"doc","C":[{"N":"str","val":"unroll.xsl"}]},{"N":"str","val":"stylesheet-params"},{"N":"gVarRef","name":"Q{}stylesheetParams","bSlot":"1"}]}]},{"N":"str","val":"output"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"163","C":[{"N":"gVarRef","name":"Q{}useSef","bSlot":"0","sType":"AB ","line":"163"},{"N":"lookup","op":"?","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"168","C":[{"N":"fn","name":"transform","C":[{"N":"map","C":[{"N":"str","val":"source-node"},{"N":"root"},{"N":"str","val":"package-text"},{"N":"fn","name":"unparsed-text","C":[{"N":"str","val":"unroll.sef.json"}]},{"N":"str","val":"stylesheet-params"},{"N":"gVarRef","name":"Q{}stylesheetParams","bSlot":"1"}]}]},{"N":"str","val":"output"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]},{"N":"co","id":"16","binds":"16 22 12 4 18 0 20 11 21 17 10 9 23 15","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"10","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"596","module":"mma.xsl","expand-text":"false","match":"key","prio":"0","matches":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nKeySig "}]},{"N":"choose","sType":"* ","type":"item()*","line":"597","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]","sType":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"598"},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"599","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"600","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]"}]},{"N":"int","val":"0"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]},{"N":"gc","op":"<","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"601","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]"}]},{"N":"int","val":"0"}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith","sType":"1AO","op":"*","calc":"d*d","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"7","C":[{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"-1"}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]"}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"b"}]}]},{"N":"gc","op":">","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"602","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]"}]},{"N":"int","val":"0"}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"9"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"#"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"604","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]","sType":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"604"},{"N":"choose","sType":"? ","type":"item()*","line":"605","C":[{"N":"compareToString","op":"eq","val":"none","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"606","C":[{"N":"fn","name":"lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]"}]}]}]}]}]},{"N":"empty","sType":"0 "},{"N":"compareToString","op":"eq","val":"major","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"607","C":[{"N":"fn","name":"lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]"}]}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" Major"}]},{"N":"compareToString","op":"eq","val":"minor","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"608","C":[{"N":"fn","name":"lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]"}]}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" Minor"}]},{"N":"true"},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[KeySig] Unhandled mode "}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]","name":"child","nodeTest":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"17"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"true"},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"sequence","role":"select","sType":"*N ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[KeySig] Unhandled key signature "}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=http://ns.saxonica.com/xslt/export","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","C":[{"N":"dot","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"20"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]}]}]}]},{"N":"templateRule","rank":"1","prec":"0","seq":"9","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"588","module":"mma.xsl","expand-text":"false","match":"time","prio":"0","matches":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nTime "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"589","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith","sType":"?AO","op":"div","calc":"d/d","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"589","C":[{"N":"arith","op":"*","calc":"d*d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]"}]}]}]},{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"4"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nTimeSig "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"590","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]","name":"child","nodeTest":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"590"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"/"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"590","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"590"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"2","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"235","module":"mma.xsl","expand-text":"false","match":"measure","prio":"0","matches":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"applyT","sType":"* ","line":"239","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"239","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"}]}]}]},{"N":"applyT","sType":"* ","line":"244","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"244","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"}]}]}]},{"N":"applyT","sType":"* ","line":"249","mode":"Q{}tempo","bSlot":"1","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"249","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]}]}]}]},{"N":"let","var":"Q{}groove","slot":"0","sType":"* ","line":"254","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-midi/src/xsl/mma.xsl","role":"select","C":[{"N":"choose","sType":"? ","type":"item()*","line":"255","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"256","C":[{"N":"attVal","name":"Q{}number"},{"N":"str","val":"0"}]},{"N":"empty","sType":"0 "},{"N":"compareToString","op":"eq","val":"none","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"257","C":[{"N":"fn","name":"lower-case","C":[{"N":"treat","as":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"gVarRef","name":"Q{}globalGroove","bSlot":"2"}]}]}]}]}]}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}globalGroove","bSlot":"2","role":"select","line":"9"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"258","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}number"},{"N":"str","val":"1"}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"gVarRef","name":"Q{}globalGroove","bSlot":"2"}]},{"N":"str","val":""}]}]},{"N":"compareToString","op":"ne","val":"default","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"lower-case","C":[{"N":"treat","as":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"gVarRef","name":"Q{}globalGroove","bSlot":"2"}]}]}]}]}]}]}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"259","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}globalGroove","bSlot":"2","role":"select","line":"259"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"vc","op":"eq","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"261","C":[{"N":"fn","name":"accumulator-before","C":[{"N":"str","val":"Q{}groove"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}groove"}]}]},{"N":"empty","sType":"0 "},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"266","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"*","name":"Q{http://www.mellowood.ca/mma}groove","coId":"4","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"266","bSlot":"3","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}play,NE nQ{http://www.w3.org/1999/xhtml}play]"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}other-play,NE nQ{http://www.w3.org/1999/xhtml}other-play]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"groove"}]}]}]},{"N":"axis","name":"child","nodeTest":"*NT"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"270","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"271","C":[{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}groove","slot":"0"}]},{"N":"str","val":""}]},{"N":"compareToString","op":"ne","val":"none","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"lower-case","C":[{"N":"treat","as":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"varRef","name":"Q{}groove","slot":"0"}]}]}]}]}]}]}]}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nGroove "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"272","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}groove","slot":"0","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"272"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nMidiMark Groove:"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"273","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}groove","slot":"0","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"273"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"275","C":[{"N":"and","C":[{"N":"compareToString","op":"ne","val":"none","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"lower-case","C":[{"N":"treat","as":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"varRef","name":"Q{}groove","slot":"0"}]}]}]}]}]}]}]},{"N":"compareToString","op":"ne","val":"","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}groove"}]}]}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"ufCall","name":"Q{http://www.mellowood.ca/mma}groove","coId":"4","bSlot":"3","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}groove"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]}]}]},{"N":"str","val":""}]}]},{"N":"empty","sType":"0 "},{"N":"true"},{"N":"sequence","sType":"* ","C":[{"N":"applyT","sType":"* ","line":"277","mode":"Q{}sequence","bSlot":"4","C":[{"N":"first","sType":"?NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"277","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"withParam","name":"Q{}start","slot":"0","sType":"1ADI","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"278"}]}]},{"N":"choose","sType":"* ","line":"280","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"280","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"applyT","sType":"* ","line":"284","mode":"Q{}sequence","bSlot":"4","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"284","C":[{"N":"fn","name":"accumulator-after","sType":"*NE ","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"str","val":"Q{}harmony"}]}]},{"N":"withParam","name":"Q{}start","slot":"0","sType":"1ADI","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"285"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"MidiMark Measure:"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"295","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ifCall","sType":"*","name":"Q{http://saxon.sf.net/}apply","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"295","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureIndex"}]},{"N":"arrayBlock","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":":"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"301","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","coId":"0","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"301","bSlot":"5","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}tempo"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n"}]},{"N":"applyT","sType":"* ","line":"307","mode":"Q{}riff","bSlot":"6","C":[{"N":"filter","sType":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"307","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"7"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]}]},{"N":"applyT","sType":"* ","line":"308","mode":"Q{}pitch","bSlot":"8","C":[{"N":"filter","sType":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"308","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"7"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n"}]},{"N":"applyT","sType":"* ","line":"314","mode":"Q{}onset","bSlot":"9","C":[{"N":"first","sType":"?NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"314","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"withParam","name":"Q{}start","slot":"0","sType":"1ADI","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"315"}]}]},{"N":"choose","sType":"* ","line":"317","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"317","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"321","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"321","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}harmony"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" z"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"applyT","sType":"* ","line":"322","mode":"Q{}onset","bSlot":"9","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"322","C":[{"N":"fn","name":"accumulator-after","sType":"*NE ","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"str","val":"Q{}harmony"}]}]},{"N":"withParam","name":"Q{}start","slot":"0","sType":"1ADI","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"323"}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"331","C":[{"N":"docOrder","sType":"*NE","line":"331","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]}]},{"N":"let","var":"Q{}durationDifference","slot":"1","sType":"* ","line":"332","C":[{"N":"fn","name":"round","sType":"?A m[AO,AD,AF]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"332","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"-","calc":"a-a","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"fn","name":"sum","C":[{"N":"data","diag":"0|0||sum","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"7"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]},{"N":"arith","op":"div","calc":"d/d","C":[{"N":"arith","op":"*","calc":"d*d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]"}]}]}]}]}]},{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"4"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"choose","sType":"* ","line":"333","C":[{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"333","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}durationDifference","slot":"1"}]},{"N":"int","val":"0"}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nBeatAdjust "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"334","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}durationDifference","slot":"1","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"334"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]},{"N":"templateRule","rank":"3","prec":"0","seq":"1","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"186","module":"mma.xsl","expand-text":"false","match":"score-partwise","prio":"0","matches":"NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]","sType":"1NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nMidiText Generated by github.com/infojunkie/musicxml-midi\n\nBegin Chord-Custom\n Voice "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"191","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}chordInstrument","bSlot":"10","role":"select","line":"191"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n Octave 5\n Articulate 80\n Volume f\nEnd\n\nSolo Voice "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"197","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}melodyInstrument","bSlot":"11","role":"select","line":"197"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n\nDefChord mb6 (0, 3, 7, 8) (0, 2, 3, 5, 7, 8, 10)\nDefChord 7(add6) (0, 4, 7, 9, 10) (0, 2, 4, 5, 7, 9, 10)\nDefChord +(addM7)(add9) (0, 4, 8, 11, 14) (0, 2, 4, 5, 8, 9, 11)\nDefChord +7(add9) (0, 4, 8, 10, 14) (0, 2, 4, 5, 8, 9, 10)\nDefChord 7+#9 (0, 4, 8, 10, 15) (0, 3, 4, 5, 8, 9, 10)\nDefChord 7+b9 (0, 4, 8, 10, 13) (0, 1, 4, 5, 8, 9, 10)\nDefChord 7b9#9 (0, 4, 7, 10, 13, 15) (0, 1, 3, 4, 5, 7, 10)\nDefChord 7b5b9#9#5 (0, 4, 6, 8, 10, 13, 15) (0, 1, 3, 5, 6, 8, 10)\nDefChord 7susb13 (0, 5, 10, 20) (0, 2, 5, 5, 8, 9, 10)\nDefChord 7(add3)(add4) (0, 4, 5, 7, 10) (0, 2, 4, 5, 7, 9, 10)\nDefChord M7+ (0, 4, 8, 11) (0, 2, 4, 5, 8, 9, 11)\nDefChord dimb13 (0, 3, 6, 9, 8) (0, 2, 3, 5, 6, 8, 9)\nDefChord 13(omit3) (0, 7, 10, 21) (0, 2, 5, 5, 7, 9, 10)\nDefChord m(add2) (0, 2, 3, 7) (0, 2, 3, 5, 7, 8, 8)\nDefChord m7+#9 (0, 3, 8, 10, 15) (0, 3, 3, 5, 8, 8, 10)\nDefChord m7+b9 (0, 3, 8, 10, 13) (0, 1, 3, 5, 8, 8, 10)\nDefChord m7+b9#11 (0, 3, 8, 10, 13, 18) (0, 1, 3, 6, 8, 9, 10)\nDefChord m7b5(add9)(add11) (0, 3, 6, 10, 14, 17) (0, 2, 3, 5, 6, 9, 10)\nDefChord m7+ (0, 3, 7, 11) (0, 2, 3, 5, 7, 8, 11)\nDefChord mM7b5 (0, 3, 6, 11) (0, 2, 3, 5, 6, 8, 11)\nDefChord (omit3)(add9) (0, 0, 7, 14) (0, 2, 4, 5, 7, 9, 10)\nDefChord sus#9 (0, 5, 7, 15) (0, 2, 5, 5, 7, 9, 11)\nDefChord susb9 (0, 5, 7, 13) (0, 2, 5, 5, 7, 9, 11)\n\nPlugin Slash"}]},{"N":"applyT","sType":"* ","line":"224","mode":"Q{}declaration","bSlot":"12","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"224","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]"}]}]}]}]},{"N":"withParam","name":"Q{}definition","slot":"0","sType":"1AB","C":[{"N":"true","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"225"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n"}]},{"N":"applyT","sType":"* ","line":"229","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"229","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]},{"N":"templateRule","rank":"4","prec":"0","seq":"0","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"177","module":"mma.xsl","expand-text":"false","match":"/","prio":"-0.5","matches":"ND","C":[{"N":"p.nodeTest","role":"match","test":"ND","sType":"1ND","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"applyT","sType":"* ","line":"178","mode":"#unnamed","role":"action","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"178","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"gVarRef","name":"Q{}unrolled","bSlot":"13"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]"}]}]}]}]}]}]},{"N":"co","id":"17","binds":"19 17 2","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}onset","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"3","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"342","module":"mma.xsl","expand-text":"false","match":"harmony","prio":"0","matches":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}start","slot":"0","sType":"* ","as":"* ","flags":"","line":"343","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" "}]},{"N":"applyT","sType":"* ","line":"345","mode":"Q{}name","bSlot":"0","C":[{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"345"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"@"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"346","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}start","slot":"0","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"346"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"applyT","sType":"* ","line":"347","mode":"Q{}onset","bSlot":"1","C":[{"N":"first","sType":"?NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"347","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"withParam","name":"Q{}start","slot":"0","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"348","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}start","slot":"0"}]}]},{"N":"arith","op":"div","calc":"d/d","C":[{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration","coId":"2","bSlot":"2","C":[{"N":"dot"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]}]}]}]}]},{"N":"co","id":"18","binds":"2 1 8 18","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}sequence","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"4","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"355","module":"mma.xsl","expand-text":"false","match":"harmony","prio":"0","matches":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}start","slot":"0","sType":"* ","as":"* ","flags":"","line":"356","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"choose","sType":"? ","line":"357","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"357","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}start","slot":"0"}]},{"N":"int","val":"1"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nChord-Custom Sequence { "}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"359","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}start","slot":"0","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"359"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" "}]},{"N":"let","var":"Q{}duration","slot":"1","sType":"* ","line":"365","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-midi/src/xsl/mma.xsl","role":"select","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"366","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration","coId":"2","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"366","bSlot":"0","C":[{"N":"dot"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"368","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","coId":"1","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"368","bSlot":"1","C":[{"N":"convert","to":"AO","flags":"","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||musicxml:timeToMIDITicks","C":[{"N":"check","card":"1","diag":"0|0||musicxml:timeToMIDITicks","C":[{"N":"data","diag":"0|0||musicxml:timeToMIDITicks","C":[{"N":"varRef","name":"Q{}duration","slot":"1"}]}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"t "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"369","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}chordVolume","bSlot":"2","role":"select","line":"369"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"; "}]},{"N":"applyT","sType":"* ","line":"370","mode":"Q{}sequence","bSlot":"3","C":[{"N":"first","sType":"?NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"370","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"withParam","name":"Q{}start","slot":"0","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"371","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}start","slot":"0"}]}]},{"N":"arith","op":"div","calc":"a/a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}duration","slot":"1"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]},{"N":"choose","sType":"? ","line":"373","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"373","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"}"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]}]}]},{"N":"co","id":"19","binds":"5 3","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}name","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"5","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"379","module":"mma.xsl","expand-text":"false","match":"harmony","prio":"0","matches":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}definition","slot":"0","sType":"* ","as":"* ","flags":"","line":"380","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"choose","sType":"* ","type":"item()*","line":"381","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"382","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"none"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"z"}]},{"N":"true"},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"384","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"384","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root,NE nQ{http://www.w3.org/1999/xhtml}root]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-step,NE nQ{http://www.w3.org/1999/xhtml}root-step]"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"385","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"385","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root,NE nQ{http://www.w3.org/1999/xhtml}root]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-alter,NE nQ{http://www.w3.org/1999/xhtml}root-alter]"}]}]},{"N":"str","val":"1"}]},{"N":"str","val":"#"},{"N":"true"},{"N":"choose","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root,NE nQ{http://www.w3.org/1999/xhtml}root]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-alter,NE nQ{http://www.w3.org/1999/xhtml}root-alter]"}]}]},{"N":"str","val":"-1"}]},{"N":"str","val":"b"},{"N":"true"},{"N":"str","val":""}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"choose","sType":"? ","type":"item()*","line":"387","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"388","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"augmented"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"+"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"389","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"augmented-seventh"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"+7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"390","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"diminished"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"dim"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"391","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"diminished-seventh"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"dim7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"392","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"dominant"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"393","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"dominant-11th"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"11"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"394","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"dominant-13th"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"13"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"395","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"dominant-ninth"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"9"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"396","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"French"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"397","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"German"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"398","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"half-diminished"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m7b5"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"399","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"Italian"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"400","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"401","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major-11th"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"M11"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"402","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major-13th"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"M13"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"403","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major-minor"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"mM7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"404","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major-ninth"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"M9"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"405","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major-seventh"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"M7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"406","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major-sixth"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"6"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"407","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"minor"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"408","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"minor-11th"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m11"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"409","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"minor-13th"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m13"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"410","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"minor-ninth"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m9"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"411","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"minor-seventh"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"412","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"minor-sixth"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m6"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"413","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"Neapolitan"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"414","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"other"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"415","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"pedal"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"416","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"power"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"5"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"417","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"suspended-fourth"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"sus"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"418","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"suspended-second"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"sus2"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"419","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"Tristan"}]},{"N":"empty","sType":"0 "},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"let","var":"Q{}sus","slot":"1","sType":"* ","line":"436","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-midi/src/xsl/mma.xsl","role":"select","C":[{"N":"choose","sType":"? ","type":"item()*","line":"437","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"438","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"add"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"4"}]}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"subtract"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"3"}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"sus"}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"439","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"add"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"2"}]}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"subtract"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"3"}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"sus2"}]},{"N":"filter","sType":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"440","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"alter"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"5"}]}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"1"}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"+"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"444","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}sus","slot":"1","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"444"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"forEach","sType":"*NT ","line":"445","C":[{"N":"filter","sType":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"445","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"subtract"}]},{"N":"fn","name":"not","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"3"}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}sus","slot":"1"}]},{"N":"str","val":""}]}]}]}]}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"(omit"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"447","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"447"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":")"}]}]}]},{"N":"forEach","sType":"*NT ","line":"450","C":[{"N":"filter","sType":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"450","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"alter"}]},{"N":"fn","name":"not","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"5"}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}sus","slot":"1"}]},{"N":"str","val":""}]}]}]}]}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"451","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"451","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"1"}]},{"N":"str","val":"#"},{"N":"true"},{"N":"choose","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"-1"}]},{"N":"str","val":"b"},{"N":"true"},{"N":"str","val":""}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"452","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"452"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"forEach","sType":"*NT ","line":"454","C":[{"N":"filter","sType":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"454","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"add"}]},{"N":"fn","name":"not","C":[{"N":"and","C":[{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"4"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"2"}]}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}sus","slot":"1"}]},{"N":"str","val":""}]}]}]}]}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"455","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"455","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"1"}]},{"N":"str","val":"#"},{"N":"true"},{"N":"choose","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"-1"}]},{"N":"str","val":"b"},{"N":"true"},{"N":"str","val":"(add"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"456","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"456","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"0"}]}]},{"N":"str","val":"M7"},{"N":"true"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"457","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"457","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"1"}]},{"N":"str","val":""},{"N":"true"},{"N":"choose","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"-1"}]},{"N":"str","val":""},{"N":"true"},{"N":"str","val":")"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"choose","sType":"* ","line":"462","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]","sType":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"462"},{"N":"choose","sType":"*NT ","type":"item()*","line":"463","C":[{"N":"varRef","name":"Q{}definition","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"464"},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"/"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"466","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"466","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass-step,NE nQ{http://www.w3.org/1999/xhtml}bass-step]"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"467","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"467","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass-alter,NE nQ{http://www.w3.org/1999/xhtml}bass-alter]"}]}]},{"N":"str","val":"1"}]},{"N":"str","val":"#"},{"N":"true"},{"N":"choose","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass-alter,NE nQ{http://www.w3.org/1999/xhtml}bass-alter]"}]}]},{"N":"str","val":"-1"}]},{"N":"str","val":"b"},{"N":"true"},{"N":"str","val":""}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","flags":"d","C":[{"N":"str","sType":"1AS ","val":"<"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"471","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.mellowood.ca/mma}mod","coId":"5","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"471","bSlot":"0","C":[{"N":"convert","to":"AO","flags":"","C":[{"N":"arith","op":"-","calc":"i-i","C":[{"N":"ufCall","name":"Q{http://www.mellowood.ca/mma}note","coId":"3","bSlot":"1","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass-step,NE nQ{http://www.w3.org/1999/xhtml}bass-step]"}]},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass-alter,NE nQ{http://www.w3.org/1999/xhtml}bass-alter]"}]}]},{"N":"ufCall","name":"Q{http://www.mellowood.ca/mma}note","coId":"3","bSlot":"1","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root,NE nQ{http://www.w3.org/1999/xhtml}root]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-step,NE nQ{http://www.w3.org/1999/xhtml}root-step]"}]},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root,NE nQ{http://www.w3.org/1999/xhtml}root]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-alter,NE nQ{http://www.w3.org/1999/xhtml}root-alter]"}]}]}]}]},{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"-12"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]}]}]}]}]},{"N":"co","id":"20","binds":"11 6","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}riff","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"6","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"482","module":"mma.xsl","expand-text":"false","match":"note","prio":"0","matches":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"let","var":"Q{}tieStop","slot":"0","sType":"* ","line":"500","role":"action","C":[{"N":"fn","name":"accumulator-after","sType":"AB ","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"500","C":[{"N":"str","val":"Q{}tieStop"}]},{"N":"let","var":"Q{}tieStart","slot":"1","sType":"* ","line":"501","C":[{"N":"ifCall","name":"Q{http://saxon.sf.net/}apply","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"501","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}tieStart"}]},{"N":"arrayBlock","C":[{"N":"str","val":"current"}]}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","line":"503","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"503","C":[{"N":"fn","name":"reverse","C":[{"N":"filter","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"0"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"Solo Riff "}]},{"N":"choose","sType":"? ","line":"505","C":[{"N":"varRef","name":"Q{}tieStop","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"505"},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"~"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"508","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}grace,NE nQ{http://www.w3.org/1999/xhtml}grace]","sType":"*NE u[NE nQ{}grace,NE nQ{http://www.w3.org/1999/xhtml}grace]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"508"},{"N":"valueOf","sType":"1NT ","flags":"d","C":[{"N":"str","sType":"1AS ","val":""}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"512","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"512","C":[{"N":"or","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"},{"N":"varRef","name":"Q{}tieStop","slot":"0"}]}]},{"N":"let","var":"Q{}duration","slot":"2","sType":"* ","line":"513","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-midi/src/xsl/mma.xsl","role":"select","C":[{"N":"choose","sType":"?NT ","type":"item()*","line":"514","C":[{"N":"varRef","name":"Q{}tieStart","slot":"1","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"515"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"516","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.mellowood.ca/mma}noteDuration","coId":"6","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"516","bSlot":"1","C":[{"N":"dot"},{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"0"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"519","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"519"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"sequence","sType":"? ","C":[{"N":"choose","sType":"? ","line":"523","C":[{"N":"ifCall","name":"Q{http://saxon.sf.net/}apply","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"523","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}hasMeasurePrintedAnyNote"}]},{"N":"arrayBlock","C":[{"N":"str","val":"previous"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":";"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"524","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"?A","name":"floor","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"524","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||floor","C":[{"N":"check","card":"?","diag":"0|0||floor","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||floor","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"int","val":"192"},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}duration","slot":"2"}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"t"}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"528","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"528","C":[{"N":"varRef","name":"Q{}tieStop","slot":"0"}]},{"N":"choose","sType":"* ","type":"item()*","line":"529","C":[{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"530","C":[{"N":"or","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notehead,NE nQ{http://www.w3.org/1999/xhtml}notehead]"}]},{"N":"str","val":"slash"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"r"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]","sType":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"531"},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"532","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"532"},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":","}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"533","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"fn","name":"lower-case","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"533","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}step,NE nQ{http://www.w3.org/1999/xhtml}step]"}]}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"d","sType":"1NT ","line":"534","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"534","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]},{"N":"str","val":"1"}]},{"N":"str","val":"#"},{"N":"true"},{"N":"choose","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]},{"N":"str","val":"-1"}]},{"N":"str","val":"&"},{"N":"true"},{"N":"str","val":"n"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"choose","sType":"* ","type":"item()*","line":"535","C":[{"N":"gc","op":">","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"536","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}octave,NE nQ{http://www.w3.org/1999/xhtml}octave]"}]}]},{"N":"int","val":"4"}]},{"N":"forEach","sType":"*NT ","line":"537","C":[{"N":"to","sType":"*ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"537","C":[{"N":"int","val":"1"},{"N":"treat","as":"ADI","diag":"1|1||to","C":[{"N":"check","card":"?","diag":"1|1||to","C":[{"N":"cvUntyped","to":"ADI","diag":"1|1||to","C":[{"N":"check","card":"?","diag":"1|1||to","C":[{"N":"data","diag":"1|1||to","C":[{"N":"cast","flags":"ae","as":"ADI","C":[{"N":"arith","op":"-","calc":"d-d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}octave,NE nQ{http://www.w3.org/1999/xhtml}octave]"}]}]}]}]},{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"4"}]}]}]}]}]}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"+"}]}]},{"N":"gc","op":"<","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"539","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}octave,NE nQ{http://www.w3.org/1999/xhtml}octave]"}]}]},{"N":"int","val":"4"}]},{"N":"forEach","sType":"*NT ","line":"540","C":[{"N":"to","sType":"*ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"540","C":[{"N":"int","val":"1"},{"N":"treat","as":"ADI","diag":"1|1||to","C":[{"N":"check","card":"?","diag":"1|1||to","C":[{"N":"cvUntyped","to":"ADI","diag":"1|1||to","C":[{"N":"check","card":"?","diag":"1|1||to","C":[{"N":"data","diag":"1|1||to","C":[{"N":"cast","flags":"ae","as":"ADI","C":[{"N":"arith","op":"-","calc":"d-d","C":[{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"4"}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}octave,NE nQ{http://www.w3.org/1999/xhtml}octave]"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"-"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"547","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"547","C":[{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"0"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"548","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"548","C":[{"N":"ifCall","name":"Q{http://saxon.sf.net/}apply","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}hasMeasurePrintedAnyNote"}]},{"N":"arrayBlock","C":[{"N":"str","val":"current"}]}]}]},{"N":"valueOf","sType":"1NT ","flags":"d","C":[{"N":"str","sType":"1AS ","val":"<>"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"551","C":[{"N":"varRef","name":"Q{}tieStart","slot":"1","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"551"},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"~"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":";"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]}]}]},{"N":"co","id":"21","binds":"1","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}pitch","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"7","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"559","module":"mma.xsl","expand-text":"false","match":"note","prio":"0","matches":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"choose","sType":"* ","type":"item()*","role":"action","line":"560","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"561","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"562","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"cast","flags":"ae","as":"AO","C":[{"N":"check","card":"?","diag":"0|0||xs:double","C":[{"N":"data","diag":"0|0||xs:double","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]}]}]}]},{"N":"fn","name":"round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"data","diag":"0|0||round","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]}]}]}]}]},{"N":"empty","sType":"0 "},{"N":"vc","op":"le","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"563","C":[{"N":"fn","name":"abs","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||abs","C":[{"N":"check","card":"?","diag":"0|0||abs","C":[{"N":"data","diag":"0|0||abs","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]}]}]}]},{"N":"int","val":"2"}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nSolo MidiNote PB "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"564","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","coId":"1","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"564","bSlot":"0","C":[{"N":"fn","name":"accumulator-before","C":[{"N":"str","val":"Q{}noteOnset"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"566","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"?A m[AO,AD,AF]","name":"round","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"566","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"int","val":"4096"},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"cast","flags":"ae","as":"AO","C":[{"N":"check","card":"?","diag":"0|0||xs:double","C":[{"N":"data","diag":"0|0||xs:double","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nSolo MidiNote PB "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"567","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","coId":"1","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"567","bSlot":"0","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}noteOnset"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" 0"}]}]},{"N":"true"},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[PitchBend] Unhandled pitch/alter value of "}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"13","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]}]}]}]},{"N":"co","binds":"","id":"22","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}tempo","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"8","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"579","module":"mma.xsl","expand-text":"false","match":"sound","prio":"0","matches":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nTempo "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"580","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}tempo","name":"attribute","nodeTest":"*NA nQ{}tempo","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"580"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"co","id":"23","binds":"19","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}declaration","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"11","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"620","module":"mma.xsl","expand-text":"false","match":"harmony","prio":"0","matches":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"choose","sType":"* ","role":"action","line":"621","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"not(preceding::harmony[deep-equal(.,current())])","loc":"xsl:if/@test","line":"621","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","sType":"1AB","C":[{"N":"dot"},{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"fn","name":"reverse","C":[{"N":"filter","C":[{"N":"axis","name":"preceding","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"},{"N":"fn","name":"deep-equal","C":[{"N":"dot"},{"N":"varRef","name":"fn-current","slot":"199"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n@Slash "}]},{"N":"applyT","sType":"* ","line":"622","mode":"Q{}name","bSlot":"0","C":[{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"622"},{"N":"withParam","name":"Q{}definition","slot":"0","sType":"1AB","C":[{"N":"true","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"623"}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"30"},{"N":"property","name":"method","value":"text"},{"N":"property","name":"media-type","value":"text/plain"},{"N":"property","name":"omit-xml-declaration","value":"yes"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}divisions","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"18"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"child","nodeTest":"*NT","sType":"*NT","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"19"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}tempo","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"120","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"22"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo","sType":"*NA nQ{}tempo","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}metronome","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"26"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}metronome,NE nQ{http://www.w3.org/1999/xhtml}metronome]"}]}]},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"dot","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"27"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}time","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"30"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"31"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}clef","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"34"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}key","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"38"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"39"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1FM","slots":"5","name":"Q{}measureIndex","as":"map(*)","ex:asJ":"FM k[1AS ] v[1ADI ] ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}_new","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"42"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1ADI ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"choose","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}contains","C":[{"N":"treat","as":"FM","diag":"0|0||map:contains","C":[{"N":"check","card":"1","diag":"0|0||map:contains","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:contains","C":[{"N":"attVal","name":"Q{}number"}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:get","C":[{"N":"attVal","name":"Q{}number"}]}]}]},{"N":"true"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}size","C":[{"N":"treat","as":"FM","diag":"0|0||map:size","C":[{"N":"check","card":"1","diag":"0|0||map:size","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureDuration","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"46"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"47"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"48","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"49","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"51","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"52"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"25","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureOnset","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"58"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"59"}]}]}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"60","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteDuration","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"63"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"65","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"66"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"33"},{"N":"filter","sType":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"67","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]},{"N":"true"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","sType":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"37"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteOnset","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"73"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"74"}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"76","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"77"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"45","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteBeat","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"83"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"84"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"86","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"87"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"51"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"53","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"arith","op":"div","calc":"d/d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}harmony","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"93"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"94"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}harmonyPreviousDuration","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"97"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"98"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"99"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"101","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"102"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"62"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"64","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1AS","slots":"5","name":"Q{}groove","as":"xs:string","ex:asJ":"AS ","C":[{"N":"str","val":"","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"init","line":"36"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AS ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}other-play,NE nQ{http://www.w3.org/1999/xhtml}other-play]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}other-play,NE nQ{http://www.w3.org/1999/xhtml}other-play]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"groove"}]}]},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}play,NE nQ{http://www.w3.org/1999/xhtml}play]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]}]},{"N":"check","card":"1","sType":"1AS ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"treat","as":"AS ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"check","card":"1","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"cvUntyped","to":"AS","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"child","nodeTest":"*NT","sType":"*NT","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"37"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"1FM k[AS] v[1AB]","binds":"11","slots":"5","name":"Q{}tieStart","as":"map(*)","ex:asJ":"FM k[1AS ] v[1AB ] ","C":[{"N":"map","sType":"1FM k[AS] v[1AB]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"init","line":"43","C":[{"N":"str","val":"current"},{"N":"false"},{"N":"str","val":"previous"},{"N":"false"}]},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1AB ] ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"0"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]},{"N":"map","sType":"1FM k[AS] v[*]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"47","C":[{"N":"str","val":"previous"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"str","val":"current"}]},{"N":"str","val":"current"},{"N":"or","C":[{"N":"fn","name":"exists","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"start"}]}]}]},{"N":"fn","name":"exists","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"start"}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"1AB","binds":"11","slots":"5","name":"Q{}tieStop","as":"xs:boolean","ex:asJ":"AB ","C":[{"N":"false","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"init","line":"50"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AB ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"0"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"53","C":[{"N":"or","C":[{"N":"fn","name":"exists","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]}]},{"N":"fn","name":"exists","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]}]}]}]},{"N":"ifCall","name":"Q{http://saxon.sf.net/}apply","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}tieStart"}]},{"N":"arrayBlock","C":[{"N":"str","val":"previous"}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"1FM k[AS] v[1AB]","binds":"11","slots":"5","name":"Q{}hasMeasurePrintedAnyNote","as":"map(*)","ex:asJ":"FM k[1AS ] v[1AB ] ","C":[{"N":"map","sType":"1FM k[AS] v[1AB]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"init","line":"59","C":[{"N":"str","val":"previous"},{"N":"false"},{"N":"str","val":"current"},{"N":"false"}]},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1AB ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"map","sType":"1FM k[AS] v[1AB]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"63","C":[{"N":"str","val":"previous"},{"N":"false"},{"N":"str","val":"current"},{"N":"false"}]}]},{"N":"accRule","valueType":"FM k[1AS ] v[1AB ] ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"0"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]},{"N":"map","sType":"1FM k[AS] v[*]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"67","C":[{"N":"str","val":"previous"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"str","val":"current"}]},{"N":"str","val":"current"},{"N":"or","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"str","val":"current"}]},{"N":"fn","name":"not","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}tieStop"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"decimalFormat"}],"Σ":"4bbec41b"} \ No newline at end of file +{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2024-10-13T21:18:21.116-07:00","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"co","binds":"","id":"0","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","as":"1AO ","slots":"203","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","line":"114","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"arg","slot":"2","name":"Q{}tempo","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"arith","op":"div","calc":"a/a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"118","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"60000"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}tempo","slot":"2"}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"1","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ] ","line":"124","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"fn","name":"round","sType":"?A m[AO,AD,AF]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"127","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"192"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"2","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[* ] ","sType":"1F r[1AO ] a[* ] ","line":"133","C":[{"N":"arg","slot":"0","name":"Q{}harmony","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"let","var":"Q{}id","slot":"1","sType":"*A ","line":"135","role":"body","C":[{"N":"fn","name":"generate-id","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"135","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]}]}]},{"N":"fn","name":"sum","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"138","C":[{"N":"data","diag":"0|0||sum","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]},{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"generate-id","C":[{"N":"fn","name":"reverse","C":[{"N":"first","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]}]}]}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"3","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.mellowood.ca/mma}note","as":"1ADI ","slots":"202","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","module":"mma.xsl","flags":"muu","sig":"1F r[1ADI ] a[* ,* ] ","sType":"1F r[1ADI ] a[* ,* ] ","line":"74","C":[{"N":"arg","slot":"0","name":"Q{}step","as":"* ","sType":"* "},{"N":"arg","slot":"1","name":"Q{}alter","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1ADI ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}note()","role":"body","C":[{"N":"treat","as":"ADI ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}note()","role":"body","C":[{"N":"check","card":"1","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}note()","role":"body","C":[{"N":"cvUntyped","to":"ADI","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}note()","role":"body","C":[{"N":"data","sType":"*A ","role":"body","C":[{"N":"choose","sType":"? ","type":"item()*","role":"body","line":"77","C":[{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"78","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"G"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"A"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]}]},{"N":"int","val":"-4","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"101"},{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"79","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"A"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"B"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]}]},{"N":"int","val":"-2","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"103"},{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"80","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"C"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"D"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]}]},{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"105"},{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"81","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"D"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"E"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]}]},{"N":"int","val":"3","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"107"},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"82","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"G"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]},{"N":"int","val":"-6","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"109"},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"83","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"C"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]},{"N":"int","val":"-1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"111"},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"84","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"B"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"113"},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"85","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"F"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"-1"}]}]},{"N":"int","val":"4","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"115"},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"86","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"E"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"int","val":"5","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"117"},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"87","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"F"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}alter","slot":"1"}]},{"N":"str","val":"1"}]}]},{"N":"int","val":"6","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"119"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"88","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"G"}]},{"N":"int","val":"-5","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"121"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"89","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"A"}]},{"N":"int","val":"-3","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"123"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"90","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"D"}]},{"N":"int","val":"2","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"125"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"91","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"B"}]},{"N":"int","val":"-1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"127"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"92","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"C"}]},{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"129"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"93","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"E"}]},{"N":"int","val":"4","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"131"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"94","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}step","slot":"0"}]},{"N":"str","val":"F"}]},{"N":"int","val":"5","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"133"},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"4","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.mellowood.ca/mma}groove","as":"* ","slots":"202","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","module":"mma.xsl","flags":"muu","sig":"1F r[* ] a[* ,* ] ","sType":"1F r[* ] a[* ,* ] ","line":"101","C":[{"N":"arg","slot":"0","name":"Q{}groove","as":"* ","sType":"* "},{"N":"arg","slot":"1","name":"Q{}time","as":"* ","sType":"* "},{"N":"choose","sType":"? ","type":"item()*","role":"body","line":"108","C":[{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"109","C":[{"N":"fn","name":"contains","C":[{"N":"fn","name":"lower-case","C":[{"N":"treat","as":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"varRef","name":"Q{}groove","slot":"0"}]}]}]}]}]}]},{"N":"str","val":"swing"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]},{"N":"fn","name":"contains","C":[{"N":"fn","name":"lower-case","C":[{"N":"treat","as":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"varRef","name":"Q{}groove","slot":"0"}]}]}]}]}]}]},{"N":"str","val":"jazz"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]},{"N":"choose","sType":"?AS ","type":"item()*","line":"110","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"111","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}time","slot":"1"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]"}]}]}]},{"N":"int","val":"5"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}time","slot":"1"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]}]},{"N":"int","val":"4"}]}]},{"N":"str","val":"Jazz54","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"141"},{"N":"true"},{"N":"str","val":"Swing","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"143"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]},{"N":"co","binds":"","id":"5","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.mellowood.ca/mma}mod","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","module":"mma.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ] ","line":"123","C":[{"N":"arg","slot":"0","name":"Q{}dividend","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisor","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}mod()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}mod()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}mod()","role":"body","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"body","line":"126","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}dividend","slot":"0"}]}]},{"N":"arith","op":"*","calc":"a*a","C":[{"N":"fn","name":"floor","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||floor","C":[{"N":"check","card":"?","diag":"0|0||floor","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||floor","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}dividend","slot":"0"}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisor","slot":"1"}]}]}]}]}]}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisor","slot":"1"}]}]}]}]}]}]}]}]}]},{"N":"co","id":"6","vis":"PRIVATE","ex:uniform":"true","binds":"6 11","C":[{"N":"function","name":"Q{http://www.mellowood.ca/mma}noteDuration","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","module":"mma.xsl","flags":"muu","sig":"1F r[1AO ] a[* ,1AO ] ","sType":"1F r[1AO ] a[* ,1AO ] ","line":"132","C":[{"N":"arg","slot":"0","name":"Q{}note","as":"* ","sType":"* "},{"N":"arg","slot":"1","name":"Q{}duration","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}noteDuration()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}noteDuration()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.mellowood.ca/mma}noteDuration()","role":"body","C":[{"N":"let","var":"Q{}tie","slot":"2","sType":"*A ","line":"135","role":"body","C":[{"N":"docOrder","sType":"*NE u[NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied],NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]]","role":"select","line":"135","C":[{"N":"choose","sType":"*NE u[NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied],NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]"}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied]"}]}]},{"N":"true"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"}]}]}]}]},{"N":"choose","sType":"?A ","type":"item()*","line":"136","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"137","C":[{"N":"filter","C":[{"N":"varRef","name":"Q{}tie","slot":"2"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]},{"N":"fn","name":"not","C":[{"N":"filter","C":[{"N":"varRef","name":"Q{}tie","slot":"2"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"start"}]}]}]}]},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"155","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}duration","slot":"1"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]},{"N":"true"},{"N":"ufCall","name":"Q{http://www.mellowood.ca/mma}noteDuration","coId":"6","sType":"1AO","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"145","bSlot":"0","C":[{"N":"choose","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"filter","C":[{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"1"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"first","C":[{"N":"filter","C":[{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"1"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]}]}]}]},{"N":"true"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"parent","nodeTest":"?N"}]},{"N":"first","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"first","C":[{"N":"filter","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"1"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]}]}]}]}]},{"N":"check","card":"1","diag":"0|1||mma:noteDuration","C":[{"N":"convert","to":"AO","flags":"","C":[{"N":"cvUntyped","to":"AO","diag":"0|1||mma:noteDuration","C":[{"N":"arith","op":"+","calc":"a+a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}duration","slot":"1"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"7","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}useSef","sType":"AB ","slots":"200","module":"mma.xsl","as":"AB ","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"false","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"25"}]}]},{"N":"co","binds":"","id":"8","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}chordVolume","sType":"* ","slots":"200","module":"mma.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"int","val":"50","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"26"}]}]},{"N":"co","binds":"","id":"9","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}melodyInstrument","sType":"* ","slots":"200","module":"mma.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"str","val":"TenorSax","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"27"}]}]},{"N":"co","binds":"","id":"10","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}chordInstrument","sType":"* ","slots":"200","module":"mma.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"str","val":"Piano1","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"28"}]}]},{"N":"co","binds":"","id":"11","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}melodyVoice","sType":"* ","slots":"200","module":"mma.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"29"}]}]},{"N":"co","binds":"","id":"12","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}globalGroove","sType":"* ","slots":"200","module":"mma.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"str","val":"","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"30"}]}]},{"N":"co","binds":"","id":"13","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}renumberMeasures","sType":"AB ","slots":"200","module":"mma.xsl","as":"AB ","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"false","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"31"}]}]},{"N":"co","binds":"","id":"14","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}filename","sType":"* ","slots":"200","module":"mma.xsl","as":"","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"lastOf","sType":"?AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"32","C":[{"N":"fn","name":"tokenize","C":[{"N":"convert","to":"AS","flags":"","C":[{"N":"fn","name":"document-uri","C":[{"N":"root"}]}]},{"N":"str","val":"/"}]}]}]}]},{"N":"co","id":"15","vis":"PUBLIC","ex:uniform":"true","binds":"13","C":[{"N":"globalVariable","name":"Q{}stylesheetParams","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","module":"mma.xsl","slots":"200","sType":"1FM","C":[{"N":"map","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"155","C":[{"N":"fn","name":"QName","C":[{"N":"str","val":""},{"N":"str","val":"renumberMeasures"}]},{"N":"gVarRef","name":"Q{}renumberMeasures","bSlot":"0"}]}]}]},{"N":"co","id":"16","vis":"PUBLIC","ex:uniform":"true","binds":"7 15","C":[{"N":"globalVariable","name":"Q{}unrolled","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","module":"mma.xsl","slots":"200","sType":"?ND ","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-midi/src/xsl/mma.xsl","role":"select","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","line":"157","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"157","C":[{"N":"gVarRef","name":"Q{}useSef","bSlot":"0"}]},{"N":"lookup","op":"?","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"162","C":[{"N":"fn","name":"transform","C":[{"N":"map","C":[{"N":"str","val":"source-node"},{"N":"root"},{"N":"str","val":"stylesheet-node"},{"N":"fn","name":"doc","C":[{"N":"str","val":"unroll.xsl"}]},{"N":"str","val":"stylesheet-params"},{"N":"gVarRef","name":"Q{}stylesheetParams","bSlot":"1"}]}]},{"N":"str","val":"output"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"164","C":[{"N":"gVarRef","name":"Q{}useSef","bSlot":"0","sType":"AB ","line":"164"},{"N":"lookup","op":"?","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"169","C":[{"N":"fn","name":"transform","C":[{"N":"map","C":[{"N":"str","val":"source-node"},{"N":"root"},{"N":"str","val":"package-text"},{"N":"fn","name":"unparsed-text","C":[{"N":"str","val":"unroll.sef.json"}]},{"N":"str","val":"stylesheet-params"},{"N":"gVarRef","name":"Q{}stylesheetParams","bSlot":"1"}]}]},{"N":"str","val":"output"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]},{"N":"co","id":"17","binds":"17 23 12 4 19 0 21 11 22 18 14 10 9 24 16","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"10","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"603","module":"mma.xsl","expand-text":"false","match":"key","prio":"0","matches":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nKeySig "}]},{"N":"choose","sType":"* ","type":"item()*","line":"604","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]","sType":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"605"},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"606","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"607","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]"}]},{"N":"int","val":"0"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]},{"N":"gc","op":"<","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"608","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]"}]},{"N":"int","val":"0"}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith","sType":"1AO","op":"*","calc":"d*d","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"7","C":[{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"-1"}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]"}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"b"}]}]},{"N":"gc","op":">","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"609","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]"}]},{"N":"int","val":"0"}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"9"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"#"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"611","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]","sType":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"611"},{"N":"choose","sType":"? ","type":"item()*","line":"612","C":[{"N":"compareToString","op":"eq","val":"none","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"613","C":[{"N":"fn","name":"lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]"}]}]}]}]}]},{"N":"empty","sType":"0 "},{"N":"compareToString","op":"eq","val":"major","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"614","C":[{"N":"fn","name":"lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]"}]}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" Major"}]},{"N":"compareToString","op":"eq","val":"minor","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"615","C":[{"N":"fn","name":"lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]"}]}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" Minor"}]},{"N":"true"},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[KeySig] Unhandled mode "}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]","name":"child","nodeTest":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"17"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"true"},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"sequence","role":"select","sType":"*N ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[KeySig] Unhandled key signature "}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=http://ns.saxonica.com/xslt/export","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","C":[{"N":"dot","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"20"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]}]}]}]},{"N":"templateRule","rank":"1","prec":"0","seq":"9","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"595","module":"mma.xsl","expand-text":"false","match":"time","prio":"0","matches":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nTime "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"596","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith","sType":"?AO","op":"div","calc":"d/d","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"596","C":[{"N":"arith","op":"*","calc":"d*d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]"}]}]}]},{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"4"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nTimeSig "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"597","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]","name":"child","nodeTest":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"597"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"/"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"597","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"597"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"2","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"242","module":"mma.xsl","expand-text":"false","match":"measure","prio":"0","matches":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"applyT","sType":"* ","line":"246","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"246","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"}]}]}]},{"N":"applyT","sType":"* ","line":"251","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"251","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"}]}]}]},{"N":"applyT","sType":"* ","line":"256","mode":"Q{}tempo","bSlot":"1","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"256","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]}]}]}]},{"N":"let","var":"Q{}groove","slot":"0","sType":"* ","line":"261","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-midi/src/xsl/mma.xsl","role":"select","C":[{"N":"choose","sType":"? ","type":"item()*","line":"262","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"263","C":[{"N":"attVal","name":"Q{}number"},{"N":"str","val":"0"}]},{"N":"empty","sType":"0 "},{"N":"compareToString","op":"eq","val":"none","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"264","C":[{"N":"fn","name":"lower-case","C":[{"N":"treat","as":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"gVarRef","name":"Q{}globalGroove","bSlot":"2"}]}]}]}]}]}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}globalGroove","bSlot":"2","role":"select","line":"9"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"265","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}number"},{"N":"str","val":"1"}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"gVarRef","name":"Q{}globalGroove","bSlot":"2"}]},{"N":"str","val":""}]}]},{"N":"compareToString","op":"ne","val":"default","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"lower-case","C":[{"N":"treat","as":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"gVarRef","name":"Q{}globalGroove","bSlot":"2"}]}]}]}]}]}]}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"266","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}globalGroove","bSlot":"2","role":"select","line":"266"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"vc","op":"eq","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"268","C":[{"N":"fn","name":"accumulator-before","C":[{"N":"str","val":"Q{}groove"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}groove"}]}]},{"N":"empty","sType":"0 "},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"273","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"*","name":"Q{http://www.mellowood.ca/mma}groove","coId":"4","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"273","bSlot":"3","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}play,NE nQ{http://www.w3.org/1999/xhtml}play]"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}other-play,NE nQ{http://www.w3.org/1999/xhtml}other-play]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"groove"}]}]}]},{"N":"axis","name":"child","nodeTest":"*NT"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"277","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"278","C":[{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}groove","slot":"0"}]},{"N":"str","val":""}]},{"N":"compareToString","op":"ne","val":"none","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"lower-case","C":[{"N":"treat","as":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"varRef","name":"Q{}groove","slot":"0"}]}]}]}]}]}]}]}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nGroove "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"279","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}groove","slot":"0","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"279"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nMidiMark Groove:"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"280","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}groove","slot":"0","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"280"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"282","C":[{"N":"and","C":[{"N":"compareToString","op":"ne","val":"none","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"lower-case","C":[{"N":"treat","as":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"varRef","name":"Q{}groove","slot":"0"}]}]}]}]}]}]}]},{"N":"compareToString","op":"ne","val":"","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}groove"}]}]}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"ufCall","name":"Q{http://www.mellowood.ca/mma}groove","coId":"4","bSlot":"3","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}groove"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]}]}]},{"N":"str","val":""}]}]},{"N":"empty","sType":"0 "},{"N":"true"},{"N":"sequence","sType":"* ","C":[{"N":"applyT","sType":"* ","line":"284","mode":"Q{}sequence","bSlot":"4","C":[{"N":"first","sType":"?NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"284","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"withParam","name":"Q{}start","slot":"0","sType":"1ADI","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"285"}]}]},{"N":"choose","sType":"* ","line":"287","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"287","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"applyT","sType":"* ","line":"291","mode":"Q{}sequence","bSlot":"4","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"291","C":[{"N":"fn","name":"accumulator-after","sType":"*NE ","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"str","val":"Q{}harmony"}]}]},{"N":"withParam","name":"Q{}start","slot":"0","sType":"1ADI","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"292"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"MidiMark Measure:"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"302","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ifCall","sType":"*","name":"Q{http://saxon.sf.net/}apply","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"302","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureIndex"}]},{"N":"arrayBlock","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":":"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"308","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","coId":"0","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"308","bSlot":"5","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}tempo"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n"}]},{"N":"applyT","sType":"* ","line":"314","mode":"Q{}riff","bSlot":"6","C":[{"N":"filter","sType":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"314","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"7"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]}]},{"N":"applyT","sType":"* ","line":"315","mode":"Q{}pitch","bSlot":"8","C":[{"N":"filter","sType":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"315","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"7"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n"}]},{"N":"applyT","sType":"* ","line":"321","mode":"Q{}onset","bSlot":"9","C":[{"N":"first","sType":"?NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"321","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"withParam","name":"Q{}start","slot":"0","sType":"1ADI","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"322"}]}]},{"N":"choose","sType":"* ","line":"324","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"324","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"328","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"328","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}harmony"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" z"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"applyT","sType":"* ","line":"329","mode":"Q{}onset","bSlot":"9","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"329","C":[{"N":"fn","name":"accumulator-after","sType":"*NE ","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"str","val":"Q{}harmony"}]}]},{"N":"withParam","name":"Q{}start","slot":"0","sType":"1ADI","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"330"}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"338","C":[{"N":"docOrder","sType":"*NE","line":"338","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]}]},{"N":"let","var":"Q{}durationDifference","slot":"1","sType":"* ","line":"339","C":[{"N":"fn","name":"round","sType":"?A m[AO,AD,AF]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"339","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"-","calc":"a-a","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"fn","name":"sum","C":[{"N":"data","diag":"0|0||sum","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"7"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]},{"N":"arith","op":"div","calc":"d/d","C":[{"N":"arith","op":"*","calc":"d*d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]"}]}]}]}]}]},{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"4"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"choose","sType":"* ","line":"340","C":[{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"340","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}durationDifference","slot":"1"}]},{"N":"int","val":"0"}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nBeatAdjust "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"341","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}durationDifference","slot":"1","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"341"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]},{"N":"templateRule","rank":"3","prec":"0","seq":"1","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"187","module":"mma.xsl","expand-text":"false","match":"score-partwise","prio":"0","matches":"NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]","sType":"1NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nMidiText Generated by github.com/infojunkie/musicxml-midi\n\nMidiTName Metadata track for "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"191","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}filename","bSlot":"10","role":"select","line":"191"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n\nBegin Chord-Sequence\n Voice "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"194","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}chordInstrument","bSlot":"11","role":"select","line":"194"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n Octave 5\n Articulate 80\n Volume f\nEnd\n\nChord-Sequence MidiTName Chord track for "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"200","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}filename","bSlot":"10","role":"select","line":"200"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n\nSolo Voice "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"202","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}melodyInstrument","bSlot":"12","role":"select","line":"202"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n\nSolo MidiTName Melody track for "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"204","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}filename","bSlot":"10","role":"select","line":"204"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n\nDefChord mb6 (0, 3, 7, 8) (0, 2, 3, 5, 7, 8, 10)\nDefChord 7(add6) (0, 4, 7, 9, 10) (0, 2, 4, 5, 7, 9, 10)\nDefChord +(addM7)(add9) (0, 4, 8, 11, 14) (0, 2, 4, 5, 8, 9, 11)\nDefChord +7(add9) (0, 4, 8, 10, 14) (0, 2, 4, 5, 8, 9, 10)\nDefChord 7+#9 (0, 4, 8, 10, 15) (0, 3, 4, 5, 8, 9, 10)\nDefChord 7+b9 (0, 4, 8, 10, 13) (0, 1, 4, 5, 8, 9, 10)\nDefChord 7b9#9 (0, 4, 7, 10, 13, 15) (0, 1, 3, 4, 5, 7, 10)\nDefChord 7b5b9#9#5 (0, 4, 6, 8, 10, 13, 15) (0, 1, 3, 5, 6, 8, 10)\nDefChord 7susb13 (0, 5, 10, 20) (0, 2, 5, 5, 8, 9, 10)\nDefChord 7(add3)(add4) (0, 4, 5, 7, 10) (0, 2, 4, 5, 7, 9, 10)\nDefChord M7+ (0, 4, 8, 11) (0, 2, 4, 5, 8, 9, 11)\nDefChord dimb13 (0, 3, 6, 9, 8) (0, 2, 3, 5, 6, 8, 9)\nDefChord 13(omit3) (0, 7, 10, 21) (0, 2, 5, 5, 7, 9, 10)\nDefChord m(add2) (0, 2, 3, 7) (0, 2, 3, 5, 7, 8, 8)\nDefChord m7+#9 (0, 3, 8, 10, 15) (0, 3, 3, 5, 8, 8, 10)\nDefChord m7+b9 (0, 3, 8, 10, 13) (0, 1, 3, 5, 8, 8, 10)\nDefChord m7+b9#11 (0, 3, 8, 10, 13, 18) (0, 1, 3, 6, 8, 9, 10)\nDefChord m7b5(add9)(add11) (0, 3, 6, 10, 14, 17) (0, 2, 3, 5, 6, 9, 10)\nDefChord m7+ (0, 3, 7, 11) (0, 2, 3, 5, 7, 8, 11)\nDefChord mM7b5 (0, 3, 6, 11) (0, 2, 3, 5, 6, 8, 11)\nDefChord (omit3)(add9) (0, 0, 7, 14) (0, 2, 4, 5, 7, 9, 10)\nDefChord sus#9 (0, 5, 7, 15) (0, 2, 5, 5, 7, 9, 11)\nDefChord susb9 (0, 5, 7, 13) (0, 2, 5, 5, 7, 9, 11)\n\nPlugin Slash"}]},{"N":"applyT","sType":"* ","line":"231","mode":"Q{}declaration","bSlot":"13","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"231","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]"}]}]}]}]},{"N":"withParam","name":"Q{}definition","slot":"0","sType":"1AB","C":[{"N":"true","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"232"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n"}]},{"N":"applyT","sType":"* ","line":"236","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"236","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]},{"N":"templateRule","rank":"4","prec":"0","seq":"0","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"178","module":"mma.xsl","expand-text":"false","match":"/","prio":"-0.5","matches":"ND","C":[{"N":"p.nodeTest","role":"match","test":"ND","sType":"1ND","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"applyT","sType":"* ","line":"179","mode":"#unnamed","role":"action","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"179","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"gVarRef","name":"Q{}unrolled","bSlot":"14"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]"}]}]}]}]}]}]},{"N":"co","id":"18","binds":"20 18 2","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}onset","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"3","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"349","module":"mma.xsl","expand-text":"false","match":"harmony","prio":"0","matches":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}start","slot":"0","sType":"* ","as":"* ","flags":"","line":"350","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" "}]},{"N":"applyT","sType":"* ","line":"352","mode":"Q{}name","bSlot":"0","C":[{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"352"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"@"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"353","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}start","slot":"0","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"353"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"applyT","sType":"* ","line":"354","mode":"Q{}onset","bSlot":"1","C":[{"N":"first","sType":"?NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"354","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"withParam","name":"Q{}start","slot":"0","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"355","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}start","slot":"0"}]}]},{"N":"arith","op":"div","calc":"d/d","C":[{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration","coId":"2","bSlot":"2","C":[{"N":"dot"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]}]}]}]}]},{"N":"co","id":"19","binds":"2 1 8 19","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}sequence","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"4","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"362","module":"mma.xsl","expand-text":"false","match":"harmony","prio":"0","matches":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}start","slot":"0","sType":"* ","as":"* ","flags":"","line":"363","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"choose","sType":"? ","line":"364","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"364","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}start","slot":"0"}]},{"N":"int","val":"1"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nChord-Sequence Sequence { "}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"366","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}start","slot":"0","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"366"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" "}]},{"N":"let","var":"Q{}duration","slot":"1","sType":"* ","line":"372","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-midi/src/xsl/mma.xsl","role":"select","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"373","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration","coId":"2","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"373","bSlot":"0","C":[{"N":"dot"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"375","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","coId":"1","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"375","bSlot":"1","C":[{"N":"convert","to":"AO","flags":"","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||musicxml:timeToMIDITicks","C":[{"N":"check","card":"1","diag":"0|0||musicxml:timeToMIDITicks","C":[{"N":"data","diag":"0|0||musicxml:timeToMIDITicks","C":[{"N":"varRef","name":"Q{}duration","slot":"1"}]}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"t "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"376","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}chordVolume","bSlot":"2","role":"select","line":"376"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"; "}]},{"N":"applyT","sType":"* ","line":"377","mode":"Q{}sequence","bSlot":"3","C":[{"N":"first","sType":"?NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"377","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"withParam","name":"Q{}start","slot":"0","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"378","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}start","slot":"0"}]}]},{"N":"arith","op":"div","calc":"a/a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}duration","slot":"1"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]},{"N":"choose","sType":"? ","line":"380","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"380","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"}"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]}]}]},{"N":"co","id":"20","binds":"5 3","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}name","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"5","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"386","module":"mma.xsl","expand-text":"false","match":"harmony","prio":"0","matches":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}definition","slot":"0","sType":"* ","as":"* ","flags":"","line":"387","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"choose","sType":"* ","type":"item()*","line":"388","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"389","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"none"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"z"}]},{"N":"true"},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"391","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"391","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root,NE nQ{http://www.w3.org/1999/xhtml}root]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-step,NE nQ{http://www.w3.org/1999/xhtml}root-step]"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"392","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"392","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root,NE nQ{http://www.w3.org/1999/xhtml}root]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-alter,NE nQ{http://www.w3.org/1999/xhtml}root-alter]"}]}]},{"N":"str","val":"1"}]},{"N":"str","val":"#"},{"N":"true"},{"N":"choose","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root,NE nQ{http://www.w3.org/1999/xhtml}root]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-alter,NE nQ{http://www.w3.org/1999/xhtml}root-alter]"}]}]},{"N":"str","val":"-1"}]},{"N":"str","val":"b"},{"N":"true"},{"N":"str","val":""}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"choose","sType":"? ","type":"item()*","line":"394","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"395","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"augmented"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"+"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"396","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"augmented-seventh"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"+7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"397","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"diminished"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"dim"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"398","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"diminished-seventh"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"dim7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"399","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"dominant"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"400","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"dominant-11th"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"11"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"401","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"dominant-13th"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"13"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"402","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"dominant-ninth"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"9"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"403","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"French"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"404","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"German"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"405","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"half-diminished"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m7b5"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"406","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"Italian"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"407","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"408","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major-11th"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"M11"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"409","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major-13th"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"M13"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"410","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major-minor"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"mM7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"411","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major-ninth"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"M9"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"412","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major-seventh"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"M7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"413","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"major-sixth"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"6"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"414","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"minor"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"415","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"minor-11th"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m11"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"416","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"minor-13th"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m13"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"417","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"minor-ninth"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m9"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"418","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"minor-seventh"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"419","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"minor-sixth"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"m6"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"420","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"Neapolitan"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"421","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"other"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"422","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"pedal"}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"423","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"power"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"5"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"424","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"suspended-fourth"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"sus"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"425","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"suspended-second"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"sus2"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"426","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"}]},{"N":"str","val":"Tristan"}]},{"N":"empty","sType":"0 "},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"let","var":"Q{}sus","slot":"1","sType":"* ","line":"443","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-midi/src/xsl/mma.xsl","role":"select","C":[{"N":"choose","sType":"? ","type":"item()*","line":"444","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"445","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"add"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"4"}]}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"subtract"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"3"}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"sus"}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"446","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"add"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"2"}]}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"subtract"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"3"}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"sus2"}]},{"N":"filter","sType":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"447","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"alter"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"5"}]}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"1"}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"+"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"451","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}sus","slot":"1","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"451"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"forEach","sType":"*NT ","line":"452","C":[{"N":"filter","sType":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"452","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"subtract"}]},{"N":"fn","name":"not","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"3"}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}sus","slot":"1"}]},{"N":"str","val":""}]}]}]}]}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"(omit"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"454","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"454"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":")"}]}]}]},{"N":"forEach","sType":"*NT ","line":"457","C":[{"N":"filter","sType":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"457","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"alter"}]},{"N":"fn","name":"not","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"5"}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}sus","slot":"1"}]},{"N":"str","val":""}]}]}]}]}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"458","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"458","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"1"}]},{"N":"str","val":"#"},{"N":"true"},{"N":"choose","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"-1"}]},{"N":"str","val":"b"},{"N":"true"},{"N":"str","val":""}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"459","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"459"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"forEach","sType":"*NT ","line":"461","C":[{"N":"filter","sType":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"461","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree,NE nQ{http://www.w3.org/1999/xhtml}degree]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-type,NE nQ{http://www.w3.org/1999/xhtml}degree-type]"}]},{"N":"str","val":"add"}]},{"N":"fn","name":"not","C":[{"N":"and","C":[{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"4"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"2"}]}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}sus","slot":"1"}]},{"N":"str","val":""}]}]}]}]}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"462","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"462","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"1"}]},{"N":"str","val":"#"},{"N":"true"},{"N":"choose","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"-1"}]},{"N":"str","val":"b"},{"N":"true"},{"N":"str","val":"(add"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"463","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"463","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]},{"N":"str","val":"7"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"0"}]}]},{"N":"str","val":"M7"},{"N":"true"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-value,NE nQ{http://www.w3.org/1999/xhtml}degree-value]"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"464","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"464","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"1"}]},{"N":"str","val":""},{"N":"true"},{"N":"choose","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}degree-alter,NE nQ{http://www.w3.org/1999/xhtml}degree-alter]"}]},{"N":"str","val":"-1"}]},{"N":"str","val":""},{"N":"true"},{"N":"str","val":")"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"choose","sType":"* ","line":"469","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]","sType":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"469"},{"N":"choose","sType":"*NT ","type":"item()*","line":"470","C":[{"N":"varRef","name":"Q{}definition","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"471"},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"/"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"473","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"473","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass-step,NE nQ{http://www.w3.org/1999/xhtml}bass-step]"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"474","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"474","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass-alter,NE nQ{http://www.w3.org/1999/xhtml}bass-alter]"}]}]},{"N":"str","val":"1"}]},{"N":"str","val":"#"},{"N":"true"},{"N":"choose","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass-alter,NE nQ{http://www.w3.org/1999/xhtml}bass-alter]"}]}]},{"N":"str","val":"-1"}]},{"N":"str","val":"b"},{"N":"true"},{"N":"str","val":""}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","flags":"d","C":[{"N":"str","sType":"1AS ","val":"<"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"478","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.mellowood.ca/mma}mod","coId":"5","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"478","bSlot":"0","C":[{"N":"convert","to":"AO","flags":"","C":[{"N":"arith","op":"-","calc":"i-i","C":[{"N":"ufCall","name":"Q{http://www.mellowood.ca/mma}note","coId":"3","bSlot":"1","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass-step,NE nQ{http://www.w3.org/1999/xhtml}bass-step]"}]},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass,NE nQ{http://www.w3.org/1999/xhtml}bass]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bass-alter,NE nQ{http://www.w3.org/1999/xhtml}bass-alter]"}]}]},{"N":"ufCall","name":"Q{http://www.mellowood.ca/mma}note","coId":"3","bSlot":"1","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root,NE nQ{http://www.w3.org/1999/xhtml}root]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-step,NE nQ{http://www.w3.org/1999/xhtml}root-step]"}]},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root,NE nQ{http://www.w3.org/1999/xhtml}root]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-alter,NE nQ{http://www.w3.org/1999/xhtml}root-alter]"}]}]}]}]},{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"-12"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]}]}]}]}]},{"N":"co","id":"21","binds":"11 6","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}riff","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"6","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"489","module":"mma.xsl","expand-text":"false","match":"note","prio":"0","matches":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"let","var":"Q{}tieStop","slot":"0","sType":"* ","line":"507","role":"action","C":[{"N":"fn","name":"accumulator-after","sType":"AB ","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"507","C":[{"N":"str","val":"Q{}tieStop"}]},{"N":"let","var":"Q{}tieStart","slot":"1","sType":"* ","line":"508","C":[{"N":"ifCall","name":"Q{http://saxon.sf.net/}apply","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"508","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}tieStart"}]},{"N":"arrayBlock","C":[{"N":"str","val":"current"}]}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","line":"510","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"510","C":[{"N":"fn","name":"reverse","C":[{"N":"filter","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"0"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"Solo Riff "}]},{"N":"choose","sType":"? ","line":"512","C":[{"N":"varRef","name":"Q{}tieStop","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"512"},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"~"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"515","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}grace,NE nQ{http://www.w3.org/1999/xhtml}grace]","sType":"*NE u[NE nQ{}grace,NE nQ{http://www.w3.org/1999/xhtml}grace]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"515"},{"N":"valueOf","sType":"1NT ","flags":"d","C":[{"N":"str","sType":"1AS ","val":""}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"519","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"519","C":[{"N":"or","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"},{"N":"varRef","name":"Q{}tieStop","slot":"0"}]}]},{"N":"let","var":"Q{}duration","slot":"2","sType":"* ","line":"520","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-midi/src/xsl/mma.xsl","role":"select","C":[{"N":"choose","sType":"?NT ","type":"item()*","line":"521","C":[{"N":"varRef","name":"Q{}tieStart","slot":"1","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"522"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"523","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.mellowood.ca/mma}noteDuration","coId":"6","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"523","bSlot":"1","C":[{"N":"dot"},{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"0"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"526","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"526"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"sequence","sType":"? ","C":[{"N":"choose","sType":"? ","line":"530","C":[{"N":"ifCall","name":"Q{http://saxon.sf.net/}apply","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"530","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}hasMeasurePrintedAnyNote"}]},{"N":"arrayBlock","C":[{"N":"str","val":"previous"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":";"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"531","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"?A","name":"floor","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"531","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||floor","C":[{"N":"check","card":"?","diag":"0|0||floor","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||floor","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"int","val":"192"},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}duration","slot":"2"}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"t"}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"535","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"535","C":[{"N":"varRef","name":"Q{}tieStop","slot":"0"}]},{"N":"choose","sType":"* ","type":"item()*","line":"536","C":[{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"537","C":[{"N":"or","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notehead,NE nQ{http://www.w3.org/1999/xhtml}notehead]"}]},{"N":"str","val":"slash"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"r"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]","sType":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"538"},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"539","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"539"},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":","}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"540","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"fn","name":"lower-case","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"540","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||lower-case","C":[{"N":"check","card":"?","diag":"0|0||lower-case","C":[{"N":"data","diag":"0|0||lower-case","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}step,NE nQ{http://www.w3.org/1999/xhtml}step]"}]}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"d","sType":"1NT ","line":"541","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"541","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]},{"N":"str","val":"1"}]},{"N":"str","val":"#"},{"N":"true"},{"N":"choose","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]},{"N":"str","val":"-1"}]},{"N":"str","val":"&"},{"N":"true"},{"N":"str","val":"n"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"choose","sType":"* ","type":"item()*","line":"542","C":[{"N":"gc","op":">","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"543","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}octave,NE nQ{http://www.w3.org/1999/xhtml}octave]"}]}]},{"N":"int","val":"4"}]},{"N":"forEach","sType":"*NT ","line":"544","C":[{"N":"to","sType":"*ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"544","C":[{"N":"int","val":"1"},{"N":"treat","as":"ADI","diag":"1|1||to","C":[{"N":"check","card":"?","diag":"1|1||to","C":[{"N":"cvUntyped","to":"ADI","diag":"1|1||to","C":[{"N":"check","card":"?","diag":"1|1||to","C":[{"N":"data","diag":"1|1||to","C":[{"N":"cast","flags":"ae","as":"ADI","C":[{"N":"arith","op":"-","calc":"d-d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}octave,NE nQ{http://www.w3.org/1999/xhtml}octave]"}]}]}]}]},{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"4"}]}]}]}]}]}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"+"}]}]},{"N":"gc","op":"<","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"546","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}octave,NE nQ{http://www.w3.org/1999/xhtml}octave]"}]}]},{"N":"int","val":"4"}]},{"N":"forEach","sType":"*NT ","line":"547","C":[{"N":"to","sType":"*ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"547","C":[{"N":"int","val":"1"},{"N":"treat","as":"ADI","diag":"1|1||to","C":[{"N":"check","card":"?","diag":"1|1||to","C":[{"N":"cvUntyped","to":"ADI","diag":"1|1||to","C":[{"N":"check","card":"?","diag":"1|1||to","C":[{"N":"data","diag":"1|1||to","C":[{"N":"cast","flags":"ae","as":"ADI","C":[{"N":"arith","op":"-","calc":"d-d","C":[{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"4"}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}octave,NE nQ{http://www.w3.org/1999/xhtml}octave]"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"-"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"554","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"554","C":[{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"0"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"555","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"555","C":[{"N":"ifCall","name":"Q{http://saxon.sf.net/}apply","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}hasMeasurePrintedAnyNote"}]},{"N":"arrayBlock","C":[{"N":"str","val":"current"}]}]}]},{"N":"valueOf","sType":"1NT ","flags":"d","C":[{"N":"str","sType":"1AS ","val":"<>"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"558","C":[{"N":"varRef","name":"Q{}tieStart","slot":"1","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"558"},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"~"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":";"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]}]}]},{"N":"co","id":"22","binds":"1","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}pitch","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"7","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"566","module":"mma.xsl","expand-text":"false","match":"note","prio":"0","matches":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"choose","sType":"* ","type":"item()*","role":"action","line":"567","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"568","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]},{"N":"empty","sType":"0 "},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"569","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"cast","flags":"ae","as":"AO","C":[{"N":"check","card":"?","diag":"0|0||xs:double","C":[{"N":"data","diag":"0|0||xs:double","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]}]}]}]},{"N":"fn","name":"round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"data","diag":"0|0||round","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]}]}]}]}]},{"N":"empty","sType":"0 "},{"N":"vc","op":"le","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","line":"570","C":[{"N":"fn","name":"abs","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||abs","C":[{"N":"check","card":"?","diag":"0|0||abs","C":[{"N":"data","diag":"0|0||abs","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]}]}]}]},{"N":"int","val":"2"}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nSolo MidiNote PB "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"571","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","coId":"1","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"571","bSlot":"0","C":[{"N":"fn","name":"accumulator-before","C":[{"N":"str","val":"Q{}noteOnset"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"573","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"?A m[AO,AD,AF]","name":"round","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"573","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"int","val":"4096"},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"cast","flags":"ae","as":"AO","C":[{"N":"check","card":"?","diag":"0|0||xs:double","C":[{"N":"data","diag":"0|0||xs:double","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nSolo MidiNote PB "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"574","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","coId":"1","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"574","bSlot":"0","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}noteOnset"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" 0"}]}]},{"N":"true"},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[PitchBend] Unhandled pitch/alter value of "}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"13","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]}]}]}]},{"N":"co","binds":"","id":"23","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}tempo","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"8","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"586","module":"mma.xsl","expand-text":"false","match":"sound","prio":"0","matches":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"sequence","role":"action","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\nTempo "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"587","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}tempo","name":"attribute","nodeTest":"*NA nQ{}tempo","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"587"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"co","id":"24","binds":"20","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}declaration","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"11","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","minImp":"0","flags":"s","slots":"200","line":"627","module":"mma.xsl","expand-text":"false","match":"harmony","prio":"0","matches":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ "},{"N":"choose","sType":"* ","role":"action","line":"628","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"not(preceding::harmony[deep-equal(.,current())])","loc":"xsl:if/@test","line":"628","ns":"xml=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~","sType":"1AB","C":[{"N":"dot"},{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","C":[{"N":"fn","name":"reverse","C":[{"N":"filter","C":[{"N":"axis","name":"preceding","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"},{"N":"fn","name":"deep-equal","C":[{"N":"dot"},{"N":"varRef","name":"fn-current","slot":"199"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"\n@Slash "}]},{"N":"applyT","sType":"* ","line":"629","mode":"Q{}name","bSlot":"0","C":[{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"629"},{"N":"withParam","name":"Q{}definition","slot":"0","sType":"1AB","C":[{"N":"true","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"630"}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"30"},{"N":"property","name":"method","value":"text"},{"N":"property","name":"media-type","value":"text/plain"},{"N":"property","name":"omit-xml-declaration","value":"yes"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}divisions","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"18"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"child","nodeTest":"*NT","sType":"*NT","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"19"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}tempo","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"120","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"22"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo","sType":"*NA nQ{}tempo","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}metronome","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"26"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}metronome,NE nQ{http://www.w3.org/1999/xhtml}metronome]"}]}]},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"dot","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"27"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}time","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"30"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"31"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}clef","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"34"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}key","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"38"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"39"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1FM","slots":"5","name":"Q{}measureIndex","as":"map(*)","ex:asJ":"FM k[1AS ] v[1ADI ] ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}_new","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"42"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1ADI ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"choose","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}contains","C":[{"N":"treat","as":"FM","diag":"0|0||map:contains","C":[{"N":"check","card":"1","diag":"0|0||map:contains","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:contains","C":[{"N":"attVal","name":"Q{}number"}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:get","C":[{"N":"attVal","name":"Q{}number"}]}]}]},{"N":"true"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}size","C":[{"N":"treat","as":"FM","diag":"0|0||map:size","C":[{"N":"check","card":"1","diag":"0|0||map:size","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureDuration","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"46"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"47"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"48","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"49","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"51","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"52"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"25","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureOnset","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"58"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"59"}]}]}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"60","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteDuration","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"63"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"65","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"66"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"33"},{"N":"filter","sType":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"67","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]},{"N":"true"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","sType":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"37"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteOnset","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"73"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"74"}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"76","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"77"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"45","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteBeat","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"83"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"84"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"86","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"87"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"51"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"53","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"arith","op":"div","calc":"d/d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}harmony","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"93"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"94"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}harmonyPreviousDuration","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"97"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"98"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"99"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"101","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"102"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"62"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"64","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1AS","slots":"5","name":"Q{}groove","as":"xs:string","ex:asJ":"AS ","C":[{"N":"str","val":"","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"init","line":"37"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AS ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}other-play,NE nQ{http://www.w3.org/1999/xhtml}other-play]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}other-play,NE nQ{http://www.w3.org/1999/xhtml}other-play]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"groove"}]}]},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}play,NE nQ{http://www.w3.org/1999/xhtml}play]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]}]},{"N":"check","card":"1","sType":"1AS ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"treat","as":"AS ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"check","card":"1","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"cvUntyped","to":"AS","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"child","nodeTest":"*NT","sType":"*NT","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"38"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"1FM k[AS] v[1AB]","binds":"11","slots":"5","name":"Q{}tieStart","as":"map(*)","ex:asJ":"FM k[1AS ] v[1AB ] ","C":[{"N":"map","sType":"1FM k[AS] v[1AB]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"init","line":"44","C":[{"N":"str","val":"current"},{"N":"false"},{"N":"str","val":"previous"},{"N":"false"}]},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1AB ] ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"0"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]},{"N":"map","sType":"1FM k[AS] v[*]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"48","C":[{"N":"str","val":"previous"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"str","val":"current"}]},{"N":"str","val":"current"},{"N":"or","C":[{"N":"fn","name":"exists","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"start"}]}]}]},{"N":"fn","name":"exists","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"start"}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"1AB","binds":"11","slots":"5","name":"Q{}tieStop","as":"xs:boolean","ex:asJ":"AB ","C":[{"N":"false","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"init","line":"51"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AB ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"0"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"54","C":[{"N":"or","C":[{"N":"fn","name":"exists","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]}]},{"N":"fn","name":"exists","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]}]}]}]},{"N":"ifCall","name":"Q{http://saxon.sf.net/}apply","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}tieStart"}]},{"N":"arrayBlock","C":[{"N":"str","val":"previous"}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"1FM k[AS] v[1AB]","binds":"11","slots":"5","name":"Q{}hasMeasurePrintedAnyNote","as":"map(*)","ex:asJ":"FM k[1AS ] v[1AB ] ","C":[{"N":"map","sType":"1FM k[AS] v[1AB]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"init","line":"60","C":[{"N":"str","val":"previous"},{"N":"false"},{"N":"str","val":"current"},{"N":"false"}]},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1AB ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ "},{"N":"map","sType":"1FM k[AS] v[1AB]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"64","C":[{"N":"str","val":"previous"},{"N":"false"},{"N":"str","val":"current"},{"N":"false"}]}]},{"N":"accRule","valueType":"FM k[1AS ] v[1AB ] ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"gVarRef","name":"Q{}melodyVoice","bSlot":"0"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]},{"N":"map","sType":"1FM k[AS] v[*]","ns":"= xml=~ fn=~ xsl=~ xs=~ mma=http://www.mellowood.ca/mma musicxml=http://www.w3.org/2021/06/musicxml40 map=~ array=~ ","role":"select","line":"68","C":[{"N":"str","val":"previous"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"str","val":"current"}]},{"N":"str","val":"current"},{"N":"or","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"str","val":"current"}]},{"N":"fn","name":"not","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}tieStop"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"decimalFormat"}],"Σ":"82f943a4"} \ No newline at end of file diff --git a/build/musicxml.sef.json b/build/musicxml.sef.json index ec808970..f40324cb 100644 --- a/build/musicxml.sef.json +++ b/build/musicxml.sef.json @@ -1 +1 @@ -{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2024-10-11T21:36:43.525-07:00","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"co","binds":"","id":"0","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","as":"1AO ","slots":"203","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","line":"114","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"arg","slot":"2","name":"Q{}tempo","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"arith","op":"div","calc":"a/a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"118","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"60000"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}tempo","slot":"2"}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"1","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ] ","line":"124","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"fn","name":"round","sType":"?A m[AO,AD,AF]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"127","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"192"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"2","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[* ] ","sType":"1F r[1AO ] a[* ] ","line":"133","C":[{"N":"arg","slot":"0","name":"Q{}harmony","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"let","var":"Q{}id","slot":"1","sType":"*A ","line":"135","role":"body","C":[{"N":"fn","name":"generate-id","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"135","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]}]}]},{"N":"fn","name":"sum","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"138","C":[{"N":"data","diag":"0|0||sum","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]},{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"generate-id","C":[{"N":"fn","name":"reverse","C":[{"N":"first","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]}]}]}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"3","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":""}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"30"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}divisions","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"18"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"child","nodeTest":"*NT","sType":"*NT","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"19"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}tempo","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"120","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"22"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo","sType":"*NA nQ{}tempo","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}metronome","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"26"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}metronome,NE nQ{http://www.w3.org/1999/xhtml}metronome]"}]}]},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"dot","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"27"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}time","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"30"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"31"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}clef","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"34"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}key","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"38"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"39"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1FM","slots":"5","name":"Q{}measureIndex","as":"map(*)","ex:asJ":"FM k[1AS ] v[1ADI ] ","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}_new","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"42"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1ADI ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"choose","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}contains","C":[{"N":"treat","as":"FM","diag":"0|0||map:contains","C":[{"N":"check","card":"1","diag":"0|0||map:contains","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:contains","C":[{"N":"attVal","name":"Q{}number"}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:get","C":[{"N":"attVal","name":"Q{}number"}]}]}]},{"N":"true"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}size","C":[{"N":"treat","as":"FM","diag":"0|0||map:size","C":[{"N":"check","card":"1","diag":"0|0||map:size","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureDuration","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"46"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"47"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"48","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"49","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"51","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"52"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"25","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureOnset","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"58"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"59"}]}]}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"60","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteDuration","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"63"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"65","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"66"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"33"},{"N":"filter","sType":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"67","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]},{"N":"true"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","sType":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"37"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteOnset","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"73"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"74"}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"76","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"77"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"45","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteBeat","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"83"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"84"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"86","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"87"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"51"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"53","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"arith","op":"div","calc":"d/d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}harmony","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"93"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"94"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}harmonyPreviousDuration","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"97"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"98"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"99"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"101","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"102"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"62"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"64","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"decimalFormat"}],"Σ":"540e83b"} \ No newline at end of file +{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2024-10-13T21:18:22.031-07:00","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"co","binds":"","id":"0","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","as":"1AO ","slots":"203","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","line":"114","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"arg","slot":"2","name":"Q{}tempo","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"arith","op":"div","calc":"a/a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"118","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"60000"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}tempo","slot":"2"}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"1","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ] ","line":"124","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"fn","name":"round","sType":"?A m[AO,AD,AF]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"127","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"192"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"2","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[* ] ","sType":"1F r[1AO ] a[* ] ","line":"133","C":[{"N":"arg","slot":"0","name":"Q{}harmony","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"let","var":"Q{}id","slot":"1","sType":"*A ","line":"135","role":"body","C":[{"N":"fn","name":"generate-id","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"135","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]}]}]},{"N":"fn","name":"sum","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"138","C":[{"N":"data","diag":"0|0||sum","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]},{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"generate-id","C":[{"N":"fn","name":"reverse","C":[{"N":"first","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]}]}]}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"3","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":""}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"30"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}divisions","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"18"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"child","nodeTest":"*NT","sType":"*NT","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"19"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}tempo","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"120","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"22"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo","sType":"*NA nQ{}tempo","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}metronome","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"26"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}metronome,NE nQ{http://www.w3.org/1999/xhtml}metronome]"}]}]},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"dot","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"27"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}time","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"30"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"31"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}clef","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"34"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}key","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"38"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"39"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1FM","slots":"5","name":"Q{}measureIndex","as":"map(*)","ex:asJ":"FM k[1AS ] v[1ADI ] ","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}_new","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"42"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1ADI ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"choose","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}contains","C":[{"N":"treat","as":"FM","diag":"0|0||map:contains","C":[{"N":"check","card":"1","diag":"0|0||map:contains","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:contains","C":[{"N":"attVal","name":"Q{}number"}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:get","C":[{"N":"attVal","name":"Q{}number"}]}]}]},{"N":"true"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}size","C":[{"N":"treat","as":"FM","diag":"0|0||map:size","C":[{"N":"check","card":"1","diag":"0|0||map:size","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureDuration","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"46"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"47"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"48","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"49","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"51","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"52"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"25","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureOnset","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"58"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"59"}]}]}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"60","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteDuration","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"63"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"65","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"66"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"33"},{"N":"filter","sType":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"67","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]},{"N":"true"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","sType":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"37"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteOnset","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"73"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"74"}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"76","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"77"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"45","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteBeat","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"83"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"84"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"86","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"87"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"51"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"53","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"arith","op":"div","calc":"d/d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}harmony","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"93"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"94"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}harmonyPreviousDuration","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"97"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"98"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"99"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"101","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"102"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"62"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"64","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"decimalFormat"}],"Σ":"57752bb"} \ No newline at end of file diff --git a/build/timemap.sef.json b/build/timemap.sef.json index 1e35111f..8690ac4e 100644 --- a/build/timemap.sef.json +++ b/build/timemap.sef.json @@ -1 +1 @@ -{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2024-10-11T21:36:44.102-07:00","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"co","binds":"","id":"0","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","as":"1AO ","slots":"203","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","line":"114","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"arg","slot":"2","name":"Q{}tempo","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"arith","op":"div","calc":"a/a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"118","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"60000"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}tempo","slot":"2"}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"1","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ] ","line":"124","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"fn","name":"round","sType":"?A m[AO,AD,AF]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"127","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"192"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"2","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[* ] ","sType":"1F r[1AO ] a[* ] ","line":"133","C":[{"N":"arg","slot":"0","name":"Q{}harmony","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"let","var":"Q{}id","slot":"1","sType":"*A ","line":"135","role":"body","C":[{"N":"fn","name":"generate-id","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"135","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]}]}]},{"N":"fn","name":"sum","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"138","C":[{"N":"data","diag":"0|0||sum","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]},{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"generate-id","C":[{"N":"fn","name":"reverse","C":[{"N":"first","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]}]}]}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"3","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}useSef","sType":"AB ","slots":"200","module":"timemap.xsl","as":"AB ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"false","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"}]}]},{"N":"co","binds":"","id":"4","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}renumberMeasures","sType":"AB ","slots":"200","module":"timemap.xsl","as":"AB ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"false","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"24"}]}]},{"N":"co","id":"5","vis":"PUBLIC","ex:uniform":"true","binds":"4","C":[{"N":"globalVariable","name":"Q{}stylesheetParams","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"timemap.xsl","slots":"200","sType":"1FM","C":[{"N":"map","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"31","C":[{"N":"fn","name":"QName","C":[{"N":"str","val":""},{"N":"str","val":"renumberMeasures"}]},{"N":"gVarRef","name":"Q{}renumberMeasures","bSlot":"0"}]}]}]},{"N":"co","id":"6","vis":"PUBLIC","ex:uniform":"true","binds":"3 5","C":[{"N":"globalVariable","name":"Q{}unrolled","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"timemap.xsl","slots":"200","sType":"?ND ","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-midi/src/xsl/timemap.xsl","role":"select","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","line":"33","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"33","C":[{"N":"gVarRef","name":"Q{}useSef","bSlot":"0"}]},{"N":"lookup","op":"?","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"38","C":[{"N":"fn","name":"transform","C":[{"N":"map","C":[{"N":"str","val":"source-node"},{"N":"root"},{"N":"str","val":"stylesheet-node"},{"N":"fn","name":"doc","C":[{"N":"str","val":"unroll.xsl"}]},{"N":"str","val":"stylesheet-params"},{"N":"gVarRef","name":"Q{}stylesheetParams","bSlot":"1"}]}]},{"N":"str","val":"output"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"40","C":[{"N":"gVarRef","name":"Q{}useSef","bSlot":"0","sType":"AB ","line":"40"},{"N":"lookup","op":"?","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"45","C":[{"N":"fn","name":"transform","C":[{"N":"map","C":[{"N":"str","val":"source-node"},{"N":"root"},{"N":"str","val":"package-text"},{"N":"fn","name":"unparsed-text","C":[{"N":"str","val":"unroll.sef.json"}]},{"N":"str","val":"stylesheet-params"},{"N":"gVarRef","name":"Q{}stylesheetParams","bSlot":"1"}]}]},{"N":"str","val":"output"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]},{"N":"co","id":"7","binds":"0 7 6","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"2","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","line":"63","module":"timemap.xsl","ex:asJ":"*FM ","expand-text":"false","match":"measure","as":"map(*)*","prio":"0","matches":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"map","sType":"1FM k[AS] v[*]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"action","line":"79","C":[{"N":"str","val":"measure"},{"N":"ifCall","name":"Q{http://saxon.sf.net/}apply","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureIndex"}]},{"N":"arrayBlock","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]},{"N":"str","val":"timestamp"},{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","coId":"0","bSlot":"0","C":[{"N":"fn","name":"accumulator-before","C":[{"N":"str","val":"Q{}measureOnset"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}tempo"}]}]},{"N":"str","val":"duration"},{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","coId":"0","bSlot":"0","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}tempo"}]}]}]}]},{"N":"templateRule","rank":"1","prec":"0","seq":"1","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","line":"56","module":"timemap.xsl","ex:asJ":"FA ","expand-text":"false","match":"part","as":"array(*)","prio":"0","matches":"NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","sType":"1NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"check","card":"1","sType":"1FA ","diag":"2|0|XTTE0505|template result","role":"action","C":[{"N":"let","var":"Q{}output","slot":"0","sType":"*FA ","line":"57","role":"action","C":[{"N":"treat","as":"FM ","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}output\"","C":[{"N":"applyT","sType":"* ","line":"58","mode":"#unnamed","bSlot":"1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"58"}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence","sType":"1FA v[*]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"60","C":[{"N":"varRef","name":"Q{}output","slot":"0"}]}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"0","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","line":"52","module":"timemap.xsl","expand-text":"false","match":"/","prio":"-0.5","matches":"ND","C":[{"N":"p.nodeTest","role":"match","test":"ND","sType":"1ND","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"applyT","sType":"* ","line":"53","mode":"#unnamed","role":"action","bSlot":"1","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"53","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}unrolled","bSlot":"2"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]"}]}]}]}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"30"},{"N":"property","name":"method","value":"json"},{"N":"property","name":"indent","value":"yes"},{"N":"property","name":"encoding","value":"UTF-8"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}divisions","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"18"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"child","nodeTest":"*NT","sType":"*NT","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"19"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}tempo","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"120","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"22"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo","sType":"*NA nQ{}tempo","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}metronome","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"26"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}metronome,NE nQ{http://www.w3.org/1999/xhtml}metronome]"}]}]},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"dot","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"27"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}time","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"30"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"31"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}clef","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"34"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}key","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"38"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"39"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1FM","slots":"5","name":"Q{}measureIndex","as":"map(*)","ex:asJ":"FM k[1AS ] v[1ADI ] ","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}_new","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"42"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1ADI ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"choose","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}contains","C":[{"N":"treat","as":"FM","diag":"0|0||map:contains","C":[{"N":"check","card":"1","diag":"0|0||map:contains","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:contains","C":[{"N":"attVal","name":"Q{}number"}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:get","C":[{"N":"attVal","name":"Q{}number"}]}]}]},{"N":"true"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}size","C":[{"N":"treat","as":"FM","diag":"0|0||map:size","C":[{"N":"check","card":"1","diag":"0|0||map:size","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureDuration","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"46"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"47"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"48","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"49","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"51","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"52"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"25","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureOnset","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"58"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"59"}]}]}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"60","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteDuration","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"63"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"65","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"66"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"33"},{"N":"filter","sType":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"67","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]},{"N":"true"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","sType":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"37"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteOnset","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"73"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"74"}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"76","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"77"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"45","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteBeat","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"83"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"84"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"86","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"87"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"51"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"53","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"arith","op":"div","calc":"d/d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}harmony","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"93"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"94"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}harmonyPreviousDuration","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"97"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"98"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"99"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"101","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"102"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"62"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"64","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"decimalFormat"}],"Σ":"d0bab2d6"} \ No newline at end of file +{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2024-10-13T21:18:22.618-07:00","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"co","binds":"","id":"0","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","as":"1AO ","slots":"203","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","line":"114","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"arg","slot":"2","name":"Q{}tempo","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"arith","op":"div","calc":"a/a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"118","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"60000"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}tempo","slot":"2"}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"1","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ] ","line":"124","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"fn","name":"round","sType":"?A m[AO,AD,AF]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"127","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"192"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"2","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[* ] ","sType":"1F r[1AO ] a[* ] ","line":"133","C":[{"N":"arg","slot":"0","name":"Q{}harmony","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"let","var":"Q{}id","slot":"1","sType":"*A ","line":"135","role":"body","C":[{"N":"fn","name":"generate-id","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"135","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]}]}]},{"N":"fn","name":"sum","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"138","C":[{"N":"data","diag":"0|0||sum","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]},{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"generate-id","C":[{"N":"fn","name":"reverse","C":[{"N":"first","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]}]}]}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"3","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}useSef","sType":"AB ","slots":"200","module":"timemap.xsl","as":"AB ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"false","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"}]}]},{"N":"co","binds":"","id":"4","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}renumberMeasures","sType":"AB ","slots":"200","module":"timemap.xsl","as":"AB ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"false","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"24"}]}]},{"N":"co","id":"5","vis":"PUBLIC","ex:uniform":"true","binds":"4","C":[{"N":"globalVariable","name":"Q{}stylesheetParams","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"timemap.xsl","slots":"200","sType":"1FM","C":[{"N":"map","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"31","C":[{"N":"fn","name":"QName","C":[{"N":"str","val":""},{"N":"str","val":"renumberMeasures"}]},{"N":"gVarRef","name":"Q{}renumberMeasures","bSlot":"0"}]}]}]},{"N":"co","id":"6","vis":"PUBLIC","ex:uniform":"true","binds":"3 5","C":[{"N":"globalVariable","name":"Q{}unrolled","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"timemap.xsl","slots":"200","sType":"?ND ","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-midi/src/xsl/timemap.xsl","role":"select","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","line":"33","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"33","C":[{"N":"gVarRef","name":"Q{}useSef","bSlot":"0"}]},{"N":"lookup","op":"?","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"38","C":[{"N":"fn","name":"transform","C":[{"N":"map","C":[{"N":"str","val":"source-node"},{"N":"root"},{"N":"str","val":"stylesheet-node"},{"N":"fn","name":"doc","C":[{"N":"str","val":"unroll.xsl"}]},{"N":"str","val":"stylesheet-params"},{"N":"gVarRef","name":"Q{}stylesheetParams","bSlot":"1"}]}]},{"N":"str","val":"output"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"40","C":[{"N":"gVarRef","name":"Q{}useSef","bSlot":"0","sType":"AB ","line":"40"},{"N":"lookup","op":"?","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"45","C":[{"N":"fn","name":"transform","C":[{"N":"map","C":[{"N":"str","val":"source-node"},{"N":"root"},{"N":"str","val":"package-text"},{"N":"fn","name":"unparsed-text","C":[{"N":"str","val":"unroll.sef.json"}]},{"N":"str","val":"stylesheet-params"},{"N":"gVarRef","name":"Q{}stylesheetParams","bSlot":"1"}]}]},{"N":"str","val":"output"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]},{"N":"co","id":"7","binds":"0 7 6","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"2","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","line":"63","module":"timemap.xsl","ex:asJ":"*FM ","expand-text":"false","match":"measure","as":"map(*)*","prio":"0","matches":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"map","sType":"1FM k[AS] v[*]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"action","line":"79","C":[{"N":"str","val":"measure"},{"N":"ifCall","name":"Q{http://saxon.sf.net/}apply","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureIndex"}]},{"N":"arrayBlock","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]},{"N":"str","val":"timestamp"},{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","coId":"0","bSlot":"0","C":[{"N":"fn","name":"accumulator-before","C":[{"N":"str","val":"Q{}measureOnset"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}tempo"}]}]},{"N":"str","val":"duration"},{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","coId":"0","bSlot":"0","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}tempo"}]}]}]}]},{"N":"templateRule","rank":"1","prec":"0","seq":"1","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","line":"56","module":"timemap.xsl","ex:asJ":"FA ","expand-text":"false","match":"part","as":"array(*)","prio":"0","matches":"NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","sType":"1NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"check","card":"1","sType":"1FA ","diag":"2|0|XTTE0505|template result","role":"action","C":[{"N":"let","var":"Q{}output","slot":"0","sType":"*FA ","line":"57","role":"action","C":[{"N":"treat","as":"FM ","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}output\"","C":[{"N":"applyT","sType":"* ","line":"58","mode":"#unnamed","bSlot":"1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"58"}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence","sType":"1FA v[*]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"60","C":[{"N":"varRef","name":"Q{}output","slot":"0"}]}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"0","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","line":"52","module":"timemap.xsl","expand-text":"false","match":"/","prio":"-0.5","matches":"ND","C":[{"N":"p.nodeTest","role":"match","test":"ND","sType":"1ND","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"applyT","sType":"* ","line":"53","mode":"#unnamed","role":"action","bSlot":"1","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"53","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}unrolled","bSlot":"2"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]"}]}]}]}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"30"},{"N":"property","name":"method","value":"json"},{"N":"property","name":"indent","value":"yes"},{"N":"property","name":"encoding","value":"UTF-8"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}divisions","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"18"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"child","nodeTest":"*NT","sType":"*NT","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"19"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}tempo","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"120","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"22"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo","sType":"*NA nQ{}tempo","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}metronome","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"26"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}metronome,NE nQ{http://www.w3.org/1999/xhtml}metronome]"}]}]},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"dot","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"27"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}time","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"30"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"31"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}clef","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"34"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}key","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"38"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"39"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1FM","slots":"5","name":"Q{}measureIndex","as":"map(*)","ex:asJ":"FM k[1AS ] v[1ADI ] ","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}_new","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"42"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1ADI ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"choose","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}contains","C":[{"N":"treat","as":"FM","diag":"0|0||map:contains","C":[{"N":"check","card":"1","diag":"0|0||map:contains","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:contains","C":[{"N":"attVal","name":"Q{}number"}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:get","C":[{"N":"attVal","name":"Q{}number"}]}]}]},{"N":"true"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}size","C":[{"N":"treat","as":"FM","diag":"0|0||map:size","C":[{"N":"check","card":"1","diag":"0|0||map:size","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureDuration","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"46"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"47"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"48","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"49","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"51","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"52"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"25","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureOnset","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"58"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"59"}]}]}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"60","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteDuration","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"63"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"65","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"66"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"33"},{"N":"filter","sType":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"67","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]},{"N":"true"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","sType":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"37"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteOnset","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"73"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"74"}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"76","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"77"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"45","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteBeat","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"83"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"84"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"86","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"87"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"51"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"53","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"arith","op":"div","calc":"d/d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}harmony","as":"element()*","ex:asJ":"*NE ","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"93"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"94"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}harmonyPreviousDuration","as":"xs:double","ex:asJ":"AO ","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"97"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"98"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"99"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"101","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"102"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"62"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"64","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"decimalFormat"}],"Σ":"d08d03d6"} \ No newline at end of file diff --git a/build/unroll.sef.json b/build/unroll.sef.json index 492684d9..8b6e3b16 100644 --- a/build/unroll.sef.json +++ b/build/unroll.sef.json @@ -1 +1 @@ -{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2024-10-11T21:36:44.867-07:00","ns":"xml=~ xsl=~ xs=~ map=~","C":[{"N":"co","binds":"","id":"0","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","as":"1AO ","slots":"203","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","line":"114","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"arg","slot":"2","name":"Q{}tempo","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"arith","op":"div","calc":"a/a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"118","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"60000"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}tempo","slot":"2"}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"1","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ] ","line":"124","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"fn","name":"round","sType":"?A m[AO,AD,AF]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"127","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"192"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"2","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[* ] ","sType":"1F r[1AO ] a[* ] ","line":"133","C":[{"N":"arg","slot":"0","name":"Q{}harmony","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"let","var":"Q{}id","slot":"1","sType":"*A ","line":"135","role":"body","C":[{"N":"fn","name":"generate-id","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"135","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]}]}]},{"N":"fn","name":"sum","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"138","C":[{"N":"data","diag":"0|0||sum","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]},{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"generate-id","C":[{"N":"fn","name":"reverse","C":[{"N":"first","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]}]}]}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"3","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}renumberMeasures","sType":"AB ","slots":"200","module":"unroll.xsl","as":"AB ","ns":"xml=~ xsl=~ xs=~ map=~","C":[{"N":"false","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"25"}]}]},{"N":"co","id":"4","binds":"4 3","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"2","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"61","module":"unroll.xsl","expand-text":"false","match":"measure","prio":"0","matches":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}previousMeasure","slot":"0","sType":"* ","as":"* ","flags":"","line":"62","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"param","name":"Q{}previousTime","slot":"1","sType":"* ","as":"* ","flags":"","line":"63","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"1","sType":"* "}]},{"N":"param","name":"Q{}previousDivisions","slot":"2","sType":"* ","as":"* ","flags":"","line":"64","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"2","sType":"* "}]},{"N":"param","name":"Q{}previousKey","slot":"3","sType":"* ","as":"* ","flags":"","line":"65","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"3","sType":"* "}]},{"N":"param","name":"Q{}previousClef","slot":"4","sType":"* ","as":"* ","flags":"","line":"66","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"4","sType":"* "}]},{"N":"param","name":"Q{}previousMetronome","slot":"5","sType":"* ","as":"* ","flags":"","line":"67","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"5","sType":"* "}]},{"N":"param","name":"Q{}repeatMeasure","slot":"6","sType":"* ","as":"* ","flags":"","line":"68","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"6","sType":"* "}]},{"N":"param","name":"Q{}repeatCount","slot":"7","sType":"* ","as":"* ","flags":"","line":"69","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"7","sType":"* "}]},{"N":"param","name":"Q{}jump","slot":"8","sType":"* ","as":"* ","flags":"","line":"70","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"8","sType":"* "}]},{"N":"param","name":"Q{}measureNumber","slot":"9","sType":"ADI ","as":"ADI ","flags":"","line":"71","C":[{"N":"check","card":"1","sType":"1ADI ","diag":"2|0|XTTE0570|xsl:param name=\"Q{}measureNumber\"","role":"select","C":[{"N":"treat","as":"ADI ","diag":"2|0|XTTE0570|xsl:param name=\"Q{}measureNumber\"","role":"select","C":[{"N":"check","card":"1","diag":"2|0|XTTE0570|xsl:param name=\"Q{}measureNumber\"","role":"select","C":[{"N":"cvUntyped","to":"ADI","sType":"*A ","diag":"2|0|XTTE0570|xsl:param name=\"Q{}measureNumber\"","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"empty","sType":"0 ","role":"select"}]}]}]}]}]},{"N":"check","card":"1","sType":"1ADI ","diag":"2|1|XTTE0590|xsl:param name=\"Q{}measureNumber\"","role":"conversion","C":[{"N":"treat","as":"ADI ","diag":"2|1|XTTE0590|xsl:param name=\"Q{}measureNumber\"","role":"conversion","C":[{"N":"check","card":"1","diag":"2|1|XTTE0590|xsl:param name=\"Q{}measureNumber\"","role":"conversion","C":[{"N":"cvUntyped","to":"ADI","sType":"*A ","diag":"2|1|XTTE0590|xsl:param name=\"Q{}measureNumber\"","role":"conversion","C":[{"N":"data","sType":"*A ","role":"conversion","C":[{"N":"supplied","role":"conversion","slot":"9","sType":"* "}]}]}]}]}]}]},{"N":"let","var":"Q{}time","slot":"10","sType":"* ","line":"73","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"73","C":[{"N":"fn","name":"accumulator-after","sType":"*NE ","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"str","val":"Q{}time"}]}]},{"N":"let","var":"Q{}divisions","slot":"11","sType":"* ","line":"74","C":[{"N":"fn","name":"accumulator-after","sType":"AO ","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"74","C":[{"N":"str","val":"Q{}divisions"}]},{"N":"let","var":"Q{}key","slot":"12","sType":"* ","line":"75","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"75","C":[{"N":"fn","name":"accumulator-after","sType":"*NE ","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"str","val":"Q{}key"}]}]},{"N":"let","var":"Q{}clef","slot":"13","sType":"* ","line":"76","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"76","C":[{"N":"fn","name":"accumulator-after","sType":"*NE ","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"str","val":"Q{}clef"}]}]},{"N":"let","var":"Q{}metronome","slot":"14","sType":"* ","line":"77","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"77","C":[{"N":"fn","name":"accumulator-after","sType":"*NE ","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"str","val":"Q{}metronome"}]}]},{"N":"choose","sType":"* ","type":"item()*","line":"82","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"18","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]},{"N":"str","val":"start"}]}]},{"N":"fn","name":"not","C":[{"N":"fn","name":"index-of","C":[{"N":"fn","name":"tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||tokenize","C":[{"N":"check","card":"?","diag":"0|0||tokenize","C":[{"N":"data","diag":"0|0||tokenize","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"start"}]}]}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]},{"N":"str","val":"\\s*,\\s*"}]},{"N":"fn","name":"format-number","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||format-number","C":[{"N":"check","card":"?","diag":"0|0||format-number","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||format-number","C":[{"N":"check","card":"?","diag":"0|0||format-number","C":[{"N":"data","diag":"0|0||format-number","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]}]}]}]},{"N":"str","val":"0"}]},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{"N":"let","var":"Q{}nextMeasure","slot":"15","sType":"* ","line":"83","C":[{"N":"first","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"83","C":[{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]}]},{"N":"str","val":"start"}]},{"N":"fn","name":"index-of","C":[{"N":"fn","name":"tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||tokenize","C":[{"N":"check","card":"?","diag":"0|0||tokenize","C":[{"N":"data","diag":"0|0||tokenize","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"start"}]}]}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]},{"N":"str","val":"\\s*,\\s*"}]},{"N":"fn","name":"format-number","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||format-number","C":[{"N":"check","card":"?","diag":"0|0||format-number","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||format-number","C":[{"N":"check","card":"?","diag":"0|0||format-number","C":[{"N":"data","diag":"0|0||format-number","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]}]}]}]},{"N":"str","val":"0"}]},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]},{"N":"applyT","sType":"* ","line":"84","mode":"#unnamed","bSlot":"0","C":[{"N":"varRef","name":"Q{}nextMeasure","slot":"15","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"84"},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"85"}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"*","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"86"}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}jump","slot":"8","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"87"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"88"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"89"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"90"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"91"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"92"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"93"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"94","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]}]},{"N":"true"},{"N":"sequence","sType":"* ","C":[{"N":"copy","sType":"1NE u[1NE nQ{}measure ,1NE nQ{http://www.w3.org/1999/xhtml}measure ] ","flags":"cin","line":"104","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","line":"105","C":[{"N":"gVarRef","name":"Q{}renumberMeasures","bSlot":"1","sType":"AB ","line":"105"},{"N":"sequence","sType":"* ","C":[{"N":"att","name":"number","sType":"1NA ","line":"106","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}measureNumber","slot":"9","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"35"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"applyT","sType":"* ","line":"107","mode":"#unnamed","bSlot":"0","C":[{"N":"filter","sType":"*NA","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"107","C":[{"N":"axis","name":"attribute","nodeTest":"*NA"},{"N":"compareToString","op":"ne","val":"number","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"109","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"109","C":[{"N":"gVarRef","name":"Q{}renumberMeasures","bSlot":"1"}]},{"N":"applyT","sType":"* ","line":"110","mode":"#unnamed","bSlot":"0","C":[{"N":"axis","name":"attribute","nodeTest":"*NA","sType":"*NA","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"110"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"let","var":"Q{}attributes","slot":"15","sType":"* ","line":"118","C":[{"N":"treat","as":"NE ","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}attributes\"","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"119","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"119","C":[{"N":"and","C":[{"N":"varRef","name":"Q{}divisions","slot":"11"},{"N":"fn","name":"not","C":[{"N":"fn","name":"deep-equal","C":[{"N":"varRef","name":"Q{}divisions","slot":"11"},{"N":"varRef","name":"Q{}previousDivisions","slot":"2"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{"N":"fn","name":"not","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"}]}]}]}]},{"N":"elem","type":"element()","name":"divisions","sType":"1NE ","nsuri":"","line":"120","C":[{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"121","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"121"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"124","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"124","C":[{"N":"and","C":[{"N":"varRef","name":"Q{}key","slot":"12"},{"N":"fn","name":"not","C":[{"N":"fn","name":"deep-equal","C":[{"N":"varRef","name":"Q{}key","slot":"12"},{"N":"varRef","name":"Q{}previousKey","slot":"3"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{"N":"fn","name":"not","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"}]}]}]}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"125","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"125"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"127","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"127","C":[{"N":"and","C":[{"N":"varRef","name":"Q{}time","slot":"10"},{"N":"fn","name":"not","C":[{"N":"fn","name":"deep-equal","C":[{"N":"varRef","name":"Q{}time","slot":"10"},{"N":"varRef","name":"Q{}previousTime","slot":"1"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{"N":"fn","name":"not","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"}]}]}]}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"128","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"128"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"130","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"130","C":[{"N":"and","C":[{"N":"varRef","name":"Q{}clef","slot":"13"},{"N":"fn","name":"not","C":[{"N":"fn","name":"deep-equal","C":[{"N":"varRef","name":"Q{}clef","slot":"13"},{"N":"varRef","name":"Q{}previousClef","slot":"4"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{"N":"fn","name":"not","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"}]}]}]}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"131","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"131"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"134","C":[{"N":"compareToInt","op":"gt","val":"0","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"134","C":[{"N":"fn","name":"count","C":[{"N":"varRef","name":"Q{}attributes","slot":"15"}]}]},{"N":"elem","type":"element()","name":"attributes","sType":"1NE ","nsuri":"","line":"135","C":[{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"136","sType":"*","C":[{"N":"varRef","name":"Q{}attributes","slot":"15","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"136"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"let","var":"Q{}direction","slot":"16","sType":"* ","line":"139","C":[{"N":"treat","as":"NE ","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}direction\"","C":[{"N":"choose","sType":"* ","line":"140","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"140","C":[{"N":"and","C":[{"N":"varRef","name":"Q{}metronome","slot":"14"},{"N":"fn","name":"not","C":[{"N":"fn","name":"deep-equal","C":[{"N":"varRef","name":"Q{}metronome","slot":"14"},{"N":"varRef","name":"Q{}previousMetronome","slot":"5"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{"N":"fn","name":"not","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}metronome,NE nQ{http://www.w3.org/1999/xhtml}metronome]"}]}]}]}]}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"141","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"141"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","line":"144","C":[{"N":"compareToInt","op":"gt","val":"0","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"144","C":[{"N":"fn","name":"count","C":[{"N":"varRef","name":"Q{}direction","slot":"16"}]}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"145","sType":"*","C":[{"N":"varRef","name":"Q{}direction","slot":"16","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"145"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"applyT","sType":"* ","line":"155","mode":"#unnamed","bSlot":"0","C":[{"N":"filter","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"155","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"fn","name":"not","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"axis","name":"self","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"self","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}segno"}]}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"self","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dalsegno"}]}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"self","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}fine"}]}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"self","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dacapo"}]}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"self","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tocoda"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"choose","sType":"* ","type":"item()*","line":"161","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"166","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}fine"}]}]}]},{"N":"str","val":"yes"}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}jump","slot":"8"}]},{"N":"str","val":""}]}]},{"N":"empty","sType":"0 "},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"172","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tocoda"}]}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}jump","slot":"8"}]},{"N":"str","val":""}]}]},{"N":"let","var":"Q{}coda","slot":"15","sType":"* ","line":"173","C":[{"N":"docOrder","sType":"*NA nQ{}tocoda","role":"select","line":"173","C":[{"N":"docOrder","sType":"*NA nQ{}tocoda","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tocoda"}]}]}]},{"N":"let","var":"Q{}nextMeasure","slot":"16","sType":"* ","line":"174","C":[{"N":"filter","sType":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"174","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}coda"}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}coda","slot":"15"}]}]}]},{"N":"applyT","sType":"* ","line":"175","mode":"#unnamed","bSlot":"0","C":[{"N":"varRef","name":"Q{}nextMeasure","slot":"16","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"175"},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"176","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"1ADI","C":[{"N":"int","val":"10000","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"177"}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}coda","slot":"15","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"178"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"179"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"180"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"181"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"182"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"183"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"184"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"185","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]}]}]},{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"192","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"}]}]}]},{"N":"str","val":"forward"}]},{"N":"vc","op":"eq","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot"}]},{"N":"fn","name":"generate-id","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6"}]}]}]}]}]},{"N":"applyT","sType":"* ","line":"193","mode":"#unnamed","bSlot":"0","C":[{"N":"first","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"193","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"194"}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"*","C":[{"N":"choose","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"195","C":[{"N":"vc","op":"eq","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot"}]},{"N":"fn","name":"generate-id","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6"}]}]}]}]},{"N":"varRef","name":"Q{}repeatCount","slot":"7"},{"N":"true"},{"N":"int","val":"1"}]}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}jump","slot":"8","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"196"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"197"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"198"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"199"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"200"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"201"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"202"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"203","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"213","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"}]}]}]},{"N":"str","val":"backward"}]},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}jump","slot":"8"}]},{"N":"str","val":""}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}after-jump"}]}]}]},{"N":"str","val":"yes"}]}]}]},{"N":"gc","op":">","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"choose","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}times"}]}]},{"N":"fn","name":"number","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}times"}]}]}]}]}]},{"N":"true"},{"N":"int","val":"2"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]}]},{"N":"applyT","sType":"* ","line":"214","mode":"#unnamed","bSlot":"0","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"214"},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"215"}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"216","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]},{"N":"int","val":"1"}]}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}jump","slot":"8","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"217"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"218"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"219"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"220"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"221"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"222"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"223"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"224","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"234","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]},{"N":"str","val":"stop"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"}]}]}]},{"N":"str","val":"backward"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6"}]},{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"},{"N":"and","C":[{"N":"and","C":[{"N":"fn","name":"reverse","C":[{"N":"filter","C":[{"N":"first","C":[{"N":"filter","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"}]}]}]},{"N":"str","val":"forward"}]}]}]},{"N":"vc","op":"eq","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot"}]},{"N":"fn","name":"generate-id","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6"}]}]}]}]}]}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]}]},{"N":"str","val":"start"}]}]},{"N":"fn","name":"index-of","C":[{"N":"fn","name":"tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||tokenize","C":[{"N":"check","card":"?","diag":"0|0||tokenize","C":[{"N":"data","diag":"0|0||tokenize","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"start"}]}]}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]},{"N":"str","val":"\\s*,\\s*"}]},{"N":"fn","name":"format-number","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||format-number","C":[{"N":"check","card":"?","diag":"0|0||format-number","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||format-number","C":[{"N":"arith","op":"+","calc":"a+a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]},{"N":"int","val":"1"}]}]}]}]},{"N":"str","val":"0"}]},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]},{"N":"applyT","sType":"* ","line":"235","mode":"#unnamed","bSlot":"0","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"235"},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"236"}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"237","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]},{"N":"int","val":"1"}]}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}jump","slot":"8","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"238"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"239"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"240"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"241"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"242"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"243"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"244"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"245","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"251","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dacapo"}]}]}]},{"N":"str","val":"yes"}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}jump","slot":"8"}]},{"N":"str","val":"capo"}]}]},{"N":"applyT","sType":"* ","line":"252","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"252","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"253","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"1ADI","C":[{"N":"int","val":"10000","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"254"}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"1AS","C":[{"N":"str","val":"capo","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"255"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"256"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"257"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"258"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"259"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"260"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"261"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"262","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"268","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dalsegno"}]}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}jump","slot":"8"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dalsegno"}]}]}]}]}]},{"N":"let","var":"Q{}segno","slot":"15","sType":"* ","line":"269","C":[{"N":"docOrder","sType":"*NA nQ{}dalsegno","role":"select","line":"269","C":[{"N":"docOrder","sType":"*NA nQ{}dalsegno","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dalsegno"}]}]}]},{"N":"let","var":"Q{}nextMeasure","slot":"16","sType":"* ","line":"270","C":[{"N":"fn","name":"reverse","sType":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"270","C":[{"N":"filter","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}segno"}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}segno","slot":"15"}]}]}]}]},{"N":"applyT","sType":"* ","line":"271","mode":"#unnamed","bSlot":"0","C":[{"N":"varRef","name":"Q{}nextMeasure","slot":"16","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"271"},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"272","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"1ADI","C":[{"N":"int","val":"10000","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"273"}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}segno","slot":"15","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"274"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"275"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"276"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"277"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"278"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"279"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"280"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"281","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"287","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"}]}]}]},{"N":"str","val":"backward"}]},{"N":"gc","op":"<=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"number","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}times"}]}]}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]}]},{"N":"applyT","sType":"* ","line":"288","mode":"#unnamed","bSlot":"0","C":[{"N":"first","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"288","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"289","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"1ADI","C":[{"N":"int","val":"10000","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"290"}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}jump","slot":"8","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"291"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"292"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"293"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"294"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"295"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"296"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"297"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"298","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]},{"N":"true"},{"N":"applyT","sType":"* ","line":"305","mode":"#unnamed","bSlot":"0","C":[{"N":"first","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"305","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"306"}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"*","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"307"}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}jump","slot":"8","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"308"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"309"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"310"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"311"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"312"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"313"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"314"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"315","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","rank":"1","prec":"0","seq":"1","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"34","module":"unroll.xsl","expand-text":"false","match":"part","prio":"0","matches":"NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","sType":"1NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ "},{"N":"copy","sType":"1NE u[1NE nQ{}part ,1NE nQ{http://www.w3.org/1999/xhtml}part ] ","flags":"cin","role":"action","line":"35","C":[{"N":"sequence","sType":"* ","C":[{"N":"applyT","sType":"* ","line":"36","mode":"#unnamed","bSlot":"0","C":[{"N":"axis","name":"attribute","nodeTest":"*NA","sType":"*NA","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"36"}]},{"N":"applyT","sType":"* ","line":"37","mode":"#unnamed","bSlot":"0","C":[{"N":"first","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"37","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"withParam","name":"Q{}repeatMeasure","slot":"0","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"first","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"38","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"withParam","name":"Q{}repeatCount","slot":"0","sType":"1ADI","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"39"}]},{"N":"withParam","name":"Q{}jump","slot":"0","sType":"1AS ","C":[{"N":"str","sType":"1AS ","val":"","role":"select"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1AS ","C":[{"N":"str","sType":"1AS ","val":"","role":"select"}]},{"N":"withParam","name":"Q{}previousTime","slot":"0","sType":"0E","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"42"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"0","sType":"0E","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"43"}]},{"N":"withParam","name":"Q{}previousKey","slot":"0","sType":"0E","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"44"}]},{"N":"withParam","name":"Q{}previousClef","slot":"0","sType":"0E","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"45"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"0","sType":"0E","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"46"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"0","sType":"*","C":[{"N":"choose","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"47","C":[{"N":"compareToString","op":"ne","val":"NaN","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"string","C":[{"N":"fn","name":"number","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"slash","op":"/","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]},{"N":"slash","op":"/","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]},{"N":"true"},{"N":"int","val":"0"}]}]}]}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"4","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"334","module":"unroll.xsl","expand-text":"false","match":"*|@*|comment()|processing-instruction()","prio":"-0.5","matches":"NE","C":[{"N":"p.nodeTest","role":"match","test":"NE","sType":"1NE"},{"N":"copy","sType":"1NE ","flags":"cin","role":"action","line":"335","C":[{"N":"applyT","sType":"* ","line":"337","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","role":"select","line":"337","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"attribute","nodeTest":"*NA"}]},{"N":"axis","name":"child","nodeTest":"*NC"}]},{"N":"axis","name":"child","nodeTest":"*NP"}]},{"N":"axis","name":"child","nodeTest":"*NT"}]}]}]}]}]},{"N":"templateRule","rank":"3","prec":"0","seq":"4","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"334","module":"unroll.xsl","expand-text":"false","match":"*|@*|comment()|processing-instruction()","prio":"-0.5","matches":"NA","C":[{"N":"p.nodeTest","role":"match","test":"NA","sType":"1NA"},{"N":"copy","sType":"1NA ","flags":"cin","role":"action","line":"335","C":[{"N":"applyT","sType":"* ","line":"337","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","role":"select","line":"337","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"attribute","nodeTest":"*NA"}]},{"N":"axis","name":"child","nodeTest":"*NC"}]},{"N":"axis","name":"child","nodeTest":"*NP"}]},{"N":"axis","name":"child","nodeTest":"*NT"}]}]}]}]}]},{"N":"templateRule","rank":"4","prec":"0","seq":"4","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"334","module":"unroll.xsl","expand-text":"false","match":"*|@*|comment()|processing-instruction()","prio":"-0.5","matches":"NC","C":[{"N":"p.nodeTest","role":"match","test":"NC","sType":"1NC"},{"N":"copy","sType":"1NC ","flags":"cin","role":"action","line":"335","C":[{"N":"applyT","sType":"* ","line":"337","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","role":"select","line":"337","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"attribute","nodeTest":"*NA"}]},{"N":"axis","name":"child","nodeTest":"*NC"}]},{"N":"axis","name":"child","nodeTest":"*NP"}]},{"N":"axis","name":"child","nodeTest":"*NT"}]}]}]}]}]},{"N":"templateRule","rank":"5","prec":"0","seq":"4","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"334","module":"unroll.xsl","expand-text":"false","match":"*|@*|comment()|processing-instruction()","prio":"-0.5","matches":"NP","C":[{"N":"p.nodeTest","role":"match","test":"NP","sType":"1NP"},{"N":"copy","sType":"1NP ","flags":"cin","role":"action","line":"335","C":[{"N":"applyT","sType":"* ","line":"337","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","role":"select","line":"337","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"attribute","nodeTest":"*NA"}]},{"N":"axis","name":"child","nodeTest":"*NC"}]},{"N":"axis","name":"child","nodeTest":"*NP"}]},{"N":"axis","name":"child","nodeTest":"*NT"}]}]}]}]}]},{"N":"templateRule","rank":"6","prec":"0","seq":"3","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"326","module":"unroll.xsl","expand-text":"false","match":"text()","prio":"-0.5","matches":"NT","C":[{"N":"p.nodeTest","role":"match","test":"NT","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ "},{"N":"valueOf","flags":"l","sType":"1NT ","role":"action","line":"327","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"327"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"templateRule","rank":"7","prec":"0","seq":"0","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"30","module":"unroll.xsl","expand-text":"false","match":"/","prio":"-0.5","matches":"ND","C":[{"N":"p.nodeTest","role":"match","test":"ND","sType":"1ND","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ "},{"N":"applyT","sType":"* ","line":"31","mode":"#unnamed","role":"action","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"31","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"dot"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]"}]}]}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"30"},{"N":"property","name":"method","value":"xml"},{"N":"property","name":"indent","value":"yes"},{"N":"property","name":"encoding","value":"UTF-8"},{"N":"property","name":"omit-xml-declaration","value":"no"},{"N":"property","name":"standalone","value":"no"},{"N":"property","name":"doctype-system","value":"http://www.musicxml.org/dtds/partwise.dtd"},{"N":"property","name":"doctype-public","value":"-//Recordare//DTD MusicXML 4.0 Partwise//EN"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}divisions","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"18"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"child","nodeTest":"*NT","sType":"*NT","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"19"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}tempo","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"120","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"22"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo","sType":"*NA nQ{}tempo","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}metronome","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"26"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}metronome,NE nQ{http://www.w3.org/1999/xhtml}metronome]"}]}]},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"dot","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"27"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}time","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"30"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"31"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}clef","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"34"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}key","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"38"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"39"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1FM","slots":"5","name":"Q{}measureIndex","as":"map(*)","ex:asJ":"FM k[1AS ] v[1ADI ] ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}_new","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"42"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1ADI ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"choose","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}contains","C":[{"N":"treat","as":"FM","diag":"0|0||map:contains","C":[{"N":"check","card":"1","diag":"0|0||map:contains","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:contains","C":[{"N":"attVal","name":"Q{}number"}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:get","C":[{"N":"attVal","name":"Q{}number"}]}]}]},{"N":"true"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}size","C":[{"N":"treat","as":"FM","diag":"0|0||map:size","C":[{"N":"check","card":"1","diag":"0|0||map:size","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureDuration","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"46"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"47"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"48","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"49","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"51","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"52"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"25","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureOnset","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"58"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"59"}]}]}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"60","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteDuration","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"63"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"65","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"66"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"33"},{"N":"filter","sType":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"67","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]},{"N":"true"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","sType":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"37"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteOnset","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"73"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"74"}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"76","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"77"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"45","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteBeat","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"83"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"84"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"86","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"87"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"51"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"53","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"arith","op":"div","calc":"d/d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}harmony","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"93"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"94"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}harmonyPreviousDuration","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"97"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"98"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"99"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"101","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"102"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"62"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"64","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"decimalFormat"}],"Σ":"2b8391fe"} \ No newline at end of file +{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2024-10-13T21:18:23.375-07:00","ns":"xml=~ xsl=~ xs=~ map=~","C":[{"N":"co","binds":"","id":"0","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","as":"1AO ","slots":"203","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","line":"114","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"arg","slot":"2","name":"Q{}tempo","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"arith","op":"div","calc":"a/a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"118","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"60000"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}tempo","slot":"2"}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"1","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ] ","line":"124","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"fn","name":"round","sType":"?A m[AO,AD,AF]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"127","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"192"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"2","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[* ] ","sType":"1F r[1AO ] a[* ] ","line":"133","C":[{"N":"arg","slot":"0","name":"Q{}harmony","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}harmonyDuration()","role":"body","C":[{"N":"let","var":"Q{}id","slot":"1","sType":"*A ","line":"135","role":"body","C":[{"N":"fn","name":"generate-id","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"135","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]}]}]},{"N":"fn","name":"sum","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"138","C":[{"N":"data","diag":"0|0||sum","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}harmony","slot":"0"}]},{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"generate-id","C":[{"N":"fn","name":"reverse","C":[{"N":"first","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]}]}]}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"3","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}renumberMeasures","sType":"AB ","slots":"200","module":"unroll.xsl","as":"AB ","ns":"xml=~ xsl=~ xs=~ map=~","C":[{"N":"false","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"25"}]}]},{"N":"co","id":"4","binds":"4 3","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"2","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"61","module":"unroll.xsl","expand-text":"false","match":"measure","prio":"0","matches":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}previousMeasure","slot":"0","sType":"* ","as":"* ","flags":"","line":"62","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"param","name":"Q{}previousTime","slot":"1","sType":"* ","as":"* ","flags":"","line":"63","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"1","sType":"* "}]},{"N":"param","name":"Q{}previousDivisions","slot":"2","sType":"* ","as":"* ","flags":"","line":"64","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"2","sType":"* "}]},{"N":"param","name":"Q{}previousKey","slot":"3","sType":"* ","as":"* ","flags":"","line":"65","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"3","sType":"* "}]},{"N":"param","name":"Q{}previousClef","slot":"4","sType":"* ","as":"* ","flags":"","line":"66","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"4","sType":"* "}]},{"N":"param","name":"Q{}previousMetronome","slot":"5","sType":"* ","as":"* ","flags":"","line":"67","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"5","sType":"* "}]},{"N":"param","name":"Q{}repeatMeasure","slot":"6","sType":"* ","as":"* ","flags":"","line":"68","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"6","sType":"* "}]},{"N":"param","name":"Q{}repeatCount","slot":"7","sType":"* ","as":"* ","flags":"","line":"69","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"7","sType":"* "}]},{"N":"param","name":"Q{}jump","slot":"8","sType":"* ","as":"* ","flags":"","line":"70","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"8","sType":"* "}]},{"N":"param","name":"Q{}measureNumber","slot":"9","sType":"ADI ","as":"ADI ","flags":"","line":"71","C":[{"N":"check","card":"1","sType":"1ADI ","diag":"2|0|XTTE0570|xsl:param name=\"Q{}measureNumber\"","role":"select","C":[{"N":"treat","as":"ADI ","diag":"2|0|XTTE0570|xsl:param name=\"Q{}measureNumber\"","role":"select","C":[{"N":"check","card":"1","diag":"2|0|XTTE0570|xsl:param name=\"Q{}measureNumber\"","role":"select","C":[{"N":"cvUntyped","to":"ADI","sType":"*A ","diag":"2|0|XTTE0570|xsl:param name=\"Q{}measureNumber\"","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"empty","sType":"0 ","role":"select"}]}]}]}]}]},{"N":"check","card":"1","sType":"1ADI ","diag":"2|1|XTTE0590|xsl:param name=\"Q{}measureNumber\"","role":"conversion","C":[{"N":"treat","as":"ADI ","diag":"2|1|XTTE0590|xsl:param name=\"Q{}measureNumber\"","role":"conversion","C":[{"N":"check","card":"1","diag":"2|1|XTTE0590|xsl:param name=\"Q{}measureNumber\"","role":"conversion","C":[{"N":"cvUntyped","to":"ADI","sType":"*A ","diag":"2|1|XTTE0590|xsl:param name=\"Q{}measureNumber\"","role":"conversion","C":[{"N":"data","sType":"*A ","role":"conversion","C":[{"N":"supplied","role":"conversion","slot":"9","sType":"* "}]}]}]}]}]}]},{"N":"let","var":"Q{}time","slot":"10","sType":"* ","line":"73","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"73","C":[{"N":"fn","name":"accumulator-after","sType":"*NE ","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"str","val":"Q{}time"}]}]},{"N":"let","var":"Q{}divisions","slot":"11","sType":"* ","line":"74","C":[{"N":"fn","name":"accumulator-after","sType":"AO ","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"74","C":[{"N":"str","val":"Q{}divisions"}]},{"N":"let","var":"Q{}key","slot":"12","sType":"* ","line":"75","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"75","C":[{"N":"fn","name":"accumulator-after","sType":"*NE ","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"str","val":"Q{}key"}]}]},{"N":"let","var":"Q{}clef","slot":"13","sType":"* ","line":"76","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"76","C":[{"N":"fn","name":"accumulator-after","sType":"*NE ","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"str","val":"Q{}clef"}]}]},{"N":"let","var":"Q{}metronome","slot":"14","sType":"* ","line":"77","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"77","C":[{"N":"fn","name":"accumulator-after","sType":"*NE ","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"str","val":"Q{}metronome"}]}]},{"N":"choose","sType":"* ","type":"item()*","line":"82","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"18","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]},{"N":"str","val":"start"}]}]},{"N":"fn","name":"not","C":[{"N":"fn","name":"index-of","C":[{"N":"fn","name":"tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||tokenize","C":[{"N":"check","card":"?","diag":"0|0||tokenize","C":[{"N":"data","diag":"0|0||tokenize","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"start"}]}]}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]},{"N":"str","val":"\\s*,\\s*"}]},{"N":"fn","name":"format-number","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||format-number","C":[{"N":"check","card":"?","diag":"0|0||format-number","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||format-number","C":[{"N":"check","card":"?","diag":"0|0||format-number","C":[{"N":"data","diag":"0|0||format-number","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]}]}]}]},{"N":"str","val":"0"}]},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{"N":"let","var":"Q{}nextMeasure","slot":"15","sType":"* ","line":"83","C":[{"N":"first","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"83","C":[{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"},{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]}]},{"N":"str","val":"start"}]},{"N":"fn","name":"index-of","C":[{"N":"fn","name":"tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||tokenize","C":[{"N":"check","card":"?","diag":"0|0||tokenize","C":[{"N":"data","diag":"0|0||tokenize","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"start"}]}]}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]},{"N":"str","val":"\\s*,\\s*"}]},{"N":"fn","name":"format-number","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||format-number","C":[{"N":"check","card":"?","diag":"0|0||format-number","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||format-number","C":[{"N":"check","card":"?","diag":"0|0||format-number","C":[{"N":"data","diag":"0|0||format-number","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]}]}]}]},{"N":"str","val":"0"}]},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]},{"N":"applyT","sType":"* ","line":"84","mode":"#unnamed","bSlot":"0","C":[{"N":"varRef","name":"Q{}nextMeasure","slot":"15","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"84"},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"85"}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"*","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"86"}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}jump","slot":"8","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"87"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"88"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"89"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"90"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"91"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"92"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"93"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"94","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]}]},{"N":"true"},{"N":"sequence","sType":"* ","C":[{"N":"copy","sType":"1NE u[1NE nQ{}measure ,1NE nQ{http://www.w3.org/1999/xhtml}measure ] ","flags":"cin","line":"104","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","line":"105","C":[{"N":"gVarRef","name":"Q{}renumberMeasures","bSlot":"1","sType":"AB ","line":"105"},{"N":"sequence","sType":"* ","C":[{"N":"att","name":"number","sType":"1NA ","line":"106","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}measureNumber","slot":"9","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"35"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"applyT","sType":"* ","line":"107","mode":"#unnamed","bSlot":"0","C":[{"N":"filter","sType":"*NA","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"107","C":[{"N":"axis","name":"attribute","nodeTest":"*NA"},{"N":"compareToString","op":"ne","val":"number","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"109","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"109","C":[{"N":"gVarRef","name":"Q{}renumberMeasures","bSlot":"1"}]},{"N":"applyT","sType":"* ","line":"110","mode":"#unnamed","bSlot":"0","C":[{"N":"axis","name":"attribute","nodeTest":"*NA","sType":"*NA","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"110"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"let","var":"Q{}attributes","slot":"15","sType":"* ","line":"118","C":[{"N":"treat","as":"NE ","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}attributes\"","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"119","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"119","C":[{"N":"and","C":[{"N":"varRef","name":"Q{}divisions","slot":"11"},{"N":"fn","name":"not","C":[{"N":"fn","name":"deep-equal","C":[{"N":"varRef","name":"Q{}divisions","slot":"11"},{"N":"varRef","name":"Q{}previousDivisions","slot":"2"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{"N":"fn","name":"not","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"}]}]}]}]},{"N":"elem","type":"element()","name":"divisions","sType":"1NE ","nsuri":"","line":"120","C":[{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"121","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"121"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"124","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"124","C":[{"N":"and","C":[{"N":"varRef","name":"Q{}key","slot":"12"},{"N":"fn","name":"not","C":[{"N":"fn","name":"deep-equal","C":[{"N":"varRef","name":"Q{}key","slot":"12"},{"N":"varRef","name":"Q{}previousKey","slot":"3"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{"N":"fn","name":"not","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"}]}]}]}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"125","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"125"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"127","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"127","C":[{"N":"and","C":[{"N":"varRef","name":"Q{}time","slot":"10"},{"N":"fn","name":"not","C":[{"N":"fn","name":"deep-equal","C":[{"N":"varRef","name":"Q{}time","slot":"10"},{"N":"varRef","name":"Q{}previousTime","slot":"1"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{"N":"fn","name":"not","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"}]}]}]}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"128","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"128"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"130","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"130","C":[{"N":"and","C":[{"N":"varRef","name":"Q{}clef","slot":"13"},{"N":"fn","name":"not","C":[{"N":"fn","name":"deep-equal","C":[{"N":"varRef","name":"Q{}clef","slot":"13"},{"N":"varRef","name":"Q{}previousClef","slot":"4"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{"N":"fn","name":"not","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"}]}]}]}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"131","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"131"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"134","C":[{"N":"compareToInt","op":"gt","val":"0","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"134","C":[{"N":"fn","name":"count","C":[{"N":"varRef","name":"Q{}attributes","slot":"15"}]}]},{"N":"elem","type":"element()","name":"attributes","sType":"1NE ","nsuri":"","line":"135","C":[{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"136","sType":"*","C":[{"N":"varRef","name":"Q{}attributes","slot":"15","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"136"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"let","var":"Q{}direction","slot":"16","sType":"* ","line":"139","C":[{"N":"treat","as":"NE ","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}direction\"","C":[{"N":"choose","sType":"* ","line":"140","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"140","C":[{"N":"and","C":[{"N":"varRef","name":"Q{}metronome","slot":"14"},{"N":"fn","name":"not","C":[{"N":"fn","name":"deep-equal","C":[{"N":"varRef","name":"Q{}metronome","slot":"14"},{"N":"varRef","name":"Q{}previousMetronome","slot":"5"},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]},{"N":"fn","name":"not","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}metronome,NE nQ{http://www.w3.org/1999/xhtml}metronome]"}]}]}]}]}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"141","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"141"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","line":"144","C":[{"N":"compareToInt","op":"gt","val":"0","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"144","C":[{"N":"fn","name":"count","C":[{"N":"varRef","name":"Q{}direction","slot":"16"}]}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ ex=http://ns.saxonica.com/xslt/export","line":"145","sType":"*","C":[{"N":"varRef","name":"Q{}direction","slot":"16","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"145"}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"applyT","sType":"* ","line":"155","mode":"#unnamed","bSlot":"0","C":[{"N":"filter","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"155","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"fn","name":"not","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"axis","name":"self","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"self","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}segno"}]}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"self","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dalsegno"}]}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"self","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}fine"}]}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"self","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dacapo"}]}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"self","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tocoda"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"choose","sType":"* ","type":"item()*","line":"161","C":[{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"166","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}fine"}]}]}]},{"N":"str","val":"yes"}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}jump","slot":"8"}]},{"N":"str","val":""}]}]},{"N":"empty","sType":"0 "},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"172","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tocoda"}]}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}jump","slot":"8"}]},{"N":"str","val":""}]}]},{"N":"let","var":"Q{}coda","slot":"15","sType":"* ","line":"173","C":[{"N":"docOrder","sType":"*NA nQ{}tocoda","role":"select","line":"173","C":[{"N":"docOrder","sType":"*NA nQ{}tocoda","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tocoda"}]}]}]},{"N":"let","var":"Q{}nextMeasure","slot":"16","sType":"* ","line":"174","C":[{"N":"filter","sType":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"174","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}coda"}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}coda","slot":"15"}]}]}]},{"N":"applyT","sType":"* ","line":"175","mode":"#unnamed","bSlot":"0","C":[{"N":"varRef","name":"Q{}nextMeasure","slot":"16","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"175"},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"176","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"1ADI","C":[{"N":"int","val":"10000","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"177"}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}coda","slot":"15","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"178"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"179"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"180"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"181"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"182"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"183"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"184"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"185","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]}]}]},{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"192","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"}]}]}]},{"N":"str","val":"forward"}]},{"N":"vc","op":"eq","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot"}]},{"N":"fn","name":"generate-id","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6"}]}]}]}]}]},{"N":"applyT","sType":"* ","line":"193","mode":"#unnamed","bSlot":"0","C":[{"N":"first","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"193","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"194"}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"*","C":[{"N":"choose","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"195","C":[{"N":"vc","op":"eq","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot"}]},{"N":"fn","name":"generate-id","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6"}]}]}]}]},{"N":"varRef","name":"Q{}repeatCount","slot":"7"},{"N":"true"},{"N":"int","val":"1"}]}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}jump","slot":"8","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"196"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"197"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"198"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"199"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"200"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"201"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"202"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"203","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"213","C":[{"N":"and","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"}]}]}]},{"N":"str","val":"backward"}]},{"N":"or","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}jump","slot":"8"}]},{"N":"str","val":""}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}after-jump"}]}]}]},{"N":"str","val":"yes"}]}]}]},{"N":"gc","op":">","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"choose","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}times"}]}]},{"N":"fn","name":"number","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}times"}]}]}]}]}]},{"N":"true"},{"N":"int","val":"2"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]}]},{"N":"applyT","sType":"* ","line":"214","mode":"#unnamed","bSlot":"0","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"214"},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"215"}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"216","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]},{"N":"int","val":"1"}]}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}jump","slot":"8","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"217"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"218"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"219"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"220"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"221"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"222"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"223"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"224","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"234","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]},{"N":"str","val":"stop"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"}]}]}]},{"N":"str","val":"backward"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6"}]},{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"},{"N":"and","C":[{"N":"and","C":[{"N":"fn","name":"reverse","C":[{"N":"filter","C":[{"N":"first","C":[{"N":"filter","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"}]}]}]},{"N":"str","val":"forward"}]}]}]},{"N":"vc","op":"eq","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot"}]},{"N":"fn","name":"generate-id","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6"}]}]}]}]}]}]},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]}]},{"N":"str","val":"start"}]}]},{"N":"fn","name":"index-of","C":[{"N":"fn","name":"tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||tokenize","C":[{"N":"check","card":"?","diag":"0|0||tokenize","C":[{"N":"data","diag":"0|0||tokenize","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"start"}]}]}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]},{"N":"str","val":"\\s*,\\s*"}]},{"N":"fn","name":"format-number","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||format-number","C":[{"N":"check","card":"?","diag":"0|0||format-number","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||format-number","C":[{"N":"arith","op":"+","calc":"a+a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]},{"N":"int","val":"1"}]}]}]}]},{"N":"str","val":"0"}]},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]},{"N":"applyT","sType":"* ","line":"235","mode":"#unnamed","bSlot":"0","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"235"},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"236"}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"237","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]},{"N":"int","val":"1"}]}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}jump","slot":"8","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"238"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"239"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"240"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"241"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"242"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"243"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"244"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"245","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"251","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dacapo"}]}]}]},{"N":"str","val":"yes"}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}jump","slot":"8"}]},{"N":"str","val":"capo"}]}]},{"N":"applyT","sType":"* ","line":"252","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"252","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"253","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"1ADI","C":[{"N":"int","val":"10000","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"254"}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"1AS","C":[{"N":"str","val":"capo","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"255"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"256"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"257"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"258"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"259"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"260"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"261"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"262","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"268","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dalsegno"}]}]},{"N":"gc","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"varRef","name":"Q{}jump","slot":"8"}]},{"N":"data","diag":"1|1||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dalsegno"}]}]}]}]}]},{"N":"let","var":"Q{}segno","slot":"15","sType":"* ","line":"269","C":[{"N":"docOrder","sType":"*NA nQ{}dalsegno","role":"select","line":"269","C":[{"N":"docOrder","sType":"*NA nQ{}dalsegno","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dalsegno"}]}]}]},{"N":"let","var":"Q{}nextMeasure","slot":"16","sType":"* ","line":"270","C":[{"N":"fn","name":"reverse","sType":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"270","C":[{"N":"filter","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}segno"}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}segno","slot":"15"}]}]}]}]},{"N":"applyT","sType":"* ","line":"271","mode":"#unnamed","bSlot":"0","C":[{"N":"varRef","name":"Q{}nextMeasure","slot":"16","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"271"},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"272","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"1ADI","C":[{"N":"int","val":"10000","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"273"}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}segno","slot":"15","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"274"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"275"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"276"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"277"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"278"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"279"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"280"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"281","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","line":"287","C":[{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"data","diag":"1|0||gc","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"}]}]}]},{"N":"str","val":"backward"}]},{"N":"gc","op":"<=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"number","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}times"}]}]}]}]}]},{"N":"data","diag":"1|1||gc","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7"}]}]}]},{"N":"applyT","sType":"* ","line":"288","mode":"#unnamed","bSlot":"0","C":[{"N":"first","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"288","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"289","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"1ADI","C":[{"N":"int","val":"10000","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"290"}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}jump","slot":"8","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"291"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"292"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"293"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"294"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"295"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"296"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"297"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"298","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]},{"N":"true"},{"N":"applyT","sType":"* ","line":"305","mode":"#unnamed","bSlot":"0","C":[{"N":"first","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"305","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"withParam","name":"Q{}repeatMeasure","slot":"6","sType":"*","C":[{"N":"varRef","name":"Q{}repeatMeasure","slot":"6","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"306"}]},{"N":"withParam","name":"Q{}repeatCount","slot":"7","sType":"*","C":[{"N":"varRef","name":"Q{}repeatCount","slot":"7","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"307"}]},{"N":"withParam","name":"Q{}jump","slot":"8","sType":"*","C":[{"N":"varRef","name":"Q{}jump","slot":"8","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"308"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"309"}]},{"N":"withParam","name":"Q{}previousTime","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}time","slot":"10","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"310"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}divisions","slot":"11","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"311"}]},{"N":"withParam","name":"Q{}previousKey","slot":"3","sType":"*","C":[{"N":"varRef","name":"Q{}key","slot":"12","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"312"}]},{"N":"withParam","name":"Q{}previousClef","slot":"4","sType":"*","C":[{"N":"varRef","name":"Q{}clef","slot":"13","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"313"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"5","sType":"*","C":[{"N":"varRef","name":"Q{}metronome","slot":"14","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"314"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"9","sType":"?A","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"315","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}measureNumber","slot":"9"}]}]},{"N":"int","val":"1"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","rank":"1","prec":"0","seq":"1","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"34","module":"unroll.xsl","expand-text":"false","match":"part","prio":"0","matches":"NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","sType":"1NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ "},{"N":"copy","sType":"1NE u[1NE nQ{}part ,1NE nQ{http://www.w3.org/1999/xhtml}part ] ","flags":"cin","role":"action","line":"35","C":[{"N":"sequence","sType":"* ","C":[{"N":"applyT","sType":"* ","line":"36","mode":"#unnamed","bSlot":"0","C":[{"N":"axis","name":"attribute","nodeTest":"*NA","sType":"*NA","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"36"}]},{"N":"applyT","sType":"* ","line":"37","mode":"#unnamed","bSlot":"0","C":[{"N":"first","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"37","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"withParam","name":"Q{}repeatMeasure","slot":"0","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"first","sType":"?NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"38","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"withParam","name":"Q{}repeatCount","slot":"0","sType":"1ADI","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"39"}]},{"N":"withParam","name":"Q{}jump","slot":"0","sType":"1AS ","C":[{"N":"str","sType":"1AS ","val":"","role":"select"}]},{"N":"withParam","name":"Q{}previousMeasure","slot":"0","sType":"1AS ","C":[{"N":"str","sType":"1AS ","val":"","role":"select"}]},{"N":"withParam","name":"Q{}previousTime","slot":"0","sType":"0E","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"42"}]},{"N":"withParam","name":"Q{}previousDivisions","slot":"0","sType":"0E","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"43"}]},{"N":"withParam","name":"Q{}previousKey","slot":"0","sType":"0E","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"44"}]},{"N":"withParam","name":"Q{}previousClef","slot":"0","sType":"0E","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"45"}]},{"N":"withParam","name":"Q{}previousMetronome","slot":"0","sType":"0E","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"46"}]},{"N":"withParam","name":"Q{}measureNumber","slot":"0","sType":"*","C":[{"N":"choose","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"47","C":[{"N":"compareToString","op":"ne","val":"NaN","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"string","C":[{"N":"fn","name":"number","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"slash","op":"/","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]},{"N":"slash","op":"/","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]},{"N":"true"},{"N":"int","val":"0"}]}]}]}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"4","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"334","module":"unroll.xsl","expand-text":"false","match":"*|@*|comment()|processing-instruction()","prio":"-0.5","matches":"NE","C":[{"N":"p.nodeTest","role":"match","test":"NE","sType":"1NE"},{"N":"copy","sType":"1NE ","flags":"cin","role":"action","line":"335","C":[{"N":"applyT","sType":"* ","line":"337","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","role":"select","line":"337","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"attribute","nodeTest":"*NA"}]},{"N":"axis","name":"child","nodeTest":"*NC"}]},{"N":"axis","name":"child","nodeTest":"*NP"}]},{"N":"axis","name":"child","nodeTest":"*NT"}]}]}]}]}]},{"N":"templateRule","rank":"3","prec":"0","seq":"4","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"334","module":"unroll.xsl","expand-text":"false","match":"*|@*|comment()|processing-instruction()","prio":"-0.5","matches":"NA","C":[{"N":"p.nodeTest","role":"match","test":"NA","sType":"1NA"},{"N":"copy","sType":"1NA ","flags":"cin","role":"action","line":"335","C":[{"N":"applyT","sType":"* ","line":"337","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","role":"select","line":"337","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"attribute","nodeTest":"*NA"}]},{"N":"axis","name":"child","nodeTest":"*NC"}]},{"N":"axis","name":"child","nodeTest":"*NP"}]},{"N":"axis","name":"child","nodeTest":"*NT"}]}]}]}]}]},{"N":"templateRule","rank":"4","prec":"0","seq":"4","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"334","module":"unroll.xsl","expand-text":"false","match":"*|@*|comment()|processing-instruction()","prio":"-0.5","matches":"NC","C":[{"N":"p.nodeTest","role":"match","test":"NC","sType":"1NC"},{"N":"copy","sType":"1NC ","flags":"cin","role":"action","line":"335","C":[{"N":"applyT","sType":"* ","line":"337","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","role":"select","line":"337","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"attribute","nodeTest":"*NA"}]},{"N":"axis","name":"child","nodeTest":"*NC"}]},{"N":"axis","name":"child","nodeTest":"*NP"}]},{"N":"axis","name":"child","nodeTest":"*NT"}]}]}]}]}]},{"N":"templateRule","rank":"5","prec":"0","seq":"4","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"334","module":"unroll.xsl","expand-text":"false","match":"*|@*|comment()|processing-instruction()","prio":"-0.5","matches":"NP","C":[{"N":"p.nodeTest","role":"match","test":"NP","sType":"1NP"},{"N":"copy","sType":"1NP ","flags":"cin","role":"action","line":"335","C":[{"N":"applyT","sType":"* ","line":"337","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","role":"select","line":"337","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[NE,NA],NC],NP],NT]","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"axis","name":"attribute","nodeTest":"*NA"}]},{"N":"axis","name":"child","nodeTest":"*NC"}]},{"N":"axis","name":"child","nodeTest":"*NP"}]},{"N":"axis","name":"child","nodeTest":"*NT"}]}]}]}]}]},{"N":"templateRule","rank":"6","prec":"0","seq":"3","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"326","module":"unroll.xsl","expand-text":"false","match":"text()","prio":"-0.5","matches":"NT","C":[{"N":"p.nodeTest","role":"match","test":"NT","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ "},{"N":"valueOf","flags":"l","sType":"1NT ","role":"action","line":"327","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","role":"select","line":"327"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"templateRule","rank":"7","prec":"0","seq":"0","ns":"xml=~ xsl=~ xs=~ map=~","minImp":"0","flags":"s","slots":"200","line":"30","module":"unroll.xsl","expand-text":"false","match":"/","prio":"-0.5","matches":"ND","C":[{"N":"p.nodeTest","role":"match","test":"ND","sType":"1ND","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ "},{"N":"applyT","sType":"* ","line":"31","mode":"#unnamed","role":"action","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"31","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ fn=~ xsl=~ xs=~ map=~ ","C":[{"N":"dot"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]"}]}]}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"30"},{"N":"property","name":"method","value":"xml"},{"N":"property","name":"indent","value":"yes"},{"N":"property","name":"encoding","value":"UTF-8"},{"N":"property","name":"omit-xml-declaration","value":"no"},{"N":"property","name":"standalone","value":"no"},{"N":"property","name":"doctype-system","value":"http://www.musicxml.org/dtds/partwise.dtd"},{"N":"property","name":"doctype-public","value":"-//Recordare//DTD MusicXML 4.0 Partwise//EN"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}divisions","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"18"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"child","nodeTest":"*NT","sType":"*NT","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"19"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}tempo","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"120","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"22"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo","sType":"*NA nQ{}tempo","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}metronome","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"26"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}metronome,NE nQ{http://www.w3.org/1999/xhtml}metronome]"}]}]},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"dot","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"27"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}time","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"30"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"31"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}clef","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"34"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}key","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"38"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"39"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1FM","slots":"5","name":"Q{}measureIndex","as":"map(*)","ex:asJ":"FM k[1AS ] v[1ADI ] ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}_new","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"42"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1ADI ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"choose","sType":"1FM","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}contains","C":[{"N":"treat","as":"FM","diag":"0|0||map:contains","C":[{"N":"check","card":"1","diag":"0|0||map:contains","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:contains","C":[{"N":"attVal","name":"Q{}number"}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:get","C":[{"N":"attVal","name":"Q{}number"}]}]}]},{"N":"true"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}size","C":[{"N":"treat","as":"FM","diag":"0|0||map:size","C":[{"N":"check","card":"1","diag":"0|0||map:size","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureDuration","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"46"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"47"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"48","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"49","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"51","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"52"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"23"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"25","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureOnset","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"58"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"59"}]}]}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"60","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteDuration","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"63"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"65","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"66"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"33"},{"N":"filter","sType":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"67","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"35","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]},{"N":"true"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","sType":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"37"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteOnset","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"73"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"74"}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"76","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"77"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"43"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"45","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}noteBeat","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"83"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"84"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"86","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"87"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"51"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"53","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"arith","op":"div","calc":"d/d","C":[{"N":"cvUntyped","to":"AO","diag":"1|0|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}harmony","as":"element()*","ex:asJ":"*NE ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"93"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"94"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}harmonyPreviousDuration","as":"xs:double","ex:asJ":"AO ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"97"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"98"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"99"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ fn=~ musicxml=http://www.w3.org/2021/06/musicxml40 xsl=~ xs=~ map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"101","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","sType":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"102"},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"62"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ fn=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"64","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"decimalFormat"}],"Σ":"2bb436fe"} \ No newline at end of file diff --git a/mma b/mma index 3fa6d6bb..58e9f2f0 160000 --- a/mma +++ b/mma @@ -1 +1 @@ -Subproject commit 3fa6d6bbce206766f7781d7fb45b7cebc5fcbd94 +Subproject commit 58e9f2f097972edd1e10b170b5269a6af9486ad1 diff --git a/package-lock.json b/package-lock.json index 230d36a5..ef9a4dfc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "musicxml-midi", - "version": "2.9.0", + "version": "2.10.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "musicxml-midi", - "version": "2.9.0", + "version": "2.10.0", "hasInstallScript": true, "license": "GPL-3.0-only", "dependencies": { diff --git a/package.json b/package.json index e27687c0..ce7f5d2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "musicxml-midi", - "version": "2.9.0", + "version": "2.10.0", "description": "MusicXML to MIDI converter", "type": "module", "directories": { diff --git a/src/js/server.js b/src/js/server.js index c16338eb..67caf31b 100755 --- a/src/js/server.js +++ b/src/js/server.js @@ -23,7 +23,7 @@ const __filename = fileURLToPath(import.meta.url) const __dirname = path.dirname(__filename) process.chdir(path.join(__dirname, '..', '..')) -// Import package.json the "easy" way. +// Import package.json // https://www.stefanjudis.com/snippets/how-to-import-json-files-in-es-modules-node-js/ import { createRequire } from 'module' const require = createRequire(import.meta.url) @@ -43,8 +43,9 @@ class AbortChainError extends Error { } const LIMIT_FILE_SIZE = process.env.LIMIT_FILE_SIZE || 1 * 1024 * 1024 -const ERROR_BAD_PARAM = 'Expecting a POST multipart/form-data request with `musicXml` field containing a valid MusicXML file.' -const ERROR_MMA_CRASH = 'Conversion failed unexpectedly. Please contact the server operator.' +const ERROR_BAD_MUSICXML = 'Expecting a POST multipart/form-data request with `musicXml` parameter containing a valid MusicXML file.' +const ERROR_UNEXPECTED_ERROR = 'Conversion failed unexpectedly. Please contact the server operator.' +const ERROR_BAD_GROOVE = 'Expecting a `groove` parameter containing a valid MMA groove.' export const app = express() app.use(cors()) @@ -57,7 +58,7 @@ app.use(fileUpload({ })) app.use(morgan('combined')) -app.get('/', (req, res) => res.json({ name, version, description, author })) +app.get('/', (_, res) => res.json({ name, version, description, author })) app.get('/grooves', async (req, res) => { jq.run('.[] | .groove, .description', path.resolve('build/grooves.json'), { raw: true }) @@ -103,11 +104,13 @@ async function tryCompressedMusicXml(buffer) { app.post('/convert', async (req, res) => { if (!req.files || !('musicXml' in req.files) ) { - return res.status(400).json(ERROR_BAD_PARAM) + return res.status(400).json(ERROR_BAD_MUSICXML) } // Assemble parameters. - const params = {} + const params = { + filename: req.files.musicXml.name + } if (req.body) { ['globalGroove'].forEach(param => { if (param in req.body) params[param] = req.body[param] @@ -133,7 +136,7 @@ app.post('/convert', async (req, res) => { await validateXMLWithXSD(xml, 'src/xsd/musicxml.xsd') .catch(AbortChainError.chain(error => { console.error(`[xmllint] ${error.message}`) - res.status(400).send(ERROR_BAD_PARAM) + res.status(400).send(ERROR_BAD_MUSICXML) })) const doc = await SaxonJS.getResource({ type: 'xml', @@ -142,10 +145,9 @@ app.post('/convert', async (req, res) => { }) .catch(AbortChainError.chain(error => { console.error(`[SaxonJS] ${error.code}: ${error.message}`) - res.status(400).send(ERROR_BAD_PARAM) + res.status(400).send(ERROR_BAD_MUSICXML) })) - const title = SaxonJS.XPath.evaluate('//work/work-title/text()', doc)?.nodeValue || '(untitled)' - console.info(`[SaxonJS] Transforming document '${title}'...`) + console.info(`[SaxonJS] Transforming document ${req.files.musicXml.name}...`) const mma = await SaxonJS.transform({ stylesheetFileName: 'build/mma.sef.json', sourceNode: doc, @@ -154,14 +156,14 @@ app.post('/convert', async (req, res) => { }, 'async') .catch(AbortChainError.chain(error => { console.error(`[SaxonJS] ${error.code}: ${error.message}`) - res.status(400).send(ERROR_BAD_PARAM) + res.status(400).send(ERROR_UNEXPECTED_ERROR) })) const execResult = await exec('echo "$mma" | ${MMA_HOME:-mma}/mma.py -II -f "$out" -', { env: { ...process.env, 'mma': mma.principalResult, 'out': cacheFile } }) .catch(AbortChainError.chain(error => { console.error(`[MMA] ${error.stdout.replace(/^\s+|\s+$/g, '')}`) - res.status(500).send(ERROR_MMA_CRASH) + res.status(500).send(ERROR_UNEXPECTED_ERROR) })) console.info('[MMA] ' + execResult.stdout.replace(/^\s+|\s+$/g, '')) return res.status(200).sendFile(cacheFile) @@ -171,24 +173,23 @@ app.post('/convert', async (req, res) => { } }) -app.post('/groove', async (req, res, next) => { +app.post('/groove', async (req, res) => { if (!req.body || !('groove' in req.body) ) { - return res.status(400).json(ERROR_BAD_PARAM) + return res.status(400).json(ERROR_BAD_GROOVE) } // Assemble parameters. const params = { - 'groove': null, + 'groove': req.body.groove, 'chords': 'z', 'tempo': '120', 'count': '4', 'keysig': 'C' - } - if (req.body) { - ['groove', 'chords', 'tempo', 'count', 'keysig'].forEach(param => { - if (param in req.body) params[param] = req.body[param] - }) - } + }; + + ['chords', 'tempo', 'count', 'keysig'].forEach(param => { + if (param in req.body) params[param] = req.body[param] + }) // Check first in cache. const hash = crypto.createHash('sha256') @@ -214,14 +215,14 @@ app.post('/groove', async (req, res, next) => { }, 'async') .catch(AbortChainError.chain(error => { console.error(`[SaxonJS] ${error.code}: ${error.message}`) - res.status(400).send(ERROR_BAD_PARAM) + res.status(400).send(ERROR_UNEXPECTED_ERROR) })) const execResult = await exec('echo "$mma" | ${MMA_HOME:-mma}/mma.py -II -f "$out" -', { env: { ...process.env, 'mma': mma.principalResult, 'out': cacheFile } }) .catch(AbortChainError.chain(error => { console.error(`[MMA] ${error.stdout.replace(/^\s+|\s+$/g, '')}`) - res.status(500).send(ERROR_MMA_CRASH) + res.status(500).send(ERROR_UNEXPECTED_ERROR) })) console.info('[MMA] ' + execResult.stdout.replace(/^\s+|\s+$/g, '')) return res.status(200).sendFile(cacheFile) diff --git a/src/xsl/mma.xsl b/src/xsl/mma.xsl index c3fe8d25..21699320 100644 --- a/src/xsl/mma.xsl +++ b/src/xsl/mma.xsl @@ -29,6 +29,7 @@ +