Re: [Alsa-user] Audio codec channels as separate devices
Hello, I made the sound card's input and left channels as a separate device and run it by aplay -D myDevice test.wav arecord -D myDevice test.wav. So far so good but i can not see myDevice in alsamixer. Is there a solution for this? On Tue, Jul 1, 2014 at 2:11 PM, Mathias mathias.kra...@xse.de wrote: Hello, i made the right and left channels as separate devices but i also want to add the input channel to these devices. In alsa standard, #0 - front left, #1 - front right, #2 - rear left, #3 - rear right, #4 - center, and #5 - LFE (subwoofer) What is the identity of microphone (or) line in channel ? aplay -L lists output decives, while arecord -L lists input devices. The dmixer-like stuff will be dnsoop. - Mathias -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Audio codec channels as separate devices
Hi I made the sound card's input and left channels as a separate device and run it by aplay -D myDevice test.wav arecord -D myDevice test.wav. So far so good but i can not see myDevice in alsamixer. Is there a solution for this? alsamixer will only be available for controls, which your soundcard has one. If you want to have a volume control for your virtual single-channel devices, you have to use another softvol plugin. - Mathias -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Audio codec channels as separate devices
My .asoundrc is here: pcm.snd_card { type hw card 1 # change to your cards number or name } pcm.gcleft { type plug slave { pcm hw:1 channels 2 } ttable.0.0 1 } pcm.gcright { type plug slave { pcm hw:1 channels 2 } ttable.0.1 1 ttable.1.1 1 } pcm.nano { type asym playback.pcm gcleft capture.pcm snd_card } pcm.nano2 { type asym playback.pcm gcright capture.pcm snd_card } pcm.burak{ type plug slave.pcm nano } pcm.burak2{ type plug slave.pcm nano2 } I want to make these devices appear in alsamixer instead of the card 1. Yes this needs writing controller plugins. Any ideas? On Wed, Jul 2, 2014 at 3:55 PM, Mathias Krause mathias.kra...@xse.de wrote: Hi I made the sound card's input and left channels as a separate device and run it by aplay -D myDevice test.wav arecord -D myDevice test.wav. So far so good but i can not see myDevice in alsamixer. Is there a solution for this? alsamixer will only be available for controls, which your soundcard has one. If you want to have a volume control for your virtual single-channel devices, you have to use another softvol plugin. - Mathias -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Audio codec channels as separate devices
Hello, [...] pcm.snd_card { type hw card 1 # change to your cards number or name } pcm.gcleft { type plug slave { pcm hw:1 channels 2 } ttable.0.0 1 } [...] I want to make these devices appear in alsamixer instead of the card 1. Yes this needs writing controller plugins. Any ideas? as said before, use softvol for that. Please note that this will then be handled in software and therefore need CPU. Just use something like this: pcm.left { type softvol pcm.slave gcleft ... } - Mathias -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Audio codec channels as separate devices
I use it in a Desktop PC. What do you mean by need CPU? I tried this and saw nothing an alsamixer. Can i change the hardware device names in alsamixser using plugins? On Wed, Jul 2, 2014 at 5:32 PM, Mathias Krause mathias.kra...@xse.de wrote: Hello, [...] pcm.snd_card { type hw card 1 # change to your cards number or name } pcm.gcleft { type plug slave { pcm hw:1 channels 2 } ttable.0.0 1 } [...] I want to make these devices appear in alsamixer instead of the card 1. Yes this needs writing controller plugins. Any ideas? as said before, use softvol for that. Please note that this will then be handled in software and therefore need CPU. Just use something like this: pcm.left { type softvol pcm.slave gcleft ... } - Mathias -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Audio codec channels as separate devices
On Wed, 2014-07-02 at 18:08 +0300, Burak METİN wrote: What do you mean by need CPU? He pointed out, that the software providing what you need, other than a hardware solution, does need CPU resources, IOW some percentage of the CPU is used to provide the functionality you need. $ top does show %CPU. https://en.wikipedia.org/wiki/Softvol Some sound devices provide amazing hardware mixers, that are remote controlled by software, but the software doesn't do the processing. I e.g. own a RME audio card, that comes with the amazing TotalMix, unfortunately the Linux driver for my card is a PITA. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Audio codec channels as separate devices
Ok, i got the point about cpu usage. Can the soun device names be changed using plugins? I have searched the alsa plugins wiki page but couldn't get an answer for this. For example my device is named as hda_intel in alsamixer and i want to change it. Is it possible? On 2 Jul 2014 20:35, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Wed, 2014-07-02 at 18:08 +0300, Burak METİN wrote: What do you mean by need CPU? He pointed out, that the software providing what you need, other than a hardware solution, does need CPU resources, IOW some percentage of the CPU is used to provide the functionality you need. $ top does show %CPU. https://en.wikipedia.org/wiki/Softvol Some sound devices provide amazing hardware mixers, that are remote controlled by software, but the software doesn't do the processing. I e.g. own a RME audio card, that comes with the amazing TotalMix, unfortunately the Linux driver for my card is a PITA. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Audio codec channels as separate devices
Burak METİN wrote: I want to use the channels of the usb audio codec with independent sounds. See Splitting front and rear outputs on http://alsa.opensrc.org/Asoundrc. I have changed the /etc/asound.conf as below but nothing changed in alsamixer and aplay -l These programs show only hardware controls/devices. Regards, Clemens -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Audio codec channels as separate devices
Hello, please try using something like that. (un-tested). Playing to dev1 and dev2 should then create mono streams with are send to one of the dmixer channel. Check http://www.alsa-project.org/main/index.php/Asoundrc to see what is going on. Regards, Mathias pcm.dev1 { type plug slave.pcm dmixer slave.channels 1 ttable.0.0 0.5 ttable.1.0 0.5 } pcm.dev2 { type plug slave.pcm dmixer ttable.0.1 0.5 Ttable.1.1 0.5 } pcm.dmixer { type dmix ipc_key 1024 slave { pcm hw:1,0 period_time 0 period_size 1024 buffer_size 4096 rate 44100 } bindings { 0 0 1 1 } } From: Burak METİN [mailto:metinbu...@gmail.com] Sent: Monday, June 30, 2014 7:14 PM To: Krause, Mathias Cc: alsa-user@lists.sourceforge.net Subject: Re: [Alsa-user] Audio codec channels as separate devices Hello, I have changed the /etc/asound.conf as below but nothing changed in alsamixer and aplay -l pcm.!iteration { type plug slave.pcm dmixer } pcm.dmixer { type dmix ipc_key 1024 slave { pcm hw:1,0 period_time 0 period_size 1024 buffer_size 4096 rate 44100 } bindings { 0 0 1 1 } } ctl.dmixer { type hw card 0 } On Mon, Jun 30, 2014 at 4:58 PM, Krause, Mathias mathias.kra...@xse.demailto:mathias.kra...@xse.de wrote: Hello, yes, check a combination of dmix and route (or plug) to do that: http://www.alsa-project.org/main/index.php/Asoundrc - Mathias Hello, I want to use the channels of the usb audio codec with independent sounds. Is it possible to make these channels separate devices by using alsa plugins? -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Audio codec channels as separate devices
Hello, i made the right and left channels as separate devices but i also want to add the input channel to these devices. In alsa standard, #0 - front left, #1 - front right, #2 - rear left, #3 - rear right, #4 - center, and #5 - LFE (subwoofer) What is the identity of microphone (or) line in channel ? aplay -L lists output decives, while arecord -L lists input devices. The dmixer-like stuff will be dnsoop. - Mathias -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Audio codec channels as separate devices
I added the capture devices also to the pcm plug devices On Tue, Jul 1, 2014 at 2:11 PM, Mathias mathias.kra...@xse.de wrote: Hello, i made the right and left channels as separate devices but i also want to add the input channel to these devices. In alsa standard, #0 - front left, #1 - front right, #2 - rear left, #3 - rear right, #4 - center, and #5 - LFE (subwoofer) What is the identity of microphone (or) line in channel ? aplay -L lists output decives, while arecord -L lists input devices. The dmixer-like stuff will be dnsoop. - Mathias -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Audio codec channels as separate devices
Hello, yes, check a combination of dmix and route (or plug) to do that: http://www.alsa-project.org/main/index.php/Asoundrc - Mathias Hello, I want to use the channels of the usb audio codec with independent sounds. Is it possible to make these channels separate devices by using alsa plugins? -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Audio codec channels as separate devices
Hello, I have changed the /etc/asound.conf as below but nothing changed in alsamixer and aplay -l pcm.!iteration { type plug slave.pcm dmixer } pcm.dmixer { type dmix ipc_key 1024 slave { pcm hw:1,0 period_time 0 period_size 1024 buffer_size 4096 rate 44100 } bindings { 0 0 1 1 } } ctl.dmixer { type hw card 0 } On Mon, Jun 30, 2014 at 4:58 PM, Krause, Mathias mathias.kra...@xse.de wrote: Hello, yes, check a combination of dmix and route (or plug) to do that: http://www.alsa-project.org/main/index.php/Asoundrc - Mathias Hello, I want to use the channels of the usb audio codec with independent sounds. Is it possible to make these channels separate devices by using alsa plugins? -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user