Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

I am detecting a DC offset when writing 24bit data using the audiowrite function.

1 vue (au cours des 30 derniers jours)
Richard Keniuk
Richard Keniuk le 7 Juin 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
I am developing precision files of 16, 24 and 32 bit depth for audio testing. The 16 and 32 bit sine waves are centered at 0 and have a magnitude of intmax('int16') for 16 bit, and intmax('int32') for the 24 and 32 bit files (per the audiowrite specifications). This generates a maximum amplitude sine wave with minimal DC offset. When I write 24 bit though there is a DC offset that must be corrected by shifting the signal 2^7 positive. While this does not generate much distortion (I'm not sure why since the positive peak is clipped) I can't figure out why the 24 bit waveform is not centered at 0. Is there someting I am doing wrong here?

Réponses (0)

Cette question est clôturée.

Communautés

Plus de réponses dans  Power Electronics Control

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by