[python-win32] phone/modem recording recipe?

Niki Spahiev niki at vintech.bg
Tue Nov 23 10:17:23 CET 2004


Tim Roberts wrote:

> On Mon, 22 Nov 2004 07:09:03 -0800, RayS <rays at blue-cove.com> wrote:
> 
>> I was reviewing win32ras, pyserial and such last night, and I found 
>> two Python VOIP packages (for ISDN), but in short, I would just like 
>> to capture/send from a POTS handset via the modem. Like video/audio 
>> capture, except with a modem.
>>
>> Has anyone a "Hello phone" recipe?
>>  
>>
> 
> No.  That's not how a modem works.  It doesn't have the ability to pass 
> the raw audio data through to you, nor to accept digital PCM data and 
> ship it out the speaker.

Well not exactly true ;) Some modems can capture audio and send it to 
computer. With most raw data is in proprietary format, but some drivers 
make it accessible as multimedia audio device. Try pygame or pymedia.

HTH
Niki Spahiev


More information about the Python-win32 mailing list