qt phonon实现多操作数据流!

     Processors

Phonon does not allow manipulation of media streams directly, i.e., one cannot alter a media stream's bytes programmatically after they have been given to a media object. We have other nodes to help with this: processors, which are placed in the graph on the path somewhere between the media object and its sinks. In Phonon, processors are of the Effect class.

When inserted into the rendering process, the processor will alter the media stream, and will be active as long as it is part of the graph. To stop, it needs to be removed.

The Effects may also have controls that affect how the media stream is manipulated. A processor applying a depth effect to audio, for instance, can have a value controlling the amount of depth. An Effect can be configured at any point in time.

   处理器:

   phpnon不允许直接多操作多媒体的数据流。在它们给对数据给媒体对象后不能修改数据流,我有别的节点去帮助它的处理器,这个节点放在path在media object和sinks之间,在phonon,Effect类就是处理器。当插入渲染过程,这个处理器将会修改多媒体数据,只要它是graph一部分他就会激活。

    我讲一下有哪些效果,我说的是windows下,我变了一个程序,就是获得当前计算机下的,因为你装的DX版本不一样,所以效果可能不同, effer=Phonon::BackendCapabilities::availableAudioEffects();获得效果,我测试有11种效果,其实微软的东西还是挺不错的,不过qt的确比win32好编,directx 3d就更难了,

 ParamEq这种效果是 parametric equalizer是参数平衡器,强化或弱化某个音频,对增强音乐效果特别有效。

  AEC效果有助于听者听不到回声,对讲话者的输出建模,并且将其从麦克风捕捉的信号里除去。

  wave reverb效果是混音,是声音效果更加真实。

 gargle效果,这个效果非常有趣的,有一种咕噜聲,有一种颤抖声。

 compressor是一种压缩的,就相当于音频的平衡把,把高的音频进行平滑的降低,把低的音频进行平衡的升高。

 distorsion就字面意思,就是扭曲,失真效果,声音的重叠。

  echo是一种回声效果,flanger摇滚效果,急促与颤抖,chorus是和声,不是许多人唱,而是


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值