Record Audio (Automation)
Michael Robin
me at mikerobin.com
Fri Feb 22 00:20:58 EST 2002
More information about the Python-list mailing list
Fri Feb 22 00:20:58 EST 2002
- Previous message (by thread): Record Audio (Automation)
- Next message (by thread): Record Audio (Automation)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"DanS" <danscott at chocolatefudge.com> wrote in message news:<a53nl0$6ld at news.or.intel.com>... > The best thing here would be to write your own Visual Basic app and use the > MS Multi Media control... > > Write your program to take command line input.. and well, thats about it.. This shouldn't be necessary as you should be able to use the OLE automation interface to the MCI control from Python directly. However, the MCI control has lots of baggage you don't need. The mciSendString() API was specifically designed to do multimedia from scripting languages. (Originally Macromind Director's MMP files.) If mciSendString isn't already wrapped, you should be able to use CallDLL. example strings: "play foo.wav from start to 1434" "open baz.wav alias s" "record s" "close s" See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/mci_7vvt.asp for details. mike > > Dan > > > > > > "T H" <tth_1 at yahoo.com> wrote in message > news:140415ad.0202211224.40d8b34b at posting.google.com... > > I need a simple way to record audio with a scripting language in > > Windows. I > > think this can be done by executing sndrec.exe or sndrec32.exe (the > > sound recorder that comes with windows that can be executed by going > > to Programs->Accessories->Entertainment->Sound Recorder), however I > > can't seem to be able to make it record. I know you can use this > > program to PLAY a WAV file by executing > > sndrec32.exe /play /close filename.wav > > > > However I was not able to make it record by executing > > sndrec32.exe /record /close filename.wav > > > > The command above I tried is just a guess, i have no idea if there is > > a /record parameter. Any idea where I can find a list of command line > > parameters for sndrec32.exe? > > > > If anyone knows any other way of automating the task of recording > > audio using a scripting language (which executes a free audio > > recording program), please let me know. Any help is much appreciated.
- Previous message (by thread): Record Audio (Automation)
- Next message (by thread): Record Audio (Automation)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list