XAudio2音量和音调控制

本文介绍了XAudio2中的音量和音调控制。音量以浮点数表示,范围在-2^24到2^24之间,最大增益为144.5dB。音调通过输入率/输出率比值来设定,1/1,024降低10个八度,1,024/1提升10个八度。XAudio2提供方法来设置声音的音量、单通道音量以及音调比例。" 121648041,11475508,Python爬虫入门:从零到精通的实战指南,"['Python', '爬虫开发', '数据采集', '网络爬虫', '数据处理']
摘要由CSDN通过智能技术生成

 欢迎关注公众号可以查看更多完整文章

 

This topic describes XAudio2 volume and pitch control.




Volume Control

Volume levels are expressed as floating-point amplitude multipliers between -XAUDIO2_MAX_VOLUME_LEVEL and XAUDIO2_MAX_VOLUME_LEVEL (-224 to 224), with a maximum gain of 144.5 dB. A volume of 1.0 means there is no attenuation or gain; 0 means silence; and negative levels can be used to invert the audio's phase. Two inline functions are provided in XAudio2.h to convert betwe

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值