Changes

Jump to navigation Jump to search
3,445 bytes added ,  07:36, 1 April 2009
no edit summary
Line 64: Line 64:  
----
 
----
   −
Q.9:  '''Describe your project in 10-20 sentences. What are you making? Who are you making it for, and why do they need it?    What technologies (programming languages, etc.) will you be using?
+
Q.9:  '''My project description. What are you making?     
    
A:  I want to integrate speech in the core sugar. Means I want to provide speech synthesis as a basic functionality in sugar.
 
A:  I want to integrate speech in the core sugar. Means I want to provide speech synthesis as a basic functionality in sugar.
 
:  According to eye-tracking research it can be shown that ‘’viewers naturally synchronize the auditory and textual information while watching a film song with SLS. When SLS is integrated into popular TV entertainment, reading happens automatically and subconsciously.’’  
 
:  According to eye-tracking research it can be shown that ‘’viewers naturally synchronize the auditory and textual information while watching a film song with SLS. When SLS is integrated into popular TV entertainment, reading happens automatically and subconsciously.’’  
:    Hence language learning can be a great experience if done with speech. The literacy rate can be increased by 6-10% if speech is also included with text because this is the ability of our brain to easily remember sounds rather than text. So I am making this activity for children of age group 3-15 so that learning language can become easier for them.
+
 
 +
:  '''Who are you making it for, and why do they need it?
 +
 
 +
:    Language learning can be a great experience if done with speech. The literacy rate can be increased by 6-10% if speech is also included with text because this is the ability of our brain to easily remember sounds rather than text. So I am making this activity for children of age group 3-15 so that learning language can become easier for them.
 +
 
 +
:  '''What technologies (programming languages, etc.) will you be using?
    
:  I discussed a lot with alsroot, assimd and besmac on IRC about this project. The main points of discussion are:
 
:  I discussed a lot with alsroot, assimd and besmac on IRC about this project. The main points of discussion are:
Line 85: Line 90:     
:  Some rough ideas of implementation:
 
:  Some rough ideas of implementation:
 +
 +
:                                                    --------------
 +
:                                                        Speech 
 +
:                                                      (Level 1)
 +
:                                                    ---------------
 +
:                                                          |
 +
:                                                          |
 +
:                                                          |
 +
:                                                          |
 +
:                                                          V
 +
:                                                  -----------------
 +
:                                                      Espeak (TTS)
 +
:                                                        (Level 2)
 +
:                                                  -----------------
 +
:                                                          |
 +
:                                                          |
 +
:                                                          |
 +
:                                                          V
 +
:                                                  ------------------
 +
:                                                    gstreamer Plugin
 +
:                                                      (Level 3)
 +
:                                                  ------------------
 +
:                                                          |
 +
:                                                          |
 +
:                                                          |
 +
:                                                          V
 +
:                                                  -------------------
 +
:                                                  Command Line Tool
 +
:                                          (To produce speech of the selected text)
 +
:                                          (In user selected languages and accents)
 +
:                                                  --------------------
 +
:                                                          |
 +
:                                                          |
 +
:                                ---------------------------------------------------------
 +
:                                |                                                        |
 +
:                                |                                                        |
 +
:                                V                                                        V
 +
:                  ------------------------                                      ---------------------
 +
:                  Button/Keyboard shortcut                                GUI for Configuration management
 +
 +
 +
    
*  '''There are two options for using a layer over TTS engine espeak, one is a speech dispatcher which was created as last year GSoC project and other is the gstreamer plugin.  
 
*  '''There are two options for using a layer over TTS engine espeak, one is a speech dispatcher which was created as last year GSoC project and other is the gstreamer plugin.  
Line 98: Line 145:  
*  '''The basic idea is to provide a read button in core sugar (like a home button) which is always there. So that if a user selects any of the text in the current window and presses the button it gets speak out.
 
*  '''The basic idea is to provide a read button in core sugar (like a home button) which is always there. So that if a user selects any of the text in the current window and presses the button it gets speak out.
    +
*  '''A small code snippet which I have prepared for demonstration purpose is shown below. You can copy paste this and try it. First select some text and then run the code trough terminal. The code will speak the text. This is a very basic thing which we want to achieve in sugar'''
 +
 +
:  import gtk
 +
:  from espeak import espeak
 +
:  obj=espeak()
 +
:  clip=gtk.Clipboard(display=gtk.gdk.display_get_default(),selection="PRIMARY")
 +
:  text=clip.wait_for_text()
 +
:  if text==None:
 +
:      obj.speak("Sorry! No text is selected")
 +
:  else:
 +
:      obj.speak(text)
 +
 +
:  '''You can select the text anywhere in the sugar. Be sure to first install the espeak. Although I have created this code using espeak but in future I will be using gstreamer plugin.
 
----   
 
----   
 
    
 
    

Navigation menu