Relationship between amplitude and sampling rate

I'm loading a signal with librosa in python. With the original sample rate of 22050 Hz, i get the following waveplot: When i choose to resample my signal with the sample rate of 512 Hz, i get the following waveplot: My question is, how come the amplitude is less with 512 Hz than with 22050 Hz? I assume that since the interval at which we record the amplitude is larger at 512Hz, the values should be larger too.

• Can you tell us what "loading with a sample rate" means? The signal you have in your computer already is sampled, so it has a sample rate. Are you just reinterpreting sample times? In that case, zoom in by a factor of 22050/512 in your upper plot and you'll see the lower. Nov 2 '20 at 8:11
• By loading with a sample rate i mean loading and resampling it, yes. So by resampling it, my new amplitude intervals become: original interval / (22050/512)...or zoomed in. Thank you, i get it now Nov 2 '20 at 8:26
• Could you edit your question to include that you mean resampling? Nov 2 '20 at 8:28
• One of the factors, here Nov 2 '20 at 10:26