public void AssignRemotes() { if (!Remotes.Any()) { Remotes.AddRange(Articulations.Where(a => !a.ExcludeFromRemote)); } }
public void MoveRootKey(int newKey) { var diff = newKey - RootKey; Articulations = Articulations.Select(a => new Articulation(a.Name, a.OutputKS + diff, a.Channel, a.IsChannelRelative, a.Keyswitched, a.InputKS, a.MuteCC)).ToList(); Remotes = Remotes.Select(a => new Articulation(a.Name, a.OutputKS + diff, a.Channel, a.IsChannelRelative, a.Keyswitched, a.InputKS, a.MuteCC)).ToList(); RootKey = newKey; }