orb3000 · Oct 6, 2010 at 06:00 am

PlaySound for WM

Here is an example of how big XDA-Developers is, a useful application created by XDA member thx1200 is simply lost on our forums, so we decided to bring it back despite it has been over 5 months since its been published.

If you need to play a sound and vibrate your Windows Mobile phone in a script-like setting, this application will be useful for you. PlaySound will work on WM 5 and up on touch and non touch screens. The developer mentions there won´t be any updates, but if you need more features feel free to use the source and compile your own as he included the full source code.

Originally posted by thx1200
[App][Apr 24 2010] PlaySound – Command line sound player / vibrate for scripting

Description
I had a need to play a sound and vibrate my phone in a script-like setting (specifically, actions in the amazing Rhodium Keyboard Controller app). I couldn’t find a simple app to let me do this. So I wrote one! It took about 10 minutes. :-) I now share this with you because I’m sure somebody else has had the same need.

Tip Jar
Like this app? Want more like it? Tip a buck (or Euro or Pound or whatever) or two to help the author out! Click here to make a safe donation via PayPal.

To Use
1. Copy the PlaySound.exe file somewhere, like \Windows.
2. In your script or LNK, use command line arguments to tell it what to do. A single command line argument means that you are specifying a path to a sound to play. It will only play WAV files (sorry if you want WMA or MP3 etc you will need to convert). If you specify two arguments, it means you want to vibrate the phone. The first argument is the LED index of the vibrate (usually 1), and the second is length of time to vibrate in milliseconds.
3. If you do not specify command line arguments, or specify invalid ones (wrong path, negative number, etc.), it will fail without any notice (run, then immediately quit). This app will not tell you when something goes wrong.

Examples
Play the loudest.wav sound in \Windows
playsound.exe \windows\loudest.wav

Vibrate a Touch Pro 2 for half a second
playsound.exe 1 500

You can find more information in the application thread.


_________
Want something on the XDA Portal? Send us a tip!
Emil Kako · Mar 2, 2015 at 01:03 pm · 1 comment

How Do You Usually Access the XDA Forums?

There are a number of different apps on the Play Store that make browsing the XDA portal and forums a fun experience on mobile, but we want to know: What's your favorite way to access the XDA forums? Do you prefer browsing on the desktop, mobile app, or mobile browser? If you use a mobile app, which one? Let us know how you connect with our community in the comment section below.

DISCUSS
Faiz Malkani · Mar 2, 2015 at 12:39 pm · no comments

Google Announces Plans for Projects Titan, Loon and Link

Once a year, top players in the mobile sphere gather for MWC, to show off what they've been working on and collectively set the standard for the year to come. Yesterday was a big day with the launch of HTC and Samsung's flagships, alongside numerous other announcements, and today it was Google's turn to take the stage. SVP Sundar Pichai took the stage in Barcelona to speak about Google's network initiatives, Project Link and Project Loon, as well as to...

XDA NEWS
Mario Tomás Serrafero · Mar 2, 2015 at 11:36 am · 1 comment

Intel at MWC 2015: New Chip Branding and Details

Intel showed its face at MWC 2015 to give the world a yearly update on their upcoming line of chipsets for mobile. While last year the company focused on gathering partnerships and strengthening up their services, architectures and production, now they are revamping their Atom line of SoCs for mobile with a new brand name and a distinctive category format much like that of their i3/i5/i7 line of personal computing processors. The new scheme will be naming the chips x3, x5...

XDA NEWS
Share This