private void readLyrics() { /*Read lyrics. * First, read an :ref:`int` that points to the track lyrics are * bound to. Then it is followed by 5 lyric lines. Each one * consists of number of starting measure encoded in :ref:`int` * and :ref:`int-size-string` holding text of the lyric line.*/ lyrics = new List <Lyrics>(); var _lyrics = new Lyrics(); _lyrics.trackChoice = GPBase.readInt()[0]; for (int x = 0; x < _lyrics.lines.Length; x++) { _lyrics.lines[x].startingMeasure = GPBase.readInt()[0]; _lyrics.lines[x].lyrics = GPBase.readIntSizeString(); } lyrics.Add(_lyrics); }