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
Have you learned how to upload a file via WebRequest?
The only thing left to learn is PlaySound (which might make sense in a separate advisor/service),
but"The file must be located in the terminal_directory\Sounds or its subdirectory. Only audio files in WAV format can be played." make a link in advance from one directory to another (from Files/Sound to Sound/Files, for example).
and voila - without exceeding MT capabilities and without external DLLs everything should work.
And another thing, the WebRequest doc says that there are 2 variants of this function. The first one works with Content-Type: application/x-www-form-urlencoded, which is obviously not suitable, because IBM asks for "header "Content-Type: application/json"
But that's all I've understood so far
that's how interesting it is
bat will give an error - if in bin and then somehow from bin
Why do you need this cheesy WebRequest? Socket functions have been available for a long time now, including with TLS.
I see you are an experienced person, can you help me write a socket reference example?
The documentation is herehttps://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-usingWebSocket
I understandinstance_id is GR1bb3zVMs9fcNKL6pA9-5zj9ptWliCu6eh9oupUnpZB
While smoking the doc...
The task is very complicated, almost impossible because the target boundaries are undefined. What exactly should the EA announce? If only the price, then we can integrate a set of vocalized numbers that can be combined. If you need the option of recording a custom reminder, which the Expert Advisor will turn on at the right time, then it is not really impossible, but VERY difficult. I almost don't see the point of spending so much energy on a dubious chip.
the task is not very complicated. Basically, everything is already done and the Expert Advisor works fine with the DLL call, pronouncing in English or Russian the names of instruments and their current prices and, if necessary, hitting the price in the region.
The built-in capabilities of the Windows operating system are used
With a simple https://www.mql5.com/ru/forum/342293#comment_16626455 class it is possible to pronounce arbitrary text, even run-time errors or printf output, if someone needs it ))))
And the implementation using multiple wav files is very complicated, you're quite right
the task is not very difficult. Basically, everything is already done and the Expert Advisor works fine with the DLL call, pronouncing in English or Russian both the names of instruments and their current prices, and, if necessary, hitting the price in the region.
The built-in capabilities of the Windows operating system are used
With a simple https://www.mql5.com/ru/forum/342293#comment_16626455 class it is possible to pronounce arbitrary text, even run-time errors or printf output, if someone needs it ))))
And the implementation using multiple wav files is very complicated, you're quite right
You don't have a formulated problem and hence it's not clear what needs to be solved. Make the Expert Advisor say whatever you want it to say? But what exactly should it say? How do you tell it to read the name of the symbol? :) You won't be able to communicate with the advisor, even if he formally "speaks" the text. You can't make him read the text that is relevant to an event. How do you instruct him to read the prints or logs?)
I need to solve the problem of transforming arbitrary text into a wav file without using DLL calls )
Everything else is already solved
Suppose our EA writes a text to be spoken to a file and sends it to the server through WebRequest or sockets, and the server talks to it. Theoretically possible, but not an easy task...
there is no need to write to the file. WebRequest method formats
I need to solve the problem of transforming arbitrary text into a wav file without using DLL calls )
Everything else is already solved