Trying to get text to speech working but having problems with the Player.py script.
Modifying the example bing_translator.py from https://github.com/respeaker/respeaker_python_library
I reference player.py at the beginning with
from respeaker import Player
and call it as below
text = bing.recognize(data)
print(‘Recognized %s’ % text)
audiodata = bing.synthesize(text)
But I get the following output when calling play_raw.
unbound method play_raw() must be called with Player instance as first argument (got
str instance instead)
What am I missing?
it meaning you don’t have a recording data.