The magnetic-field dependence of flux noise spectra in superconductors is studied by Monte Carlo simulation of vortex dynamics in two-and three-dimensional vortex models. Without an applied magnetic field the flux noise power spectra typically vary with frequency approximately like 1/f 3/2. In this paper we show that in the presence of a weak magnetic field, the spectra instead typically vary approximately like 1/f in a range of temperatures and frequencies. Both types of behavior have been observed in different experiments.