示例#1
0
        public bool DecreaseScale()
        {
            var newScale = ScaleHelper.Decrease(Scale);

            bool isSuccess = Scale != newScale;

            if (isSuccess)
            {
                Scale = newScale;
            }

            return(isSuccess);
        }
示例#2
0
        public bool DecreasePitch()
        {
            bool isSuccess = false;

            if (Pitch != Pitches.C)
            {
                Pitch     = DecreasePitch(Pitch);
                isSuccess = true;
            }
            else if (Scale != Scales.Four)
            {
                Pitch     = Pitches.B;
                Scale     = ScaleHelper.Decrease(Scale);
                isSuccess = true;
            }

            return(isSuccess);
        }