Skip to contentSkip to conversation

speaker configuration

DISCUSSION Ronald S. Bultje 2 participants 2 messages Jul 22, 2004 – Jul 23, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

if I setup a sound playback stream using N channels, how do I find out what the speaker configuration is? For example, my SB Audigy 2 NX supports (using hw: access) 2, 4, 6 and 8 channels. 2 is stereo, 8 is probably 7.1 (3 front, 2 side, 2 rear, 1 lfe), 6 is probably 5.1 (same as 7.1, without side). What is 4? If I open the card using plughw:, I get 1-32 channels. What does each of those mean? And related to this, what is the speaker's position order? In other words, if I send 8 interleaved channelsamples of sound (1 soundsample) to my channels=8 soundcard, on what speaker will the first, second, ... channelsample be played?

Thanks,

Ronald

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

#1 lore raw
Quoted 13 lines · Ronald S. Bultje

Hi,

if I setup a sound playback stream using N channels, how do I find out what the speaker configuration is? For example, my SB Audigy 2 NX supports (using hw: access) 2, 4, 6 and 8 channels. 2 is stereo, 8 is probably 7.1 (3 front, 2 side, 2 rear, 1 lfe), 6 is probably 5.1 (same as 7.1, without side). What is 4? If I open the card using plughw:, I get 1-32 channels. What does each of those mean? And related to this, what is the speaker's position order? In other words, if I send 8 interleaved channelsamples of sound (1 soundsample) to my channels=8 soundcard, on what speaker will the first, second, ... channelsample be played?

Quoted 4 lines

Thanks,

Ronald

The general speaker order is:
Channel
0 - Front Left
1 - Front Right
2 - Rear Left
3 - Rear Right
4 - Center
5 - LFE
6 - Side Left
7 - Side Right

alsa provides nicer names.
For X open with device name Y.

X        Y
2.0      "plug:front"
4.0      "plug:surround40"
5.1      "plug:surround51"
7.1      "plug:surround71"

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click