Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Again, it's me. Like many people before, I want my four analogue speakers to be a surround40 device *and*, whenever I play from a stereo (and not a surround source), they all four playing this sound.
I already had this question, and some member suggested to use the device "surround40"; but this device though enables this capativity, but plays the stereo source only on my front speakers. I played a bit around with the .asoundrc file, and had this solution in the end:
# Duplicate a stereo source to the rear speakers
# do a rate conversion since 44100 is played to fast
Now, this works, and quite nice, for example when playing mp3's with xmms. But! I'm not sure whether this would "kill" any real surround sound, e.g. when watching a DVD. I cannot test, since I don't know how (the only thing I could do was looking for a surround sound file, but I found none). Could please anybody answer this, and, perhaps, provide a solution that would not overwrite any surround sound source (if my solution does this).
I'm a totally ALSA and am thankful for every piece of help
Last edited by BedriddenTech; 10-09-2004 at 03:17 PM.
You will have to specify rate48000 in the default. Then every program will use it if you use alsa as the sound device. If your sound card does not do any hardware mixing, you have to use dmix. For 6 channel output (5.1), you have specify alsa and the surround51 device. In some programs you may have to specify six channels. No, this will not effect a 6 channel output from a video or audio like a DVD movie. The alsa library ttable just copies the audio, so you are not getting real simulated surround sound. You have to delay and decrease volume for the rear channels. You can use the code below but delay will have to be done by a circuit because the ladpa filter plugins does not support multi-channels. The code below is just a volume change. Instead of 1 or 100% for the volume, it will be 0.75 or 75% of volume for the rears. The front channels will be untouched.
# Duplicate a stereo source to the rear speakers
A primitive of adding delay is to use sealed (acoustic suspension) type speakers for the front and vented (bass reflex) for the rears. The vented box type has about 30 ms or more for the delays. The sealed is about 5 ms to 15 ms. Doing this way, you do not have to worry about adding delays because the different box types will do it for you.
If you are not using bipole (rear) or dipole (side) speakers for the rears, make sure the speakers are not directly pointing at the listening center. The rear channels only gives ambient sound which means the rears should be first bouncing off an diffused material and then at the listening area to get the full effect of surround sound.
Sorry I went off topic, but a lot of people setup surround sound systems wrong.
The rear channels should not be as loud as the front channel. Think of a lamp shade versus a lamp with out a lamp shade. The lamp with a lamp shade gives out ambient light which will be like the rear channels. The front channels will be like the lamp without a lamp shade that outputs all light .
I used 0.75 for the rear channels and I have no problems with it.
The 0.75 or 75% of volume for the rears makes it easier to hear the audio better instead of most of the frequencies be canceled if 1.0 is used. This is not concert hall because there is no set delay and reverb.
The lines below will simulate theater like setting that A/V Prologic Recieivers will give you.
4 is center channel and 5 is subwoofer. Though there is no low-pass filter for the subwoofer channel, so you have to use an active low-pass filter (op-amp or transistors) on the line out jack or use a passive low-pass filter (capacitors and inductors) on the subwoofer amplifier output. Also you will have to create a device that will do delay and reverb effects for the rear channels.
I have not come up a way to only transfer a channel through a ladpa low-pass and delay filter using ALSA.