private int ApplyOctaveShift(int note) { int os = octaveShift + player.GetTrackPreferredOctaveShift(player.LoadedTrack); return(NoteHelper.ApplyOctaveShift(note, os)); }