当前位置:网站首页>IIS数据转换问题16bit转24bit
IIS数据转换问题16bit转24bit
2022-04-23 19:24:00 【ToneChip】
今天遇到一个很奇怪的问题
要求是一个16bit的数据送到一个24bit的DAC中去播放,结果噪声变大?不知道为何
按照常规理论,16bit转24bit只需要左移8位就可
下面复习一下IIS驱动里面的逻辑
①左对齐:
WCLK为高电平时,是左声道,低电平时右声道数据
数据从左边开始,低8位为0
②右对齐:
WCLK为高电平时,是左声道,低电平时右声道数据
比如说你采集到一个负数 0xc00000,采集的int类型接收可能就变成了0x00c00000, 你需要将其变为0xffc00000
③IIS模式
区别左右对齐的方式就是WCLK为低电平时,是左声道,高电平时右声道数据,并且延时1个脉冲(对于这种标准I2S格式的信号无论有多少位有效数据,数据的最高位总是出现在WCLK/LRCK变化(也就是一帧开始)后的第2个BCLK/SCLK脉冲处)
版权声明
本文为[ToneChip]所创,转载请带上原文链接,感谢
https://tonechip.blog.csdn.net/article/details/121774877
边栏推荐
- RuntimeError: Providing a bool or integral fill value without setting the optional `dtype` or `out`
- Codeforces Round #784 (Div. 4)
- Build intelligent garbage classification applet based on Zero
- C1000k TCP connection upper limit test 1
- @Analysis of conditional on Web Application
- Openlayers 5.0 two centering methods
- MySQL syntax collation (4)
- Kubernetes入门到精通-裸机LoadBalence 80 443 端口暴露注意事项
- MySQL syntax collation (5) -- functions, stored procedures and triggers
- Codeforces Round #784 (Div. 4)
猜你喜欢
Partage de la conception de l'alimentation électrique de commutation et illustration des compétences en conception de l'alimentation électrique
命令-sudo
Is meituan, a profit-making company with zero foundation, hungry? Coupon CPS applet (with source code)
On the forced conversion of C language pointer
ArcMap连接 arcgis server
Grafana 分享带可变参数的链接
Matlab 2019 installation of deep learning toolbox model for googlenet network
Keysight has chosen what equipment to buy for you
MySQL syntax collation
ArcMap connecting ArcGIS Server
随机推荐
Coordinate conversion WGS-84 to gcj-02 and gcj-02 to WGS-84
How to use go code to compile Pb generated by proto file with protoc Compiler Go file
Web Security
Openlayers 5.0 reload the map when the map container size changes
SQL of contention for system time plus time in ocrale database
Zero cost, zero foundation, build profitable film and television applet
Wechat applet part of the mobile phone Preview PDF did not respond
JS calculation time difference
2021-2022-2 ACM集训队每周程序设计竞赛(8)题解
[报告] Microsoft :Application of deep learning methods in speech enhancement
[report] Microsoft: application of deep learning methods in speech enhancement
Network protocol: SCTP flow control transmission protocol
FTP, SSH Remote Access and control
Zero base to build profit taking away CPS platform official account
SSDB Foundation
JS to get the local IP address
How to select the third-party package of golang
ArcMap publishing slicing service
Pdf reference learning notes
Reflection on the performance of some OpenGL operations in the past