Does échantillon/échantillonnage work for the number of samples/sample rate
Yes it does. sample rate = fréquence d’échantillonage
For the part of a "previously published song in a new song", we use the english word ‘sample’, with the french prononciation!
(well, you can use ‘échantillon’ as well, but nobody does)