[python-win32] phone/modem recording recipe?

Tim Roberts timr at probo.com
Mon Nov 22 20:51:50 CET 2004


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.

What you need to do is hook your handset up to your sound card.  THAT'S 
the hardware that understands how to capture analog audio data.  And as 
long as you're doing that, use a real headset/microphone; the mike and 
speaker in your POTS handset suck.

-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-win32 mailing list