Hi,
I have a movement where a large part at the beginning is later repeated (transposed a fifth), but occasionally some measures are transposed an octave up/down to make them playable on that instrument.

I'm trying to store that part into a separate variable and use resetRelativeOctave for the octave jumps. I'm tagging those resetRelative and try to filter them out for the first occurrance or for the repetition. Unfortunately, tagging resetRelatativeOctave and filtering out with removeWithTag does NOT work. (As a check: Filtering dynamics works).

Attached is an example.
Any idea where the problem lies and how I can solve it?

I have also tried turning m into a music-function and redefining resetRelativeOctave before the second call to \m, but that does not work, either...

Thanks,
Reinhold

--
------------------------------------------------------------------
Reinhold Kainhofer, reinh...@kainhofer.com, http://www.kainhofer.com/
 * Open Tools, Software Development, http://www.open-tools.net/
 * Edition Kainhofer, Music Publisher, http://www.edition-kainhofer.com/

\version "2.19.19"

m=\relative c' {
	f2-\tag #'I-only \f f |
	\tag #'I-only \resetRelativeOctave c'
	c2 c
}

\relative c' {
	s1*0^"second measure should be a jump down" 
	\removeWithTag #'II-only \m
	
	s1*0^"second measure should be a jump UP (resetRelativeOctave filtered with tag)" 
	% I try to filter out the resetRelativOctave with a tag, but that does not work. Filtering dynamics works fine!
	\transpose f c \removeWithTag #'I-only \m
}

Attachment: lily_tag_octave.pdf
Description: Zip archive

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to