public string ToString(GuitarSystem guitarSystem) { var sb = new StringBuilder(); sb.Append(StartingFret.ToRomanNumber()).AppendLine(); foreach (var guitarString in Strings) { string note = guitarString.IsMuted ? "X" : guitarSystem.GetUnclambedNote(guitarString).ToString(true); sb.Append(note) .Append(guitarString) .AppendLine(); } return sb.ToString().Trim(); }
public ChordNotes GetChord(GuitarSystem guitarSystem) { var notes = Strings.Where(s => !s.IsMuted).Select(guitarSystem.GetNote).ToArray(); return new ChordNotes(notes); }