I'd love to have my Texstudio play a sound (.wav) after it finished compiling. Does anyone know how to do this? Thanks!
On easy possibility would be to instruct TXS to call some external program of your choice to play the sound. Some examples of suitable programs are
vlc (the later is probably overkill just to play some sound).
To add this to the compilation, open your texstudio preferences and edit the "Build and View" command (or whatever command you use to compile you document)
For example on a mac I compile with
latexmk, open the .log and .pdf and afterwards play the audio:
txs:///latexmk | txs:///view-log | txs:///view-pdf | afplay <path to audio file>/quack.wav
For windows (thanks to @user1805743 !)
txs:///compile | txs:///view | powershell -c (New-Object Media.SoundPlayer "C:\Windows\Media\notify.wav").PlaySync();