amazon-archives / aws-robomaker-sample-application-voiceinteraction

Use AWS RoboMaker and demonstrate a robot that has voice controls via Amazon Lex.
MIT No Attribution
11 stars 11 forks source link

ROS2 - Voice Output speaking very fast #58

Open timrobotson opened 5 years ago

timrobotson commented 5 years ago

When voice is returned from Lex and output via the speaker the voice is playing a 2-3x speed that it should.

I believe this is due to switching from storing the audio data in a string to storing it in a bytestream in https://github.com/aws-robotics/aws-robomaker-sample-application-voiceinteraction/pull/56/files#diff-2eb574b640aa8353cc5a0fc6a0dcb3a4L85 because you can't use strings for arbitrary bytes in Python3.

I think the bytestream is packing the data removing extraneous bytes which would cut out a lot of the audio.

issue-label-bot[bot] commented 5 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.66. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.