Diversified noise sources pose great challenges in the engineering of an ANC (active noise control) system design. To solve this problem, this paper proposes an ANC method based on VMD (variational mode decomposition) and Ensemble Learning. VMD is used to extract IMFs (Intrinsic Model Functions) of different types of noise and obtain the approximate entropy of each IMF. Clustering analysis on the output of VMD is conducted based on the PCA (principal component analysis) dimension reduction method and k-means++ method to get classification results for different noises. On the basis of the clustering results, different GBDT (gradient boosting decision tree) regressors are constructed for different noise types, in order to create a high-performance ANC system for multiple noise sources. To verify the effectiveness of the proposed method, this paper designed four simulation schemes for the ANC: obstacle-free rectangular enclosed space, rectangular enclosed space with obstacle, obstacle-free trapezoidal enclosed space and trapezoidal enclosed space with obstacle. When machine gun noise is used as an example, noise attenuation by the proposed method in four simulation schemes is −23.27 dB, −21.6 dB, −19.08 dB and −15.48 dB respectively.