Content deleted Content added
Ian Wolfman (talk | contribs) Addition of a table for sample macro phrases. |
|||
Line 88:
===Macros===
[[File:WSRMacroOptions.png|thumb|160px|left|An Aero Wizard interface displaying options to create speech recognition macros.]]
WSR supports custom macros through a supplementary application by Microsoft that enables additional [[natural language processing|natural language]] commands.<ref name="WSRM">{{cite web |url=http://www.microsoft.com/en-us/download/details.aspx?id=13045 |title=Windows Speech Recognition Macros |publisher=[[Microsoft]] |work=Download Center |accessdate=June 29, 2015}}</ref><ref name="Ars">{{cite web |url=https://arstechnica.com/information-technology/2008/04/wsr-macros-extend-windows-vistas-speech-recognition-feature/ |title=WSR Macros extend Windows Vista's speech recognition feature |last=Protalinski |first=Emil |date=April 30, 2008 |publisher=[[Condé Nast]] |work=[[ArsTechnica]] |accessdate=June 29, 2015}}</ref> As an example of this functionality, an email macro released by Microsoft enables a natural language command where a user can speak "send email to ''contact'' about ''subject''," which opens [[Microsoft Outlook]] to compose a new message with the designated contact and subject automatically inserted.<ref name="MicrosoftOutlook">{{cite web |url=http://blogs.msdn.com/b/robch/archive/2008/06/09/macro-of-the-day-send-email-to-outlookcontact.aspx |title=Macro of the Day: Send Email to [OutlookContact] |last=Chambers |first=Rob |date=June 9, 2008 |publisher=[[Microsoft]] |work=[[Microsoft Developer Network|MSDN]] |accessdate=June 26, 2015}}</ref> Microsoft has also released sample macros for the speech dictionary,<ref name="SpeechDictionaryMacro">{{cite web |url=http://blogs.msdn.com/b/robch/archive/2008/08/02/speech-macro-of-the-day-speech-dictionary.aspx |title=Speech Macro of the Day: Speech Dictionary |last=Chambers |first=Rob |date=August 2, 2008 |publisher=[[Microsoft]] |work=[[Microsoft Developer Network|MSDN]] |accessdate=September 3, 2015}}</ref> for Windows Media Player,<ref name="MediaPlayer">{{cite web |url=http://blogs.msdn.com/b/robch/archive/2008/07/01/macro-of-the-day-windows-media-player.aspx |title=Macro of the Day: Windows Media Player |last=Chambers |first=Rob |date=July 1, 2008 |publisher=[[Microsoft]] |work=[[Microsoft Developer Network|MSDN]] |accessdate=June 26, 2015}}</ref> for [[Microsoft PowerPoint]],<ref name="NextSlide">{{cite web |url=http://blogs.msdn.com/b/robch/archive/2008/06/03/macro-of-the-day-next-slide.aspx |title=Macro of the day: Next Slide |last=Chambers |first=Rob |date=June 3, 2008 |publisher=[[Microsoft]] |work=[[Microsoft Developer Network|MSDN]] |accessdate=September 3, 2015}}</ref> for [[speech synthesis]],<ref name="ReadThat">{{cite web |url=http://blogs.msdn.com/b/robch/archive/2008/05/28/macro-of-the-day-read-that.aspx |title=Macro of the Day: Read that |last=Chambers |first=Rob |date=May 28, 2008 |publisher=[[Microsoft]] |work=[[Microsoft Developer Network|MSDN]] |accessdate=June 26, 2015}}</ref> to switch between multiple microphones,<ref name="Microphone">{{cite web |url=http://blogs.msdn.com/b/robch/archive/2008/11/07/macro-of-the-day-microphone-control.aspx |title=Macro of the Day: Microphone Control |last=Chambers |first=Rob |date=November 7, 2008 |publisher=[[Microsoft]] |work=[[Microsoft Developer Network|MSDN]] |accessdate=June 30, 2015}}</ref> to customize various aspects of audio device configuration such as volume levels,<ref name="SpeakersMacro">{{cite web |url=http://blogs.msdn.com/b/robch/archive/2008/08/18/macro-of-the-day-mute-the-speakers.aspx |title=Macro of the Day: Mute the speakers! |last=Chambers |first=Rob |date=August 18, 2008 |publisher=[[Microsoft]] |work=[[Microsoft Developer Network|MSDN]] |accessdate=September 3, 2015}}</ref> and for general natural language queries such as "What is the weather forecast?"<ref name="WeatherForecast">{{cite web |url=http://blogs.msdn.com/b/robch/archive/2008/06/02/macro-of-the-day-tell-me-the-weather-forecast-for-redmond.aspx |title=Macro of the Day: Tell me the weather forecast for Redmond |last=Chambers |first=Rob |date=June 2, 2008 |publisher=[[Microsoft]] |work=[[Microsoft Developer Network|MSDN]] |accessdate=June 26, 2015}}</ref> "What time is it?"<ref name="ReadThat"/> and "What's the date?"<ref name="ReadThat"/>
{| class="wikitable mw-collapsible" style="margin-left: auto; margin-right: auto; border: none; font-size:80%; text-align: center;"
|-
! scope="col" | Application or item
! scope="col" colspan="8" | Sample macro phrases (''italics'' indicate substitutable words)
|-
| '''Microsoft Outlook''' || Send email
| Send email to
| Send email to ''Makoto''
| Send email to ''Makoto Yamagishi''
| Send email to ''Makoto Yamagishi about''
| Send email to ''Makoto Yamagishi about This week's meeting''
| Refresh Outlook email contacts
|-
| '''Microsoft PowerPoint''' || Next slide
| Previous slide
| Next
| Previous
| Go forward ''5'' slides
| Go back ''3'' slides
| Go to slide ''8''
|-
| '''Windows Media Player''' || Next track
| Previous song
| Play ''Beethoven''
| Play something by ''Mozart''
| Play the CD that has ''In the Hall of the Mountain King''
| Play something written in ''1930''
| Pause music
|-
| '''Microphones in Windows''' || Microphone
| Switch microphone
| ''Microphone Array'' microphone
| Switch to ''Line''
| Switch to ''Microphone Array''
| Switch to ''Line'' microphone
| Switch to ''Microphone Array'' microphone
|-
| '''Volume levels in Windows''' || Mute the speakers
| Unmute the speakers
| Turn off the audio
| Increase the volume
| Increase the volume by 2 times
| Decrease the volume by ''50''
| Set the volume to ''66''
|-
| ''' WSR Speech Dictionary''' || Export the speech dictionary
| Add a pronunciation
| Add that [''selected text''] to the speech dictionary
| Block that [''selected text''] from the speech dictionary
| Remove that [''selected text'']
| [''Selected text''] sounds like...
| What does that [''selected text''] sound like?
|-
| '''Speech Synthesis''' || Read that [''selected text'']
| Read the next 3 paragraphs
| Read the previous sentence
| Please stop reading
| What time is it?
| What's today's date?
| Tell me the weather forecast for ''Redmond''
|-
|}
Users and developers can create their own macros based on text transcription and substitution; application execution (with support for [[command-line interface#arguments|command-line arguments]]); keyboard shortcuts; emulation of existing voice commands; or a combination of these items. [[extensible markup language|XML]], [[JScript]] and [[VBScript]] are supported.<ref name="Modes"/> Macros can be limited to specific applications<ref name="Application">{{cite web |url=http://blogs.msdn.com/b/robch/archive/2008/06/30/making-a-speech-macro-application-specific.aspx |title=Making a Speech macro Application Specific |last=Chambers |first=Rob |date=June 30, 2008 |publisher=[[Microsoft]] |work=[[Microsoft Developer Network|MSDN]] |accessdate=September 3, 2015}}</ref> and rules for macros can be defined programmatically.<ref name="MicrosoftOutlook"/>
For a macro to load, it must be stored in a ''Speech Macros'' folder within the active user's ''[[My Documents|Documents]]'' directory. All macros are [[digital signature|digitally signed]] by default if a [[public key certificate|user certificate]] is available to ensure that stored commands are not altered or loaded by third-parties; if a certificate is not available, an administrator can create one.<ref name="WSRMacros">{{cite web |url=http://download.microsoft.com/download/F/6/B/F6B71555-D73F-4273-9217-7D872D59BE31/Windows%20Speech%20Recognition%20Macros%20Release%20Notes.docx |title=Windows Speech Recognition Macros Release Notes |date=2009 |format=DOCX |publisher=[[Microsoft]] |archiveurl=https://web.archive.org/web/20110930121421/http://download.microsoft.com/download/F/6/B/F6B71555-D73F-4273-9217-7D872D59BE31/Windows%20Speech%20Recognition%20Macros%20Release%20Notes.docx |archivedate=September 30, 2011 |accessdate=May 15, 2020}}</ref> Configurable security levels can prohibit unsigned macros from being loaded; to prompt users to sign macros after creation; and to load unsigned macros.<ref name="Application"/>
==Performance==
|