Click here to Skip to main content
16,021,687 members
Home / Discussions / C#
   

C#

 
AnswerRe: Would this be a valid Extension? Pin
Richard Deeming18-Sep-24 21:40
mveRichard Deeming18-Sep-24 21:40 
GeneralRe: Would this be a valid Extension? Pin
charles henington19-Sep-24 5:19
charles henington19-Sep-24 5:19 
GeneralRe: Would this be a valid Extension? Pin
charles henington25-Sep-24 17:05
charles henington25-Sep-24 17:05 
QuestionVisual Studio Weirdness Pin
Richard Andrew x6415-Sep-24 12:38
professionalRichard Andrew x6415-Sep-24 12:38 
AnswerRe: Visual Studio Weirdness Pin
jschell17-Sep-24 12:37
jschell17-Sep-24 12:37 
GeneralRe: Visual Studio Weirdness Pin
Richard Andrew x6418-Sep-24 11:11
professionalRichard Andrew x6418-Sep-24 11:11 
QuestionConverting ulaw to alaw Pin
charles henington14-Sep-24 14:26
charles henington14-Sep-24 14:26 
AnswerRe: Converting ulaw to alaw Pin
trønderen14-Sep-24 18:01
trønderen14-Sep-24 18:01 
Disclaimer: I never tried to do any such conversion myself.
But I read in the G.711 standard:
-------------------
If a m-A conversion is followed by an A-m conversion, most of the octets are restored to their original values. Only those octets which correspond to m-law decoder output value numbers 0, 2, 4, 6, 8, 10, 12, 14 are changed (the numbers being increased by 1). Moreover, in these octets, only bit No. 8 (least significant bit in PCM) is changed. Accordingly, the double conversion m-A-m is transparent to bits Nos. 1-7.

Similarly, if an A-m conversion is followed by a m-A conversion, only the octets corresponding to A-law decoder output value numbers 26, 28, 30, 32, 45, 47, 63 and 80 are changed. Again, only bit No. 8 is changed, i.e. the double conversion A-m-A, too, is transparent to bits No. 1-7.

A consequence of this property is that in most of the analogue voice frequency signal range the additional quantizing distortion caused by m-A-m or A-m-A conversion is considerably lower than that caused by either m-A or A-m conversion (see Recommendation G.113).
-------------------

It sounds to me like you cannot do a bit transparent mu-A-mu or A-mu-A conversion cycle. Extra distortion will be introduced. Maybe this is the distortion you are referring to.

In case you do not have the G.711 standard document (from which the above quote is taken), you can retrieve it from www.itu.int

Note the red text: Corresponding ANSI-C code is available in the G.711 module of the ITU-T G.191 Software Tools Library. This is a huge library; the source text fills almost 70 MB. You might find useful code there.
Religious freedom is the freedom to say that two plus two make five.

GeneralRe: Converting ulaw to alaw Pin
charles henington15-Sep-24 13:39
charles henington15-Sep-24 13:39 
AnswerRe: Converting ulaw to alaw Pin
Peter_in_278015-Sep-24 14:07
professionalPeter_in_278015-Sep-24 14:07 
AnswerRe: Converting ulaw to alaw Pin
jeron115-Sep-24 14:11
jeron115-Sep-24 14:11 
GeneralRe: Converting ulaw to alaw Pin
charles henington18-Sep-24 16:10
charles henington18-Sep-24 16:10 
Questionhow to get image Thumbnail without open it? Pin
Le@rner10-Sep-24 18:34
Le@rner10-Sep-24 18:34 
AnswerRe: how to get image Thumbnail without open it? Pin
Richard Deeming10-Sep-24 21:28
mveRichard Deeming10-Sep-24 21:28 
AnswerRe: how to get image Thumbnail without open it? Pin
OriginalGriff10-Sep-24 23:05
mveOriginalGriff10-Sep-24 23:05 
AnswerRe: how to get image Thumbnail without open it? Pin
Le@rner10-Sep-24 23:29
Le@rner10-Sep-24 23:29 
GeneralRe: how to get image Thumbnail without open it? Pin
Dave Kreskowiak11-Sep-24 3:17
mveDave Kreskowiak11-Sep-24 3:17 
GeneralRe: how to get image Thumbnail without open it? Pin
OriginalGriff11-Sep-24 4:03
mveOriginalGriff11-Sep-24 4:03 
GeneralRe: how to get image Thumbnail without open it? Pin
lmoelleb12-Sep-24 19:38
lmoelleb12-Sep-24 19:38 
AnswerRe: how to get image Thumbnail without open it? Pin
jschell12-Sep-24 13:08
jschell12-Sep-24 13:08 
Questionhow set cutom paper size? Pin
Le@rner28-Aug-24 0:38
Le@rner28-Aug-24 0:38 
AnswerRe: how set cutom paper size? Pin
RedDk28-Aug-24 9:18
RedDk28-Aug-24 9:18 
Questionbutton event handler where it drops it? Pin
geomeo12326-Aug-24 11:12
geomeo12326-Aug-24 11:12 
AnswerRe: button event handler where it drops it? Pin
OriginalGriff26-Aug-24 19:17
mveOriginalGriff26-Aug-24 19:17 
RantRe: button event handler where it drops it? Pin
geomeo12327-Aug-24 10:46
geomeo12327-Aug-24 10:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.