You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
here's the first run - loaded a text file with Russian text, some scribbles - but it has, save the file as .wav
copied and pasted - got a.wav file in the archive saved in.wav.
well, here's the thing about Google
They give the stream in Base64. I was able to convert it to mp3, but not with LINEAR16.
LINEAR16 should be converted to wav
question to the experts
Referring to a Google service in code
In Google
1. only one header
2. key is passed via url
3. We control the engine via json file.
In curl it is like this
request.json
curl gets the correct response
Now implement this with WebRequest
But the response comes back
as if the server does not understand the array sent to it in the json variable short
Either I am forming the array incorrectly or something else?
LINEAR16 must be wavable
must! ) And it is.
The reason is.
if you remove extra characters and "feed" the cleaned string into Base64, you get a PlaySound-readable wav file
must! ) And cited.
The reason is.
if you remove extra characters and "feed" the cleaned string to Base64, you get a PlaySound wav file
it's a json :-) in a nice way, you should get the value from audioContent key
You may not be able to read it, so
you get different filesYou may not be able to read it, which is why
Files get differentProgram execution is interrupted at WebRequest stage, it does not reach the files ))))
it's a json :-) in a nice way, you need to get the value of audioContent
Oh, right! Thanks!!! )))
But the response comes back
as if the server doesn't understand the json array short
Either i am forming the array itself incorrectly or something else?
The problem is the trailing null character.
and if you get an error from webrequest, there is very possible additional information in the result parameter.
For example:
the problem is the terminating null character.
and if you get an error from webrequest, there may very well be extra information in the result parameter.
for example:
Thank you! )