Magneto-optical measurement of Barkhausen noise spectra