public void setEnabled(bool isEnabled)
        {
            if (filter == null)
            {
                filter = GetComponent <HighAndLowFilter>();
            }
            if (isEnabled)
            {
                this.enabled = true;
            }

            filter.filterOn = isEnabled;
            filter.enabled  = isEnabled;

            if (!isEnabled)
            {
                this.enabled = false;
            }
        }
 private void Awake()
 {
     filter           = GetComponent <HighAndLowFilter>();
     _minMaxFreqRange = _minMaxFrequencies.y - _minMaxFrequencies.x;
 }