Need help with text to Speach Azure Request

Hello,
I am currently trying to patch an access to the Azure Text to Speach service. In the First half of the Patch i get my token for the Seach request that works fine, but then i always get a “bad request” error despite trying to change multiple things.

i am also not quite shure how the process can work since i think it should get an audio file . but the output of The http request is a string.
(i am still new to vvvv and coding so pardon me if i use some terminology wrong)

that is the Azure documentation to the topic:

and that is the Patch so far (Api Key needed)
Help_me_with_Azure_Please.vl (138.7 KB)

i would really appreciate if sombody can give me a hint or help me in any way. Thank you :)

I’ve looked at your patches.

It’s a bit hard to tell what exactly is going on without the API key.

But honestly, there are some problems with the library itself , as the examples are broken. Maybe the library is a bit out of date. SimpleHTTP, @sebescudie

Consider using IO.HTTP. These nodes are in the experimental tab, but are part of the core.

Just to clarify: the library works but it looks like the fake API the help patches were using is not up anymore. Will have to see if I find an alternative and update accordingly. Thanks for the pointer.

Now to the original question @Adrenalina : I’m not able to get an Azure API key right now to test that, but what I would recommend is using something like Bruno to quickly test API endpoints, get familiar with responses and all and then implement that in vvvv.

You can also reach out in a private message on Element with your API key so we can have a look.

@sebescudie I see it in patches. And there are a lot of them.

I suspect it should be Request, not Object. This breaks patches and has confused the topic starter

7-0154

@yar Can you explain how you installed the library? Cannot repro when using the nuget package here. This is on 7.0-167 and I’m getting a MutableArray<Byte> as expected here.

Hmm, interesting.

nuget install VL.SimpleHTTP

7-0167