Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Speech synthesis in Mathematica 6

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89867] Speech synthesis in Mathematica 6
  • From: magma <maderri2 at gmail.com>
  • Date: Mon, 23 Jun 2008 02:47:47 -0400 (EDT)

In a 2006 message Purcell wrote:

There is a routine (probably by Neil Soiffer) given at
http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?
pageName=Speech
that works with Version 5.2. It uses LinkWrite, rather than
FrontEndExecute. I find this useful
for calling out status and warning messages from long calculations
that are running in the background. The "voice" code selects from
among the system installed voices that your OS provides.

Speak[x_,voice_Integer:1]:=(
LinkWrite[$ParentLink,SetSpeechParametersPacket[voice]];
LinkWrite[$ParentLink,SpeakTextPacket[x]]);

christopherpurc... at mac.com


This code works also in version 6 on Win Xp, however the voice
argument is not used and only a standard low quality male voice
speaks.

Does anybody know how to make Mathematica use other (third party maybe) voices
present in the OS?


  • Prev by Date: Weird Problem with Plot3D
  • Next by Date: Re: Mathematica performance improvements
  • Previous by thread: Weird Problem with Plot3D
  • Next by thread: Re: Speech synthesis in Mathematica 6