Solved

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

Posted on 2016-10-23
4
75 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 80

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 54

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 14

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
An article on effective troubleshooting
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

726 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