|
From: Chris B. <ch...@cn...> - 2008-01-26 02:08:11
|
Dat Head wrote: > On Jan 20, 2008 2:10 PM, Chris Bagwell <ch...@cn...> wrote: > >> I'd like to poll the people that actually use SoX on windows. Would >> people prefer me to ship a Cygwin version of SoX or the MinGW version >> I've been shipping in the past? The main difference between the two are: >> >> 1) MinGW allows me to ship a single sox.exe binary with no supporting >> libraries to worry about. Cygwin requires at least to distribute >> cygwin1.dll and the user must have that in your path somehow. >> >> 2) Cygwin allows support for playing and recording audio using SoX on >> windows. >> > > I don't think the sox release on cygwin has sox's "play" command - i'll > have to triple check but i'm pretty sure it doesn't (because I wanted to > use it and it could not be found) - i think the version i still have is > some sox 12.x version - maybe cygwin has newer now? I updated > cygwin only a few months ago. > > So were did you get your copy of cygwin sox? I can't find a version available via cygwin's "setup.exe" and no obvious external sites came up on google. Maybe I released a cygwin version sometime during the 12.x cycle; before I got mingw working. For sure it wouldn't have had play support back then because the cygwin DLL didn't really support it at that time. Once you compile SoX 14.0.1 and cygwin, its as simple as "copy sox.exe play.exe" to make the playing version of SoX. If windows vista supports something like unix symlinks then there is a chance just linking play.exe to sox.exe will work as well. Internally, it using the program name play as a shorthand to add "-t oss /dev/dsp" as the output filename. Chris |