A system comprising: one or more sensors (524, 526) configured to receive one or more bioelectrical signals indicative of brain activity; a stimulation generator configured to deliver electrical stimulation to a brain; and control circuitry configured to: control the stimulation generator to deliver the electrical stimulation to a brain at a plurality of different stimulation frequencies; characterized in that the control circuitry is further configured to: identify a bioelectrical resonance response of the brain to the electrical stimulation, the bioelectrical resonance response identified based on a parameter of oscillation of the one or more bioelectrical signals and indicative of resonance of an area of the brain to one stimulation frequency of the plurality of stimulation frequencies; set a stimulation frequency parameter for a therapy based on the identified bioelectrical resonance response, the stimulation frequency parameter set at or near the one stimulation frequency; and control the stimulation generator to deliver the therapy to the brain using the set stimulation frequency parameter. one or more sensors (524, 526) configured to receive one or more bioelectrical signals indicative of brain activity; a stimulation generator configured to deliver electrical stimulation to a brain; and control circuitry configured to: control the stimulation generator to deliver the electrical stimulation to a brain at a plurality of different stimulation frequencies; characterized in that the control circuitry is further configured to: identify a bioelectrical resonance response of the brain to the electrical stimulation, the bioelectrical resonance response identified based on a parameter of oscillation of the one or more bioelectrical signals and indicative of resonance of an area of the brain to one stimulation frequency of the plurality of stimulation frequencies; set a stimulation frequency parameter for a therapy based on the identified bioelectrical resonance response, the stimulation frequency parameter set at or near the one stimulation frequency; and control the stimulation generator to deliver the therapy to the brain using the set stimulation frequency parameter. control the stimulation generator to deliver the electrical stimulation to a brain at a plurality of different stimulation frequencies; characterized in that the control circuitry is further configured to: identify a bioelectrical resonance response of the brain to the electrical stimulation, the bioelectrical resonance response identified based on a parameter of oscillation of the one or more bioelectrical signals and indicative of resonance of an area of the brain to one stimulation frequency of the plurality of stimulation frequencies; set a stimulation frequency parameter for a therapy based on the identified bioelectrical resonance response, the stimulation frequency parameter set at or near the one stimulation frequency; and control the stimulation generator to deliver the therapy to the brain using the set stimulation frequency parameter. identify a bioelectrical resonance response of the brain to the electrical stimulation, the bioelectrical resonance response identified based on a parameter of oscillation of the one or more bioelectrical signals and indicative of resonance of an area of the brain to one stimulation frequency of the plurality of stimulation frequencies; set a stimulation frequency parameter for a therapy based on the identified bioelectrical resonance response, the stimulation frequency parameter set at or near the one stimulation frequency; and control the stimulation generator to deliver the therapy to the brain using the set stimulation frequency parameter.