北京大学学报(自然科学版)
北京大學學報(自然科學版)
북경대학학보(자연과학판)
ACTA SCIENTIARUM NATURALIUM UNIVERSITATIS PEKINENSIS
2008年
1期
49-54
,共6页
GPGPU%混音%并行算法
GPGPU%混音%併行算法
GPGPU%혼음%병행산법
GPGPU%audio mixing%parallel algorithm
提出了一种名为 GAM 的基于 GPGPU 的多目的混音算法.该算法通过像素渲染器完成混音.为了减少缓冲区切换造成的时间占用,该算法将传统算法优化为两遍渲染.三维模型的投影位置由顶点渲染器控制,使得多个具有不同输出集合维度的算法可以在同一个渲染缓冲区上并存,并且避免了对同一像素的多次渲染.待混音的数据单元以单一纹理的形式输入,缓解了 GPGPU I/O 能力及其计算能力间不匹配的问题.实验结果表明,在主流硬件平台上,该算法较基于 CPU 实现的算法具有较高的加速比.
提齣瞭一種名為 GAM 的基于 GPGPU 的多目的混音算法.該算法通過像素渲染器完成混音.為瞭減少緩遲區切換造成的時間佔用,該算法將傳統算法優化為兩遍渲染.三維模型的投影位置由頂點渲染器控製,使得多箇具有不同輸齣集閤維度的算法可以在同一箇渲染緩遲區上併存,併且避免瞭對同一像素的多次渲染.待混音的數據單元以單一紋理的形式輸入,緩解瞭 GPGPU I/O 能力及其計算能力間不匹配的問題.實驗結果錶明,在主流硬件平檯上,該算法較基于 CPU 實現的算法具有較高的加速比.
제출료일충명위 GAM 적기우 GPGPU 적다목적혼음산법.해산법통과상소선염기완성혼음.위료감소완충구절환조성적시간점용,해산법장전통산법우화위량편선염.삼유모형적투영위치유정점선염기공제,사득다개구유불동수출집합유도적산법가이재동일개선염완충구상병존,병차피면료대동일상소적다차선염.대혼음적수거단원이단일문리적형식수입,완해료 GPGPU I/O 능력급기계산능력간불필배적문제.실험결과표명,재주류경건평태상,해산법교기우 CPU 실현적산법구유교고적가속비.
A GPGPU accelerated audio mixing algorithm for multiparty collaboration namely GAM is introduced. The mixing is performed by pixel shader. To minimize time used while buffer switching, traditional mixing algorithm was rearranged to a two-pass rendering. By vertex shader, the projection of 3-D model was moved between the passes. So multiple functions resulting different sized output set were performed on one render buffer without multiple shader executions on one pixel. The audio units to be mixed were inputted in one texture to remedy the issue that the I/O bandwidth of GPGPU was not match to the computational capacity of GPGPU. The experimental result shows that the GAM algorithm achieves high performance contrasting to CPUbased algorithms on mains tream hardware.