Archives September 2014
Eventually Text Munging Gets Nasty
Written by
on
in
Snaking,
Tuxedo.
So today I started into the basic command-and-control part of the Listener system. The original tack I took was to create escaped commands inside the text stream using the "typing" substitutions (the stuff that converts ,comma into ','):
some text \action_do_something more text
But that got rather grotty rather fast when looking at corner cases ...
First-Light on Dictating Code into Eric
Written by
on
in
Snaking,
Tuxedo.
So as of earlier this evening I've now got the Listener service hooked up such that I can dictate code into Eric (via an Eric Plug-in talking to the service over DBus). There's still an enormous amount that doesn't work. But that first-light moment has made me rather happy; instead of a collection of little ...
Aw, come-on QtDBus, just work already
Written by
on
in
Snaking,
Tuxedo.
[Update] I got it working by going down to the "connection" level and registering the callback there. The code below is updated with the working version... as of now I've got some basic "voice coding" possible, but lots more to do to make it practical and useful.
Plowing ahead with integrating Listener into Eric (my ...
Interpretation of Dictation
Written by
on
in
Snaking,
Tuxedo.
Sometimes as you're developing a project it's easy to lose site of the end goal. I've spent so long on giving Listener context setup, code-to-speech converters, etc. that the actual point of the whole thing (i.e. letting you dictate text into an editor) hasn't actually been built. Today I started on that a bit more. ...
Using GStreamer AppSink from Python
Written by
on
in
Snaking.
So I decided to play a bit with how to get raw audio samples from gstreamer pipelines. This is normally done (in C or whatever) with an `appsink` element in your gstreamer pipeline. You hook up the pipeline, watch for the buffer, and then you can map it into a Numpy buffer (or whatever you ...