If the only purpose for using tags is to generate different octaves in the midi and the display, it would be much easier to just change the octavation of the clef.
{
\override Staff.ClefModifier.transparent = ##t
\clef "treble_8" c1
}
This displays c as c’ in the score, and plays it as c in the midi.
Carl
