I have a case where at times I want the notes to go up one octave and other times not.  I was thinking I could use tags to accomplish this.  But the tag seems to be ignored. The result always jumps an octave.

I have tried the following combinations but I haven't hit on the right way to do this.

sample:

\version "2.26.0"

testNotes =  \relative c' {
  \tag #'testTag1 {
  c1
  \tag #'testTag2 \resetRelativeOctave c''
  c1
  }
}

testNotesB =  \relative c' {
  c1
  \tag #'testTag2 \resetRelativeOctave c''
  c1
}

\score {
  \testNotes
}

\score {
  \keepWithTag  #'(testTag1) \testNotes
}

\score {
  \keepWithTag  #'(testTag1 testTag2) \testNotes
}

\score {
  \removeWithTag #'testTag2 \testNotes
}

\score {
  \keepWithTag  #'(testTag2) \testNotesB
}

Thanks, Walt



Reply via email to