Anticipating events and focusing attention accordingly are crucial for navigating our dynamic environment. Rhythmic patterns of sensory input offer valuable cues for temporal expectations and facilitate perceptual processing. Rhythm-based temporal expectations may rely on oscillatory entrainment, where neural activity and perceptual sensitivity synchronize with periodic stimuli. However, whether entrainment models can account for aperiodic predictable rhythms remains unclear. Our study aimed to delineate the distinct roles of predictability and periodicity in rhythm-based expectations. Participants performed a pitch-identification task preceded by periodic predictable, aperiodic predictable, or aperiodic unpredictable temporal sequences. By manipulating the temporal position of the target sound, we observed how auditory perceptual performance was modulated by the target position's relative phase relationship to the preceding sequences. Results revealed a significant performance advantage for predictable sequences, both periodic and aperiodic, compared with unpredictable ones. However, only the periodic sequence induced an entrained modulation pattern, with performance peaking in synchrony with the inherent sequence continuation. Event-related brain potentials corroborated these findings. The target-evoked P3b, possibly a neural marker of attention allocation, mirrored the behavioral performance patterns. This supports our hypothesis that temporal attention guided by rhythm-based expectations modulates perceptual performance. Furthermore, the predictive sequences were associated with enhanced target-preceding negativity (akin to the contingent negative variation), indicating enhanced target preparation. The periodic-specific modulation likely reflects more precise temporal expectations, potentially involving neural entrainment and/or more focused attention. Our findings suggest that predictability and periodicity influence perception through distinct mechanisms.