sk89q / hey-victoria

TeamSpeak bot w/ speech recognition (like Siri, OK Google, Cortana, etc.)
49 stars 4 forks source link

Does Victoria still work? #5

Open dzinks2009 opened 5 years ago

dzinks2009 commented 5 years ago

Hi, I was wondering if Victoria still works since I'm thinking about creating something to her.

Best regards.

sk89q commented 5 years ago

The only thing that I imagine would change is the TS3 plugin API

...and the plugin is like 1% of the project

quickest reply of 2019 #metrics #goals #newyearnewme #probablynot

dzinks2009 commented 5 years ago

The only thing that I imagine would change is the TS3 plugin API

...and the plugin is like 1% of the project

quickest reply of 2019 #metrics #goals #newyearnewme #probablynot

Oh my god, this is actually like the quickest response I've ever got lmaooo. By the way, this only works on windows or windows vps, right?

sk89q commented 5 years ago

yeah and I think it's mostly because I used the text to speech API in Windows

...and because I use Windows /shrug

dzinks2009 commented 5 years ago
Traceback (most recent call last):
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\listen.py", line 9, in <module>
    from heyvictoria.agent import Agent, register_default
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\heyvictoria\agent.py", line 52
    except Exception, e:
                    ^
SyntaxError: invalid syntax

Do you have any ideas why this is showing up? By the way this is my first time using Python...(i know, i need some easier stuff first)

sk89q commented 5 years ago

HeyVictoria is written in Python version numba 2 :(

sk89q commented 5 years ago

I'm going to be straight and say that HeyVictoria is not that easy to get running because it's a hodgepodge of 2am decisions. It only works as well as my paella recipe, which to say I just made it for the first time last night and it tastes kind of off

dzinks2009 commented 5 years ago

Hmm,

(heyvictoria.server) INFO: Listening on ('127.0.0.1', 32000)
Traceback (most recent call last):
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\listen.py", line 33, in <module>
    assistant.listen()
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\heyvictoria\server.py", line 106, in listen
    self.get_speaker(client_id).read(buf, source_channels)
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\heyvictoria\server.py", line 80, in get_speaker
    self.sessions[client_id] = SpeechSession(client_id, self.recognizer, self.agent)
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\heyvictoria\server.py", line 39, in __init__
    self.listener = Listener(recognizer, responder)
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\heyvictoria\listener.py", line 83, in __init__
    self.decoder = Decoder(config)
  File "C:\Python27\lib\site-packages\pocketsphinx\pocketsphinx.py", line 272, in __init__
    this = _pocketsphinx.new_Decoder(*args)
RuntimeError: new_Decoder returned -1

This is the only error I get once someone starts talking. Any ideas? :)

sk89q commented 5 years ago

https://stackoverflow.com/questions/44339312/new-decoder-returned-1-when-trying-to-run-pocketsphinx-on-raspberry-pi/51346264#51346264 This?

dzinks2009 commented 5 years ago

@sk89q Thanks, that fixed it. Now for some reason, the bot doesn't answer.