Skip to content

Conversation

@andy5995
Copy link

No description provided.

@andy5995
Copy link
Author

Still wip

#get the Voice Activity DEtectoR
self.vad = self.pipeline.get_by_name('vad')
self.vad.set_property('auto-threshold',True)
# asr.set_property('configured', True)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got rid of the segfault by commenting out this line.

You'll see a little debugging code and some other minor changes that I made after reading

https://cmusphinx.github.io/wiki/gstreamer/?&#configuring_the_decoder_and_improving_accuracy

But none of that seemed to make a difference until I commented L39 there.

when run with -i g, gets past the segfault:

```
[...]
('click right', 'xdotool click 3')
click middle:xdotool click 2

('click middle', 'xdotool click 2')
Traceback (most recent call last):
File "./Blather.py", line 287, in <module>
    blather = Blather(options)
File "./Blather.py", line 66, in __init__
    from GtkUI import UI
File "/home/andy/src/blather/GtkUI.py", line 8
    class UI(GObject.GObject):
        ^
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant