Is it possible to receive a sound in RIFF Wave Format using a Socket and Write it to a File and play the sound file - page 2
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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 saved the file or this is the step you are at ?
i can send the file to mql5 using the Socket connection and i am able to read the data but struggling to write the data to a file as a sound wave format and play it after.
The file is written and not playable or written with 0 bytes ?
To clarify the problem, PlaySound only works with WAV files. Do you have the code to convert it?
To clarify the problem, PlaySound only works with WAV files. Do you have the code to convert it?