<?xml version="1.0" encoding="utf8"?>
<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"
	>

<channel>
	<title>daisyrust.com &#187; speech</title>
	<atom:link href="http://www.daisyrust.com/category/speech/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.daisyrust.com</link>
	<description>digital art hacks - quartz composer - creative code - exhibition</description>
	<pubDate>Mon, 18 Aug 2008 12:30:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Controlling Quartz Composer with Speech Commands</title>
		<link>http://www.daisyrust.com/2006/10/11/controlling-quartz-composer-with-speech-commands/</link>
		<comments>http://www.daisyrust.com/2006/10/11/controlling-quartz-composer-with-speech-commands/#comments</comments>
		<pubDate>Wed, 11 Oct 2006 10:44:37 +0000</pubDate>
		<dc:creator>ian grant</dc:creator>
		
		<category><![CDATA[creative code]]></category>

		<category><![CDATA[digital art hacks]]></category>

		<category><![CDATA[general]]></category>

		<category><![CDATA[quartz composer]]></category>

		<category><![CDATA[speech]]></category>

		<guid isPermaLink="false">http://www.daisyrust.com/2006/10/11/controlling-quartz-composer-with-speech-commands/</guid>
		<description><![CDATA[First draft:

Here we go! I did this once then failed to remember how I did it - and I'm not surprised - because the functionality to attach a speech command to an application specific keyboard command "Define a Keyboard Command" or to trigger specific key press can only be accessed by SPEAKING a command - highlighted below in the Speech Commands window.]]></description>
			<content:encoded><![CDATA[<p>First draft:</p>
<p>Here we go! I did this once then failed to remember how I did it - and I&#8217;m not surprised - because the functionality to attach a speech command to an application specific key-press can only be accessed by SPEAKING the command &#8220;Define a Keyboard Command&#8221; - highlighted below in the Speech Commands window.<span id="more-48"></span></p>
<p><a href="http://www.daisyrust.com/wp-content/uploads/2006/10/OmniDazzleScreenSnapz002-2.jpg" onclick="window.open('http://www.daisyrust.com/wp-content/uploads/2006/10/OmniDazzleScreenSnapz002-2.jpg','popup','width=962,height=797,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=yes,left=0,top=0');return false"><img src="http://www.daisyrust.com/wp-content/uploads/2006/10/OmniDazzleScreenSnapz002-2-tm.jpg" height="203" width="244" border="1" hspace="4" vspace="4" alt="Omnidazzlescreensnapz002-2" /></a></p>
<p>After speaking the command - the interface below appears letting you assign a key press / key combination:</p>
<p><a href="http://www.daisyrust.com/wp-content/uploads/2006/10/System%20PreferencesScreenSnapz001.jpg" onclick="window.open('http://www.daisyrust.com/wp-content/uploads/2006/10/System%20PreferencesScreenSnapz001.jpg','popup','width=638,height=238,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=yes,left=0,top=0');return false"><img src="http://www.daisyrust.com/wp-content/uploads/2006/10/System%20PreferencesScreenSnapz001-tm.jpg" height="127" width="340" border="1" hspace="4" vspace="4" alt="System Preferencesscreensnapz001" /></a></p>
<p>Then main &#8220;Define keyboard command&#8221; window lets you associated the key-press with a spoken phrase. An option lets you limit the Speech Command to a single application (the current frontmost application at the time the command was spoken) or to be available in all applications.</p>
<p><a href="http://www.daisyrust.com/wp-content/uploads/2006/10/System%20PreferencesScreenSnapz002.jpg" onclick="window.open('http://www.daisyrust.com/wp-content/uploads/2006/10/System%20PreferencesScreenSnapz002.jpg','popup','width=638,height=191,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=yes,left=0,top=0');return false"><img src="http://www.daisyrust.com/wp-content/uploads/2006/10/System%20PreferencesScreenSnapz002-tm.jpg" height="100" width="334" border="1" hspace="4" vspace="4" alt="System Preferencesscreensnapz002" /></a></p>
<p>So: with Quartz Composer as the front-most application, invoke the &#8220;Define a Keyboard Command&#8221; Speech Command: I created speech commands for the words &#8220;Bored&#8221;, &#8220;Ecstasy&#8221;, &#8220;Frown&#8221;, &#8220;Smile&#8221; and &#8220;Wonder&#8221; and mapped them onto key-press &#8220;a&#8221; through to &#8220;e&#8221;. You can see them listed here in the &#8220;Speech Commands&#8221; window:</p>
<p><a href="http://www.daisyrust.com/wp-content/uploads/2006/10/Quartz%20ComposerScreenSnapz001a.jpg" onclick="window.open('http://www.daisyrust.com/wp-content/uploads/2006/10/Quartz%20ComposerScreenSnapz001a.jpg','popup','width=449,height=693,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=yes,left=0,top=0');return false"><img src="http://www.daisyrust.com/wp-content/uploads/2006/10/Quartz%20ComposerScreenSnapz001a-tm.jpg" height="360" width="230" border="1" hspace="4" vspace="4" alt="Quartz Composerscreensnapz001A" /></a></p>
<p>Then: I created a simple Quartz Composer composition attached here: with keyboard patch - that did stuff when letters &#8220;a&#8221; through to &#8220;e&#8221; were pressed: the demo presents text but you could easily set up commands to control video playback, switch between images, attempt interactive stories, etc&#8230; .</p>
<p>The Quartz Composer patch working:</p>
<p><a href="http://www.daisyrust.com/wp-content/uploads/2006/10/Quartz%20ComposerScreenSnapz001.jpg" onclick="window.open('http://www.daisyrust.com/wp-content/uploads/2006/10/Quartz%20ComposerScreenSnapz001.jpg','popup','width=1259,height=742,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=yes,left=0,top=0');return false"><img src="http://www.daisyrust.com/wp-content/uploads/2006/10/Quartz%20ComposerScreenSnapz001-tm.jpg" height="320" width="540" border="1" hspace="4" vspace="4" alt="Quartz Composerscreensnapz001" /></a></p>
<p>Download:  <a href="http://www.daisyrust.com/wp-content/uploads/2006/10/VoiceTest.qtz.zip">VoiceTest.qtz.zip</a> VoiceTest.qtz.zip</p>
<p>Switching off all unnecessary speech &#8220;Command Sets&#8221; and calibrating the microphone (every-time) increases the reliabiliy of &#8220;Speech Commands&#8221;.</p>
<p>I intend to test how reliable &#8216;continuous listening&#8217; is with a dedicated &#8216;line-in&#8217; microphone with different voices speaking commands. I&#8217;ll report back.</p>
<p>*******************************<br />
Ian Grant<br />
Lecturer in Digital Art<br />
*******************************</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daisyrust.com/2006/10/11/controlling-quartz-composer-with-speech-commands/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
