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

how to get mp3 file ?? #19

Open
jhonoryza opened this issue Feb 2, 2016 · 1 comment
Open

how to get mp3 file ?? #19

jhonoryza opened this issue Feb 2, 2016 · 1 comment

Comments

@jhonoryza
Copy link

hey i want the callback function from "get.content" return byte not string, because my http server return bytes format, how can i achieve this ?? thx :)

@ascorbin
Copy link

ascorbin commented Jun 4, 2024

It would be so nice if you could also provide the return content as a byte stream. I am currently trying to communicate with the OpenAI API, and the text-to-speech interface gives me an MP3 byte stream. In Processing, you could then save it as an MP3 using saveBytes(). That would be great! Best regards! Greetings!

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

2 participants