<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>kichik's blog &#187; ron</title>
	<atom:link href="http://kichik.net/tag/ron/feed/" rel="self" type="application/rss+xml" />
	<link>http://kichik.net</link>
	<description>Random incoherent rambling about stuff</description>
	<lastBuildDate>Fri, 29 Jul 2011 19:41:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Russian Conversation Synthesizer</title>
		<link>http://kichik.net/2009/08/07/russian-conversation-synthesizer/</link>
		<comments>http://kichik.net/2009/08/07/russian-conversation-synthesizer/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 05:10:45 +0000</pubDate>
		<dc:creator>kichik</dc:creator>
				<category><![CDATA[Friends]]></category>
		<category><![CDATA[ilya]]></category>
		<category><![CDATA[neocleus]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ron]]></category>
		<category><![CDATA[russian]]></category>

		<guid isPermaLink="false">http://kichik.net/?p=115</guid>
		<description><![CDATA[Inspired by our dear friend Ilya, my friend Ron has engineered a little Python script to simulate Russian phone chats with a little help from Microsoft Sam. Ron has slaved over this task for a whole grueling 5 minutes. We proudly named our magnificent product RCS &#8211; Russian Conversation Synthesizer. Not for the faint of [...]]]></description>
			<content:encoded><![CDATA[<div><p>Inspired by our dear friend Ilya, my friend Ron has  engineered a little <a href="http://python.org">Python</a> script to simulate Russian phone chats with a little help from Microsoft Sam. Ron has slaved over this task for a whole grueling 5 minutes. We proudly named our magnificent product RCS &#8211; Russian Conversation Synthesizer.</p>
<p>Not for the faint of heart&#8230;</p>
<pre class="python"><span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">random</span>
<span style="color: #ff7700;font-weight:bold;">import</span> win32com.<span style="color: black;">client</span>
&nbsp;
speak = win32com.<span style="color: black;">client</span>.<span style="color: black;">Dispatch</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Sapi.SpVoice'</span><span style="color: black;">&#41;</span>
speak.<span style="color: black;">Volume</span> = <span style="color: #ff4500;">100</span>
speak.<span style="color: black;">Rate</span> = <span style="color: #ff4500;">6</span>
speak.<span style="color: black;">Voice</span> = speak.<span style="color: black;">GetVoices</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Name=Microsoft Sam'</span><span style="color: black;">&#41;</span>.<span style="color: black;">Item</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">while</span> <span style="color: #008000;">True</span>:
  speak.<span style="color: black;">Speak</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">random</span>.<span style="color: black;">choice</span><span style="color: black;">&#40;</span><span style="color: black;">&#91;</span><span style="color: #483d8b;">&quot;blat&quot;</span>, <span style="color: #483d8b;">&quot;huui&quot;</span>, <span style="color: #483d8b;">&quot;suukkaa&quot;</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span></pre>
<p>This lovely script would typically generate an authentic conversation such as:</p>
<blockquote><p>suukkaa blat blat huui blat suukkaa</p></blockquote>
</div>]]></content:encoded>
			<wfw:commentRss>http://kichik.net/2009/08/07/russian-conversation-synthesizer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

