Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
I am detecting a DC offset when writing 24bit data using the audiowrite function.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
0 Kommentare
Antworten (0)
Diese Frage ist geschlossen.
Communitys
Weitere Antworten in Power Electronics Control
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!