Amphibians have two ways to capture the vibrations of the medium and transform them into sound:
In one hand, through their legs… What actually happens is that when the ground vibrates, vibrations are transmitted by the legs to the scapula of these animals, and through the opercular muscle and opercular bone, reaching the oval membrane and the lagena, components of the hearing system. This is one of the hearing pathways (a).
The other way is the best known (b), where vibrations are captured by the tympanum and transmitted by the corresponding components of the middle and inner ear.
So no matter how much you want to surprise a frog, you won’t get it, they will detect the vibrations of your footsteps and run away!