<div dir="ltr">On Sun, Sep 21, 2008 at 7:46 PM, Al Johnson <span dir="ltr">&lt;<a href="mailto:openmoko@mazikeen.demon.co.uk">openmoko@mazikeen.demon.co.uk</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; Can I<br><div class="Ih2E3d">
&gt; record audio from the mic input and the built-in microphone at the same<br>
&gt; time?<br>
<br>
</div>Yes. Route headset (mic1) to the left ADC and handset (mic2) to the right ADC,<br>
then set the record mode to stereo.<br>
<div class="Ih2E3d"></div></blockquote><div><br>This is good news.<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
<br>
&gt; &gt; Since you need external bits for the IR anyway you may be better off<br>
&gt; &gt; making a<br>
&gt; &gt; USB device instead. The arduino and other similar devices make the USB<br>
&gt; &gt; part relatively easy. Put a narrow bandpass filter on your audio<br>
&gt; &gt; transducer and you make the audio signal a simple on/off - use multiple<br>
&gt; &gt; frequencies if you need to track different markers or indicate different<br>
&gt; &gt; states.<br>
&gt;<br>
&gt; I&#39;m hoping to find some novel way of doing this with the most simple<br>
&gt; hardware setup possible. Maybe we can have each transducer connected to a<br>
&gt; bandpass filter that activates an oscillator. If the two oscillators<br>
&gt; operate at different frequencies on the same mic-in channel, we should be<br>
&gt; able to process this in software on the Freerunner to calculate when each<br>
&gt; oscillator was triggered. This would allow us to use only dumb and cheap<br>
&gt; hardware that should work on any computer with a mic-in. The IR detector(s)<br>
&gt; can also be connected to a oscillator operating at a third frequency.<br>
<br>
</div>Sounds more complicated than making a usb device to me :-)<br>
<div class="Ih2E3d"></div></blockquote><div><br>It probably is, but would make for an inexpensive piece of hardware. However, now that you&#39;ve told me we can record from both the handset and headset the only necessary external hardware should be some wire with a 2.4 mm plug, a transducer, and a photodiode. Now we&#39;re pretty much back to my original idea, but with less necessary hardware. Thanks.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
&gt; What do you mean by &quot;external bits for the IR&quot;? Data bits or just little<br>
&gt; pieces of hardware? I figure a photodiode can be connected between signal<br>
&gt; and ground. When suficient IR light hit it the diode should make a spike on<br>
&gt; the mic-in channel.<br>
<br>
</div>Bits as in components. I&#39;ve not tried a photodiode on a mic input, but it<br>
sounds like the sort of thing someone might have done for lirc hardware.<br>
</blockquote></div><br>One time I decoded the signal from an IR personal response system [1] by pointing the transmitter at a photodiode connected to the mic-in port of my laptop, so I know that would work.<br><br>-Charles Pax<br>
<br>[1] <a href="http://en.wikipedia.org/wiki/Audience_response">http://en.wikipedia.org/wiki/Audience_response</a><br></div>