Variant tags can now be given to filters. And the filter filter is now accessible from filter records:
Examples:
Such variants are ignored by default. In this case the music is being showed in a "diplomatic" rendering. To show the modern score, instructions are given on the line:
!!!filter-modern: modori -m
To run the filter-modern filters in the file, add a non-variant filter that specifies which filter variant (set) to run:
!!!filter: filter -v modern
The compiling process with deactivate both the non-variant and the variant versions:
Pipelines can be given in filter variants:
Or there can be multiple filter variant lines (the order of the lines in the file will be the order that the commands are run:
In this case the "diplomatic" score will not be transposed, but the modernized one is transposed.
Here is an example where both the original and modern scores will be transposed:
The order of the commands in this case are:
transpose -t -P4 # apply to the original score
filter -v modern
modori -m
An alternate order is to run the transpose command after the modern filter variants have been processed:
In which case the filter command order is:
filter -v modern
modori -m
transpose -t -P4 # apply to the modernized score
Here is an example of applying multiple filters variant groups (first the "modern" and the the "fifth" variants):
Implemented with commit https://github.com/craigsapp/humlib/commit/8f63d65ee5daa6f29291136df38b6b1215199ddd
Variant tags can now be given to filters. And the filter filter is now accessible from filter records:
Examples:
Such variants are ignored by default. In this case the music is being showed in a "diplomatic" rendering. To show the modern score, instructions are given on the line:
To run the
filter-modern
filters in the file, add a non-variant filter that specifies which filter variant (set) to run:The compiling process with deactivate both the non-variant and the variant versions:
Pipelines can be given in filter variants:
Or there can be multiple filter variant lines (the order of the lines in the file will be the order that the commands are run:
In this case the "diplomatic" score will not be transposed, but the modernized one is transposed.
Here is an example where both the original and modern scores will be transposed:
The order of the commands in this case are:
An alternate order is to run the transpose command after the modern filter variants have been processed:
In which case the filter command order is:
Here is an example of applying multiple filters variant groups (first the "modern" and the the "fifth" variants):
Alternately:
Running only the fifth variant:
Running only the modern variant:
Another use could be to extract parts, such as:
Then to show that part, the non-variant filter:
could be run.