Import text to speech script
Hi,
I am using Adobe Captivate4. I would like to know whether is there any provision of importing the text as speech script and then convert to speech to add audio to the slide?
Hi Rodward,
Thanks for your reply.
This is really helpful for editing the CC text rather than editing slide by slide.
But my question is about editing the speech text in similar way.
Whether we can edit all the speech text in one document, which we wish to have as voice-over in each slide and then import. So that the modified voice-over text will be inserted in respective slides and we can have voice-over(audio).
Similar Messages
-
Import Text Data to text fields with folder level script
I am using Adobe 9 professional and have a folder level javascript to import text into existing fields of a pdf.
There are multiple fields with multiple rows of data to be imported.
The folder level script is not working (but there are no errors in the console showing when run)
I have manually tested opening the text file with the following code in the console and the text file opens and populates the text fields, so the text file must be correct:
this.importTextData();
The following code is the folder level script which is not working:
function mailmergeFunction()
// Import the first row of data from "Mailmerge.txt"
this.importTextData("/h/mail merge/Jo Smith's Things/Mailmerge.txt", 0)
if (typeof cnt == "undefined") cnt = 0;
this.importTextData("/h/mail merge/Jo Smith's Things/Mailmerge.txt", cnt++ % 4)
app.trustedFunction(mailmergeFunction);
app.addToolButton({cName: "Mail merge",cExec: "mailmergeFunction()",cTooltext: "Mail Merge",cEnable: true,nPos: 14});
If anyone can please provide some assistance, it will be most appreciated thanks.Working fine now, changed the location of the file path - could have been something to do with having an apostrophe.
function mailmergeFunction()
app.beginPriv()
// Import the first row of data from "Mailmerge.txt"
this.importTextData("/h/mail merge/Mailmerge.txt", 0)
if (typeof cnt == "undefined") cnt = 0;
this.importTextData("/h/mail merge/Mailmerge.txt", cnt++ % 4)
app.endPriv()
app.trustedFunction(mailmergeFunction);
app.addToolButton({cName: "Mail merge",cExec: "mailmergeFunction()",cTooltext: "Mail Merge",cEnable: true,nPos: 14});
Thank you for your assistance George, much appreciate your help. -
How can i import abbreviations in text to speech without using voice over?
Hi, I have recently discoverd text to speech on my macbook, and I like what it can do. I would like to edit the way it pronounces some abbreviations. I discovered this was possible with voiceover. I would like to do this even when voice over is turned off so I can highlight a text i want to read on a pdf and it would read everything as I want it to. Maybe there is a third party app that makes this possible?(This could come in handy when I want something to use it for biology books where there are a lot of abbreviations used, like ADP/ATP/NHDAP/...)
Hi,
You can load your data automatically in the Multisim word generator. Follow these steps:
- Save your data file (in excel .xslx ir .csv format) on your computer
- Change the extension of the file to ".dp"
- Double-click the word generator in Multisim and click on Set...
- In the Settings dialog box, click on Load and then Accept
- This will prompt you to select the .dp file you have on your computer, select it and you're good to go
However, in Multisim you have the option of creating your own custom simulation analysis and instrument.
I will try creating the instrument and send it back to you but it might take some time.
Multisim and LabVIEW are very powerful in test automation, with the custom instruments you create for Multisim you don't need to export your data file into excel from LabVIEW (or MathCAD or other tools) and then reload it into Multisim. The test procedure is automated instead.
Please check this reference design about automated simulation
http://zone.ni.com/devzone/cda/tut/p/id/7825
Here is how you can create your own custom measurement tool in Multisim and LabVIEW, but as I mentioned, I will create the word generator and come back to you anyways
http://zone.ni.com/devzone/cda/tut/p/id/5635
Let me know if you have any questions.
Mahmoud W
National Instruments -
Importing text file (with file names) into Automator.. is it possible?
Hello all,
I have been working with Windows Batch files for my line of work. I have a couple of file names in a text file (a column), which I want to copy from one folder of one hdd to another folder on a different hdd. I have been trying to do this kind of work with a Mac. I already know how you copy and rename files in automator (which isn't difficult, of course) but you have to 'select' the files in the finder first (with get specified items).
But the only way i see that you can specify items is by selecting them... is there a way to import a text file with all the file names instead of selecting all the file names manually?
or is there an AppleScript alternative which I can use to import the text file (or just copy into applescript) and run before the query's of copying and renaming the files? I am kind of new to Apple programming.
The text file looks like this:
image1.jpg
image2.jpg
etc..
so there has to be a command to: 'goto' a specific folder as well.
Thanks in advance!You can import text files, but if they are just names you will need an additional action to add the source folder path. A *Run AppleScript* action can be used, for example:
Tested workflow:
1) *Ask for Finder Items* {Type: files } -- choose the text file containing the names
2) *Combine Text Files* -- this gets the text file contents
3) *Filter Paragraphs* { return paragraphs that are not empty } -- skip blank lines
4) *Run AppleScript* -- copy and paste the following script:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
font-weight: normal;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 680; height: 340px;
color: #000000;
background-color: #FFEE80;
overflow: auto;"
title="this text can be pasted into an Automator 'Run AppleScript' action">
on run {input, parameters} -- add folder path
add the specified folder path to a list of file names
input: a list of text items (the file names)
output: a list of file paths (aliases)
set output to {}
set SkippedItems to {} -- this will be a list of skipped items (errors)
set SourceFolder to (choose folder with prompt "Choose the folder containing the file names") as text -- this is the folder containing the names
repeat with AnItem in the input -- step through each name in the input
try
set AnItem to SourceFolder & AnItem -- add the prefix
set the end of the output to (AnItem as alias) -- test
on error number ErrorNumber -- oops
set ErrorNumber to (" (" & ErrorNumber as text) & ")" -- add the specific error number
set the end of SkippedItems to (AnItem as text) & ErrorNumber
end try
end repeat
ShowSkippedAlert for SkippedItems
return the output -- pass the result(s) to the next action
end run
to ShowSkippedAlert for SkippedItems
show an alert dialog for any items skipped, with the option to cancel the workflow
parameters - SkippedItems [list]: the items skipped
returns nothing
if SkippedItems is not {} then
set {AlertText, TheCount} to {"Error with AppleScript action", count SkippedItems}
if TheCount is greater than 1 then
set theMessage to (TheCount as text) & space & " items were skipped:"
else
set theMessage to "1 " & " item was skipped:"
end if
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
set {SkippedItems, AppleScript's text item delimiters} to {SkippedItems as text, TempTID}
if button returned of (display alert AlertText message (theMessage & return & SkippedItems) ¬
alternate button "Cancel" default button "OK") is "Cancel" then error number -128
end if
return
end ShowSkippedAlert
</pre>
5) *Copy Finder Items* { To: _your external drive_ } -
I need to reprogram the delete and enter key to the left side of a external keyboard for the ipad mini. I don't need the caps/lock or ctrl key. Due to a brain injury my daughter can only use her left hand to type. She also uses a text to speech app to verbalize all of her needs since her speech isn't intelligible any longer either. And her vision was significantly affected also, so the keyboard has to be mounted about 6 inches from her face. So to reach across the keyboard with her left hand to the right side delete and enter button is physically difficult and causes typing errors, which cause people to not understand what shes trying to say.
The best keyboard so far is the Zagg folio mini. I just had to make stickers to enlarge the letters on the key buttons.
Does anyone know how I can reprogram these two keys? Or where I can buy a wireless mini keyboard for Ipad made for lefthanders with these two functions on the left side. I have searched for days and days. It's sooooo important to me that she be able to contribute her voice again. Imagine if you got in a car accident and couldn't speak clearly any longer, but understood everything still. Thanks for any help and suggestions you all take the time to share with me. I really appreciate the kindness of strangers to help me help my daughter.
Sami's momSami\'s mom wrote:
I need to reprogram the delete and enter key to the left side of a external keyboard for the ipad mini.
You cannot. -
How to make a tts text-to-speech keyboard shortcut
Hi,
How do I make a tts text-to-speech keyboard shortcut
to control the OSX "Speech" available as a contextual menu
when you right-click selected text in Safari, TextEdit and other native apps
*Speech > Start Speaking*
*Speech > Stop Speaking*
I can get this far:
*System Preferences > Keyboard > Keyboard Shortcuts >*
I have low-vision and need this on as many as possible or all text running on my computer.
Less important: The "Speech" contextual menu is not available right-clicking text in Google Chrome. I could sure use it there too.
THANKS!If you want it turned on permanently open Universal Access preferences, click on the Seeing tab, turn on VoiceOver. Click on the VoiceOver Application button for more configuration options.
There's also a shortcut option for TTS in the Speech preferences. -
Text-to-speech no longer working in any PDF apps in Mac 10.8.5.
Text-to-speech is no longer working in any PDF apps in Mac 10.8.4/5. Does anyone know the software component that passes highlight text over to the speech synthesiser? How is this process different in PDF's compared to any other text format?
So far I have tried Preview, Skim, PDFView, Safari, Evernote and Adobe Reader with the result: silence. The only defference being Adobe Reader which speaks the name of the document and not the highlighted text. I've re-applied the Mac OS10.8.5 como-update, fixed prefs, ran FSCheck and changed user. I've tried every method of triggering the text-to-speech function (including custom scripts). Text-to-speech works perfectly in every other respect exept when working with PDF's. When Maveriks arrives I will do a clean install and rebuild my data manually which I'm pretty certain will fix the problem but it would be extremely rewarding to find an actual solution and learn something in the process.Rawr! I got it to work, sort of. I think I tried so hard because I hated the thought of using alsa-oss. And I discovered a couple bugs in spd-conf! Does anyone care? lol
Basically, I redid my TTS-related configs & put them under ~/ instead of /usr/share, and ran "festival --server" & "speech-dispatcher -s" as a normal user. I also added myself to the "audio" group somewhere along the line, but I don't think that was the issue.
I'm almost afraid to reboot, because, although speech-dispatcher can be started at boot-time through rc.conf's DAEMONS array, I don't think festival can---at least, not in the same way as it can on distros that have the script /etc/default/festival. I'm about to see if I can track down that file, and hope I don't break everything somehow.
KTTSMgr still doesn't see any synthesizers, but I got past the "dummy module" message. Now I'm hoping I'll get some help from someone who actually knows what to do (as opposed to me).
Take care, all
H
P.S One small complaint: Although my speechd.conf specified port 6561, speech-dispatcher's tests showed that it was looking for a connection on port 6560 first, before scanning to find the real port. I had to change to port 6560 to stop the behaviour, even though I never customized the port number in the first place.
Last edited by cautha (2010-05-10 10:53:55) -
How to 'import xml' in my script
Hi All,
Below "Script 1" is working fine, now I want to call the '.xml' file which was placed in Template folder(see script code).
How to import xml in 'New.indd' file("Line 27:-->var source = File(path + '/New.indd')".
Please add import xml code in 'Script 1"
Script 1:
var path = Folder.selectDialog ("Select folder");
if(path==null)
exit();
var files = path.getFiles(/\.(indd?|indt?)$/i);
if(files==0)
alert("There is no 'indd'/'indt' file in your folder");
exit();
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
try
myDocument = app.open(new File(files));
MasterpageScriptLabel();
TableCellStyleCreation();
myDocument.save(new File(path + "/New.indd"));
var folder = new Folder(path + '/Updated_Folder');
folder.create();
myDocument.close();
var source = File(path + '/New.indd');
var dest = new File(folder + '/New.indd');
source.copy(dest);
source.remove();
catch(e)
alert ("Your folder permissible only one file of 'INDD' or 'INDT' file");
exit();
function MasterpageScriptLabel()
var myDoc=app.activeDocument;
var myXMLElement=myDoc.xmlElements[0];
if(myXMLElement.isValid)
var myParentStory=myXMLElement.parentStory;
var myTextContainers=myParentStory.textContainers;
for(var i=0;i<myTextContainers.length;i++)
myTextContainers[i].label="S_TF";
var myDoc=app.activeDocument;
var mspreads=myDoc.masterSpreads;
for (i=0;i<mspreads.length;i++)
if(mspreads[i].textFrames.length>1)
var txfmlength=mspreads[i].textFrames;
for (j=0;j<txfmlength.length;j++)
if(txfmlength[j].nextTextFrame!=null)
{txfmlength[j].label="S_TF";}
if(txfmlength[j].previousTextFrame!=null)
{txfmlength[j].label="S_TF";}
function TableCellStyleCreation()
var cestyle = myDocument.cellStyles;
var array = ["TBL_COLH", "TBL_BODY"];
var i = array.length;
while(i--)
try{
var style = myDocument.cellStyles.add();
style.name = array[i++];
catch(e)
style.remove();
alert("'" + array[i-1] + "'"+ " Already exists in the document.")
i--;
main();
function main(){
var progress_win = new Window ("palette");
var progress = progress_bar(progress_win, 2, 'Processing ... Completed');
delay(1);
progress.value = progress.value+1;
delay(1);
progress.parent.close();
// delay function found here
//found here http://www.wer-weiss-was.de/theme157/article1143593.html
function delay(prmSec){
prmSec *= 1000;
var eDate = null;
var eMsec = 0;
var sDate = new Date();
var sMsec = sDate.getTime();
do {
eDate = new Date();
eMsec = eDate.getTime();
} while ((eMsec-sMsec)<prmSec);
* Taken from ScriptUI by Peter Kahrel
* @param {Palette} w the palette the progress is shown on
* @param {[type]} stop [description]
* @return {[type]} [description]
function progress_bar (w, stop, labeltext) {
var txt = w.add('statictext',undefined,labeltext);
var pbar = w.add ("progressbar", undefined, 1, stop);
pbar.preferredSize = [300,20];
w.show ();
return pbar;
by
hasviDECLARE @x xml=N'
<Jobs>
<Job>
<JobCode>123</JobCode>
<JobTitle>Years</JobTitle>
<JobSubCode>
<div>
<Ol>
<li>2001</li>
<li>2002e</li>
<li>2003</li>
<li>2004</li>
</Ol>
</div>
</JobSubCode>
</Job>
</Jobs>'
SELECT J.c.value('(JobCode/text())[1]', 'varchar(10)') AS JobCode,
J.c.value('(JobTitle/text())[1]', 'nvarchar(40)') AS JobTitle,
L.c.value('.', 'varchar(10)') AS Years
FROM @x.nodes('/Jobs/Job') AS J(c)
CROSS APPLY J.c.nodes('JobSubCode/div/Ol/li') AS L(c)
Erland Sommarskog, SQL Server MVP, [email protected] -
I have a acrobat reader, can I import text delimited data format to a PDF Form so that it can auto fill into forms that was created? If not, what about FDF and XML data
Yes, you can do all of that via Tools - Forms - More Form Options - Import Data, if you have Acrobat.
If you only have the free Reader then you can still do it, but it requires a script. -
Captivate 4 text to speech function
I just downloaded the trial version for Captivate 4. I
specifically wanted to see the new text to speech function that
they have added to it. When I downloaded it and tried to use it, I
received an error message that stated "Unable to decode and import
the selected wav/mp3 file". Is anyone familiar with this?This did work and my Captivate is working great!
Thank you!
JPCaptivate <[email protected]> wrote:
Hi,
Please update your Captivate 4 application by installing the latest patch available. To install patch, launch Captivate and follow menu items "Help > Update". Captivate 4 patch update will be recognized and installed on your system.
Once patch is installed, try to record the same scenario. Do let us know if the recording succeeds for you.
Thanks
Jayashree
http://blogs.adobe.com/captivate
> -
Need advice about text to speech
It doesn't appear that the built in text to speech functionality will do what I need it to. The voice I need for a project is the popular Steven Hawking voice. I need to to be able to speak back a script that I've written and be able to record it in some sort of audio format that I can use on the internet.
Does anybody have any advice?
Thanks.Really? I don't have Snow Leopard yet, but under Leopard both Fred and Bruce (well more Fred) sound a lot like what I remember Steven Hawking sounds like. Maybe slow it down one tick below "normal."
Have they removed those voices from SL?
As for recording I think you could use SoundFlower and Audacity. Both are free -- not sure if either have been updated for SL yet.... -
IPCC 8.0: Using Unity Text to Speech functionality
I wonder if you can use the Text to Speech functionality native to Unity to read a txt file containing string from a script IPCC.
The IPCC native TTS only read certain variables but can not read variables String.
Thanks
Leer fonéticamente
Diccionario - Ver diccionario detalladoI'm not going to say it's not possible, I'm sure with lots of time, resources, and duct tape you could come up with something. However, Unity is not really a peripheral (IVR, PBX, etc) so you're not going to be able to easily utilize it's funcationality within UCCE.
david -
Hi guys,
I pretend to work nice and tidy with text. I decided to work with Paragraph Styles as much as i can. I will use
Font: Mercury Text
Size: 10,5 pt
Leading: 13 leading
Font Style: Regular
However, the word file has not a consistent Style Formatting and include various Italics and Bold fonts inside. If i import the text i can select all and then apply Mercury Text which will allow me to keep my Italics and Bold characters. I cannot make a Parragraph style without assigning a Regular/Italic or Bold style within. Any Parragraph Style will override my imported italics bolds and so on.
Maybe there is a easier solution to this. Any ideas?
Thanks,
SebsDepending on what version - CS2, CS3, CS4 use Preservelocalformatting.jsx http://www.indesignsecrets.com/downloads/PreserveLocalFormatting.jsx
Or PREPTEXT.JSX http://forums.adobe.com/thread/429756
How To
http://indesignsecrets.com/how-to-install-scripts-in-indesign.php
In regards to the first link - copy the text to Notepad or TextWrangler (not word or other processor) and save it as a .jsx file
When you import text to InDesign, imeddiately run the script on the text. It will apply character styles to the text. Then you just have to apply your paragraph style. -
How can you save "text to speech" as file?
Does anyone know how to save "text to speech" as an audio file?
Hi Lizzy Bee,
Roger Wilmut has a free Script here...
http://www.wilmut.webspace.virginmedia.com/notes/speech.html
Automator instructions...
http://www.ehow.com/how_2170731_turn-text-file-audiobook-mac.html
http://automator.us/leopard/examples/ex07/index.html -
I need a Text to Speech conversion program
Hi everyone,
I need a program for conversion of text to speech(TTS) in java. If you have this program or website address. please send me as much fast as possibleOkay, I wrote this a looong time ago with intentions to only use as a joke (sorry if it is not well structured)...
I turn the speakers up very loud in my cubicle and make my computer call out to other people in the office... "Help Help, someone help me... " or "Joe... why do you abuse me so?" you get the idea... hehe.. anyway, two Classes: Gui and SpeechModule. Enjoy, I have. : )
GUI
import javax.swing.JFrame;
import javax.swing.JButton;
import java.awt.BorderLayout;
import oracle.jdeveloper.layout.XYLayout;
import oracle.jdeveloper.layout.XYConstraints;
import java.awt.Insets;
import javax.swing.JTextField;
import javax.swing.JTextArea;
import javax.swing.JScrollPane;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.event.WindowListener;
import java.awt.event.WindowEvent;
public class Gui extends JFrame {
protected SpeechModule speechModule = new SpeechModule();
JButton cmdSpeak = new JButton();
XYLayout xYLayout1 = new XYLayout();
JScrollPane jScrollPane1 = new JScrollPane();
JTextArea txtWords = new JTextArea();
JTextField txtPitch = new JTextField();
JTextField txtShift = new JTextField();
public Gui() {
super("Java Speech");
try {
jbInit();
} catch(Exception e) {
e.printStackTrace();
public static void main(String[] args) {
Gui gui = new Gui();
gui.show();
private void jbInit() throws Exception {
this.getContentPane().setLayout(xYLayout1);
this.addWindowListener(new java.awt.event.WindowAdapter()
public void windowClosing(WindowEvent e)
this_windowClosing(e);
cmdSpeak.setText("Speak");
cmdSpeak.setActionCommand("cmdSpeak");
cmdSpeak.setMargin(new Insets(0, 0, 0, 0));
cmdSpeak.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
cmdSpeak_actionPerformed(e);
xYLayout1.setWidth(454);
xYLayout1.setHeight(327);
txtWords.setText("Hello. Hello. Testing one two three.");
txtWords.setSelectionEnd(1);
txtPitch.setText("10");
txtShift.setText("100");
jScrollPane1.getViewport().add(txtWords, null);
this.getContentPane().add(txtShift, new XYConstraints(40, 260, 55, 25));
this.getContentPane().add(txtPitch, new XYConstraints(40, 220, 55, 25));
this.getContentPane().add(jScrollPane1, new XYConstraints(50, 40, 360, 150));
this.getContentPane().add(cmdSpeak, new XYConstraints(160, 230, 75, 25));
this.setSize(600, 400);
void cmdSpeak_actionPerformed(ActionEvent e) {
System.out.println("pitch" + Float.valueOf(txtPitch.getText()).floatValue());
System.out.println("pitchShift" + Float.valueOf(txtShift.getText()).floatValue());
speechModule.setPitch( Float.valueOf(txtPitch.getText()).floatValue() );
speechModule.setPitchShift( Float.valueOf(txtShift.getText()).floatValue() );
speechModule.speak(txtWords.getText());
private void this_windowClosing(WindowEvent e) {
System.exit(0);
SpeechModule
import com.sun.speech.freetts.Voice;
import com.sun.speech.freetts.audio.JavaClipAudioPlayer;
import com.sun.speech.freetts.en.us.CMULexicon;
public class SpeechModule {
public static Class voiceClass = null;
static {
try {
//voiceClass = Class.forName("CMUDiphoneVoice");
voiceClass = Class.forName("com.sun.speech.freetts.en.us.CMUDiphoneVoice");
} catch (ClassNotFoundException cnfe) {
cnfe.printStackTrace();
private Voice voice = null;
public SpeechModule() {
try {
this.voice = (Voice) voiceClass.newInstance();
voice.setPitch(100);
voice.setPitchShift(10000);
} catch (InstantiationException ie) {
ie.printStackTrace();
} catch (IllegalAccessException iae) {
iae.printStackTrace();
voice.setLexicon(new CMULexicon());
voice.setAudioPlayer(new JavaClipAudioPlayer());
voice.load();
public void setPitch(float n){
voice.setPitch(n);
public void setPitchShift(float n){
voice.setPitchShift(n);
public void speak(String value) {
voice.speak(value);
}
Maybe you are looking for
-
Master/detail layout - how to have 'detail' hidden by default.
The 'master/detail layout' option for spry datasets are great but how can I get the page to load with all the 'details' hidden until the user selects from the 'Master' column to reveal the details?
-
Sorry, this is long and involved, but here's my story: I'm using PSE4 (yes, 4!) on an old desktop PC running Win XP. I know I'm on borrowed time, so I need to make some changes (soon!). I'm fairly comfortable and competent with Windows and PSE (at
-
Tax tobe calculted on payments
hi sap gurus i need ur help regarding taxation as our client needs the taxes to be calculated on payments insted of invoice. i tried it by selecting the tax code option and selecting the calaculate tax but is giving the same amt with calculating the
-
Permissions problem with external HD
Prior to updating to 10.4.3, I was able to write to any external HD to transfer large files betweek my iBook and a windows PC. After upgrading, I am no long able to use 3 out of the 4 external HDs that I used to be able to. I always get an error mess
-
Fireworks batch command changes original colors
Is anyone having this problem? When I run a batch command on CMYK jpgs, it changes the files to RGB mode and in some cases the colors are drastically changed. I am aware that the 2 modes will display colors "slightly" different, and I don't mind the