06-06-2009
Hi all,
I decided to call festival directly from the php script as shown below but it is not generating the wav file as it is supposed to.
$text2wave_cmd = sprintf("/home/susan/Desktop/new/festival/bin/text2wave audio/hello -o audio/hello.wav");
exec($text2wave_cmd);
However, when I execute the same command in the terminal as shown below it works
susan@susan-laptop:/var/www$ /home/susan/Desktop/new/festival/bin/text2wave audio/hello -o audio/hello.wav
Please help me.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to get the user input and execute a particular script based on the input provided.
For E.g. When I execute the script say Test.sh it should prompt "For which country I need to execute the script? (US/India)"
Based on the input as US or India from the user the execution of... (8 Replies)
Discussion started by: yoursdavinder
8 Replies
2. Shell Programming and Scripting
Hi,
I have a perl script which prints me the epoch value of a specific date and time given.Now I want to proceed to a next step ie i want to give the input at the time of execution.
I have to initialise the date and time values in the script before executing it.But now i want to give the date... (3 Replies)
Discussion started by: jyothi_wipro
3 Replies
3. Shell Programming and Scripting
Hello,
I'm running a perl script to execute a program through my Unix command line. The program requires a user input but I want to automatically have perl input the string. Is there a way to do this?
Thanks (1 Reply)
Discussion started by: leonard2352
1 Replies
4. Shell Programming and Scripting
Hi All,
Can we pass arguments while calling the perl script and as well as ask user input during execution of the script?
My program is as below:
I am passing arg1 and arg2 as argements to test.pl
]./test.pl arg1 arg2
Inside the test.pl I have :
print "Do you want a name ? (y/n) : ";... (2 Replies)
Discussion started by: jisha
2 Replies
5. Shell Programming and Scripting
If I want all user input to start with " : " if not display error
or what I asking is how to do if statement that control a first letter of string that we want to start with. and not worry about the rest
Thank (1 Reply)
Discussion started by: guidely
1 Replies
6. Shell Programming and Scripting
Hi, I want to list all file that match user input ( specified shell wildcard) but when I compile it dont list me
#!/usr/bin/perl -w
print "Enter Advance Search Function: ";
chomp ($func = <STDIN>);
my @files = glob("$func");
foreach my $file (@files)
{
print "$file\n";... (1 Reply)
Discussion started by: guidely
1 Replies
7. Programming
Hi gurus,
I have a requirement where I need to remotely run a perl script as another user.
Running the script locally as the required user is fine, however I need to su with the script due to filesystem permission issues. I do not want to update permissions on the remote server due to security... (5 Replies)
Discussion started by: melias
5 Replies
8. Shell Programming and Scripting
Please tell me how to write a perl script that asks the user to enter words and that passes them to a variable.
In bash, the "read" command would achieve such user interaction.
#!/bin/bash
read -p "Enter files: " vFiles
However, I am looking for perl version of something equivalent... (2 Replies)
Discussion started by: LessNux
2 Replies
9. Shell Programming and Scripting
Hello friends . I am newbie to perl scripting but still managed to write a code but i am stuck at a place where i need help . Below is the code and can someone help me in taking user input for changing the font size for a html table .Thank you in advance
#!/bin/ksh
echo " Enter the Directory... (4 Replies)
Discussion started by: ajayram_arya
4 Replies
10. Shell Programming and Scripting
I am creating a bash that uses perl . The below code closes before the input is entered. If I run the perl as a .pl it is fine. What am I doing wrong? Thank you :).
#!/bin/bash
cd 'C:\Users\cmccabe\Desktop\wget'
wget -O getCSV.txt http://xxx.xx.xxx.xxx/data/getCSV.csv
print... (4 Replies)
Discussion started by: cmccabe
4 Replies
LEARN ABOUT DEBIAN
festival
FESTIVAL(1) General Commands Manual FESTIVAL(1)
NAME
festival - a text-to-speech system.
SYNOPSIS
festival [options] [file0] [file1] ...
DESCRIPTION
Festival is a general purpose text-to-speech system. As well as simply rendering text as speech it can be used in an interactive command
mode for testing and developing various aspects of speech synthesis technology.
Festival has two major modes, command and tts (text-to-speech). When in command mode input (from file or interactively) is interpreted by
the command interpreter. When in tts mode input is rendered as speech. When in command mode filenames that start with a left parenthesis
are treated as literal commands and evaluated.
OPTIONS
-q Load no default setup files
--datadir <string>
Set data directory pathname
--libdir <string>
Set library directory pathname
-b Run in batch mode (no interaction)
--batch Run in batch mode (no interaction)
--tts Synthesize text in files as speech no files means read from stdin (implies no interaction by default)
-i Run in interactive mode (default)
--interactive
Run in interactive mode (default)
--pipe Run in pipe mode, reading commands from stdin, but no prompt or return values are printed (default if stdin not a tty)
--language <string>
Run in named language, default is english, spanish, russian, welsh and others are available
--server
Run in server mode waiting for clients of server_port (1314)
--script
<ifile> Used in #! scripts, runs in batch mode on file and passes all other args to Scheme
--heap <int> {1000000}
Set size of Lisp heap, should not normally need to be changed from its default
-v Display version number and exit
--version
Display version number and exit
BUGS
More than you can imagine.
A manual with much detail (though not complete) is available in distributed as part of the system and is also accessible at
http://www.cstr.ed.ac.uk/projects/festival/manual/
Although we cannot guarantee the time required to fix bugs, we would appreciated it if they were reported to
festival-bug@cstr.ed.ac.uk
AUTHOR
Alan W Black, Richard Caley and Paul Taylor
(C) Centre for Speech Technology Research, 1996-1998
University of Edinburgh
80 South Bridge
Edinburgh EH1 1HN
http://www.cstr.ed.ac.uk/projects/festival.html
6th Apr 1998 FESTIVAL(1)