An apparatus for controlling several acousto-optical components for influencing light passing through, in particular for influencing the illumination light and/or the detection light in the beam path of a microscope, in particular a confocal laser scanning microscope, comprising: several radio-frequency generators which are provided in accordance with the number of acousto-optical components and are configured to supply the associated acousto-optical component with the respective radio frequency, the respective radio-frequency generator being configured to compensate malfunctions of the respective acousto-optical component caused by temperature fluctuations by adapting the respective radio frequency with which the respective acousto-optical component is supplied, the respective radio-frequency generator being configured to adapt the respective radio frequency, starting from a desired radio frequency, depending on a temperature that can be determined directly at the associated acousto-optical component, the actual temperature, and a common processor via which the radio frequency generators are supplied with control signals for generating the radio frequencies on the basis of the actual temperature at the respective acousto-optical component, the respective radio-frequency generator being configured such that a signal corresponding to the actual temperature at the associated acousto-optical component may be supplied, the respective radio-frequency generator being configured to determine a compensation coefficient in kHz/°C serving to adapt the respective radio frequency exclusively from the actual temperature of the associated acousto-optical component and the desired radio frequency, and the respective radio-frequency generator being configured to continuously calculate new values for the radio frequencies and to send these to the associated acousto-optical component. several radio-frequency generators which are provided in accordance with the number of acousto-optical components and are configured to supply the associated acousto-optical component with the respective radio frequency, the respective radio-frequency generator being configured to compensate malfunctions of the respective acousto-optical component caused by temperature fluctuations by adapting the respective radio frequency with which the respective acousto-optical component is supplied, the respective radio-frequency generator being configured to adapt the respective radio frequency, starting from a desired radio frequency, depending on a temperature that can be determined directly at the associated acousto-optical component, the actual temperature, and a common processor via which the radio frequency generators are supplied with control signals for generating the radio frequencies on the basis of the actual temperature at the respective acousto-optical component, the respective radio-frequency generator being configured such that a signal corresponding to the actual temperature at the associated acousto-optical component may be supplied, the respective radio-frequency generator being configured to determine a compensation coefficient in kHz/°C serving to adapt the respective radio frequency exclusively from the actual temperature of the associated acousto-optical component and the desired radio frequency, and the respective radio-frequency generator being configured to continuously calculate new values for the radio frequencies and to send these to the associated acousto-optical component.