Making your Computer talk with PowerShell

text to speech

I’ve been playing around a bit with Microsoft’s built in text to speech capability, and if you haven’t seen it, it really is fun to play with. Windows has had the capability to do text to speech for a while, Windows 7 comes with a female voice named “Anna”, while Windows 8 has the capability to use several different voices (and languages I think).

It is extremely easy to try this out in PowerShell. Simply open Powershell on your computer and type in the following line:

(New-Object –ComObject SAPI.SPVoice).Speak(“This is a test”)

Your computer will immediately speak whatever text is in the parenthesis.

Sometimes the words don’t come out quite right, so you need to do a little bit of phonetic-eze to get them to sound better, like so:

(New-Object -ComObject SAPI.SPVoice).Speak(“Owh Nohs I have been hackered by the North Koreans”)

Or the ever famous:

(New-Object -ComObject SAPI.SPVoice).Speak(“You can’t connect to the inter net? it must be a Chinese a- Pea Tea”)

For more information and how to access the multiple voices in Windows 8, check out this excellent blog article.

Advertisements

Software Developer’s Journal “R” Language Issue

Our friends over at Software Developer’s Journal have just released an entire issue devoted to “R” language.

“R is an open source object oriented programming language that supports statistical computing and high quality graphics. Its roots are in the S language, developed by John Chambers while at Bell Labs and may be considered as an accent of the S language. R was originated by Ross Ihaka and Robert Gentleman of the University of Auckland in New Zealand.”

I know there are a lot of technical professionals that are avid followers of CyberArms, so I thought this might be of interest.

Check out these topics:

R Statistical & Graphical Language – David Guy
Graphics in R – Norman Matloff
Writing fast R Code – Norman Matloff
Parallel R – Norman Matloff
Multi Agent System with R – André Dias
R Data Manipulation – Luciano Selzer
R Graphics: Visualizing Time Series – Joshua Wiley
Regression (Linear Modeling) – Mark Gardener
Crunchbase analysis using MongoDB and R – Anastasiia Kornilova
The Basics of Programming and Statictical Analysis in R – Christopher Steven Marcum
R programming Language – Jennifer Urbano Blackford
R Language Definition – Richard A. Becker
Programming in R – Thomas Girke
Rpython, a package for calling Python from R – Carlos J. Gill Bellosta
Getting Started with R – R. Kent Dybvig
Going Further – R. Kent Dybvig
Records – R. Kent Dybvig
For and the use of vectors in R – Hans Ekbrand
Splitting a dendrogram in non-linear fashion using R – Jaynal Abedin
Using the R language to calculate cause of death co-occurrence – Jim Lemon
Using R in combination with Adobe Illustrator CS6 for professional graphics output – Christoph Scherber
Object, Class and Method in R – Kishor Kumar Dias
Detecting Structural Changes in Time Series Data Using R – Bharat Upadrasta, Prabakar Rajasekaran, Zubin Dowlaty
High Performance Scoring System Using R – Ganesh Moorthy, Nandakishor Koka and Zubin Dowlaty
Tips on Computing With Big Data in R – Lee Edlefsen and Susan Ranney

Check it out!