HTTP-Requests-for-Processing icon indicating copy to clipboard operation
HTTP-Requests-for-Processing copied to clipboard

how to get mp3 file ??

Open jhonoryza opened this issue 9 years ago • 1 comments

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 :)

jhonoryza avatar Feb 02 '16 07:02 jhonoryza

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!

ascorbin avatar Jun 04 '24 05:06 ascorbin