[Alsa-user] Creating 4 mono virtual devices
Hi, I have 3 devices in my notebook. hw:0,0 - internal soundcard hw:1,0 - usb soundcard hw:2,0 - pcmcia soundcard I need to create something like 4 virtual soundcards from hw:1 and hw:2 but with only 1 channel per each of them. Something like: virtual1 becomes left channel of hw:1,0 virtual2 becomes right channel of hw:1,0 virtual3 becomes left channel of hw:2,0 virtual4 becomes right channel of hw:2,0 I need that because i will be capturing 2 stereo channels at hw1 and hw2 line-ins, but I need to do separate things in realtime for each stereo channel. I tried some asoundrc configurations, but I still don't know how to do it, please help :) Thanks in advance, -- Marcin - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] How to get a list of pcm devices
Hi, I was wondering whether there is a function to get the list of pcm devices? It would be a list which the user could choose from. I've seen that if you run aplay -L you get it, but many of those pcm devices need arguments. aplay -L just calls snd_config_search(..., pcm, ...). Is there a way to get a restricted list of just the actual devices that can be used without arguments? thanks mario - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Creating 4 mono virtual devices
Marcin Lewandowski wrote: Hi, I have 3 devices in my notebook. hw:0,0 - internal soundcard hw:1,0 - usb soundcard hw:2,0 - pcmcia soundcard I need to create something like 4 virtual soundcards from hw:1 and hw:2 but with only 1 channel per each of them. Something like: virtual1 becomes left channel of hw:1,0 virtual2 becomes right channel of hw:1,0 virtual3 becomes left channel of hw:2,0 virtual4 becomes right channel of hw:2,0 I need that because i will be capturing 2 stereo channels at hw1 and hw2 line-ins, but I need to do separate things in realtime for each stereo channel. I tried some asoundrc configurations, but I still don't know how to do it, please help :) Thanks in advance, I would recommend using jackd for this task. jackd connects to the sound card, and then lets any number of application to connect to the stream. It is designed for low latency real time audio work. James - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Creating 4 mono virtual devices
James Courtier-Dutton wrote: I would recommend using jackd for this task. jackd connects to the sound card, and then lets any number of application to connect to the stream. It is designed for low latency real time audio work. Thanks for fast reply. ALSA would be the best for me because application that would do some conversion know how to read from ALSA. Is it possible with ALSA? -- m. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] ALi ac97 soundcard
I have a motherboard with an onboard ALi chipset. According to lspci it is a ALi Corporation high Definition Audio/AC97 Host Controller. According to official manual it is anADI1986A 6 Channel High Definition Audio CODEC Is this card supported by alsa? What is the driver name? -- http://dsgp.blogspot.com | Linux, programación, juegos Have no place I can be since I found Serenity But you can’t take the sky from me __ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] How to get a list of pcm devices
On Sat, 2006-09-16 at 10:38 +0100, Mario Rossi wrote: Hi, I was wondering whether there is a function to get the list of pcm devices? It would be a list which the user could choose from. I've seen that if you run aplay -L you get it, but many of those pcm devices need arguments. aplay -L just calls snd_config_search(..., pcm, ...). Is there a way to get a restricted list of just the actual devices that can be used without arguments? It's a known issue that ALSA has no usable device enumeration API. As far as I know no one is working on solving it. What exactly do you mean by PCM devices need arguments? Lee - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ALi ac97 soundcard
On Sat, 2006-09-16 at 10:09 -0400, Roger D Vargas wrote: I have a motherboard with an onboard ALi chipset. According to lspci it is a ALi Corporation high Definition Audio/AC97 Host Controller. According to official manual it is anADI1986A 6 Channel High Definition Audio CODEC Is this card supported by alsa? What is the driver name? It should be supported by snd-hda-intel but every machine with an HDA intel codec seems to be wired slightly differently. The only way to know for sure that the device works it to try it. Blame the HW vendors... Lee - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] Duplexing (?) Audiophile 2496
I recently installed a M-Audio Audiophile 2496 in machine running Mandriva 2006. All, including MIDI, runs just fine. But, it appears that I can only listen to a single stream at one time. I _think_ that it has something to do with the setup of either the /etc/asound.state or the .asoundrc files. I have copied/pasted some .asoundrc examples from this mailing list, but find no difference at all. My alsa version is 1.0.9b. The modules loaded are: bob$ /sbin/lsmod | grep snd snd_seq_midi6752 0 snd_seq_dummy 2532 0 snd_seq_oss31136 0 snd_seq_midi_event 5696 2 snd_seq_midi,snd_seq_oss snd_seq46960 6 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_pcm_oss48960 1 snd_mixer_oss 16896 2 snd_pcm_oss snd_ice171259684 2 snd_ice17xx_ak4xxx 3136 1 snd_ice1712 snd_ak4xxx_adda 5664 2 snd_ice1712,snd_ice17xx_ak4xxx snd_cs8427 8160 1 snd_ice1712 snd_ac97_codec 83900 1 snd_ice1712 snd_pcm79784 3 snd_pcm_oss,snd_ice1712,snd_ac97_codec snd_timer 20548 2 snd_seq,snd_pcm snd_page_alloc 8392 1 snd_pcm snd_i2c 4800 2 snd_ice1712,snd_cs8427 snd_mpu401_uart 5664 1 snd_ice1712 snd_rawmidi19616 2 snd_seq_midi,snd_mpu401_uart snd_seq_device 6828 5 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi snd46116 15 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_ice1712,snd_ak4xxx_adda,snd_cs8427,snd_ac97_codec,snd_pcm,snd_timer,snd_i2c,snd_mpu401_uart,snd_rawmidi,snd_seq_device soundcore 7008 3 snd Maybe I don't understand this ... corrections welcome ... but should programs not open there own, new, channels to the sound card using the card's multiple PCM channels as needed? I have run envy24control, but mutting/unmutting the different PCM 1-8 has no effect, other than turning on/off the digital mixer display ... but the output doesn't seem to be effected. Oh, just checked and neither esd or arts is running. Either something is wrong here or I am totally misunderstanding all this :) Thanks! -- ___ Play 100s of games for FREE! http://games.mail.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Duplexing (?) Audiophile 2496
On Sat, 2006-09-16 at 12:05 -0500, Bob van der Poel wrote: I recently installed a M-Audio Audiophile 2496 in machine running Mandriva 2006. All, including MIDI, runs just fine. But, it appears that I can only listen to a single stream at one time. I _think_ that it has something to do with the setup of either the /etc/asound.state or the .asoundrc files. I have copied/pasted some .asoundrc examples from this mailing list, but find no difference at all. My alsa version is 1.0.9b. ICE1712 has no hardware mixing, so this is the expected behavior with that ALSA version. Upgrade to a recent ALSA and software mixing (dmix) will be automatically enabled for this card, but you'll have better results just using JACK. Lee - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] adding latency/delay to back channels in a 4.0 speaker setup
Is there a way to introduce 80ms delay/latency to the rear left and rear right channels in a 4.0 setup? I have a computer hooked up to a Samsung TV on the front channels and a stereo hifi on the rear channels. For some reason, audio seems to be delayed by the TV and a very strong echo / stadium effect is produced by default. My guess is that the TV artificially delays audio to achieve video/audio synch. With mplayer I have been able to introduce 80ms delay on the rear channels so that everything sounds just right. For that, I use the following options on video clips that contain = 4 channels (for example, ac3): -channels 4 -af delay=0:0:80:80 -mixer-channel=pcm and this for stereo files (to get sound in both front and rear): -channels 4 -af channels=4:4:0:0:1:1:0:2:1:3,delay=0:0:80:80 -mixer-channel=pcm I'd like to achieve a similar effect for other apps as well. As it is now, apps like amarok or vice do play on both front and rear even for stereo, but with this terrible echo effect. Is there perhaps a way to setup an .asoundrc and some ladspa plugins to do this? I'm running Linux 2.6.17.13 on Debian Etch with alsa-* packages versioned 1.0.11-5. The audio device is, according to alsamixer, HDA NVidia Analog Devices AD1988B - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] Problems under running ./configure
Hi! I have a little problem with alsa driver: I've tried to install alsa driver for an laptop shipped with Intel HDA soundcard. But when I ran the ./configure, I get this: checking cross compile... checking for directory with kernel source... /lib/modules/2.6.17.13/source checking for directory with kernel build... /lib/modules/2.6.17.13/build checking for kernel linux/version.h... no The file /lib/modules/2.6.17.13/source/include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.17.13/source). The whole kernel source (the running kernel compiled from this) is in /usr/src/linux directory. When I set the --with-kernel=/usr/src/linux I got the same error. I checked the whole original kernel source, but no version.h in includes/linux. (2.6.17.13) What can I do? Thanks! Dchard - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] How to get a list of pcm devices
For instance, to use pcm.tee, one has to write aplay -D pcm.tee:slave_pcm_name,file_name some_file.wav while aplay -D pcm.tee some_file.wav does not work. So if one wants to give the user a list of valid plugins, pcm.tee is not good. cheers pcm.tee { @args [ SLAVE FILE FORMAT ] @args.SLAVE { type string } @args.FILE { type string } @args.FORMAT { type string default raw } type file slave.pcm $SLAVE file $FILE format $FORMAT } On 9/16/06, Lee Revell [EMAIL PROTECTED] wrote: On Sat, 2006-09-16 at 10:38 +0100, Mario Rossi wrote: Hi, I was wondering whether there is a function to get the list of pcm devices? It would be a list which the user could choose from. I've seen that if you run aplay -L you get it, but many of those pcm devices need arguments. aplay -L just calls snd_config_search(..., pcm, ...). Is there a way to get a restricted list of just the actual devices that can be used without arguments? It's a known issue that ALSA has no usable device enumeration API. As far as I know no one is working on solving it. What exactly do you mean by PCM devices need arguments? Lee - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] recording wine output
hejhej, i bet this has already been discussed, by i am (sorry for that) too blind to find: wine is playing some sounds over the wine-oss-driver (jack driver didnt worked for me...) through my alsa-device... works fine. now i want to record this stream via arecord... what do i have to do for that? do i have to create a new plug or dmix config? i already set the capturing in alsamixer to mix (which i guess should be the playback signal...) but then a simple arecord -D default -t wav -f cd test.wav does not work: it starts put it does nothing. (which seems right to me: wine is using the device so it cannot be used from arecord same time!?) i am afraid this might be a RTFM question, but it would be lovely if someone could just post the right commmand/config... thanks mart - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Duplexing (?) Audiophile 2496
- Original Message - From: Lee Revell [EMAIL PROTECTED] To: Bob van der Poel [EMAIL PROTECTED] Subject: Re: [Alsa-user] Duplexing (?) Audiophile 2496 Date: Sat, 16 Sep 2006 13:08:22 -0400 On Sat, 2006-09-16 at 12:05 -0500, Bob van der Poel wrote: I recently installed a M-Audio Audiophile 2496 in machine running Mandriva 2006. All, including MIDI, runs just fine. But, it appears that I can only listen to a single stream at one time. I _think_ that it has something to do with the setup of either the /etc/asound.state or the .asoundrc files. I have copied/pasted some .asoundrc examples from this mailing list, but find no difference at all. My alsa version is 1.0.9b. ICE1712 has no hardware mixing, so this is the expected behavior with that ALSA version. Upgrade to a recent ALSA and software mixing (dmix) will be automatically enabled for this card, but you'll have better results just using JACK. Thanks, Lee. I'll see if I can get JACK running. But, if there is no hardware mixing ... then what is the point of all those neat little VUE meters in envy24control? -- ___ Play 100s of games for FREE! http://games.mail.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Duplexing (?) Audiophile 2496
On Sat, 2006-09-16 at 17:52 -0500, Bob van der Poel wrote: Thanks, Lee. I'll see if I can get JACK running. But, if there is no hardware mixing ... then what is the point of all those neat little VUE meters in envy24control? The term mixing is overloaded. The device does have a hardware mixer that allows one to set the levels of various input and output channels. What it does not have is the ability to mix multiple audio streams from different applications. Lee - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Duplexing (?) Audiophile 2496
- Original Message - From: Lee Revell [EMAIL PROTECTED] To: Bob van der Poel [EMAIL PROTECTED] Subject: Re: [Alsa-user] Duplexing (?) Audiophile 2496 Date: Sat, 16 Sep 2006 19:09:43 -0400 On Sat, 2006-09-16 at 17:52 -0500, Bob van der Poel wrote: Thanks, Lee. I'll see if I can get JACK running. But, if there is no hardware mixing ... then what is the point of all those neat little VUE meters in envy24control? The term mixing is overloaded. The device does have a hardware mixer that allows one to set the levels of various input and output channels. What it does not have is the ability to mix multiple audio streams from different applications. Okay. I still don't really understand this ... the device can process multiple audio streams for different applications ... but my applications can only open 1 stream in total? I'm willing to leave this for an I'll figure it out some other day ... so, tried to run JACK. Here's what I did (I did this as user and root and didn't seem to make any difference): bob$ jackd --driver=alsa -o=8 -i=8 jackd 0.100.1 Copyright 2001-2005 Paul Davis and others. jackd comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK compiled with System V SHM support. loading driver .. creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit control device hw:0 configuring for 48000Hz, period = 1024 frames, buffer = 2 periods nperiods = 2 for capture nperiods = 2 for playback So, it appears that jack is running. But, when I try to run audio I get busy error messages. The most clear comes from mpg123: mpg123 *Yell* High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! /dev/dsp: Device or resource busy /dev/dsp: Device or resource busy /dev/dsp: Device or resource busy /dev/dsp: Device or resource busy /dev/dsp: Device or resource busy /dev/dsp: Device or resource busy /dev/dsp: Device or resource busy audio: Device or resource busy Your help on all this IS appreciated. I just don't get what's going on. Thanks. -- ___ Play 100s of games for FREE! http://games.mail.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user