Dave_PL
Member level 2
Hi,
I would like to generate some test audio signals like sine wave for testing codecs. But there is a problem because I do not know how the data is presented. Is it just simple Linear PCM? Then for example maximum amplitude (i.e. 1) of my sine wave would be 11111111 (if 8 bit data) and minimum amplitude (i.e. -1) is 00000000. Or is it 2s complement? So then maximum (1) is 01111111 and minimum (-1) is 10000000.
Regards,
Dave
I would like to generate some test audio signals like sine wave for testing codecs. But there is a problem because I do not know how the data is presented. Is it just simple Linear PCM? Then for example maximum amplitude (i.e. 1) of my sine wave would be 11111111 (if 8 bit data) and minimum amplitude (i.e. -1) is 00000000. Or is it 2s complement? So then maximum (1) is 01111111 and minimum (-1) is 10000000.
Regards,
Dave