public bool IncreaseScale() { var newScale = ScaleHelper.Increase(Scale); bool isSuccess = Scale != newScale; if (isSuccess) { Scale = newScale; } return(isSuccess); }
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); }