<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Controlling Your Computer with X10: Adding Text-To-Speech</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/c4f/images/916492_100.jpg</url>
		<title>Channel 9 - Controlling Your Computer with X10: Adding Text-To-Speech</title>
		<link></link>
	</image>
	<description>



&amp;nbsp;
This article is continuation in Controlling Contolled Home Automation series. It shows how to control your computer from light switches, motion detectors, alarm switches, and any other X10 transmitting device



Tony Northrup
Tony&#39;s Blog

Difficulty: Intermediate
Time Required: 
1-3 hours
Cost: $50-$100
Software: Visual Basic or Visual C# Express Editions
Hardware: 
Download: 

C# Download
VB Download







Part 1

Part 2

Part 3&amp;nbsp;
Video Tutorial Part 3 

 
&amp;nbsp; 


Download Video  
In the first two videos, I showed you how to control your lights from remote light switches and from your computer. In this video, I&#39;ll show you how to control your computer from light switches, motion detectors, alarm switches, and any other X10 transmitting
 device. If you haven&#39;t watched the first two videos, watch them before this video. They provide important background on X10 technologies and show you how to connect your computer to an X10 home power-line network.
 
To complete this project, you will need at least one X10 transmitter and a 
CM11a. The CM11a interfaces between your computer and your home power-line network, however, I couldn&#39;t find an .NET Framework library that would interpret incoming serial signals from the CM11a. So, with the help of
a serial port sniffer, I created my own .NET Framework library that can receive (but not send) X10 signals. Incidentally, nothing would thrill me more than if someone extended or improved my
 X10 library, or simply borrowed my code to write something better.  
With the help of my library and a tool such as 
Microsoft Visual Basic 2005 Express Edition or 
Microsoft Visual C# 2005 Express Edition, your computer can respond to real-world events. Anything that can trigger an X10 transmission can trigger a response from your computer. Examples of events include:
 

Flipping a light switch Detecting motion Opening a door Opening a window Flooding in your basement Temperatures dropping below freezing 
As proof-of-concept, I created a project (available in both 
C# and 
Visual Basic) that verbally speaks Engadget headlines when I flip the light switch in my office. Don&#39;t limit yourself to my example: you can use the technologies in this project in limitless ways, including developing
 a custom security or environmental monitoring system. To trigger events when someone opens a door or window, or during flooding or freezing, connect a
security or 
environmental sensor to an X10 PowerFlash interface.
 
Besides X10, my example uses two interesting technologies: Really Simple Syndication (RSS) and speech synthesis. RSS is an application-friendly way to retrieve headlines and newsfeeds from websites such as
Download Squad, 
MSDN, and our very own 
Coding4Fun. With RSS and 
Jerry Maguire&#39;s RSS Framework, you can add news-processing capabilities to an application with just a few lines of code.
 
Speech synthesis is provided by 
Microsoft&#39;s own speech library, Interop.Speechlib.dll. With this library, a single line of code makes your computer talk:
 

Voice.Speak(&amp;quot;Hello, world!&amp;quot;&amp;quot;)



It&#39;s that simple, and when you understand the basics of writing code for the .NET Framework, you can combine these technologies in unique ways that meet your needs more perfectly than any software development company could imagine. Get started now by downloading
 either Microsoft Visual Basic 2005 Express Edition or
Microsoft Visual C# 2005 Express Edition, and then watching

my video. 
</description>
	<link></link>
	<language>en</language>
	<pubDate>Sat, 18 May 2013 23:55:20 GMT</pubDate>
	<lastBuildDate>Sat, 18 May 2013 23:55:20 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Controlling Your Computer with X10: Adding Text-To-Speech</title>
		<description>
			<![CDATA[ <p>Summer is just around the corner, with lots of free time to explore new ideas. Here are some fun ways</p><p>posted by NZ Academic Developer Student Blog</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech#c633144528000000000</link>
		<pubDate>Fri, 11 May 2007 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech#c633144528000000000</guid>
		<dc:creator>NZ Academic Developer Student Blog</dc:creator>
	</item>
	<item>
		<title>Re: Controlling Your Computer with X10: Adding Text-To-Speech</title>
		<description>
			<![CDATA[ <p>You can also easily add &quot;text to color&quot; with the SDK and ambient light system from <a rel="nofollow" target="_new" href="http://www.a-r-e.nl">http://www.a-r-e.nl</a></p><p>Comes with light alert for events under Windows too!!</p><p>posted by lightsaber</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech#c633160080000000000</link>
		<pubDate>Tue, 29 May 2007 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech#c633160080000000000</guid>
		<dc:creator>lightsaber</dc:creator>
	</item>
	<item>
		<title>Re: Controlling Your Computer with X10: Adding Text-To-Speech</title>
		<description>
			<![CDATA[ <p>Hello, </p><p>I am looking for some thing through which i can lock and unlock a room door or open and close it can you please tell me if you have any solution.</p><p>posted by Farhan</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech#c633169584000000000</link>
		<pubDate>Sat, 09 Jun 2007 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech#c633169584000000000</guid>
		<dc:creator>Farhan</dc:creator>
	</item>
	<item>
		<title>Re: Controlling Your Computer with X10: Adding Text-To-Speech</title>
		<description>
			<![CDATA[ <p>This is cool. &nbsp;A friend of mine had this stuff set up so he could control his music with his voice. &nbsp;</p><p>posted by Scott</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech#c633195504000000000</link>
		<pubDate>Mon, 09 Jul 2007 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech#c633195504000000000</guid>
		<dc:creator>Scott</dc:creator>
	</item>
	<item>
		<title>Re: Controlling Your Computer with X10: Adding Text-To-Speech</title>
		<description>
			<![CDATA[ <p>your stuff is so cool i am just starting out learn i can see alot of use for this stuff</p><p>posted by jr</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech#c633338964000000000</link>
		<pubDate>Sat, 22 Dec 2007 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech#c633338964000000000</guid>
		<dc:creator>jr</dc:creator>
	</item>
	<item>
		<title>Re: Controlling Your Computer with X10: Adding Text-To-Speech</title>
		<description>
			<![CDATA[ <p>how to hook bed room lights to alarm to come on at alarm time</p><p>posted by jr</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech#c633338964000000000</link>
		<pubDate>Sat, 22 Dec 2007 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Controlling-Your-Computer-with-X10-Adding-Text-To-Speech#c633338964000000000</guid>
		<dc:creator>jr</dc:creator>
	</item>
</channel>
</rss>