Results 1 to 12 of 12

Thread: java sound

  1. #1
    nikkka is offline Member
    Join Date
    Mar 2011
    Posts
    45
    Rep Power
    0

    Default java sound

    i want to write a program which will transfer text into speech. i suppose, i'll need to record mp3/wav files and connect them to file, which will activate them one by one. all i ask, is some literature/documentation related with this subject.
    kind regards,
    nick

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,336
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by nikkka View Post
    i want to write a program which will transfer text into speech. i suppose, i'll need to record mp3/wav files and connect them to file, which will activate them one by one. all i ask, is some literature/documentation related with this subject.
    kind regards,
    nick
    For starters check the FreeTTS package; it works fine with the default voice (named 'Kevin'). If you can manage to get the 'mbrola' voices working, drop us a note. It can process ordinary text Strings.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    nikkka is offline Member
    Join Date
    Mar 2011
    Posts
    45
    Rep Power
    0

    Default

    check the FreeTTS package
    as i can see, it works only for english words. i want to write a new one, for georgian language, so i will need to do everything from scratch :S

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,336
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by nikkka View Post
    as i can see, it works only for english words. i want to write a new one, for georgian language, so i will need to do everything from scratch :S
    Yep, FreeTTS can handle English (American English) only as far as I know. There's another package, I forgot the exact name, that contains the name 'Mary'. It can handle quite a few languages; I don't know about Georgian. As always Google is your friend. Writing a TTS package from scratch is no option.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  5. #5
    nikkka is offline Member
    Join Date
    Mar 2011
    Posts
    45
    Rep Power
    0

    Default

    Writing a TTS package from scratch is no option.
    in fact, that is exactly what i want to do. do you mean it's too hard? again, i dont need anything complicated like changing intonation and stuff like this. just turning on/off sound files according to given character :S
    Last edited by nikkka; 04-10-2011 at 01:58 PM.

  6. #6
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,336
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by nikkka View Post
    in fact, that is exactly what i want to do. do you mean it's too hard? again, i dont need anything complicated like changing intonation and stuff like this. just turning on/off sound files according to given character :S
    Your final remark tells that it'd be too hard for you because speech isn't really character based; it works on phonemes and the parsing from text to the generation of a sequence of phonemes is really context sensitive (depending on the language parsed). Change of pitch (frequency) and intonation is the easier part of the pie here. I'd try that <mumble>Mary package if I were you.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  7. #7
    nikkka is offline Member
    Join Date
    Mar 2011
    Posts
    45
    Rep Power
    0

    Default

    Your final remark tells that it'd be too hard for you because speech isn't really character based; it works on phonemes and the parsing from text to the generation of a sequence of phonemes is really context sensitive (depending on the language parsed). Change of pitch (frequency) and intonation is the easier part of the pie here. I'd try that <mumble>Mary package if I were you.
    what's great about georgian language, is that you read it EXACTLY as you spell it. there are no combinations of characters that sound differently (like English "oo" or "th"). in every word, every character sounds the way it sounds in the other. is it still hard? :S

  8. #8
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,336
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by nikkka View Post
    what's great about georgian language, is that you read it EXACTLY as you spell it. there are no combinations of characters that sound differently (like English "oo" or "th"). in every word, every character sounds the way it sounds in the other. is it still hard? :S
    So Georgian has the phonemic orthography property? I didn't know that. You could try to find sound files corresponding to each letter and 'glue' them together as you process the text but I won't hold my breath ...

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  9. #9
    nikkka is offline Member
    Join Date
    Mar 2011
    Posts
    45
    Rep Power
    0

    Default

    Georgian has the phonemic orthography property?
    Yes, one of the very few such languages. So, it's much simpler than English.
    You could try to find sound files corresponding to each letter and 'glue' them together as you process the text
    That's exactly what I wanted to do. Please, would you be so kind to advice me some literature/documentation?

  10. #10
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,336
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by nikkka View Post
    Yes, one of the very few such languages. So, it's much simpler than English.

    That's exactly what I wanted to do. Please, would you be so kind to advice me some literature/documentation?
    I don't know if it can be done, but I'd check a local sound studio (national radio?) and ask if they have those 33 small sound files available. Next I'd start to play a bit with them to check whether or not the approach is feasible ... For literature, all I can recommend is Google because I've never played with language like that before ...

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  11. #11
    nikkka is offline Member
    Join Date
    Mar 2011
    Posts
    45
    Rep Power
    0

    Default

    I don't know if it can be done, but I'd check a local sound studio (national radio?) and ask if they have those 33 small sound files available. Next I'd start to play a bit with them to check whether or not the approach is feasible ... For literature, all I can recommend is Google because I've never played with language like that before ...
    Anyway, thank you :)
    And hey, how do you know that there are 33 letters in Georgian alphabet? :D

  12. #12
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,336
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by nikkka View Post
    Anyway, thank you :)
    And hey, how do you know that there are 33 letters in Georgian alphabet? :D
    Google; in the Dutch language there are 26 letters in the alphabet but we use 27; originally we have the y with dots on top of it; and we didn't have the y without the dots. The one with the dots originally was a 'diphtongue' that came from 'ii' (pronounced as 'eeee!' in English) but just because the Dutch steal every word on the planet we had to use the y (without the dots) as well. Until shortly we also used the e with dots on top of it, but not anymore. Russian (if I'm not mistaken) also has 33 different letters.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Need help understanding Java Sound
    By Fortu in forum New To Java
    Replies: 1
    Last Post: 12-26-2010, 03:08 AM
  2. Sound in java applet - please help
    By LinuxDev@Flanders in forum Java Applets
    Replies: 3
    Last Post: 08-16-2010, 10:26 AM
  3. Java Sound input port
    By omar.nus in forum New To Java
    Replies: 0
    Last Post: 10-19-2009, 05:01 AM
  4. Calibration of Sound in Java
    By satishrah@gmail.com in forum Advanced Java
    Replies: 4
    Last Post: 02-12-2009, 01:44 PM
  5. Sound in applet Java
    By toby in forum Java Applets
    Replies: 1
    Last Post: 08-07-2007, 05:52 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
  •