Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip #18] python3 update #21

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

[wip #18] python3 update #21

wants to merge 8 commits into from

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