Solved

Create reminders using mp3 or wav files without opening a media player app

Posted on 2016-10-23
4
93 Views
Last Modified: 2016-10-27
Hello,

Is there a way to play a brief MP3 or WAV file without opening Windows Media Player (wmp) or another media player?

I've got a subtle computer sound in an mp3 file and a wav file. I want to be able to play the sound as a reminder at pre-scheduled times. Some time ago, I found an app called Karen's Countdown Timer II which makes it easy to schedule various events at pre-determined times. The app offers the option to display an alert window, play/open/run a file, or send an email message. It works great if the desired event is to display a custom alert window. However, if it is directed to play a sound file, it always opens wmp to play it.

I'm looking for a way to play a sound similar to the many other built-in computer sounds I hear from time to time which do not require the opening of wmp.

Alternatively, does anyone know of a different app which enables the creating of audio reminders?


Thanks
0
Comment
Question by:WeThotUWasAToad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 81

Accepted Solution

by:
David Johnson, CD, MVP earned 250 total points
ID: 41856412
you can use the direct-x DirectSound api or .net framework
private void playSimpleSound()
{
    SoundPlayer simpleSound = new SoundPlayer(@"c:\Windows\Media\chimes.wav");
    simpleSound.Play();
}

Open in new window

https://msdn.microsoft.com/en-us/library/4y171b18(v=vs.110).aspx
0
 
LVL 55

Assisted Solution

by:McKnife
McKnife earned 125 total points
ID: 41857517
As for batch, use nircmd.
http://www.nirsoft.net/utils/nircmd.html
It knows the switch mediaplay
nircmd.exe mediaplay 1000 c:\Windows\Media\chimes.wav
0
 
LVL 15

Assisted Solution

by:William Fulks
William Fulks earned 125 total points
ID: 41861213
I found this little app that converts audio/video files into self playing executables. Not sure how reliable it would be given the variety of codecs out there. May be worth a shot, at least.

http://download.cnet.com/Audio-Video-to-Exe/3000-2140_4-10560064.html
0
 

Author Closing Comment

by:WeThotUWasAToad
ID: 41863327
Thanks
0

Featured Post

Schedule a Tour of the ATEN booth at InfoComm 2017

Tour the ATEN booth to see the the Latest Addition to the Modular Matrix Switch Series, New 4K HDMI Over IP Extender and more! Enter ATEN's Ultimate Giveaway Sweepstakes for a chance to win one of several great prizes, including an ATEN US7220 2-Port Thunderbolt 2 Sharing Switch!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Viewers will learn how to create and use Simpler instruments in Ableton Live. Load new Simpler into an empty MIDI track: Select a sample and drop it into sample window in Simpler: If sample is not pitched at C3, adjust tuning with Transpose para…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question