Exemplo n.º 1
0
 public void AssignRemotes()
 {
     if (!Remotes.Any())
     {
         Remotes.AddRange(Articulations.Where(a => !a.ExcludeFromRemote));
     }
 }
Exemplo n.º 2
0
        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;
        }