[Sugar-devel] [ASLO] Release Read ETexts-27
nicestep at gmail.com
Mon Jan 25 12:29:39 EST 2016
I'll have a look at the accelerator.
My code needs its own speech function because I highlight each word as it
is being spoken. That function never worked that well, but I'd like to keep
it. Read ETexts is the first application to use the gstreamer espeak
plugin. I'll need to update the MYOSA TTS chapter to include the speech
I had no idea that everyone moved from Gitorious to GitHib. The MYOSA book
describes using GitHub, so it looks like I'll need to move all my code and
rewrite that chapter. I won't be able to do either one for awhile, but I'll
get to it. In the interim I'll put the new entry in activity.info.
Read ETexts has a collaboration feature (file transfer, not Tubes). I
haven't had the opportunity to check that yet. Hopefully it still works.
This Activity is an old one, from the days when a Kindle was more expensive
than an XO and Project Gutenberg did not have much support for PDF (the
only format the Read Activity could use at the time). I had a lot more time
to work on Sugar code and documentation back then. I don't remember how.
On Sun, Jan 24, 2016 at 9:06 PM, James Cameron <quozl at laptop.org> wrote:
> G'day James,
> Line 476 of your ReadEtextsActivity.py changes the accelerator for the
> stop button to '<Ctrl><Shift>Q', but the default in Sugar is
> '<Ctrl>Q', and the only activities that ought not use the default are
> those where ctrl-q has special meaning, such as Terminal.
> For speech, is there any reason you can't use the speech module in the
> sugar-toolkit-gtk3 package?
> Thanks for the gitorious pointer, I wasn't aware which source control
> repository you were using. Everybody else has moved to GitHub, but nobody
> has taken down Sugar Labs gitorious yet, perhaps there are others like
> you still using it.
> Your activity/activity.info file can have a new field for that;
> repository = <URL>
> On Sun, Jan 24, 2016 at 08:11:39PM -0600, James Simmons wrote:
> > James,
> > I tested on Fedora 23 Workstation. The speech feature works OK there. I
> > think I'm doing anything with Ctrl-q.
> > This is the code that I think is being complained about when it disables
> > speech:
> > http://git.sugarlabs.org/readetexts/mainline/blobs/master/speech.py
> > The line is:
> > Gst.ElementFactory.make('espeak')
> > I see similar lines elsewhere where a second argument is used, specifying
> > source or sink.
> > I'll give this another try later, probably tomorrow evening. Don't
> release this
> > version.
> > I could use some clarification on what ctrl-q is supposed to do. I
> haven't done
> > Sugar coding for something like three years and this sounds new.
> > James Simmons
> > On Sun, Jan 24, 2016 at 6:18 PM, James Cameron <quozl at laptop.org>
> > On Sun, Jan 24, 2016 at 04:28:50PM -0500, Sugar Labs Activities
> > > 
> > Tested briefly on Fedora 20.
> > 1. the ctrl-q short cut does not work, an older ctrl-shift-q does,
> > 2. no speech feature seen,
> > 3. functional test passed, downloaded Emma by Jane Austen,
> > Logs: http://dev.laptop.org/~quozl/z/1aNUoS.txt
> > --
> > James Cameron
> > http://quozl.netrek.org/
> > _______________________________________________
> > Sugar-devel mailing list
> > Sugar-devel at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> > References:
> >  http://git.sugarlabs.org/readetexts/mainline/blobs/master/speech.py
> >  mailto:quozl at laptop.org
> > 
> >  http://dev.laptop.org/~quozl/z/1aNUoS.txt
> >  http://quozl.netrek.org/
> >  mailto:Sugar-devel at lists.sugarlabs.org
> >  http://lists.sugarlabs.org/listinfo/sugar-devel
> James Cameron
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel