Hello;
I'm trying to convert me and Dodicat's Five Deck Maverick to FB Linux.
To get it to speak you need to download flite ( festival lite )
I'm having trouble with the shell command.
text = "you lost"
shell( "echo ""text"" | flite" ) ----doesn't work it says "text"
shell( "echo text | flite" ) ----doesn't work it says "text"
How do you pass a string to the shell ??
Linux SHELL cmd
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: Linux SHELL cmd
text is a string var so you have to concatenate it
shell( "echo " & text & " | flite")
var a = "hello"
var b = "world"
print a & " " & b
Joshy
shell( "echo " & text & " | flite")
var a = "hello"
var b = "world"
print a & " " & b
Joshy
Re: Linux SHELL cmd
@D.J.Peters
Thank you!!
Got it working..
text and text_w_l
shell( "echo " & text & text_w_l & " | flite")
Thank you!!
Got it working..
text and text_w_l
shell( "echo " & text & text_w_l & " | flite")