Results 1 to 11 of 11

Thread: automatic reading TXT file

  1. #1
    Join Date
    May 2009
    Posts
    15
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Wink automatic reading TXT file

    Hello! If I want to use qt for automatic reading TXT file 。Please provide some ideas to me!
    thanks!

  2. #2
    Join Date
    Sep 2008
    Posts
    25
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: automatic reading TXT file

    Hello!

    Please be more specific what do you mean by reading a txt file automatically! Describe your problem/idea!

  3. #3
    Join Date
    Apr 2008
    Location
    Russia, Moscow
    Posts
    86
    Thanks
    2
    Thanked 7 Times in 7 Posts
    Qt products
    Qt4

    Default Re: automatic reading TXT file

    You can use QFile

  4. #4
    Join Date
    May 2009
    Posts
    15
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: automatic reading TXT file

    Quote Originally Posted by SABROG View Post
    You can use QFile
    Ha ha!
    what I mean is listenning to people read txt file。how can I using Qt to realize it!

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: automatic reading TXT file

    Quote Originally Posted by sunnysun520 View Post
    what I mean is listenning to people read txt file。how can I using Qt to realize it!
    Just take a comfortable chair, sit down, start QtDemo to have some pleasant visual experience and start listening to people reading text files

    Hint: We still don't understand what you meant.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. #6
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: automatic reading TXT file

    Perhaps he is thinking of a speech synthesizer?
    On Windows this might be of help: http://en.wikipedia.org/wiki/Speech_...ming_Interface

    No idea what APIs exist on other platforms, or if there is a cross-platform library for speech synthesis.

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: automatic reading TXT file

    Quote Originally Posted by Boron View Post
    Perhaps he is thinking of a speech synthesizer?
    That crossed my mind as well but then I asked myself "Why would anyone expect a general application development framework to contain a speech syntethizer (for all possible languages in the world probably) ?".
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  8. #8
    Join Date
    May 2009
    Posts
    15
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: automatic reading TXT file

    Quote Originally Posted by Boron View Post
    Perhaps he is thinking of a speech synthesizer?
    On Windows this might be of help: http://en.wikipedia.org/wiki/Speech_...ming_Interface

    No idea what APIs exist on other platforms, or if there is a cross-platform library for speech synthesis.
    I'm sorry. maybe my English is so poor. what Boron say is I want to say. if I want to realize it on linux . Is it possible?

  9. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: automatic reading TXT file

    You need to have a speech syntherizer for the proper language. Qt won't help you with that in any way.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  10. #10
    Join Date
    May 2009
    Posts
    15
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: automatic reading TXT file

    Thanks,maybe I can use QProcess to call the external program handling it. Would that be feasible?

  11. #11
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: automatic reading TXT file

    Yes, you can use QProcess or a library call if a particular synthetizer is distributed as a library.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  12. The following user says thank you to wysota for this useful post:

    sunnysun520 (2nd July 2009)

Similar Threads

  1. Reading and rereading a file with QXmlStreamReader
    By TheRonin in forum Qt Programming
    Replies: 14
    Last Post: 30th April 2015, 14:04
  2. Character by Character (Unicode?) File Reading
    By mclark in forum Qt Programming
    Replies: 4
    Last Post: 22nd April 2009, 15:28
  3. help in reading XML file
    By cshiva_in in forum Qt Programming
    Replies: 1
    Last Post: 24th March 2008, 13:55
  4. QTextStream loses position while reading file
    By bjh in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2008, 15:47
  5. Replies: 3
    Last Post: 18th October 2007, 18:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.