Loudness decreases automatically [SOLVED]

Hi everybody,

I have Audacity 2.3.2. in Windows 10. I’ve recorded many audios for my pupils in order to help them learning the different parts in the choir. But now I’m stucked in a problem. When I try to record short and fast repeated same-pitched sounds, the loudness automatically decreases. I’ve tried with different notes and it’s always the same. I have to record 32 same-pitched eighth-notes in 12/8 time; I play them on a keyboard and I record the sound with the notebook microphon. I play them equally, but the loudness decreases. Playing 32 eighth-notes changing the pitch is not a problem. I have no idea how to solve the problem.
Thank you in advance

Look at the device settings for the recording device, and turn off all of Windows sound “enhancements”. See: https://manual.audacityteam.org/man/faq_recording_troubleshooting.html#enhancements

Thank you Steve!!! It works!!!