Luminosity oscillations in accretion discs around compact objects