I want Mathematica (Version 188.8.131.52) to automatically play a specific sound file after importing from the hard drive without any user intervention other than opening the notebook. Here is what I have tried:
SetDirectory["D:\\MyTestDirectory"]; mysound = Import["Two_musical_notes_overlap-for-test.wav"]; EmitSound[mysound]
After that cell is evaluated I get a dialog box with a play button that the user has has to click on to get the "wav" file to play. I do not want the user to have to do anything other than evaluate the cell which will cause the sound to be played. It would be nice if I could even suppress the sound dialog box from even appearing but I'll be happy with just getting this to play automatically.