|
highend01
|
 |
« on: July 07, 2011, 05:25:17 PM » |
|
Hi,
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.
Tia, highend01
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #1 on: July 07, 2011, 06:04:06 PM » |
|
I can do this but I don't have Windows 7 64-bit so I'll rely on you for the testing.
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #2 on: July 07, 2011, 06:25:22 PM » |
|
Give this a try: Escape.zip See this post below... Extremely Simple Commandline Audio Player Extraordinaire
Usage: Escape.exe "<file>" [/exit]
Yeah, I'm taking a small liberty with the extraordinaire part. Please let me know if this works for you. I've tested it on Windows XP SP3 32-bit.
|
|
|
|
« Last Edit: July 08, 2011, 06:03:37 PM by skwire »
|
Logged
|
|
|
|
|
|
ewemoa
|
 |
« Reply #3 on: July 07, 2011, 11:53:06 PM » |
|
FWIW, gave it a try under wine (1.3) and it seems to work fine (both with and without /exit) 
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #4 on: July 07, 2011, 11:56:25 PM » |
|
FWIW, gave it a try under wine (1.3) and it seems to work fine (both with and without /exit)  Thanks, kind sir. Was that using a 64-bit system?
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #5 on: July 08, 2011, 12:01:54 AM » |
|
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?
|
|
|
|
« Last Edit: July 08, 2011, 12:48:54 AM by skwire »
|
Logged
|
|
|
|
|
Edvard
|
 |
« Reply #6 on: July 08, 2011, 12:48:03 AM » |
|
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.
|
|
|
|
|
Logged
|
All children left unattended will be given a mocha and a puppy.
|
|
|
|
skwire
|
 |
« Reply #7 on: July 08, 2011, 12:49:54 AM » |
|
Well, this isn't a full-fledged audio player. It simply plays a single wav file, optionally exits, and that's it.  There are no playback controls, volume controls or otherwise.
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #8 on: July 08, 2011, 12:54:38 AM » |
|
Maybe I should name it something else so as not to give people the wrong idea?
|
|
|
|
|
Logged
|
|
|
|
|
ewemoa
|
 |
« Reply #9 on: July 08, 2011, 01:15:41 AM » |
|
Was that using a 64-bit system?
The wine test was with a 32-bit system.
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #10 on: July 08, 2011, 01:17:04 AM » |
|
The wine test was with a 32-bit system. Cool, thanks. Is anybody able to test this on a Windows 7 64-bit system?
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #11 on: July 08, 2011, 01:36:25 AM » |
|
The wine test was with a 32-bit system. Cool, thanks. Is anybody able to test this on a Windows 7 64-bit system? yup, i tried on Win 7 64-bit and it worked fine.. 
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #12 on: July 08, 2011, 01:38:08 AM » |
|
Sweet.  Thanks, lanux.
|
|
|
|
|
Logged
|
|
|
|
|
highend01
|
 |
« Reply #13 on: July 08, 2011, 01:47:40 AM » |
|
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). Regards and thanks a lot, highend
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #14 on: July 08, 2011, 05:38:21 PM » |
|
Happy birthday!  Custom icon and a new name: sWavPlayerWebsite | Download v1.0.1 - 2011-07-08 + Website release.
v1.0.0 - 2011-07-07 + Initial forum release.
|
|
|
|
« Last Edit: July 08, 2011, 06:06:12 PM by skwire »
|
Logged
|
|
|
|
|
Ath
|
 |
« Reply #15 on: July 09, 2011, 02:57:34 AM » |
|
Custom icon and a new name: sWavPlayer
Good name 
|
|
|
|
|
Logged
|
|
|
|
|
WillieCee
|
 |
« Reply #16 on: September 11, 2011, 01:40:06 AM » |
|
Good name  [/quote] 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) ~willie
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #17 on: September 11, 2011, 08:40:11 AM » |
|
You can try passing an MP3 file to it. If you have the appropriate MP3 codecs installed on your box, it should play. No guarantees, though.
|
|
|
|
|
Logged
|
|
|
|
|
WillieCee
|
 |
« Reply #18 on: September 15, 2011, 01:57:26 AM » |
|
You can try passing an MP3 file to it. If you have the appropriate MP3 codecs installed on your box, it should play. No guarantees, though.
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
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #19 on: September 15, 2011, 08:32:05 AM » |
|
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. 
|
|
|
|
|
Logged
|
|
|
|
|