Step 1:

Enable Sanskrit audio (text to speech) on your dictionary search:

Simply click on the speaker icon to hear the Sanskrit word of your choice.

Click on the speaker icon to play the word.

Try it out here.