RocksmithToolkitLib.Sng2014HSL.Sng2014FileWriter.parseVocals C# (CSharp) Method

parseVocals() private static method

private static parseVocals ( Vocals xml, Sng2014File sng ) : void
xml Vocals
sng Sng2014File
return void
        private static void parseVocals(Vocals xml, Sng2014File sng)
        {
            sng.Vocals = new VocalSection();
            sng.Vocals.Count = xml.Vocal.Length;
            sng.Vocals.Vocals = new Vocal[sng.Vocals.Count];

            for (int i = 0; i < sng.Vocals.Count; i++)
            {
                var vcl = xml.Vocal[i];
                var v = new Vocal();
                v.Time = vcl.Time;
                v.Note = vcl.Note;
                v.Length = vcl.Length;
                readString(vcl.Lyric, v.Lyric);
                sng.Vocals.Vocals[i] = v;
            }
        }