//Load the wav sound file to stram
FileInputStream fstr = new FileInputStream(new File("C:\\logon.wav"));
//Add Audio Frame
IAudioFrame af = sld.getShapes().addAudioFrameEmbedded(50, 150, 100, 100, fstr);
//Set Play Mode and Volume of the Audio
af.setPlayMode(AudioPlayModePreset.Auto);
af.setVolume(AudioVolumeMode.Loud);
//Write the PPTX file to disk
pres.save("data/AsposeAudio.pptx", SaveFormat.Pptx);
System.out.println("Audio Control Added.");