Some computations on the spectra of Pisot and Salem numbers