Preventing NoteNames adding a note name for a tied note

By default, the NoteNames also adds a note name for a tied note. To avoid that, you can use a scheme music function which will transform all second notes of tied notes to a \skip event.