From 3b6ce100cb812810e339df93589ce5b86c294d3c Mon Sep 17 00:00:00 2001 From: infojunkie Date: Wed, 17 Jul 2024 21:41:19 -0700 Subject: [PATCH] New API endpoint /groove --- README.md | 1 + build/mma.sef.json | 2 +- build/musicxml.sef.json | 2 +- build/timemap.sef.json | 2 +- build/unroll.sef.json | 2 +- grooves/brazil/forro-miranda.mma | 4 +- package-lock.json | 925 ++++++++++++++----------------- package.json | 12 +- src/js/server.js | 70 ++- src/xsl/mma.xsl | 2 +- test/server.test.js | 21 +- 11 files changed, 515 insertions(+), 528 deletions(-) diff --git a/README.md b/README.md index 94cb2920..fa228e81 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ A suite of tools to convert MusicXML scores to MIDI via [Musical MIDI Accompanim - `PORT=3000 npm run develop` for development (including hot-reload) - `PORT=3000 npm run start` for production - `curl -sSf -F "musicXml=@test/data/salma-ya-salama.musicxml" -F "globalGroove=Maqsum" http://localhost:3000/convert -o "salma-ya-salama.mid"` +- `curl -sSf -F "groove=Maqsum" -F"chords=I, vi, ii, V7" -F"count=8" http://localhost:3000/groove -o maqsum.mid` # Theory of operation This converter aims to create a valid MMA accompaniment script out of a MusicXML score. The MMA script is then converted to MIDI using the bundled `mma` tool. To accomplish this, the converter expects to find the following information in the sheet: diff --git a/build/mma.sef.json b/build/mma.sef.json index 72a7dc27..76cb8b13 100644 --- a/build/mma.sef.json +++ b/build/mma.sef.json @@ -1 +1 @@ -{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.5","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2023-08-02T22:10:46.288-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 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":"589","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":"590","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":"591"},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"592","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":"593","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":"594","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":"595","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":"597","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":"597"},{"N":"choose","sType":"? ","type":"item()*","line":"598","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":"599","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":"600","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":"601","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":"581","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":"582","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":"582","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":"583","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":"583"}]}]},{"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":"583","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":"583"}]}]},{"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":"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":"257","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":"258","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":"258"}]}]},{"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":"260","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":"265","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":"265","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":"269","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":"270","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":"271","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":"271"}]}]},{"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":"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":"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":"274","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":"276","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":"276","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":"277"}]}]},{"N":"choose","sType":"* ","line":"279","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":"279","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"applyT","sType":"* ","line":"283","mode":"Q{}sequence","bSlot":"4","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"283","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":"284"}]}]},{"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":"294","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":"294","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"}]},{"N":"applyT","sType":"* ","line":"300","mode":"Q{}riff","bSlot":"5","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":"300","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":"6"}]}]},{"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":"301","mode":"Q{}pitch","bSlot":"7","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":"301","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":"6"}]}]},{"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":"307","mode":"Q{}onset","bSlot":"8","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":"307","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":"308"}]}]},{"N":"choose","sType":"* ","line":"310","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":"310","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":"314","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":"314","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":"315","mode":"Q{}onset","bSlot":"8","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"315","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":"316"}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"324","C":[{"N":"docOrder","sType":"*NE","line":"324","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":"325","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":"325","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":"6"}]}]},{"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":"326","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":"326","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":"327","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":"327"}]}]},{"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 musicxml-mma converter https://github.com/infojunkie/musicxml-mma\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":"9","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":"10","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":"11","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":"12"},{"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":"335","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":"336","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":"338","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":"338"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"@"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"339","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":"339"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"applyT","sType":"* ","line":"340","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":"340","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":"341","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":"348","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":"349","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"choose","sType":"? ","line":"350","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":"350","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":"352","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":"352"}]}]},{"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":"358","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":"359","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":"359","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":"361","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":"361","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":"362","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":"362"}]}]},{"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":"363","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":"363","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":"364","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":"366","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":"366","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":"372","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":"373","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"choose","sType":"* ","type":"item()*","line":"374","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":"375","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":"377","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":"377","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":"378","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":"378","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":"380","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":"381","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":"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":"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":"383","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":"384","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":"385","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":"386","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":"387","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"Tristan"}]},{"N":"empty","sType":"0 "},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"let","var":"Q{}sus","slot":"1","sType":"* ","line":"429","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":"430","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":"431","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":"432","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":"433","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":"437","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":"437"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"forEach","sType":"*NT ","line":"438","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":"438","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":"440","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":"440"}]}]},{"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":"443","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":"443","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":"444","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":"444","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":"445","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":"445"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"forEach","sType":"*NT ","line":"447","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":"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":"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":"448","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":"448","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":"449","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":"449","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":"450","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":"450","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":"455","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":"455"},{"N":"choose","sType":"*NT ","type":"item()*","line":"456","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":"457"},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"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":"docOrder","sType":"*NE","role":"select","line":"459","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":"460","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":"460","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":"464","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":"464","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":"475","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":"493","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":"493","C":[{"N":"str","val":"Q{}tieStop"}]},{"N":"let","var":"Q{}tieStart","slot":"1","sType":"* ","line":"494","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":"494","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":"496","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":"496","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":"498","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":"498"},{"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":"501","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":"501"},{"N":"valueOf","sType":"1NT ","flags":"d","C":[{"N":"str","sType":"1AS ","val":""}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"505","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":"505","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":"506","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":"507","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":"508"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"509","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":"509","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":"512","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":"512"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"sequence","sType":"? ","C":[{"N":"choose","sType":"? ","line":"516","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":"516","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":"517","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":"517","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":"521","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":"521","C":[{"N":"varRef","name":"Q{}tieStop","slot":"0"}]},{"N":"choose","sType":"* ","type":"item()*","line":"522","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":"523","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":"524"},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"525","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":"525"},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":","}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"526","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":"526","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":"527","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":"527","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":"528","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":"529","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":"530","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":"530","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":"532","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":"533","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":"533","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":"540","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":"540","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":"541","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":"541","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":"544","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":"544"},{"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":"552","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":"553","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":"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":"555","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":"556","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":"557","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":"557","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":"559","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":"559","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":"560","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":"560","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":"572","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":"573","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":"573"}]}]},{"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":"613","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":"614","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"not(preceding::harmony[deep-equal(.,current())])","loc":"xsl:if/@test","line":"614","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":"615","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":"615"},{"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":"616"}]}]}]},{"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"}],"Σ":"384b8ccd"} \ 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-07-17T21:39:06.92-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 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":"589","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":"590","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":"591"},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"592","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":"593","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":"594","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":"595","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":"597","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":"597"},{"N":"choose","sType":"? ","type":"item()*","line":"598","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":"599","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":"600","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":"601","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":"581","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":"582","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":"582","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":"583","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":"583"}]}]},{"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":"583","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":"583"}]}]},{"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":"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":"257","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":"258","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":"258"}]}]},{"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":"260","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":"265","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":"265","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":"269","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":"270","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":"271","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":"271"}]}]},{"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":"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":"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":"274","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":"276","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":"276","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":"277"}]}]},{"N":"choose","sType":"* ","line":"279","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":"279","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]"}]},{"N":"applyT","sType":"* ","line":"283","mode":"Q{}sequence","bSlot":"4","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"283","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":"284"}]}]},{"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":"294","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":"294","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"}]},{"N":"applyT","sType":"* ","line":"300","mode":"Q{}riff","bSlot":"5","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":"300","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":"6"}]}]},{"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":"301","mode":"Q{}pitch","bSlot":"7","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":"301","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":"6"}]}]},{"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":"307","mode":"Q{}onset","bSlot":"8","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":"307","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":"308"}]}]},{"N":"choose","sType":"* ","line":"310","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":"310","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":"314","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":"314","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":"315","mode":"Q{}onset","bSlot":"8","C":[{"N":"docOrder","sType":"*NE ","role":"select","line":"315","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":"316"}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"324","C":[{"N":"docOrder","sType":"*NE","line":"324","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":"325","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":"325","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":"6"}]}]},{"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":"326","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":"326","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":"327","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":"327"}]}]},{"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 musicxml-midi converter https://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":"9","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":"10","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":"11","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":"12"},{"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":"335","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":"336","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":"338","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":"338"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"@"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"339","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":"339"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"applyT","sType":"* ","line":"340","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":"340","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":"341","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":"348","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":"349","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"choose","sType":"? ","line":"350","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":"350","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":"352","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":"352"}]}]},{"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":"358","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":"359","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":"359","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":"361","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":"361","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":"362","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":"362"}]}]},{"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":"363","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":"363","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":"364","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":"366","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":"366","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":"372","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":"373","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"choose","sType":"* ","type":"item()*","line":"374","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":"375","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":"377","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":"377","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":"378","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":"378","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":"380","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":"381","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":"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":"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":"383","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":"384","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":"385","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":"386","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":"387","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"Tristan"}]},{"N":"empty","sType":"0 "},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"let","var":"Q{}sus","slot":"1","sType":"* ","line":"429","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":"430","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":"431","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":"432","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":"433","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":"437","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":"437"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"forEach","sType":"*NT ","line":"438","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":"438","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":"440","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":"440"}]}]},{"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":"443","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":"443","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":"444","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":"444","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":"445","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":"445"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"forEach","sType":"*NT ","line":"447","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":"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":"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":"448","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":"448","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":"449","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":"449","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":"450","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":"450","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":"455","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":"455"},{"N":"choose","sType":"*NT ","type":"item()*","line":"456","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":"457"},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"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":"docOrder","sType":"*NE","role":"select","line":"459","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":"460","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":"460","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":"464","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":"464","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":"475","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":"493","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":"493","C":[{"N":"str","val":"Q{}tieStop"}]},{"N":"let","var":"Q{}tieStart","slot":"1","sType":"* ","line":"494","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":"494","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":"496","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":"496","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":"498","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":"498"},{"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":"501","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":"501"},{"N":"valueOf","sType":"1NT ","flags":"d","C":[{"N":"str","sType":"1AS ","val":""}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","line":"505","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":"505","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":"506","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":"507","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":"508"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"509","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":"509","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":"512","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":"512"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"sequence","sType":"? ","C":[{"N":"choose","sType":"? ","line":"516","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":"516","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":"517","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":"517","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":"521","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":"521","C":[{"N":"varRef","name":"Q{}tieStop","slot":"0"}]},{"N":"choose","sType":"* ","type":"item()*","line":"522","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":"523","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":"524"},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"525","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":"525"},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":","}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"526","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":"526","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":"527","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":"527","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":"528","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":"529","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":"530","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":"530","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":"532","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":"533","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":"533","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":"540","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":"540","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":"541","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":"541","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":"544","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":"544"},{"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":"552","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":"553","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":"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":"555","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":"556","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":"557","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":"557","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":"559","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":"559","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":"560","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":"560","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":"572","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":"573","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":"573"}]}]},{"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":"613","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":"614","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"not(preceding::harmony[deep-equal(.,current())])","loc":"xsl:if/@test","line":"614","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":"615","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":"615"},{"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":"616"}]}]}]},{"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"}],"Σ":"42a5d9ce"} \ No newline at end of file diff --git a/build/musicxml.sef.json b/build/musicxml.sef.json index 8578db2a..585a39c1 100644 --- a/build/musicxml.sef.json +++ b/build/musicxml.sef.json @@ -1 +1 @@ -{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.5","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2023-08-02T22:10:47.388-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"}],"Σ":"5d887f8"} \ 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-07-17T21:39:07.962-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"}],"Σ":"7d0037b"} \ No newline at end of file diff --git a/build/timemap.sef.json b/build/timemap.sef.json index 840d3391..c81aae8b 100644 --- a/build/timemap.sef.json +++ b/build/timemap.sef.json @@ -1 +1 @@ -{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.5","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2023-08-02T22:10:48.054-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":"74","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":"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"}],"Σ":"e334d68b"} \ 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-07-17T21:39:08.596-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":"74","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":"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"}],"Σ":"e13c6f08"} \ No newline at end of file diff --git a/build/unroll.sef.json b/build/unroll.sef.json index 53eb80a1..0efc207c 100644 --- a/build/unroll.sef.json +++ b/build/unroll.sef.json @@ -1 +1 @@ -{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.5","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"true","buildDateTime":"2023-08-02T22:10:49.02-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"}],"Σ":"10f1d93d"} \ 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-07-17T21:39:09.435-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"}],"Σ":"29136ffe"} \ No newline at end of file diff --git a/grooves/brazil/forro-miranda.mma b/grooves/brazil/forro-miranda.mma index f96cecc6..ab3aa5bc 100644 --- a/grooves/brazil/forro-miranda.mma +++ b/grooves/brazil/forro-miranda.mma @@ -14,8 +14,8 @@ SeqSize 1 // Baião pattern Begin Drum-Zabumba-Maceta-Mute - Tone MuteSurdo - Sequence { 1 0 90 } + Tone OpenSurdo + Sequence { 1 0 60 } End Begin Drum-Zabumba-Maceta-Open diff --git a/package-lock.json b/package-lock.json index 84aebe7d..f4ed4f80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "musicxml-midi", - "version": "2.3.0", + "version": "2.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "musicxml-midi", - "version": "2.3.0", + "version": "2.4.0", "hasInstallScript": true, "license": "GPL-3.0-only", "dependencies": { @@ -40,127 +40,56 @@ } }, "node_modules/@ampproject/remapping": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", - "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", "dev": true, "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@babel/code-frame": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", - "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", + "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", "dev": true, "dependencies": { - "@babel/highlight": "^7.23.4", - "chalk": "^2.4.2" + "@babel/highlight": "^7.24.7", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/code-frame/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/code-frame/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/@babel/code-frame/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/code-frame/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/@babel/compat-data": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz", - "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==", + "version": "7.24.9", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.9.tgz", + "integrity": "sha512-e701mcfApCJqMMueQI0Fb68Amflj83+dvAvHawoBpAz+GDjCIyGHzNwnefjsWJ3xiYAqqiQFoWbspGYBdb2/ng==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.23.7", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.7.tgz", - "integrity": "sha512-+UpDgowcmqe36d4NwqvKsyPMlOLNGMsfMmQ5WGCu+siCe3t3dfe9njrzGfdN4qq+bcNUt0+Vw6haRxBOycs4dw==", + "version": "7.24.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.9.tgz", + "integrity": "sha512-5e3FI4Q3M3Pbr21+5xJwCv6ZT6KmGkI0vw3Tozy5ODAQFTIWe37iT8Cr7Ice2Ntb+M3iSKCEWMB1MBgKrW3whg==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.6", - "@babel/helper-compilation-targets": "^7.23.6", - "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.23.7", - "@babel/parser": "^7.23.6", - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.7", - "@babel/types": "^7.23.6", + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.24.9", + "@babel/helper-compilation-targets": "^7.24.8", + "@babel/helper-module-transforms": "^7.24.9", + "@babel/helpers": "^7.24.8", + "@babel/parser": "^7.24.8", + "@babel/template": "^7.24.7", + "@babel/traverse": "^7.24.8", + "@babel/types": "^7.24.9", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -182,9 +111,9 @@ "dev": true }, "node_modules/@babel/core/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", + "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", "dev": true, "dependencies": { "ms": "2.1.2" @@ -205,14 +134,14 @@ "dev": true }, "node_modules/@babel/generator": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", - "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", + "version": "7.24.10", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.10.tgz", + "integrity": "sha512-o9HBZL1G2129luEUlG1hB4N/nlYNWHnpwlND9eOMclRqqu1YDy2sSYVCFUZwl8I1Gxh+QSRrP2vD7EpUmFVXxg==", "dev": true, "dependencies": { - "@babel/types": "^7.23.6", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", + "@babel/types": "^7.24.9", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" }, "engines": { @@ -220,14 +149,14 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", - "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.8.tgz", + "integrity": "sha512-oU+UoqCHdp+nWVDkpldqIQL/i/bvAv53tRqLG/s+cOXxe66zOYLU7ar/Xs3LdmBihrUMEUhwu6dMZwbNOYDwvw==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.23.5", - "@babel/helper-validator-option": "^7.23.5", - "browserslist": "^4.22.2", + "@babel/compat-data": "^7.24.8", + "@babel/helper-validator-option": "^7.24.8", + "browserslist": "^4.23.1", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -236,62 +165,66 @@ } }, "node_modules/@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz", + "integrity": "sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==", "dev": true, + "dependencies": { + "@babel/types": "^7.24.7" + }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz", + "integrity": "sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==", "dev": true, "dependencies": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" + "@babel/template": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz", + "integrity": "sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==", "dev": true, "dependencies": { - "@babel/types": "^7.22.5" + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", - "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", + "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==", "dev": true, "dependencies": { - "@babel/types": "^7.22.15" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", - "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", + "version": "7.24.9", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.9.tgz", + "integrity": "sha512-oYbh+rtFKj/HwBQkFlUzvcybzklmVdVV3UU+mN7n2t/q3yGHbuVdNxyFvSBO1tfvjyArpHNcWMAzsSPdyI46hw==", "dev": true, "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-simple-access": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.20" + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-module-imports": "^7.24.7", + "@babel/helper-simple-access": "^7.24.7", + "@babel/helper-split-export-declaration": "^7.24.7", + "@babel/helper-validator-identifier": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -301,88 +234,89 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", - "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz", + "integrity": "sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-simple-access": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz", + "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==", "dev": true, "dependencies": { - "@babel/types": "^7.22.5" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz", + "integrity": "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==", "dev": true, "dependencies": { - "@babel/types": "^7.22.5" + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", - "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", + "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", + "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz", - "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz", + "integrity": "sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.23.8", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.8.tgz", - "integrity": "sha512-KDqYz4PiOWvDFrdHLPhKtCThtIcKVy6avWD2oG4GEvyQ+XDZwHD4YQd+H2vNMnq2rkdxsDkU82T+Vk8U/WXHRQ==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.8.tgz", + "integrity": "sha512-gV2265Nkcz7weJJfvDoAEVzC1e2OTDpkGbEsebse8koXUJUXPsCMi7sRo/+SPMuMZ9MtUPnGwITTnQnU5YjyaQ==", "dev": true, "dependencies": { - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.7", - "@babel/types": "^7.23.6" + "@babel/template": "^7.24.7", + "@babel/types": "^7.24.8" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", - "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", + "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-validator-identifier": "^7.24.7", "chalk": "^2.4.2", - "js-tokens": "^4.0.0" + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" @@ -460,9 +394,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", - "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.8.tgz", + "integrity": "sha512-WzfbgXOkGzZiXXCqk43kKwZjzwx4oulxZi3nq2TYL9mOjQv6kYwul9mz6ID36njuL7Xkp6nJEfok848Zj10j/w==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -619,12 +553,12 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz", - "integrity": "sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz", + "integrity": "sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -634,33 +568,33 @@ } }, "node_modules/@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.7.tgz", + "integrity": "sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" + "@babel/code-frame": "^7.24.7", + "@babel/parser": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.23.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.7.tgz", - "integrity": "sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.6", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.6", - "@babel/types": "^7.23.6", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.8.tgz", + "integrity": "sha512-t0P1xxAPzEDcEPmjprAQq19NWum4K0EQPjMwZQZbHt+GiZqvjCHjj755Weq1YRPVzBI+3zSfvScfpnuIecVFJQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.24.8", + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-function-name": "^7.24.7", + "@babel/helper-hoist-variables": "^7.24.7", + "@babel/helper-split-export-declaration": "^7.24.7", + "@babel/parser": "^7.24.8", + "@babel/types": "^7.24.8", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -669,9 +603,9 @@ } }, "node_modules/@babel/traverse/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", + "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", "dev": true, "dependencies": { "ms": "2.1.2" @@ -692,13 +626,13 @@ "dev": true }, "node_modules/@babel/types": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", - "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", + "version": "7.24.9", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.9.tgz", + "integrity": "sha512-xm8XrMKz0IlUdocVbYJe0Z9xEgidU7msskG8BbhnTPK/HZ2z/7FP7ykqPgrUH+C+r414mNfNWam1f2vqOjqjYQ==", "dev": true, "dependencies": { - "@babel/helper-string-parser": "^7.23.4", - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-string-parser": "^7.24.8", + "@babel/helper-validator-identifier": "^7.24.7", "to-fast-properties": "^2.0.0" }, "engines": { @@ -904,6 +838,7 @@ "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", @@ -1019,47 +954,47 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, "dependencies": { - "@jridgewell/set-array": "^1.0.1", + "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/trace-mapping": "^0.3.24" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", "dev": true }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.21", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.21.tgz", - "integrity": "sha512-SRfKmRe1KvYnxjEMtxEr+J4HIeMX5YBg/qhRHpxEIGjhX1rshcHlnFUE9K0GazhVKWM7B+nARSkV8LuvJdJ5/g==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -1143,9 +1078,9 @@ } }, "node_modules/@types/babel__traverse": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.5.tgz", - "integrity": "sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==", + "version": "7.20.6", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz", + "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==", "dev": true, "dependencies": { "@babel/types": "^7.20.7" @@ -1185,9 +1120,9 @@ } }, "node_modules/@types/node": { - "version": "20.11.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.0.tgz", - "integrity": "sha512-o9bjXmDNcF7GbM4CNQpmi+TutCgap/K3w1JyKgxAjqx41zp9qlIAVFi0IhCNsJcXolEqLWhbFbEeL0PvYm4pcQ==", + "version": "20.14.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.11.tgz", + "integrity": "sha512-kprQpL8MMeszbz6ojB5/tU8PLN4kesnN8Gjzw349rDlNgsSzg90lAVj3llK99Dh7JON+t9AuscPPFW6mPbTnSA==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -1227,12 +1162,6 @@ "deprecated": "Use your platform's native atob() and btoa() methods instead", "dev": true }, - "node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "dev": true - }, "node_modules/accepts": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", @@ -1246,9 +1175,9 @@ } }, "node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -1301,9 +1230,9 @@ } }, "node_modules/agent-base/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", + "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", "dev": true, "dependencies": { "ms": "2.1.2" @@ -1401,11 +1330,11 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", - "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", + "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", "dependencies": { - "follow-redirects": "^1.15.4", + "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -1533,21 +1462,24 @@ } }, "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", "dev": true, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/body-parser": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", - "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "dependencies": { "bytes": "3.1.2", - "content-type": "~1.0.4", + "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", @@ -1555,7 +1487,7 @@ "iconv-lite": "0.4.24", "on-finished": "2.4.1", "qs": "6.11.0", - "raw-body": "2.5.1", + "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" }, @@ -1587,12 +1519,12 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -1605,9 +1537,9 @@ "dev": true }, "node_modules/browserslist": { - "version": "4.22.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", - "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", + "version": "4.23.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.2.tgz", + "integrity": "sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA==", "dev": true, "funding": [ { @@ -1624,10 +1556,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001565", - "electron-to-chromium": "^1.4.601", + "caniuse-lite": "^1.0.30001640", + "electron-to-chromium": "^1.4.820", "node-releases": "^2.0.14", - "update-browserslist-db": "^1.0.13" + "update-browserslist-db": "^1.1.0" }, "bin": { "browserslist": "cli.js" @@ -1671,13 +1603,18 @@ } }, "node_modules/call-bind": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", - "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.1", - "set-function-length": "^1.1.1" + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -1702,9 +1639,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001576", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001576.tgz", - "integrity": "sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg==", + "version": "1.0.30001642", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001642.tgz", + "integrity": "sha512-3XQ0DoRgLijXJErLSl+bLnJ+Et4KqV1PY6JJBGAFlsNsz31zeAIncyeZfLCabHK/jtSh+671RM9YMldxjUPZtA==", "dev": true, "funding": [ { @@ -1783,16 +1720,10 @@ } }, "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -1805,6 +1736,9 @@ "engines": { "node": ">= 8.10.0" }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, "optionalDependencies": { "fsevents": "~2.3.2" } @@ -1825,9 +1759,9 @@ } }, "node_modules/cjs-module-lexer": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", - "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz", + "integrity": "sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==", "dev": true }, "node_modules/cliui": { @@ -1974,9 +1908,9 @@ "dev": true }, "node_modules/cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "engines": { "node": ">= 0.6" } @@ -2138,16 +2072,19 @@ } }, "node_modules/define-data-property": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", - "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", "dependencies": { - "get-intrinsic": "^1.2.1", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/delayed-stream": { @@ -2195,9 +2132,9 @@ } }, "node_modules/diff": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", - "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", + "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", "dev": true, "engines": { "node": ">=0.3.1" @@ -2291,9 +2228,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/electron-to-chromium": { - "version": "1.4.630", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.630.tgz", - "integrity": "sha512-osHqhtjojpCsACVnuD11xO5g9xaCyw7Qqn/C2KParkMv42i8jrJJgx3g7mkHfpxwhy9MnOJr8+pKOdZ7qzgizg==", + "version": "1.4.829", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.829.tgz", + "integrity": "sha512-5qp1N2POAfW0u1qGAxXEtz6P7bO1m6gpZr5hdf5ve6lxpLM7MpiM4jIPz7xcrNlClQMafbyUDDWjlIQZ1Mw0Rw==", "dev": true }, "node_modules/emittery": { @@ -2342,10 +2279,29 @@ "is-arrayish": "^0.2.1" } }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", "dev": true, "engines": { "node": ">=6" @@ -2473,16 +2429,16 @@ } }, "node_modules/express": { - "version": "4.18.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", - "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.1", + "body-parser": "1.20.2", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.5.0", + "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -2514,9 +2470,9 @@ } }, "node_modules/express-fileupload": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/express-fileupload/-/express-fileupload-1.4.3.tgz", - "integrity": "sha512-vRzZo2YELm68DfR/CX8RMXgeK9BTAANxigrKACPjCXFGEzkCt/QWbqaIXP3W61uaX/hLj0CAo3/EVelpSQXkqA==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/express-fileupload/-/express-fileupload-1.5.1.tgz", + "integrity": "sha512-LsYG1ALXEB7vlmjuSw8ABeOctMp8a31aUC5ZF55zuz7O2jLFnmJYrCv10py357ky48aEoBQ/9bVXgFynjvaPmA==", "dependencies": { "busboy": "^1.6.0" }, @@ -2587,9 +2543,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" @@ -2629,9 +2585,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "funding": [ { "type": "individual", @@ -2750,15 +2706,19 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", - "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "dependencies": { + "es-errors": "^1.3.0", "function-bind": "^1.1.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", "hasown": "^2.0.0" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -2788,6 +2748,7 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", @@ -2851,20 +2812,20 @@ } }, "node_modules/has-property-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", - "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dependencies": { - "get-intrinsic": "^1.2.2" + "es-define-property": "^1.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", "engines": { "node": ">= 0.4" }, @@ -2884,9 +2845,9 @@ } }, "node_modules/hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "dependencies": { "function-bind": "^1.1.2" }, @@ -2969,9 +2930,9 @@ } }, "node_modules/http-proxy-agent/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", + "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", "dev": true, "dependencies": { "ms": "2.1.2" @@ -3005,9 +2966,9 @@ } }, "node_modules/https-proxy-agent/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", + "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", "dev": true, "dependencies": { "ms": "2.1.2" @@ -3085,6 +3046,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", "dev": true, "dependencies": { "once": "^1.3.0", @@ -3123,12 +3085,15 @@ } }, "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", + "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", "dev": true, "dependencies": { - "hasown": "^2.0.0" + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3266,9 +3231,9 @@ } }, "node_modules/istanbul-lib-source-maps/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", + "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", "dev": true, "dependencies": { "ms": "2.1.2" @@ -3289,9 +3254,9 @@ "dev": true }, "node_modules/istanbul-reports": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", - "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==", + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", + "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", "dev": true, "dependencies": { "html-escaper": "^2.0.0", @@ -3461,6 +3426,7 @@ "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", @@ -3831,6 +3797,7 @@ "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", @@ -3905,26 +3872,11 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-snapshot/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/jest-snapshot/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -3932,12 +3884,6 @@ "node": ">=10" } }, - "node_modules/jest-snapshot/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/jest-util": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-27.5.1.tgz", @@ -4210,26 +4156,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/make-dir/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/make-dir/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -4237,12 +4168,6 @@ "node": ">=10" } }, - "node_modules/make-dir/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/makeerror": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", @@ -4280,12 +4205,12 @@ } }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", + "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", "dev": true, "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { @@ -4310,9 +4235,9 @@ } }, "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "version": "1.53.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.53.0.tgz", + "integrity": "sha512-oHlN/w+3MQ3rba9rqFr6V/ypF10LSkdwUysQL7GkXoTgIWeV+tcXGA852TBxH+gsh8UWoyhR1hKcoMJTuWflpg==", "engines": { "node": ">= 0.6" } @@ -4328,6 +4253,14 @@ "node": ">= 0.6" } }, + "node_modules/mime-types/node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", @@ -4395,9 +4328,9 @@ } }, "node_modules/nise": { - "version": "5.1.7", - "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.7.tgz", - "integrity": "sha512-wWtNUhkT7k58uvWTB/Gy26eA/EJKtPZFVAhEilN5UYVmmGRYOURbejRUyKm0Uu9XVEW7K5nBOZfR8VMB4QR2RQ==", + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.9.tgz", + "integrity": "sha512-qOnoujW4SV6e40dYxJOb3uvuoPHtmLzIk4TFo+j0jPJoC+5Z9xja5qH5JZobEPsa8+YYphMrOSwnrshEhG2qww==", "dev": true, "dependencies": { "@sinonjs/commons": "^3.0.0", @@ -4408,9 +4341,9 @@ } }, "node_modules/nise/node_modules/@sinonjs/commons": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", - "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", + "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", "dev": true, "dependencies": { "type-detect": "4.0.8" @@ -4426,9 +4359,9 @@ } }, "node_modules/nise/node_modules/path-to-regexp": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.1.tgz", - "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.2.tgz", + "integrity": "sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==", "dev": true }, "node_modules/node-domexception": { @@ -4473,9 +4406,9 @@ "dev": true }, "node_modules/node-releases": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", - "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", + "version": "2.0.17", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.17.tgz", + "integrity": "sha512-Ww6ZlOiEQfPfXM45v17oabk77Z7mg5bOt7AjDyzy7RjK9OrLrLC8dyZQoAPEOtFX9SaNf1Tdvr5gRJWdTJj7GA==", "dev": true }, "node_modules/nodemon": { @@ -4573,21 +4506,6 @@ "node": ">=4" } }, - "node_modules/nopt": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", - "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==", - "dev": true, - "dependencies": { - "abbrev": "1" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": "*" - } - }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", @@ -4621,9 +4539,9 @@ } }, "node_modules/nwsapi": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.7.tgz", - "integrity": "sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==", + "version": "2.2.12", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.12.tgz", + "integrity": "sha512-qXDmcVlZV4XRtKFzddidpfVP4oMSGhga+xdMc25mv8kaLUHtgzCDhUxkrN8exkGdTlLNaXj7CV3GtON7zuGZ+w==", "dev": true }, "node_modules/object-assign": { @@ -4635,9 +4553,12 @@ } }, "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -4809,9 +4730,9 @@ "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" }, "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", "dev": true }, "node_modules/picomatch": { @@ -4953,9 +4874,9 @@ } }, "node_modules/raw-body": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", - "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "dependencies": { "bytes": "3.1.2", "http-errors": "2.0.0", @@ -5058,6 +4979,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, "dependencies": { "glob": "^7.1.3" @@ -5083,6 +5005,7 @@ "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", @@ -5202,14 +5125,16 @@ } }, "node_modules/set-function-length": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", - "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", "dependencies": { - "define-data-property": "^1.1.1", - "get-intrinsic": "^1.2.1", + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "has-property-descriptors": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -5242,13 +5167,17 @@ } }, "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", + "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -5450,6 +5379,7 @@ "version": "8.1.2", "resolved": "https://registry.npmjs.org/superagent/-/superagent-8.1.2.tgz", "integrity": "sha512-6WTxW1EB6yCxV5VFOIPQruWGHqc3yI7hEmZK6h+pyk69Lk/Ut7rLUY6W/ONF2MjBuGjvmMiIpsrVJ2vjrHlslA==", + "deprecated": "Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net", "dev": true, "dependencies": { "component-emitter": "^1.3.0", @@ -5468,9 +5398,9 @@ } }, "node_modules/superagent/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", + "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", "dev": true, "dependencies": { "ms": "2.1.2" @@ -5498,18 +5428,6 @@ "node": ">= 6" } }, - "node_modules/superagent/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/superagent/node_modules/mime": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", @@ -5529,13 +5447,10 @@ "dev": true }, "node_modules/superagent/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -5543,20 +5458,14 @@ "node": ">=10" } }, - "node_modules/superagent/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/supertest": { - "version": "6.3.3", - "resolved": "https://registry.npmjs.org/supertest/-/supertest-6.3.3.tgz", - "integrity": "sha512-EMCG6G8gDu5qEqRQ3JjjPs6+FYT1a7Hv5ApHvtSghmOFJYtsU5S+pSb6Y2EUeCEY3CmEL3mmQ8YWlPOzQomabA==", + "version": "6.3.4", + "resolved": "https://registry.npmjs.org/supertest/-/supertest-6.3.4.tgz", + "integrity": "sha512-erY3HFDG0dPnhw4U+udPfrzXa4xhSG+n4rxfRuZWCUvjFWwKl+OxWf/7zk50s84/fAAs7vf5QAb9uRa0cCykxw==", "dev": true, "dependencies": { "methods": "^1.1.2", - "superagent": "^8.0.5" + "superagent": "^8.1.2" }, "engines": { "node": ">=6.4.0" @@ -5649,6 +5558,7 @@ "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", @@ -5719,21 +5629,18 @@ } }, "node_modules/touch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", - "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.1.tgz", + "integrity": "sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==", "dev": true, - "dependencies": { - "nopt": "~1.0.10" - }, "bin": { "nodetouch": "bin/nodetouch.js" } }, "node_modules/tough-cookie": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", - "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz", + "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==", "dev": true, "dependencies": { "psl": "^1.1.33", @@ -5849,9 +5756,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", - "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", + "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==", "dev": true, "funding": [ { @@ -5868,8 +5775,8 @@ } ], "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" + "escalade": "^3.1.2", + "picocolors": "^1.0.1" }, "bin": { "update-browserslist-db": "cli.js" @@ -5889,9 +5796,9 @@ } }, "node_modules/utf8-byte-length": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz", - "integrity": "sha512-4+wkEYLBbWxqTahEsWrhxepcoVOJ+1z5PGIjPZxRkytcdSUaNjIjBM7Xn8E+pdSuV7SzvWovBFA54FO0JSoqhA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.5.tgz", + "integrity": "sha512-Xn0w3MtiQ6zoz2vFyUVruaCL53O/DwUvkEeOvj+uulMm0BkUGYWmBYVyElqZaSLhY6ZD0ulfU3aBra2aVT4xfA==", "dev": true }, "node_modules/utils-merge": { @@ -5976,9 +5883,9 @@ } }, "node_modules/web-streams-polyfill": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.2.tgz", - "integrity": "sha512-3pRGuxRF5gpuZc0W+EpwQRmCD7gRqcDOMt688KmdlDAgAyaB1XlN0zq2njfDNm44XVdIouE7pZ6GzbdyH47uIQ==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", + "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", "engines": { "node": ">= 8" } @@ -6072,9 +5979,9 @@ } }, "node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "dev": true, "engines": { "node": ">=8.3.0" @@ -6093,14 +6000,14 @@ } }, "node_modules/xml-formatter": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/xml-formatter/-/xml-formatter-3.6.0.tgz", - "integrity": "sha512-Wic80ENNLF/5mLcc82hVLmoOWQlLDJtVv+N1/hkP4hBuVXPLKrXo92/4V23QYPKfUxvCU6Y2AcdpHCIA/xexFw==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/xml-formatter/-/xml-formatter-3.6.3.tgz", + "integrity": "sha512-++x1TlRO1FRlQ82AZ4WnoCSufaI/PT/sycn4K8nRl4gnrNC1uYY2VV/67aALZ2m0Q4Q/BLj/L69K360Itw9NNg==", "dependencies": { - "xml-parser-xo": "^4.1.0" + "xml-parser-xo": "^4.1.2" }, "engines": { - "node": ">= 14" + "node": ">= 16" } }, "node_modules/xml-name-validator": { @@ -6110,11 +6017,11 @@ "dev": true }, "node_modules/xml-parser-xo": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/xml-parser-xo/-/xml-parser-xo-4.1.1.tgz", - "integrity": "sha512-Ggf2y90+Y6e9IK5hoPuembVHJ03PhDSdhldEmgzbihzu9k0XBo0sfcFxaSi4W1PlUSSI1ok+MJ0JCXUn+U4Ilw==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/xml-parser-xo/-/xml-parser-xo-4.1.2.tgz", + "integrity": "sha512-Z/DRB0ZAKj5vAQg++XsfQQKfT73Vfj5n5lKIVXobBDQEva6NHWUTxOA6OohJmEcpoy8AEqBmSGkXXAnFwt5qAA==", "engines": { - "node": ">= 14" + "node": ">= 16" } }, "node_modules/xmlchars": { diff --git a/package.json b/package.json index 32a2d8a1..d85ed12d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "musicxml-midi", - "version": "2.3.0", + "version": "2.4.0", "description": "MusicXML to MIDI converter", "type": "module", "directories": { @@ -13,7 +13,7 @@ }, "scripts": { "build:mmarc": "cp mmarc.example mmarc", - "build:grooves": "${MMA_HOME:-mma}/mma.py -G && npm run --silent print:grooves > build/grooves.txt", + "build:grooves": "${MMA_HOME:-mma}/mma.py -G && npm run --silent debug:grooves > build/grooves.txt", "build:sef": "for xsl in src/xsl/*.xsl; do sef=$(basename \"$xsl\"); xslt3 -relocate:on -xsl:$xsl -export:build/${sef/.xsl/.sef.json} -nogo:1 -t -ns:##html5; done && rm -f cache/*.mid", "build": "[ ! -f mmarc ] && npm run build:mmarc; npm run build:grooves; npm run build:sef", "convert:unroll": "run() { xslt3 -xsl:src/xsl/unroll.xsl -s:\"$1\" ${@:2}; }; run", @@ -21,10 +21,10 @@ "convert:mma": "run() { xslt3 -xsl:src/xsl/mma.xsl -s:\"$1\" ${@:2}; }; run", "convert:midi": "run() { ${MMA_HOME:-mma}/mma.py -II \"$1\" -f \"${1/.mma/.mid}\"; }; run", "convert": "run() { mma=$(xslt3 -xsl:build/mma.sef.json -s:\"$1\" useSef=1 ${@:2}); echo \"$mma\" | ${MMA_HOME:-mma}/mma.py -II -f \"${1/.musicxml/.mid}\" -; }; run", - "print:chord": "run() { echo \"PrintChord $1\" | ${MMA_HOME:-mma}/mma.py -n -; }; run", - "print:grooves": "find ${MMA_HOME:-mma}/lib grooves -name '*.mma' | while read f; do MMA_ENCODING=utf-8 ${MMA_HOME:-mma}/mma.py -Dbo \"$f\" | tail -n +2; done", - "print:preview": "run() { ${MMA_HOME:-mma}/mma.py -V \"$@\"; }; run", - "print:musicxml": "run() { xslt3 -xsl:src/xsl/musicxml.xsl -s:\"$1\" ${@:2}; }; run", + "debug:chord": "run() { echo \"PrintChord $1\" | ${MMA_HOME:-mma}/mma.py -n -; }; run", + "debug:grooves": "find ${MMA_HOME:-mma}/lib grooves -name '*.mma' | while read f; do MMA_ENCODING=utf-8 ${MMA_HOME:-mma}/mma.py -Dbo \"$f\" | tail -n +2; done", + "debug:preview": "run() { ${MMA_HOME:-mma}/mma.py -V \"$@\"; }; run", + "debug:musicxml": "run() { xslt3 -xsl:src/xsl/musicxml.xsl -s:\"$1\" ${@:2}; }; run", "validate:musicxml": "run() { xmllint --noout --schema src/xsd/musicxml.xsd \"$1\"; }; run", "validate:mma": "run() { ${MMA_HOME:-mma}/mma.py -II -n \"$1\"; }; run", "develop": "nodemon -e js,json src/js/server.js", diff --git a/src/js/server.js b/src/js/server.js index f7698534..5cc15164 100755 --- a/src/js/server.js +++ b/src/js/server.js @@ -60,8 +60,6 @@ app.get('/', (req, res) => res.json({ name, version, description, author })) app.get('/grooves', (req, res) => res.status(200).sendFile(path.resolve('build/grooves.txt'))) -app.get('/convert', (req, res) => res.status(400).send(ERROR_BAD_PARAM)) - async function tryCompressedMusicXml(buffer) { try { const decoder = new TextDecoder() @@ -103,6 +101,7 @@ app.post('/convert', async (req, res, next) => { const cacheFile = path.resolve(path.join(process.env.CACHE_DIR || 'cache', `${sig}.mid`)) try { await fs.access(cacheFile, constants.R_OK) + console.info(`Sending ${cacheFile} from cache...`) res.status(200).sendFile(cacheFile) return } @@ -153,5 +152,72 @@ app.post('/convert', async (req, res, next) => { } }) +app.post('/groove', async (req, res, next) => { + if (!req.body || !('groove' in req.body) ) { + return res.status(400).json(ERROR_BAD_PARAM) + } + + // Assemble parameters. + const params = { + 'groove': null, + '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] + }) + } + + // Generate MMA. + const chords = params['chords'].split(',').map(s => s.trim()) + const measures = [...Array(parseInt(params['count']))].map((_, index) => { + return ` +MidiMark Measure:${index+1} +${chords[index % chords.length]} + `.trim() + }).join('\n') + const mma = ` +MidiText Generated by musicxml-midi converter https://github.com/infojunkie/musicxml-midi +KeySig ${params['keysig']} +Tempo ${params['tempo']} +Groove ${params['groove']} +MidiMark Groove:${params['groove']} +${measures} + `.trim() + + // Check first in cache. + const hash = crypto.createHash('sha256') + hash.update(mma) + const sig = hash.digest('hex') + const cacheFile = path.resolve(path.join(process.env.CACHE_DIR || 'cache', `${sig}.mid`)) + try { + await fs.access(cacheFile, constants.R_OK) + console.info(`Sending ${cacheFile} from cache...`) + res.status(200).sendFile(cacheFile) + return + } + catch { + // Could not access cache file: Keep going below to generate it. + } + + try { + const execResult = await exec('echo "$mma" | ${MMA_HOME:-mma}/mma.py -II -f "$out" -', { + env: { ...process.env, 'mma': mma, 'out': cacheFile } + }) + .catch(AbortChainError.chain(error => { + console.error(`[MMA] ${error.stdout.replace(/^\s+|\s+$/g, '')}`) + res.status(500).send(ERROR_MMA_CRASH) + })) + console.info('[MMA] ' + execResult.stdout.replace(/^\s+|\s+$/g, '')) + return res.status(200).sendFile(cacheFile) + } + catch { + // Do nothing. + } +}) + const port = process.env.PORT || 3000 export const server = app.listen(port, () => console.log(`${name} v${version} listening at http://localhost:${port}`)) diff --git a/src/xsl/mma.xsl b/src/xsl/mma.xsl index 13a90f96..14c1bd38 100644 --- a/src/xsl/mma.xsl +++ b/src/xsl/mma.xsl @@ -185,7 +185,7 @@ --> -MidiText Generated by musicxml-mma converter https://github.com/infojunkie/musicxml-mma +MidiText Generated by musicxml-midi converter https://github.com/infojunkie/musicxml-midi Begin Chord-Custom Voice diff --git a/test/server.test.js b/test/server.test.js index 1c633857..22ce9f50 100644 --- a/test/server.test.js +++ b/test/server.test.js @@ -24,7 +24,7 @@ describe('MusicXML to MIDI conversion server', () => { test('should reject invalid invocations', async () => { const res1 = await request(app).get('/convert') - expect(res1.statusCode).toEqual(400) + expect(res1.statusCode).toEqual(404) const res2 = await request(app).post('/convert').field('foo', 'bar') expect(res2.statusCode).toEqual(400) const res3 = await request(app).post('/convert').attach('musicXml', 'package.json') @@ -54,9 +54,7 @@ describe('MusicXML to MIDI conversion server', () => { const res = await request(app).post('/convert').attach('musicXml', file).responseType('blob') expect(res.statusCode).toEqual(200) expect(res.type).toEqual('audio/midi') - expect(() => { - const midi = parseMidi(res.body) - }).not.toThrow() + expect(() => { parseMidi(res.body) }).not.toThrow() }) test('should cache valid MusicXML files and use the cache', async () => { @@ -87,6 +85,21 @@ describe('MusicXML to MIDI conversion server', () => { expect(res.text.includes('Ayyub')).toBeTruthy() expect(res.text.includes('Baiao-Miranda')).toBeTruthy() }) + + test('should generate groove', async () => { + const res = await request(app) + .post('/groove') + .field('groove', 'Maqsum') + .field('tempo', 120) + .field('count', 4) + .responseType('blob') + const midi = parseMidi(res.body) + expect(midi.tracks.find(track => !!track.find(event => event.type === 'marker' && event.text === 'Groove:Maqsum'))) + .not.toEqual(undefined) + const track = midi.tracks.find(track => !!track.find(event => event.type === 'marker' && event.text.includes('Measure:'))) + expect(track.filter(event => event.type === 'marker' && event.text.includes('Measure:')).length) + .toEqual(4) + }) }) afterAll(() => {