Re: [RDD] USB Microphone configuration

2020-07-30 Thread Andrew Pepper
Yeah, I was planning on getting a Blue Yeti, but the Scot in me came out 
and I saw a no-name brand on Amazon that was a 1/4 of the price!


Yes you are correct this mic does not have a playback channel, so is 
probably the reason rivendell does not see it automatically.



On 7/30/20 12:34 PM, David Klann wrote:

Hey Andrew,

On 7/30/20 7:14 AM, you replied:

Yes I tried rdalsaconfig under root. Only my main card the M-audio
shows, but not the USB mic.
I'm thinking as this is not a "full" card only a recording device it
probably requires a manual add And I know ALSA sees the USB mic as
running arecord -l shows it as an available recording device.



Check the contents of the directory /proc/asound/card? where "?"
represents the ALSA device number you see with `arecord -l`. If that
directory is missing a pcm0p subdirectory, then I think (from looking at
the source code in utils/rdalsaconfig/) Rivendell won't recognize its
presence. Also check for a file in that directory named "usbmixer". Code
in utils/rdalsaconfig/rdalsacard.cpp leads me to think that Rivendell
will ignore it if the sound device doesn't have an on-board mixer

I've got a Yeti Blue USB mic here and Rivendell sees it just fine. But
since it has a headphone jack, I guess it presents a playback channel to
ALSA... Maybe your mic doesn't have any playback capability at all?

The code in utils/rdalsaconfig/ looks like it is also restricting it's
"lookup" of ALSA devices to ones that support the currently selected
sample rate (RDAdmin->System Settings). So rdalsaconfig might not see
your device if it doesn't support the current rate?

I didn't study too deeply, but these are some hunches from just glancing
at the code. Maybe someone better acquainted with the code can verify?

~David Klann


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] USB Microphone configuration

2020-07-30 Thread David Klann
Hey Andrew,

On 7/30/20 7:14 AM, you replied:
> Yes I tried rdalsaconfig under root. Only my main card the M-audio 
> shows, but not the USB mic.
> I'm thinking as this is not a "full" card only a recording device it 
> probably requires a manual add And I know ALSA sees the USB mic as 
> running arecord -l shows it as an available recording device.
> 
> 

Check the contents of the directory /proc/asound/card? where "?" 
represents the ALSA device number you see with `arecord -l`. If that 
directory is missing a pcm0p subdirectory, then I think (from looking at 
the source code in utils/rdalsaconfig/) Rivendell won't recognize its 
presence. Also check for a file in that directory named "usbmixer". Code 
in utils/rdalsaconfig/rdalsacard.cpp leads me to think that Rivendell 
will ignore it if the sound device doesn't have an on-board mixer

I've got a Yeti Blue USB mic here and Rivendell sees it just fine. But 
since it has a headphone jack, I guess it presents a playback channel to 
ALSA... Maybe your mic doesn't have any playback capability at all?

The code in utils/rdalsaconfig/ looks like it is also restricting it's 
"lookup" of ALSA devices to ones that support the currently selected 
sample rate (RDAdmin->System Settings). So rdalsaconfig might not see 
your device if it doesn't support the current rate?

I didn't study too deeply, but these are some hunches from just glancing 
at the code. Maybe someone better acquainted with the code can verify?

   ~David Klann

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] USB Microphone configuration

2020-07-30 Thread Lorne Tyndale
Maybe try adding rate 48000 to the USB section of /etc/asound.conf


> 
> Yes I tried rdalsaconfig under root. Only my main card the M-audio shows,
> but not the USB mic.
> I'm thinking as this is not a "full" card only a recording device it
> probably requires a manual add And I know ALSA sees the USB mic as
> running arecord -l shows it as an available recording device.
> 
> Andrew
> 
> On Wed, Jul 29, 2020, 21:39 David Klann  wrote:
> 
> > Hey Andrew,
> >
> > On 7/29/20 7:16 PM, you wrote about a new sound card:
> > >
> > > I have an USB Microphone I'd like to use. How do I add a second sound
> > input?
> > >
> > > UNder RDAdmin--> Audio resources. I only see my M-Audio Delta410 listed
> > > as card0, but no USB Mic on Card 1
> > >
> >
> > Have you run RDAlsaConfig as root? If you installed Rivendell the
> > "usual" way on CentOS/Red Hat/etc. it's on the Applications menu under
> > Rivendell -> Configuration -> RDAlsaConfig
> >
> > This utility enables you to assign ALSA devices to be used with
> > Rivendell. See the Wiki article at
> >
> > http://wiki.rivendellaudio.org/index.php/Configuring_Rivendell_to_work_with_ALSA
> > for more details.
> >
> > Hope this helps!
> >
> >~David Klann
> >
> >
> > > Running arecord -l I see the USB Microphone listed:
> > >
> > >  List of CAPTURE Hardware Devices 
> > > card 0: M410 [M Audio Delta 410], device 0: ICE1712 multi [ICE1712 multi]
> > > Subdevices: 0/1
> > > Subdevice #0: subdevice #0
> > > card 1: Microphone [USB2.0 Microphone], device 0: USB Audio [USB Audio]
> > > Subdevices: 1/1
> > > Subdevice #0: subdevice #0
> > >
> > > I presume I have to add this /etc/asound.conf ? So I added rd1.
> > >
> > > My current one looks like this:-
> > >
> > > pcm.rd0 {
> > > type hw
> > > card M410
> > > device 0
> > > rate 48000
> > > }
> > > ctl.rd0 {
> > > type hw
> > > card M410
> > > }
> > >
> > > pcm.rd1 {
> > > type hw
> > > card USB
> > > device 1
> > > }
> > > ctl.rd1 {
> > > type hw
> > > card USB
> > > }
> > >
> > >
> > > After a reboot Card1 is not showing in audio resources. What else am I
> > > missing?
> > >
> > >
> >
> >
> >___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] USB Microphone configuration

2020-07-30 Thread Andrew Pepper
Yes I tried rdalsaconfig under root. Only my main card the M-audio shows,
but not the USB mic.
I'm thinking as this is not a "full" card only a recording device it
probably requires a manual add And I know ALSA sees the USB mic as
running arecord -l shows it as an available recording device.

Andrew

On Wed, Jul 29, 2020, 21:39 David Klann  wrote:

> Hey Andrew,
>
> On 7/29/20 7:16 PM, you wrote about a new sound card:
> >
> > I have an USB Microphone I'd like to use. How do I add a second sound
> input?
> >
> > UNder RDAdmin--> Audio resources. I only see my M-Audio Delta410 listed
> > as card0, but no USB Mic on Card 1
> >
>
> Have you run RDAlsaConfig as root? If you installed Rivendell the
> "usual" way on CentOS/Red Hat/etc. it's on the Applications menu under
> Rivendell -> Configuration -> RDAlsaConfig
>
> This utility enables you to assign ALSA devices to be used with
> Rivendell. See the Wiki article at
>
> http://wiki.rivendellaudio.org/index.php/Configuring_Rivendell_to_work_with_ALSA
> for more details.
>
> Hope this helps!
>
>~David Klann
>
>
> > Running arecord -l I see the USB Microphone listed:
> >
> >  List of CAPTURE Hardware Devices 
> > card 0: M410 [M Audio Delta 410], device 0: ICE1712 multi [ICE1712 multi]
> > Subdevices: 0/1
> > Subdevice #0: subdevice #0
> > card 1: Microphone [USB2.0 Microphone], device 0: USB Audio [USB Audio]
> > Subdevices: 1/1
> > Subdevice #0: subdevice #0
> >
> > I presume I have to add this /etc/asound.conf ? So I added rd1.
> >
> > My current one looks like this:-
> >
> > pcm.rd0 {
> > type hw
> > card M410
> > device 0
> > rate 48000
> > }
> > ctl.rd0 {
> > type hw
> > card M410
> > }
> >
> > pcm.rd1 {
> > type hw
> > card USB
> > device 1
> > }
> > ctl.rd1 {
> > type hw
> > card USB
> > }
> >
> >
> > After a reboot Card1 is not showing in audio resources. What else am I
> > missing?
> >
> >
>
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev