command to find loudest sample in selection, possible?

If you want to stretch the signal longer, you will need to apply the effect to a longer selection and then trim it, rather than the other way round.

When stretching longer, the resampling interpolates new values between each successive sample value. The problem at the end of the selection is that there is no “next sample value”, so resampling interpolates between the value of the last selected sample and “nil”, which is interpreted as “zero”, hence the dive to zero at the end.

I did use the effect on the whole track, not on the selected part you see in the first picture. I thought I had to point that out because it looks a bit confusing.

Of course…thanks a lot, again! Hope you are not getting tired of my messages : )

If you stretch this to double length
firsttrack000.png
You get this:
firsttrack001.png
On the other hand, if you stretch this to double length
firsttrack002.png
You get this
firsttrack003.png
which you can then trim to this:
firsttrack004.png

Yes, this works, thanks again for your help!!