How to read a .wav file from server ?

Hi,

I would like to read a SOUND file from server(written locally using C#).
The file size is around 2MB.
How to do so

Thanks,
ramakrishna.


Answer this question

How to read a .wav file from server ?

  • Jay Jones

    Do you just want to read the file or do you want to play the sound

    How to play sound in Windows app

  • Remi Thomas

    There are many ways to do what you intend.

    One way is using DirectSound, for that you should install DirectX SDK. Other way is to to use ActiveX of SoundRecorder(which ships with window) or other such player.
    You will need to read the file using ActiveX, and then send the data to the client using Sockets, the socket will read the data in packet form, convert it to wav file and then play on your intentended player.

    Sayed Zeeshan

  • Meeta Kherdekar

    I want to do both in C#.

    Many thanks,
    ramakrishna.

  • How to read a .wav file from server ?