private void parseNote(Song2014 xml, SongNote2014 note, Notes n, Notes prev)
{
n.NoteMask = parseNoteMask(note, true);
// numbering (NoteFlags) will be set later
n.Time = note.Time;
n.StringIndex = note.String;
// actual fret number
n.FretId = (Byte)note.Fret;
// anchor fret will be set later
n.AnchorFretId = unchecked((Byte)(-1));
// will be overwritten
n.AnchorWidth = unchecked((Byte)(-1));
n.ChordId = -1;
n.ChordNotesId = -1;
n.PhraseIterationId = getPhraseIterationId(xml, n.Time, false);
n.PhraseId = xml.PhraseIterations[n.PhraseIterationId].PhraseId;
// these will be overwritten
n.FingerPrintId[0] = -1;
n.FingerPrintId[1] = -1;
// these will be overwritten
n.NextIterNote = -1;
n.PrevIterNote = -1;
n.ParentPrevNote = -1;
n.SlideTo = unchecked((Byte)note.SlideTo);
n.SlideUnpitchTo = unchecked((Byte)note.SlideUnpitchTo);
n.LeftHand = unchecked((Byte)note.LeftHand);
// 'bvibrato' and 'rchords8' are using 0 value but without TAP mask
if (note.Tap != 0)
n.Tap = unchecked((Byte)note.Tap);
else
n.Tap = unchecked((Byte)(-1));
n.PickDirection = (Byte)note.PickDirection;
n.Slap = (Byte)note.Slap;
n.Pluck = (Byte)note.Pluck;
n.Vibrato = note.Vibrato;
n.Sustain = note.Sustain;
n.MaxBend = note.Bend;
n.BendData = new BendDataSection();
n.BendData.BendData = parseBendData(note, true);
n.BendData.Count = n.BendData.BendData.Length;
}