Esempio n. 1
0
        public bool IncreaseScale()
        {
            var newScale = ScaleHelper.Increase(Scale);

            bool isSuccess = Scale != newScale;

            if (isSuccess)
            {
                Scale = newScale;
            }

            return(isSuccess);
        }
Esempio n. 2
0
        public bool IncreasePitch()
        {
            bool isSuccess = false;

            if (Pitch != Pitches.B)
            {
                Pitch     = IncreasePitch(Pitch);
                isSuccess = true;
            }
            else if (Scale != Scales.Seven)
            {
                Pitch     = Pitches.C;
                Scale     = ScaleHelper.Increase(Scale);
                isSuccess = true;
            }

            return(isSuccess);
        }