Exemple #1
0
        private void SetShift(Note note, string standardStep, string standardOctave)
        {
            ParamsGetter paramsGetter = ParamsGetter.GetInstance();
            int          shift        = -(GetDigitizedPitch(standardStep, standardOctave) - GetDigitizedPitch(_step, _octave)) *
                                        paramsGetter.GetPitchPositionDiff();

            note.SetShift(shift);
        }