Slowly pulsating B (SPB) stars are B-type stars with oscillation periods of a few days, understood to be high-order gravity modes excited by the kappa mechanism. Beta Cephei variables are slightly hotter (and thus more massive), also have modes excited by the kappa mechanism and additionally oscillate in low-order gravity modes with periods of several hours. Both classes of oscillators contain only slowly rotating stars.