No need for /etc/asound.conf ~/.asoundrc for mixing anymore?
Hullo!
I just installed the new version of MPD and was at the first time trying to do ALSA all the mixing of multiple audio streams on its own and found it working without any problems.
Sure, this is surely nothing new an might be the case since a year or something like that, but to improve the Archwiki article on this, I'd like to hear some more experiences with this setup from people who use other programs than me...
Ok, here's how I've done it.
You need a correctly set up ALSA as well as 'libao' installed.
To use libao, create either /etc/libao.conf(for system-wide setup) or ~/.libao and write only this line into it:
default_driver=alsa09
There are (at least to my knowlegde) 3 types of programs:
1. The ones that directly support alsa output
2. Programs that use libao for audio output
3. Programs supporting only oss output.
It is possible to mix the output of all these programs simultaneously to your card. it works!
mpd: (supports direct alsa output)
does not need any sound specific settings in the conf file. It chooses a usable audio output itself.
NOTE:I only have alsa as output device installed. I don't know, who mpd behaves when it finds artsd, esd, jack or whatever. Specifying a certain output may be necessary to have everything working.
mplayer, mpg321, gaim (libao)
these programs use libao to pipe their audio streams to whereever libao sends them, so setting default_driver to alsa09 solves all problems with these programs
opera (as example for the oss fraction)
Has to be started through "aoss opera" to enjoy sound mixing with flash movies and mp3s in the browser. To avoid having to load aoss before starting any oss-app, shaurz has posted a solution in the forums. Nice thing!
That are all the programs I've tried so far and I have no problems with scratching sounds or reduced sound quality (as the wiki says) but maybe I just can't hear any difference with my disco-damaged ears..
What I would like to hear now: Whar are your experiencas with the alsa software mixing systeme aka dmix in 'vanilla setup'? Did you find any programs that need an own asound-configuration or is this setup commonly-usable without any disadvantages so an update to the concerning wiki-page could be finally done?
greets,
jakob
I noticed something strange (cool) aswell. I've got an onboard Realtek somethingsomething sound"card" (using the snd-intel8x0 module). It didn't support mixing out of the box on Linux using ALSA. I had to fiddle aroudn with dmix after which it would work great.
I'm running a pretty recent installation and I hadn't come around to do the mixing part of my sound yet, but yesterday it seemed to work by itself! Before, I could only have one source using ALSA (e.g. one mplayer). But now, it all works together!
I don't know what I did that made this happen. Maybe just a simple pacman -Syu. Or maybe I got wasted and fixed it after I blacked out, another viable possibility.
Similar Messages
-
Hello all. I read about certain CFLAGS you can set in /etc/makepkf.conf, so I checked out if there was anything i could do to make the packages built on my system more optimized. However, as the title states, I'm not sure what to set. The sticker on my Thinkpad T61 says "Intel® Centrino® vPro™ inside™"
Which CPU type from the Intel list on that page applies to me? Thanks
Last edited by robrene (2009-09-14 10:37:45)This Gentoo wiki page looks legit. You may want to do a bit of background research before you dig into compile flags, as there's quite a lot that gcc can break when you tell it to crunch down your programs. Also, gcc's man page is pretty exhaustive; but if you're just looking for your -march flag, it's pentium-m.
Big 'AFAIK' here, but ignore the 'pro,' as Intel tends to arbitrarily tack that on products to up the price tag a smidgeon. -
Hello:
I foolishly modified the /etc/sysctl.conf file on my Macmini server running 10.8.4 server and now things do not work as expected:
* most programs fail to launch (Firefox, Git, Safari)
* the system takes a long time to boot
* there is no network connectivity
* the Server app (and services) fail to launch
I'll greatly appreciate if somebody could post or point me to a stock or default "/etc/sysctl.conf" file.
I did try deleting the /etc/sysctl.conf file altogether, but it did not solve my problem.
Thanks.KnowsABit wrote:
It's interesting and worrisome that both of these answers conflict with the instructions at the Postgres web site, and in other posts about installing Postgres on Mountain Lion. According to those resources, there is no such file by default, but creating it (and rebooting) is the way to change these settings.
This thread is about Postgres on OS X Server, which is installed by default. You shouldn't have to do anything else to set it up. If you are installing Postgres on OS X Client, then you may have some work to do. I tried Postgres a couple of years ago. It was pretty clunky. I assume Apple does a better job of configuring Postgres than Postgres. I suggest installing OS X Server if you want to run Postgres and MySQL is not suitable for some reason. -
Hello,
I have a laptop dell studio xps 1647 with IDT 92HD73C1X5 chipset. I have Alsa only (no pulseaudio with which I had problem running Spotify and Kde)
I spent time reading and searching information but I do not understand everything about the way alsa and up/down mixing is running.
I have some questions:
1. On my laptop, I have 2 front and one subwoofer. So it means that I have 2.1 soundsystem right? But on Windows (and Linux), I have the greatest sound quality putting 5.1 sound with IDT software. Why ? How does it work ? Why don't I have better sound putting 2.1 option ??
2. When I was running with Pulseaudio, I was stuck to 4.0 sound according with this issue: https://bbs.archlinux.org/viewtopic.php?id=111727 and no way to put 5.1 sound on smplayer (for example). Now that I removed pulseaudio, I can run 5.1 sound on smplayer and enjoy pretty good quality sound with movies. BUT this is apparently the only apps with which I can do this. Amarok doesn't seem to use 5.1, neither do Audacious or kde notifications or whatever apps I use. How can I change it ?? Because There is a real quality difference between sound on smplayer and on other apps.
3. I tried to change my asound.conf with this one: http://dl.dropbox.com/u/18371907/asoundrc but of course it is made for a specific laptop. So it does'nt work at all (no sound). I do not really understand how it works. Is there some wiki about tweaking asound.conf with all these options ??
4. When I run
speaker-test -c 6 -D surround51 -t wav
I have every sound but LFE.
What is exactly LFE ? How can I enable it ??
5. Pulseaudio or not Pulseaudio ?? If I do not wanna use network possibilities of pulseaudio, there is no other interest in it right ? there is no better quality sound with it ??
6. what is exactly S/PDIF ?? and how do I know if I have analog or digital system ??? what does it change ?
thanks A LOT to pay attention to my questions :-)
And sorry for my bad English and my noob questions ^^
some information:
$ cat /etc/asound.conf
defaults.pcm.rate_converter "samplerate_medium"
pcm.!surround51 {
type vdownmix
slave.pcm "default"
pcm.!surround40 {
type vdownmix
slave.pcm "default"
references from alsa:
STAC92HD73*
===========
ref Reference board
no-jd BIOS setup but without jack-detection
intel Intel DG45* mobos
dell-m6-amic Dell desktops/laptops with analog mics
dell-m6-dmic Dell desktops/laptops with digital mics
dell-m6 Dell desktops/laptops with both type of mics
dell-eq Dell desktops/laptops
alienware Alienware M17x
auto BIOS setup (default)
$ cat /etc/modprobe.d/alsa-base.conf
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=dell-m6
options snd-hda-intel enable_msi=1
$ cat /etc/modprobe.d/sound_persistent.conf
options snd slots=snd_hda_intel,snd_hda_intel
$ aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: Intel [HDA Intel], périphérique 0: STAC92xx Analog [STAC92xx Analog]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 1: HDMI [HDA ATI HDMI], périphérique 3: HDMI 0 [HDMI 0]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
HDA Intel, STAC92xx Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Front speakers
surround41:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.0 Surround output to Front, Center and Rear speakers
surround71:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
Last edited by Gillian00 (2012-01-08 17:40:39)I have the greatest sound quality putting 5.1 sound with IDT software. Why ? How does it work ? Why don't I have better sound putting 2.1 option ??
Is it "quality", or just loudness?
You want to get the "LFE" (subwoofer) working - try this:
options snd-hda-intel model=dell-m6-dmic -
Clusterware confused in /etc/ocfs.conf or /etc/ocfs2/cluster.conf
Hello,
This is very surprising sitaution . I installed ocfs2 ,when I finished installing clusterware it is asking for /etc/ocfs.conf and integrity check is failing.
OS RHEL 4 64 bit
ORACLE 10.2
anyone have clue that why clusterware is behaving like this?
Thanks,
S.MannMore info...
I installed OCFS2 and when I check the inetgrity
the result is this
sh runcluvfy.sh comp cfs -n node1,node2 -f /u21
Verifying CFS integrity
Checking CFS integrity...
Checking existence of "/etc/ocfs.conf" file...
File "/etc/ocfs.conf" does not exist on the following nodes:
node2
Existence check failed for file "/etc/ocfs.conf".
Checking host-guid uniqueness...
Uniqueness check for host-guid failed.
Checking required run level configuration for ocfs...
OCFS is configured with proper run level on all the nodes.
Checking shared storage accessibility...
"/u21" is not shared.
Shared storage check failed on nodes "node2,node1".
==============================
Why it is /etc/ocfs.conf as this is not the feature of OCFS2? -
How do i add the "hal" daemon to the DAEMONS array in /etc/rc.conf?
I know how to get into the editor for /etc/rc.conf , but what exactly do i type to add "hal" to the array?
Gowireless - please, use some common sense when reading the documentation.
DAEMONS Section
This array simply lists the names of those scripts contained in /etc/rc.d/ which are to be started during the boot process, and the order in which they start. Asynchronous initialization by backgrounding is also supported and useful for speeding up boot.
DAEMONS=(network @syslog-ng netfs @crond)
I dunno, maybe putting in hal into the DAEMONS array would work?
Also, it's really annoying for you to create a new thread every two hours with a new question that could be solved by following the beginner's guide step by step. If you follow it carefully, your problems will all be solved. Trust me. When I first started using Arch, following the beginner's guide did wonders for my Arch Linux installation. -
Hi,
A few songs from my old purchase is not available for download. It shows as purchased but I can't download it. Please help me resolve this problem, what do I need to do to enable download for all my purchased songs/movies etc.
- AvinashThe purchases are probably hidden:
http://support.apple.com/kb/ht4919 -
I have a MacBookPro6,2 and would like to connect an older Dell flatscreen, model L17BNS. I would welcome any information about the type of cable I need and any settings I might need to change, etc. Thank you for your time! I really appreciate the assistance. Kathy
According to:
http://en.community.dell.com/support-forums/desktop/f/3515/p/19351107/19767627.a spx#19767627
It has DVI ports. This means you are best to use an adapter that supports DVI. Note there is no audio that carries over DVI. What you need is a mini-Displayport to DVI adapter, and the proper DVI cable. Since Dell doesn't have the specs, you'll need to tell us if you have pins or holes, and how many are grouped. -
I don't want Adobe to open up and be selected immediately. I work with iPhoto and Ipages etc and preview which needs to be my main application for my work , but need adobe reader for other files... how can I do this please?
loopiloo1 wrote:
I don't want Adobe to open up and be selected immediately.
Sorry, I don't understand this - you don't want Adobe [Reader] not to open when doing what? On what operating system? -
I need to run windows program's like word and excel and PowerPoint etc on my mac for college , how can I do it?
You can install Office for Mac
You can install Windows using Boot Camp Assistant then install Office for Windows in your Windows installation
You can install Windows and Office for Windows using a virtual machine like Fusion, Parallels, or VirtualBox -
HT5244 Do I need McAffee, etc security for my iPad
Do I need McAffee, etc security for my iPad 3 or can I do internet banking etc without worry.
I originally had a Zagg screen cover but they are tricky to install good. Too easy for a piece of lint or such to get under them. I replaced it with a cheap 'three covers for 5 dollars' screen protector. It's a bit annoying because its glossy....but right now I have my iPad in a Zagg portfolio so it's in a case with a keyboard - and there are little rubber bumpers that touch the iPad, and I like the thought of having the screen protector there just in case.
Look for one that advertises no residue and that clings more by static than any adhesive. I'd also look and see if it advertises clarity and a matte surface...the glossy iPad screen can be a bit tricky in the wrong lighting.
I'll always have one on mine, just because. I've sunk a chunk o change into this and I'd like to protect it. -
I think I need help with driver (software) settings for D110a
I think I need help with driver (software) settings for D110a all-in-one
Product: D110a all-in-one
OS: Windows XP Professional
Error messages: None
Changes before problem appeared: None--new installation
The quality of photo images (mostly JPG files) in printouts is awful even though the files display beautifully on the PC screen. I am using
IrfanView software for displaying/printing. As far as I can tell, IrfanView is not the problem.
When I print the same images on a Deskjet 5150 attached to a different PC also running XP Pro and IrfanView, the quality of the printouts is at
least acceptable, Some would probably say good or very good.
It's dificult to explain in words the problem with the printouts. A picture of really pretty vegetables (squashes, tomatoes, watermelon, etc) comes
out much too red. Moreover, the red, which appears shaded on the screen, seems to be all one shade in the D110a printouts.
Something similar happens to a view of a huge tree in full leaf. On screen, there are subtle variations in the "greenness" of the leaves. In the
printout, all green is the same shade. In the same printout, the trunk of the tree is all a single shade of grey. It isn;t even obvious that the
trunk is a round, solid object.
I liken the effect to audio that disappears entirely when you lower the volume and gets clipped into square waves in even moderately loud passages.
I don't know whether the D110a driver software permits adjusting the parameters that appear to be set incorrectly, and if adjustments are possible,
how I would identify which parameters to adjust, how I would access them, or how I would adjust them. I'm hoping that someone can help. Thanks.
I forgot to mention that I have used the diagnostic application and it tells me that there are no problems.
e-mail me at [email protected]brazzmonkey wrote:
Hi everyone,
I noticed the following message when network starts on my gateway
Warning: This functionality is deprecated.
Please refer to /etc/rc.conf on how to define a single wired
connection, or use a utility such as netcfg.
Then I realized the way network settings should be written in rc.conf has changed. But I can't figure out how this should be done.
Currently, my set up is the following (old way):
INTERFACES=(eth0 eth1)
eth0="dhcp"
eth1="eth1 192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255"
ROUTES=(!gateway)
eth0 is on DHCP because the IP is dynamically assigned my ISP.
eth1 has a fix IP because it's on the LAN side.
No problem to use DHCP on eth0 with the new settings.
But for eth1, I don't know what I am supposed to write for gateway.
Wiki isn't clear on that one either, and it looks like many articles still refer to the old way.
Any guidance appreciated, thanks.
brazzmonkey,
you can't define 2 interfaces the old way (even though I saw some tricky workaround somewhere in the forums).
Use, f.e., netcfg:
Comment your old lines.
In /etc/rc.conf insert:
NETWORKS=(Eth0-dhcp Eth1-static)
DAEMONS=(..... !network @net-profiles ....)
In /etc/network.d create 2 files:
First one is named Eth0-dhcp.
Contents:
CONNECTION="ethernet"
DESCRIPTION="Whatever text"
INTERFACE=eth0
HOSTNAME="your hostname"
IP="dhcp"
DHCP_TIMEOUT=15
Second one is named Eth1-static.
Contents:
CONNECTION='ethernet'
DESCRIPTION='whatver'
INTERFACE='eth1'
HOSTNAME='hname'
IP='static'
ADDR='192.168.0.10'
GATEWAY='192.168.0.1' # your gateway IP
DNS=('192.168.0.1') # your DNS server
The names Eth0-dhcp and Eth1-static are not magic. They just must be the same in rc.conf and in /etc/network.d.
Hope it helps.
mektub
PS: netcfg must be installed.
Last edited by Mektub (2011-07-20 14:07:05) -
With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message even when im using the phone, has this probleme with the iOs 6.0.1 and also with the iOs 6.1
This isn't an issue. Notice the screen prior to the one that shows usage has an iCloud section and a Manage Storage button. For this button to activate ios needs to download a few kb from icloud. Switching back to this screen forces ios to download those few kb.
-
How can I create a high res image gallery, need to have print res photos for a pressroom section.
If you want Muse to "pass through" your images and not adjust, compress, crop etc - you need to place your images in the lightbox EXACTLY at the right size, pre-cropped and prepped in Photoshop.
So if your light box is 800x600 the image you're dropping into that must be 800x600 exactly with no effects, rotation etc added to the lightbox frame. This stop Muse fiddling with your images, if they are perfect when inserted and you're not asking Muse to crop, expand, add effects etc. If it's perfect when inserted, Muse SHOULD also leave the resolution alone too, but I have not tried that one, but in theory, it should work. -
Need help with date range searches for Table Sources in SES
Hi all,
I need help, please. I am trying to satisfy a Level 1 client requirement for the ability to search for records in crawled table sources by a date and/or date range. I have performed the following steps, and did not get accurate results from Advanced searching for date. Please help me understand what I am doing wrong, and/or if there is a way to define a date search attribute without creating a LOV for a date column. (My tables have 500,00 rows.)
I am using SES 10.1.8.3 on Windows 32.
My Oracle 10g Spatial Table is called REPORTS and this table has the following columns:
TRACKNUM Varchar2
TITLE Varchar2
SUMMARY CLOB
SYMBOLCODE Varchar2
Timestamp Date
OBSDATE Date
GEOM SDO_GEOMETRY
I set up the REPORTS table source in SES, using TRACKNUM as the Primary Key (unique and not null), and SUMMARY as the CONTENT Column. In the Table Column Mappings I defined TITLE as String and TITLE.
Under Global Settings > Search Attributes I defined a new Search Attribute (type Date) called DATE OCCURRED (DD-MON-YY).
Went back to REPORTS source previously defined and added a new Table Column Mapping - mapping OBSDATE to the newly defined DATE OCCURRED (DD-MON-YY) search attribute.
I then modified the Schedule for the REPORTS source Crawler Policy to “Process All Documents”.
Schedule crawls and indexes entire REPORTS table.
In SES Advanced Search page, I enter my search keyword, select Specific Source Group as REPORTS, select All Match, and used the pick list to select the DATE OCCURRED (DD-MON-YY) Attribute Name, operator of Greater than equal, and entered the Value 01-JAN-07. Then the second attribute name of DATE_OCCURRED (DD-MON-YY), less than equals, 10-JAN-07.
Search results gave me 38,000 documents, and the first 25 I looked at had dates NOT within the 01-JAN-07 / 10-JAN-07 range. (e.g. OBSDATE= 10-MAR-07, 22-SEP-07, 02-FEB-08, etc.)
And, none of the results I opened had ANY dates within the SUMMARY CLOB…in case that’s what was being found in the search.
Can someone help me figure out how to allow my client to search for specific dated records in a db table using a single column for the date? This is a major requirement and they are anxiously awaiting my solution.
Thanks very much, in advance….raford,
Thanks very much for your reply. However, from what I've read in the SES Admin Document is that (I think) the date format DD/MM/YYYY pertains only to searches on "file system" sources (e.g. Word, Excel, Powerpoint, PDF, etc.). We have 3 file system sources among our 25 total sources. The remaining 22 sources are all TABLE or DATABASE sources. The DBA here has done a great job getting the data standardized using the typical/default Oracle DATE type format in our TABLE sources (DD-MON-YY). Our tables have anywhere from 1500 rows to 2 million rows.
I tested your theory that the dates we are entering are being changed to Strings behind the scenes and on the Advanced Page, searched for results using OBSDATE equals 01/02/2007 in an attempt to find data that I know for certain to be in the mapped OBSDATE table column as 01-FEB-07. My result set contained data that had an OBSDATE of 03-MAR-07 and none containing 01-FEB-07.
Here is the big issue...in order for my client to fulfill his primary mission, one of the top 5 requirements is that he/she be able to find specific table rows that are contain a specific date or range of dates.
thanks very much!
Maybe you are looking for
-
I have a older laptop. 5 or 6 years old. When I plug my ipod into the usb port a message pops up saying that this devise could preform faster, if I had a high speed usb port on my computer. Could this be the problem why I cant put songs from itunes o
-
External USB HD doesn't show up on the desktop
I have an iMac G5 with 10.4.10 installed on it Last week after the update to 10.4.10 my LaCie usb conected hard drive still showed up on my desktop but after a second restart it disapeared and never came back. If I connect my external HD with a windo
-
I hope somebody can help me. I am a complete novice using Dreamweaver8. I have created a template with a single editable region and applied that template to numerous pages on my site. I don't understand why some of the pages are more narrow than othe
-
I was helping my grandma put something into the car and placed my iphone 4 on top of the roof so I could use both hands. As I put it down I thought to myself I can not forget to pick it up again but what did I do, I forgot about it. We went back to l
-
Photosmart C4580 - printing multiple pages in error
Hi - I have the above printer, and it is printing multiple pages instead of the number requested. I have to physically stop the printing after the required number of pages, otherwise it will continue to print more of the same pages. I have uninstall