Closed craigsapp closed 2 years ago
Implemented with commit https://github.com/rism-digital/verovio/commit/62baa906ce9de273e9e6c7e5b57d8d8347bade84
Example:
**kern
*oboe
*I"Oboi
*I'obs.
*clefG2
*M4/4
*^
*I"Oboe 1 *I"Oboe2
*I'ob1 *I'ob2
*join *join
=1 =1
4cc 4g
2b 4a
. 4f
8ccL 8aL
8ddJ 8gJ
= =
*v *v
*-
Now renders as:
Transcoded from Humdrum
Extracting individual parts:
!!!filter: flipper -a | extract -e
**kern
*oboe
*I"Oboi
*I'obs.
*clefG2
*M4/4
*^
*I"Oboe 1 *I"Oboe2
*I'ob1 *I'ob2
*join *join
=1 =1
4cc 4g
2b 4a
. 4f
8ccL 8aL
8ddJ 8gJ
= =
*v *v
*-
compiles to:
**kern **kern
*oboe *oboe
*I"Oboi *I"Oboi
*I'obs. *I'obs.
*clefG2 *clefG2
*M4/4 *M4/4
* *
*I"Oboe2 *I"Oboe 1
*I'ob2 *I'ob1
*join *join
=1 =1
4g 4cc
4a 2b
4f .
8aL 8ccL
8gJ 8ddJ
= =
* *
*- *-
Which renders as:
Transcoded from Humdrum
Extracting first oboe part:
flipper -a | extract -e | extract -k 2 | rid -glid
Creates this file:
**kern
*oboe
*I"Oboi
*I'obs.
*clefG2
*M4/4
*I"Oboe 1
*I'ob1
*join
=1
4cc
2b
8ccL
8ddJ
=
*-
Rendering as:
Transcoded from Humdrum
When a score staff shares multiple parts, allow for a joined name and individual name.
Here is an example:
Currently the name for the staff is searched until the first data line is found, and the title is searched after
*^
. Make any spine manipulator also stop the search for a staff name so that "Oboi" would be used in this case.Test data:
Extracting parts works, since the last
*I"
and*I'
are used, and there is no spine manipulator to stop the search for the secondary labels:Here is the compiled filter
extract -e | extract -r
: