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

Python low_level_sample.py & client_sample.py >> How to read the output as text or audio? #36

Open
zjzj165 opened this issue Oct 12, 2024 · 0 comments

Comments

@zjzj165
Copy link

zjzj165 commented Oct 12, 2024

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I run low_level_sample.py and it seems created response successfully.
But i do not know how to read the response (text and audio).
【python low_level_sample.py .\input\arc-easy-q237-tts.mp3 azure】

I also run client_sample.py and give it a existing directory to store the output. Response seems being created successfully, but the file to save the output is empty.
【python client_sample.py .\input\arc-easy-q237-tts.mp3 .\output azure】

Any log messages given by the failure

Configuring Session...Done
Received a control message: session.created
task: <rtclient.RTResponse object at 0x00000209FF0B86D0>
[response=resp_AHO6kXcLIyodjcVIdssp3] Response completed
[input_item=item_AHO6jQ5lMYX8rIqFROxm1] Previous Id: None
[input_item=item_AHO6jQ5lMYX8rIqFROxm1] Transcript: None
[input_item=item_AHO6jQ5lMYX8rIqFROxm1] Audio Start [ms]: 96
[input_item=item_AHO6jQ5lMYX8rIqFROxm1] Audio End [ms]: 800
[input_item=item_AHO6kvIURCVUYIiqN2GD7] Previous Id: None
[input_item=item_AHO6kvIURCVUYIiqN2GD7] Transcript: None
[input_item=item_AHO6kvIURCVUYIiqN2GD7] Audio Start [ms]: 832
[input_item=item_AHO6kvIURCVUYIiqN2GD7] Audio End [ms]: None

Expected/desired behavior

instruction of how to read the output in text and audio.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Windows 10

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

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

No branches or pull requests

1 participant