On Oct 9, 9:44 am, Roshan R.D <Rosha...@discussions.microsoft.com>
wrote:
I am new to C# programming; I am developing an application for recording
audio data using voice modem.
I am using HyperTerminal to manually process audio data. The modem when
configured in voice record mode sends the audio (PCM) data on the serial
port, few of the characters from these are in Extended ASCII range i.e. more
than 127 decimal.
There's no such thing as "Extended ASCII". Or rather, there are
various encodings which use ASCII for the first 127 values, but which
do different things
However, you shouldn't be using text at all to receive *binary* data
(such as audio). You should be reading *bytes*, not characters. Pass a
byte array into Read instead of a char array and things are likely to
start working.
Jon