Author
Topic: DONE: wav player without any gui (Read 24358 times)

I'm desperately looking for a simple .wav player that doesn't have any gui at all.

It should have the following features:

- Can be invoked via a e.g. dos prompt (e.g. wavplayer.exe <file> [option])option = /exit (quit the player after playing the file)- Works under x86 _and_ x64 systems (WinXP - Win7)- Portable, configuration files should not be needed

I've used microwav before I switched to Win 7 x64 which worked fine under any x86 environment but fails under x64.

Also, to the original poster, is there any reason for the /exit switch? I mean, it would make more sense to automatically close the app after playing a file but use a /keep switch to keep it running, no? Otherwise, simply dropping wav files on the exe will lead to several hanging instances. Your thoughts?

Also, to the original poster, is there any reason for the /quit switch?

I know I'm not the original poster, but other command-line audio players (like MPD or dbPowerAmp Renaissance) act as background media servers that are controlled via command line; e.g. you start it up then tell it what to do via typed-in commands, telling it what file to play, load a playlist, quit/restart, etc.So a /exit switch would tell it to start up, play the file and exit without hanging out waiting for more instructions.

Hi and sorry for the delay (it was time for sleep here in good old germany)

Also, to the original poster, is there any reason for the /exit switch? I mean, it would make more sense to automatically close the app after playing a file but use a /keep switch to keep it running, no? Otherwise, simply dropping wav files on the exe will lead to several hanging instances.

You're right skwire, it would make more sense to close the process automatically and only keep it active when a "/keep" option was provided.

I've just tested it under Win7 X64 and it worked fine without any errors

Can you provide the sourcecode (after the change for the command line option), please? Seems you did it via autohotkey and so it would be easier to give it a better fitting icon *g*

About renaming it: I wouldn't call it "Escape" otherwise people will have a hard time to find this thread in a search engine when they're in need of such a miniplayer

P.S.: I'm on a birthday today so I can't follow this thread again until tomorrow afternoon (regarding further tests).

Sure closes the door on adding mp3"and i tunes is used up" I was looking for a quick and tiny player for command line use without payload of the aboves for mp3.I was also working with the abbr. title Command Line Audio Player or clap.exe (as in your hands)

Flawless! MP3 and nothing showing on the tach either staying under 5% with frameless blowing and going to the music. After mp3 is done kills process within 5secs. clean exit. digital scrap book for the eyes/ and ears/. Go ahead add the guarantee (not to hard to refund the price paid.) Thank you ~willie

Unfortunately, I can't add the guarantee since that particular app just uses simple MCI SoundPlay functionality. In other words, unless the user has installed the codec for a given file type, there really is no guarantee that the given file will play. As a comparison, my Trout music player uses the BASS library for playback and will play back music files whether you have the installed codecs or not. At any rate, I'm glad sWavPlayer is working for you.