Search code examples
androidaudiogoogle-glassdemo

Capturing Audio from a Google Glass app


I'd like to capture the audio from a Glass app I'm creating for demonstration purposes (it makes quite a bit of use of the text-to-speech engine). I have video capture working (using this tutorial), but the output videos are silent.

One option I've considered is using a USB speaker that I could plug in (instead of the Glass earpiece); if one exists that is loud enough to be recorded directly, I could solve this problem in two passes by recording all the video, then re-running the test to record the audio separately, then mixing the two media streams together.

Any suggestions welcome!


Solution

  • The solution is to make a Glass 3.5mm Audio adapter out of a resistor, some solder, and a micro USB adaptor.

    I teach a lot of Glass classes, and used this trick to get high quality audio out of Glass that can connect by 3.5mm audio cable to presentation systems, you could easily record this source.

    Follow these directions, and props to Jenny: http://little418.com/2014/06/make-a-3-5mm-audio-adapter-for-google-glass.html

    I can verify these instructions work.

    Here is a picture of my set up. The Micro USB goes into Glass, and the female 3.5mm takes a 3.5mm male cable with 3.5mm male on the other side and can go directly into anything that takes a standard headphone wire.

    enter image description here