If the thing you are waiting for is a command you can alternatively invoke your command as
command && beep
It will beep one time once it finishes successfully. command && beep
It will beep one time once it finishes successfully.