Reproduction of a specific sound on a specific surface

The question is: I need to play a certain sound when the player walks on a certain surface, for example: if he walks on the texture of the earth, then the sound of the earth, if he walks on the textures of the stone, then the sound of the stone. Thanks to everyone who helps!

This video (and entire channel) helped me: First Person Controller - Footsteps (EP09) [Unity Tutorial] - YouTube
Using tags to distinguish between types of surfaces.