Newsgroups: alt.binaries.schematics.electronic,alt.engineering.electrical,comp.publish.electronic.misc,sci.electronics.design
Subject: Re: telephone logger on computer
References: <[email protected]>
From: Tomi Holger Engdahl 
Date: 23 May 1999 14:15:19 +0300
Message-ID: 
Organization: Helsinki University of Technology, Finland
Lines: 31
X-Newsreader: Gnus v5.3/Emacs 19.34
"Ran"  writes:
> I'm trying to develop a small project, which should log and record all
> conversation performed on a phone - to computer.
> 1. Is it better to make the scheme to send some kind of a signal to mic in
> which will start the recording. Then my program will have to scan each n
> interval for the signal.
> Or is it better to connect it to midi/joystick port of SB, the scheme will
> send 5 VDC and my program will detect it.

I would build a small circuit which detects when telephone is picked
up and send signal to joystick port. This is the simplest method.
A simple relay which is activated when phone is picked up will
do the job when relay output is connected to joystick port button
input. 

Or some telephone line busy / in use circuit (some this type of circuits
listed at http://www.hut.fi/Misc/Electronics/telephone.html#circuits)
modified to that the LED is replaced with an optocoupler. The output of
the optocoupler is connected to joystick port.

Necessary technical information on joytick/MIDI port can be found
at http://www.hut.fi/Misc/Electronics/docs/joystick/

> 2. MIDI/joystick on SB, does it exist on all of them and whether its always
> enabled? How do I work with it in win'95?

Windows is supposed to have some joystick port reding routines in them.
Infortunately I don't have information on them.

-- 
Tomi Engdahl (http://www.iki.fi/then/)