Results 1 to 6 of 6

Thread: text to voice

  1. #1
    khiat is offline Member
    Join Date
    Dec 2010
    Posts
    17
    Rep Power
    0

    Unhappy text to voice

    Hello,
    Please, I need a program in java (source code) play the sounds, speak the sentences in a text file

    for example:
    I have a file sound.txt
    in this file there is the sentence "hellos"
    So the program in java
    he must say "hello"

  2. #2
    otacon's Avatar
    otacon is offline Member
    Join Date
    Dec 2010
    Posts
    24
    Rep Power
    0

    Default

    FreeTTS 1.2 - A speech synthesizer written entirely in the Java(TM) programming language

    This is a pretty cool free speech synthesizer which is fairly easy to install and use. I've used it a while ago, so I don't remember all the details, but I remember it worked just fine.
    --Otacon
    Somebody set up us the bomb.

  3. #3
    khiat is offline Member
    Join Date
    Dec 2010
    Posts
    17
    Rep Power
    0

    Default

    thans you, but i need (code) just a simple program in java
    please help me to find code please

    for example:
    I have a file sound.txt
    in this file there is the sentence "hellos"
    So the program in java
    he must say "hello"

    import java.io.File;
    //package for voice

    public class Test {
    public static void main(String[] args) throws Exception {
    // specify the file to play(voice)
    File soundFile = new File("C:/Users/caroline/Desktop/sound.txt");
    // i need instruction for load file

    //i need instruction for load the file into memory

    //i need instruction for play the file to voice
    voice.start();
    }
    }
    please help me to find code please and thanks you

  4. #4
    khiat is offline Member
    Join Date
    Dec 2010
    Posts
    17
    Rep Power
    0

    Unhappy texte to voice

    thans you, but i need (code) just a simple program in java

    Please, I need a program in java (source code) play the sounds, speak the phrases in a text file

    please help me to find code please

    for example:
    I have a file sound.txt
    in this file there is the sentence "hellos"
    So the program in java
    he must say "hello"

    import java.io.File;
    //package for voice

    public class Test {
    public static void main(String[] args) throws Exception {
    // specify the file to play(voice)
    File soundFile = new File("C:/Users/caroline/Desktop/sound.txt");
    // i need instruction for load file

    //i need instruction for load the file into memory

    //i need instruction for play the file to voice
    voice.start();
    }
    }
    please help me to find code please and thanks you

  5. #5
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by khiat View Post
    thans you, but i need (code) just a simple program in java

    Please, I need a program in java (source code) play the sounds, speak the phrases in a text file

    please help me to find code please
    ....
    please help me to find code please and thanks you
    We'll gladly help you fix code you've created, but if all you want is to "find the code", then you're going to have to Google for it.

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,184
    Rep Power
    19

    Default

    // i need instruction for load file

    //i need instruction for load the file into memory
    And you want code for TTS? Wow.

    Go through this:
    Lesson: Basic I/O (The Java™ Tutorials > Essential Classes)

    db

Similar Threads

  1. Voice recognition with TalkingJava SDK
    By elektronische in forum Advanced Java
    Replies: 4
    Last Post: 01-14-2011, 02:56 PM
  2. voice chat in java with sockets
    By krati in forum Networking
    Replies: 0
    Last Post: 05-12-2010, 09:17 AM
  3. Voice xml
    By dhaval.rajput.p in forum Advanced Java
    Replies: 4
    Last Post: 07-04-2009, 07:51 AM
  4. Voice Identification and verificaion using java
    By dhaval.rajput.p in forum Advanced Java
    Replies: 1
    Last Post: 07-04-2009, 06:32 AM
  5. How to start voice based application
    By pradnya in forum Sun Java Wireless Toolkit
    Replies: 3
    Last Post: 02-13-2009, 11:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •