Fig. 9: Experimental paradigm and timeline.

a Experiments took place in a two-compartment chamber separated by a transparent divider. Pre-exposure on day 2 could either consist of footshocks (Shock → Squeak and Shock → Control groups) or a resting period (NoShock → Squeak group). Playback on day 5 was of regular squeaks (Shock → Squeak and NoShock → Squeak groups) or phase-scrambled squeaks (Shock → Control). Note that the yellow background in the pre-exposure box symbolizes the fact that overhead lights were turned on in context B but not A. b Behavioral paradigm of the second experiment. The procedure only differed between groups on the day during pre-exposure. Here, groups either received laser stimulation together with squeak playback (Laser + Squeak), only laser stimulation (Laser), only squeak playback with a low-intensity laser stimulation (Squeak), or a low-intensity laser stimulation only (Naïve). On day 5, regular squeaks were played back to all animals whereas phase-scrambled squeaks were played back on day 7. Note that the yellow background in the pre-exposure box represents the turned-on overhead lights. Timing of the experiment mimicked the schedule of Experiment 1. c Experimental paradigm of Experiment 3. Experimental procedures on days 1, 3, 4, and 5 were kept identical to Experiment 1. On day 2 however, we presented all animals with low amplitude shocks (0.2 mA, 4 s; 0.2 mA was chosen in a pilot study as a threshold intensity that triggered squeaks in only rare instances) that were either synchronously paired with 4 s of pain squeak playback that covered the entire period of shock delivery or asynchronously, with the 4 s squeak playback presented exactly in the middle of the 240–360 s interval between two shocks. d Experimental timeline for the auditory playback session on day 5. Baseline freezing and 22 kHz vocalizations were measured across the entire 12 min baseline period. Playback freezing and 22 kHz vocalizations were computed across the entire 12 min playback period. The time-resolved stimulus-by-stimulus presentations of fear responses use the intertrial interval (ITI) between individual squeaks for quantification. Note that ITIs between squeaks were randomly chosen to be either 120 or 180 s. The depicted sequence is thus an example of a possible randomization order.