Saturday, May 1, 2010

Skype as a whole-house Wireless Microphone for Home Automation

After buying a home (finally!) this past fall, I've been setting up a bunch of home automation capabilities. Recently I got far enough along that I started pondering how I might get a whole-house microphone system talking to my central (Windows XP-based) computer running HomeSeer (v2.0.4.36). I first considered xTag USB-Only System w/ One xTag Wearable Microphone, but the range of just tens of feet seemed way too limiting.

Then I had a thought... a wonderful, crazy thought... what if I could find a WiFi microphone -- one that used my existing 802.11n wireless network. After doing some quick searches, I realized that I already had such a thing: my Apple iPod touch (2nd generation since it needs a microphone on the hardware) and Skype! All I needed to do was use my iPod touch (or iPhone, or anything that has a decent Skype client) to call a Skype account running on my home automation server. I could then configure the sound output from that call to be the voice recognition input into HomeSeer's "Speaker" application that then controls HomeSeer. (Notably, the Speaker application actually need not be running on the same machine as HomeSeer, but I'm trying to be green by having only a single low-wattage computer always-on in my house, so I run it on the same machine.)

Now, if you've not been reading all my oh-so-infrequent posts, you may be thinking "hmmm, that sounds great, but how do you make the audio output from one program [Skype] become the microphone input of another program [Speaker]?"

Avid readers realize that in an earlier post I
did exactly that to Stream iTunes music to my SqueezeBox duet receiver. Using Virtual Audio Cable 4, I created two virtual audio cables -- I set up "Virtual Cable 1" as the default output channel for Speaker as shown in the first figure.



Then I set up "Virtual Cable 2" as the default microphone input -- you do that from the Control Panel -> Sound page. (It varies by Windows operating system variant.) After making those changes, you need to restart the Speaker client and at that point the Virtual Audio Cable's control panel will look like the below -- notice that there is 1 recording stream on Virtual Cable 2 -- that's the Speaker application that opened that cable as its microphone. If it's not showing 1 there, you need to try again to make that cable the default input and restart the Speaker application.


After that, I set up Skype on the home automation PC, created a distinct user account, set it up to only accept calls from my specific other Skype account, and made it auto-answer calls. I set the audio settings of Skype to have the microphone input be Virtual Cable 1 (the one that the Speaker application is doing text-to-speech on, since that input will be sent over to the speaker of my iPod touch so I can hear what the computer says to me) and to have the Skype speaker output setting be Virtual Cable 2 (the one that the Speaker application is using for voice recognition, since it's gonna play out what it hears from what I say into my microphone on my iPod Touch). The audio settings end up looking like this:


To test it, I made a call from my iPod Touch to that new Skype account. The Virtual Audio Cable control panel comes in handy here again, as it should, after the call is connected, look like:


Notice that now there is a recording stream on Virtual Cable 1 (Skype reading its microphone input, the output of the Speaker application) and a playback stream on Virtual Cable 2 (Skype writing its speaker out to the input of the Speaker application).

From that point, I'm able to give voice commands to HomeSeer via my iPod Touch. I had to retrain the voice recognizer (Windows Control Panel->Speech) for this new setup, even just to get Speaker to recognize the attention phrase. It'd be nice to not require the attention phrase and to simply take a command immediately upon Skype answering a call, but I'm not an expert with Speaker so I'm not sure it's possible.

I was also able to get this working using my new HTC Droid Incredible Android Phone, and again had to retrain voice recognition and microphone levels with that set up. Unfortunately (and surprisingly) Verizon seems to only let its Skype Mobile run over 3G and not over WiFi... this seems really insane especially for the substantially more open Android platform -- remember, Skype exists in a more full-featured form for the Apple-controlled iPhone. Regardless, I got VoIP over WiFi working using Fring and its Skype plug-in.

All in all, I'm pretty psyched to now have my whole-house microphone setup! Now if only HSTouch on the iPod Touch worked with the SqueezeBox plug-in without crashing... then I might be able to control my audio using my voice (I still use the awesome iPeng application to do that, and waiting for an Apple iPad Tablet version of that app).

61 comments:

Julie Jacobson said...

This is fantastic! Mind if we post it on Electronichouse.com?
-Julie Jacobson (editor)
jjacobson@ehpub.com

Greg Badros said...

You can certainly provide a short summary and link to it, but please don't copy it. Thanks for your enthusiasm. -G

Unknown said...

Greg - are you active on the Squeezebox forums? I recently started a thread there about controlling squeezebox with voice control... If you make headroads in that direction I would be very interested in how it goes...

Tina said...
This comment has been removed by a blog administrator.
LRP said...

Enjoyed the read. Intend to do something similar but either for recording in a more quiet location and wirelessly sending the results to a dedicated machine for recording movie lines/recording scenes, or for linking the music performance in said more quiet recording location to the same dedicated system. Using Skype as well as some of the misc iOS wifi audio apps (AirMic, Remote Mic, Mobiola Headset, etc). I will have to look into HomeSeer, thank you for this blog entry. Another tool in the kit. Virtual Audio Cable's range itself in such projects is amazing isn't it? I love it!

Interesting facts said...
This comment has been removed by a blog administrator.
Skipno said...

Awesome post!! I've been tinkering with this idea for a while, and never even thought to use Skype as my microphone platform!

I'm using Indigo on Mac, and using the built-in Speech-recognition, I've programmed a number of Applescripts to execute whatever I wanted...from anywhere in the house.

The system works perfectly :) Thank you for the inspiration.

Unknown said...

Greg, just wanted to let you know how much I appreciate you doing a lot of the heavy lifting for me! Finding this article has saved me a metric ton of time and energy.

I'd been toying with the idea of setting up some basic home automation with speech recognition software for a while now. This past week I've been writing up some simple "grammars" as they're called in Microsoft's SAPI, as well as putting together some basic functionality to read me the date/time, pull down weather from RSS feeds and kick off songs in Spotify (which included some UI Automation fun, *rollseyes*). The missing link was how to talk to my machine when I wasn't sitting right in front of the mic.

I've been looking all over for recommendations on array mics and conference room mics and on and on. I was getting really discouraged hearing how spotty those can be when used over any sort of distance or around any other noise interference. I thought it was a lost cause until I found your post.

Within an hour I had my recognition software talking to me over skype, accepting commands and responding back over my iPod, just fantastic stuff.

I have all sorts of plans going forward. First on the list is getting the code ready to control my HT receiver over IR so I can control audio zones in my home. But you've definitely helped the effort along, again, thanks! :)

Greg Badros said...

I'm so glad this is working great for so many folks... thanks for the comments!

Unknown said...
This comment has been removed by a blog administrator.
Charleston plumbers said...
This comment has been removed by a blog administrator.
Unknown said...
This comment has been removed by a blog administrator.
Unknown said...

Hey,

Thanks for writing guide on Wireless Microphones.

This is certainly the best post about best wireless microphones around these days.

Unknown said...

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks...best computer microphone

Unknown said...

for best microphone you can try PeopleLink PVC 50WS is a digital wireless speakerphone that is the perfect audio solution for boardrooms and conference rooms. The microphones has 360 degree audio pickup capability and delivers upto 87db of clear audio output. The echo cancellation and noise reduction features help in preventing background noise and echoes from interfering with the conference.

Anonymous said...

Thanks for sharing such a nice blog. A conference phone is a special type of phone that is specifically designed for use in telephone conference calls with several people.

Try PeopleLink PVC 50WS Cascade is a portable, digital wireless conference microphone for conference and board rooms. These microphones can be easily connected to laptop/PC through USB ports. The features like echo cancellation and noise reduction suppresses unwanted background noise and echoes, for the crystal clear audio during video conferencing.

OSS Certification said...


Thanks for sharing such a great information but we are India's best service provider of ISO 45001 Certification - Oss Certification

iso 27001 Certification

iso 22000 certification

iso 14001 certification

breathefreshin said...

Thanks for sharing this helpfull post. It will beneficial for everyone. Thanks for sharing such a wonderful post.

Himalayan salt lamps

Natural himalayan rock salt lamp

Vayu Air Purifier

Vayu Natural Air Purifying Bag

Breath Fresh Air Purifier

Indoor air pollution india

household air pollution in india

Air purifying plants

NICT CSP said...

Thanks for sharing such a great information but we are India's best service provider of SBI Kiosk Banking - NICTCSP

SBI CSP

SBI Kiosk

Csp Kiosk

onlinebattery said...

Onlinebattery.co.in is No.1 online inverter battery shop in Ballabhgarh, Faridabad under the aegis of Garg Trading Company. We have the complete range of automotive, two wheeler, inverter, generator, solar batteries and water purifier. We sell all types of battery brands like Exide, Amaron, Luminous, Okaya, MtekPower, Su-Kam, Tata Green and Adwin.

Exide Inverter Battery
Luminous Inverter Battery

Servo said...

Want to Buy Step Down Transformer or Are you Curious about What is Step Down Transformer? Read the blog to get your queries resolved before making a purchase.

airoshotblast said...

thanks for this great post @http://www.airoshotblast.net/

petterson said...

Great blog I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updatedcheap dissertation Writing Services

Rahul Sharma said...

Amazing Post,

Thanks a lot for sharing the great piece of the content with us. The point you mention in your post Sand blasting machine works that are very useful for me. I understand the way of the attractive to the customer with the products.

Keep it works and share with us your latest information. For more Information or any help then visit now at Sand Blasting Machine, Sand Blasting Machine for Sale, Sand Blasting Machine Manufacturer, and Small Sand Blasting Machine.

Thanks again for the post.

Regards,
Rahul Sharma.

Nictcspbc said...

Thank you for sharing such a great information. Here NICTCSPBC is the best service provider of SBI Kiosk Banking in India which provides the best services of Kiosk Banking at reliable prices to their customers.

Csp registration
Csp apply

Purnima said...

Great share!

Loved all that you shared, and you are right, one cannot deny the power of Google. I simply love it and am part of a number of
communities too. The point you mention in your post sand blasting machine manufacturer in India that are very useful for me. I understand the way of the attractive to the customer with the products.

Keep it works and share with us your latest information. For more Information or any help then visit now at Portable Sand Blasting Machine, Shot Blasting Machine, Portable Shot Blasting Machine, Grit Blasting Machine, Portable Grit Blasting Machine, thermal spray gun, abrasives media, Sand Blasting Machine for Sale, Sand Blasting Machine Manufacturer, and Small Sand Blasting Machine.

They are similar to small communities that you own - check them out if you haven't already.It's all got a lot better than before!t.

Visit on our website : www.blaster.co.in

Also Check Blaster Machines
Portable Sand Blasting Machine | Portable Shot Blasting Machine | Shot Blasting Machine
Portable Grit Blasting Machine | Grit Blasting Machine

shot blasting cabinets | shot blasting room
sand blasting cabinet | sand blasting room
grit blasting cabinets | grit blasting room
zinc spray gun | flame spray gun
thermal spray gun | thermal spray wire
abrasives media | air compressors
sand blasting nozzle | grit blasting nozzle
steel shots | aluminum oxide

Thanks for sharing. Have a nice week ahead.

Regards,
Purnima Sharma.

Vipul Singh said...

What a great article!
Digital Marketing Services Near Me
Dr. Bhanu Pratap Singh
ENT Specialist Doctor in Meerut
Top School in Ghaziabad
Quality Education in Ghaziabad
Sinusitis Surgery in Meerut
Website Designing Company in Meerut
Indian web series on Netflix
Smarter Mouth

poojasharma said...

Great Blog and visit to webgross is the familiar name on contented clients lips concerning perfect Website Development Services Delhi. After extensive research on your brand, we develop your website that proves as a voice to your brand with easy navigation and a user-friendly experience. Our services are in it for the long haul Content writing services Delhi.

Rahul Sharma said...

This is Great Article. You are post informatics blog so keep posting.
SEO Company in Delhi NCR
SEO company in Meerut
Top 10 CBSE Schools in Meerut
Satta King Chart Result Online
Software Development Company India
Satta King Live Result Online
Meerut Education News Update
Cooking Fever MOD APK
Services at Home App
List of Meerut Hospital

Admissiongyan said...

Excellent goods from you, I have understand your stuff previous to and you are simply extremely fantastic. I actually like what you’ve obtained right here, really like what you are saying and the way in which by which you are saying it. You are making it enjoyable and you still care to stay sensible. I can’t wait to read much more from you. This is really a wonderful site. Supply Chain Management in Germany

Gaurav Bhatt said...

This is Great Article. You are post informatics blog so keep posting. ​I really enjoyed this article here. Great, Keep it up. For more valuable information about:-
Best BPSC Coaching in Patna
Best Online JPSC Coaching


Superb. I really enjoyed this article here. Great, Keep it up. For more valuable information.
BPSC AE Syllabus
BPSC Online Classes
Best Online JPSC Coaching
BPSC Classes in Patna
BPSC AE Civil Syllabus

Gaurav Bhatt said...

This is Great Article. You are post informatics blog so keep posting. I really enjoyed this article here. Great, Keep it up. For more valuable information about:-
Best BPSC Coaching in Patna
Best Online JPSC Coaching


Superb. I really enjoyed this article here. Great, Keep it up. For more valuable information.
BPSC AE Syllabus
BPSC Online Classes
Best Online JPSC Coaching
BPSC Classes in Patna
BPSC AE Civil Syllabus

Web Plus Era said...

Great! Thanks for sharing this kind of information it’s really very nice and useful for me.Website Designing Company in Delhi

leylandpartsbpauto said...

Suzuki Oil Filters: Keep your Suzuki running smoothly with these high-quality oil filters, designed to trap dirt and debris for optimal engine performance. Suzuki Spare Parts

Anonymous said...

As a men's health clinic, we understand the importance of convenience and accessibility. It's great to see technology like Skype being utilized in new and innovative ways to improve home automation. At the same time, we're also proud to offer online medical services through Meri Sehat, providing convenient access to men's health experts from the comfort of your own home.

Steelshots said...

Searching for a cost-effective Steel shots supplier? We provide competitive pricing without compromising on quality. Our wide range of steel shots options caters to diverse industrial needs. Contact us now to find the perfect solution for your business.

etoileinfosolution said...

Looking for a top-notch Delhi Web Design company? Look no further! Our Delhi-based web design company offers innovative solutions that will catapult your online presence to new heights. Contact our Delhi web design company today for a visually stunning and user-friendly website!

Sumit Kumar said...

When it comes to property law in Delhi, Sharks of Law stands out as a premier legal firm dedicated to providing top-notch legal services. Our team of highly skilled property lawyers is renowned for their expertise, professionalism, and commitment to delivering the best outcomes for our clients. If you are in need of the Best Property Lawyers In Delhi - Sharksoflaw, look no further than Sharks of Law. Our team is ready to assist you with all your real estate legal needs, providing expert advice, dedicated support, and effective solutions. Contact us today to schedule a consultation and experience the exceptional legal services that make us a trusted name in property law.

CRM said...


In need of a premier Patna website design company? Find outstanding services for web design that combine creativity and functionality. Skilled designers create beautiful, easy-to-use websites that are customised to your company's requirements. Increase traffic to your website and encourage conversions with designs that are optimised for search engines and responsive. Select a Patna-based business that is committed to providing top-notch web solutions to make sure your brand is noticeable online. Improve your company right now with Patna's expert website design services!

Sumit Kumar said...

When it comes to finding the perfect getaway in Motihari, look no further than Amar Resort. Renowned as the Best Resor In Motihari, Amar Resort offers an unparalleled blend of luxury, comfort, and exceptional service. Nestled in the serene surroundings of Motihari, this resort provides a tranquil escape from the hustle and bustle of city life.

Sumit Kumar said...

Amar Resort stands out as the Best Resor In Motihari, offering a perfect blend of luxury and comfort. Nestled in a serene environment, it features state-of-the-art facilities ideal for weddings, corporate meetings, and leisurely getaways. Guests can enjoy spacious rooms, exquisite dining options, and exceptional service. With its beautiful landscapes and modern amenities, Amar Resort ensures a memorable stay for all its visitors. Experience unparalleled hospitality at the best resort in Motihari.

Sumit Kumar said...

Amar Resort stands out as the Best Resort In Motihari, offering top-notch facilities for weddings, corporate meetings, and leisurely stays. Nestled in a serene environment, it provides luxurious accommodations, exquisite dining options, and exceptional service. The resort's elegant banquet halls and well-manicured gardens make it an ideal choice for memorable events. With a reputation for excellence, Amar Resort ensures every guest experiences unparalleled comfort and hospitality, making it the perfect destination in Motihari.

Sumit Kumar said...

If you're searching for the best wedding hall in motihari, look no further than Amar Resort. Known for its elegant ambiance and exceptional service, Amar Resort provides a stunning venue for weddings and corporate meetings. With spacious halls, modern amenities, and a dedicated team to ensure every detail is perfect, your special day will be truly memorable. Choose Amar Resort for an unforgettable wedding experience in Motihari.

Sumit Kumar said...

Amar Resort in Motihari offers a premium corporate meeting hall, perfect for hosting business conferences, seminars, and corporate events. Equipped with state-of-the-art facilities, this venue ensures a seamless and professional environment for all your business needs. The resort's tranquil ambiance and top-notch service make it an ideal choice for productive meetings. Whether it's a small gathering or a large corporate event, Amar Resort's Corporate Meeting Hall In Motiharicaters to all requirements efficiently.

Sumit Kumar said...

Amar Resort in Motihari is the perfect destination for corporate meetings, offering a well-equipped Corporate Meeting Hall In Motihari. The hall is designed to accommodate business events of all sizes, providing modern amenities and a professional atmosphere. With state-of-the-art audiovisual equipment and comfortable seating, Amar Resort ensures a seamless and productive meeting experience. The dedicated staff at Amar Resort is committed to making your corporate events successful, making it the ideal choice for business gatherings in Motihari

sumit kumar said...

Amar Resort Best Resort In Motihari is a top destination for a relaxing getaway. Known for its beautiful surroundings, modern amenities, and exceptional service, it offers the perfect blend of comfort and luxury. Whether for a family vacation or a peaceful retreat, Amar Resort is the best choice in Motihari.

sumit kumar said...

Amar Resort Best Resort In Motihari is a premier destination, offering luxurious accommodations and world-class amenities. Set amidst lush surroundings, it’s perfect for both relaxation and special events. With elegant interiors, a serene atmosphere, and exceptional hospitality, Amar Resort stands out as the best resort in Motihari for a memorable stay.

sumit kumar said...

Amar Resort is the Best Wedding Hall In Motihari for couples seeking elegance and luxury. Known for its spacious banquet hall, modern amenities, and stunning décor, it offers the perfect venue for grand celebrations. Amar Resort ensures an unforgettable wedding experience with personalized services and exceptional hospitality.

sumit kumar said...

Amar Resort is one of the Best Wedding Hall In Motihari, offering a perfect blend of luxury and tradition. With spacious banquet areas, modern amenities, and exceptional services, it provides an ideal setting for memorable weddings and celebrations. Amar Resort ensures your special day is truly unforgettable.

sumit kumar said...

Looking for the Best Anniversary Venue In Motihari? Amar Resort offers the perfect venue for your special celebration. With elegant decor, exceptional service, and a charming ambiance, it ensures a memorable event. Celebrate your milestone in style at Amar Resort, where every detail is crafted to make your day unforgettable.

sumit kumar said...

Discover the ideal venue for your corporate events at Amar Resort Corporate Meeting Hall IN Motihari. Our state-of-the-art meeting hall offers a professional setting, equipped with modern amenities to ensure successful meetings and conferences. Experience exceptional service and a productive environment at Amar Resort, where business meets comfort seamlessly.

sumit kumar said...

Flat fish, such as flounder and halibut, are prized catches for fishing pros. These bottom-dwellers require specialized techniques, like slow jigging or drifting, to entice them. Anglers Flat Fish often target them in sandy or muddy seabeds where they camouflage. Mastering the right bait and approach ensures a successful flat fish haul.

sumit kumar said...

Flat fish, like flounder and sole, are prized catches for anglers due to their delicate flavor. Known for their Flat Fish, asymmetrical bodies, these fish are often found on sandy sea bottoms. Successful fishing requires patience and skill, with techniques like drift fishing and using natural bait proving most effective in hooking these elusive bottom dwellers.

sumit kumar said...

Discover the ultimate getaway at Amar Resort, the Best Resort In Motihari. Nestled in serene surroundings, this luxurious retreat offers top-notch amenities, breathtaking views, and exceptional service. Whether you're seeking relaxation or adventure, Amar Resort promises an unforgettable experience with comfort and elegance.

sumit kumar said...

Discover tranquility at Amar Resort, the Best Resort In Motihari. Nestled in nature’s embrace, this luxurious retreat offers top-notch amenities, elegant rooms, and exquisite dining. Perfect for a relaxing getaway or special occasion, Amar Resort promises an unforgettable experience in the heart of Motihari.

sumit kumar said...

Amar Resort, the Best Wedding Hall In Motihari, offers a perfect blend of elegance and comfort for your special day. With spacious interiors, modern amenities, and exceptional service, it ensures a memorable experience for weddings and grand celebrations. Amar Resort is ideal for creating unforgettable moments.

sumit kumar said...

Amar Resort, the Best Wedding Hall In Motihari, offers a perfect blend of elegance and luxury for your special day. With spacious banquet halls, stunning décor, and top-notch services, it ensures a memorable experience for your wedding celebrations. Choose Amar Resort for an unforgettable event in Motihari.

sumit kumar said...

Amar Resort in Motihari offers the best corporate Corporate Meeting Hall IN Motihari for business events and conferences. Equipped with modern facilities, ample space, and professional services, it's the ideal venue for productive meetings. Conveniently located, Amar Resort ensures a seamless experience for corporate gatherings in Motihari.

sumit kumar said...

Amar Resort is the Best Anniversary Venue In Motihari, offering a perfect blend of elegance and comfort. With its beautiful ambiance, top-notch facilities, and exceptional service, it's an ideal spot for celebrating special occasions. Make your anniversary unforgettable with Amar Resort's luxurious spaces and warm hospitality.

sumit kumar said...

Amar Resort Best Anniversary Venue In Motihari is the ideal destination for celebrating your anniversary in style. With its elegant ambiance, excellent services, and scenic surroundings, it offers the perfect backdrop for a memorable event. Whether it's an intimate gathering or a grand celebration, Amar Resort ensures an unforgettable experience for all.

Leyland Spare Parts said...

Looking for reliable and high-quality Ashok Leyland Ecomet Spare Parts? Look no further than Partsmith. Our wide selection of spares ensures your Ecomet runs smoothly and efficiently, keeping your business on the move. Shop now!