If the lyrics are all in the correct place, you can also keep a list of the existing events, remove them from an existing track, modify the lyric and then add them to a track.
thanks
with this routine i delete event lyrics in tracks (in that case tracks4)
Dim TX As MidiTrack = Seq.GetTracks(Traccia)
For i = 0 To TX.Size-1
Dim Mevt As MidiEvent = TX.Get(i)
Dim XX As String
XX= Mevt.ToString(Mevt.GetMessage)
If XX.Contains("Lyrics") Then
TX.Remove(Mevt)
End If
Next
With this routine i create a track and add lyrics, but I can't specify the track number
Dim TX As MidiTrack = Seq.GetTracks(Traccia)
Seq.DeleteTrack(TX) ' cancello traccia lyric
Dim t As MidiTrack = Seq.CreateTrack
T.add(MidiEventBuilder.Lyric("AAA",33365))
MidiSystemStatic.Write(Seq,1,"c:\","prova.mid") ' salva la base
How do I add events to a track?