如何使用4个扬声器? [英] How to work with 4 speakers?

查看:113
本文介绍了如何使用4个扬声器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在编写一个用于实验的程序,该程序需要使用4个扬声器放置在四个位置:前/右,前/左,后/右和后/左.
我想做的是每次可以从四个扬声器之一(通过程序随机分配)产生声音.

对于两个扬声器,我可以使用DirectSound的声相变化轻松地将左右扬声器分开.但是,我不知道如何与四个发言人一起解决这个问题.我是否需要为此安装2个声卡?

我非常感谢您能给我一个指导或一些提示,以实现我的实验设计.

非常感谢.

解决方案

为此,无论您使用什么声卡,都必须是具有4.0声道或4.1等音频输出,而不是像左右声道那样的2.0输出.使用 directshow.net [ ^ ]库.
以及使用 GraphEdit [ ^ ]

Hi everyone,
I am writing a program for an experiment, which requires using 4 speakers putting in four positions: front/right, front/left, rear/right, and rear/left.
What I want to do is that a sound can be generated from one of the four speakers (randomized by program) each time.

For two speakers, I am possible to separate the left and right speakers easily using the pan change with the DirectSound. However, I have no ideas how to work this out with four speakers. Do I need to install 2 soundcards for the purpose?

I appreciate that if anyone can give me a direction or some hints for achieving the design of my experiment.

Many thanks.

解决方案

For that whatever sound card you are using that must be audio output with 4.0 channel or 4.1 etc.. but not 2.0 like left and right. using directshow.net[^] library you can use.
and also Simulating Graph Building with GraphEdit[^]


这篇关于如何使用4个扬声器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆