Method for winding a winding material (D) by means of a winding machine having a number of winding devices which can be driven by a respectively assigned drive (M1, M4) and which comprise at least a supply roll and a winding body , comprising the following steps: providing the winding material (D) from the supply roll , and winding the winding material (D) provided from the supply roll over at least one deflection roll onto the winding body , wherein at least one of the drives (M1, M4) is adjusted as a function of a position-dependent compensation signal (k1(α), k4(α)) at least partly compensating for a defect, characterized in that the position-dependent compensation signal (k1(α),k4(α)) for the respective drive (M1, M4) is provided by the following steps: a) acquiring an interference variable (SG) representing the defect in the time domain during a winding operation, b) transforming the acquired interference variable (SG) from the time domain into a spectrum in the frequency domain, c) filtering the spectrum by means of a filter (F1, F4) specific to the winding device assigned to the drive (M1, M4), d) transforming the filtered spectrum (TS1, TS4) from the frequency domain into the time domain in order to provide a time-dependent compensation signal (k1(t), k4(t)), and e) transforming the time-dependent compensation signal (k1(t), k4(t)) into the position-dependent compensation signal (k1(α), k4(α)). providing the winding material (D) from the supply roll , and winding the winding material (D) provided from the supply roll over at least one deflection roll onto the winding body , wherein at least one of the drives (M1, M4) is adjusted as a function of a position-dependent compensation signal (k1(α), k4(α)) at least partly compensating for a defect, characterized in that the position-dependent compensation signal (k1(α),k4(α)) for the respective drive (M1, M4) is provided by the following steps: a) acquiring an interference variable (SG) representing the defect in the time domain during a winding operation, b) transforming the acquired interference variable (SG) from the time domain into a spectrum in the frequency domain, c) filtering the spectrum by means of a filter (F1, F4) specific to the winding device assigned to the drive (M1, M4), d) transforming the filtered spectrum (TS1, TS4) from the frequency domain into the time domain in order to provide a time-dependent compensation signal (k1(t), k4(t)), and e) transforming the time-dependent compensation signal (k1(t), k4(t)) into the position-dependent compensation signal (k1(α), k4(α)). a) acquiring an interference variable (SG) representing the defect in the time domain during a winding operation, b) transforming the acquired interference variable (SG) from the time domain into a spectrum in the frequency domain, c) filtering the spectrum by means of a filter (F1, F4) specific to the winding device assigned to the drive (M1, M4), d) transforming the filtered spectrum (TS1, TS4) from the frequency domain into the time domain in order to provide a time-dependent compensation signal (k1(t), k4(t)), and e) transforming the time-dependent compensation signal (k1(t), k4(t)) into the position-dependent compensation signal (k1(α), k4(α)). <EOS>