Re: [Alsa-user] TEAC CR H101DAB receiver not seen as a sound device

2016-09-27 Thread chris hermansen
Bob and list,

On Tue, Sep 27, 2016 at 9:04 AM, Bob Williams  wrote:

[ stuff deleted ]


> Sure. It's actually the same as yours, modified for this environment:
>
> audio_output {
> enabled "yes"
> type"alsa"
> name"TEAC USB"
> device  "hw:3,0"
> mixer_type  "disabled"
> auto_resample   "no"
> auto_channels   "no"
> auto_format "no"
> dop "no"
> }
>

Excellent, thanks very much!


>
> By the way, what does the 'dop' parameter do? I couldn't find any
> references in the man page.
>
>
DoP is "DSD over PCM", see for example
https://en.wikipedia.org/wiki/Direct_Stream_Digital

In your case, your TEAC may support this, so if you have DSD format music
you might want to give it a try.  I am not sure if DoP support is in all
recent versions of MPD so you might want to investigate that as well to
make sure that your version supports it.

-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] TEAC CR H101DAB receiver not seen as a sound device

2016-09-27 Thread Bob Williams
Chris,

On Tue, 27 Sep 2016 08:42:01 -0700
chris hermansen  wrote:

> Bob and list,
> 
> On Tue, Sep 27, 2016 at 8:24 AM, Bob Williams 
> wrote:
> 
> [stuff deleted]
> 
> 
> >
> > Many thanks. That all worked well.
> >
> 
> Great!  and you are most welcome.
> 
> Please consider posting your working audio_output stanza for other
> TEAC users.
> 
Sure. It's actually the same as yours, modified for this environment:

audio_output {
enabled "yes"
type"alsa"
name"TEAC USB"
device  "hw:3,0"
mixer_type  "disabled"
auto_resample   "no"
auto_channels   "no"
auto_format "no"
dop "no"
}

By the way, what does the 'dop' parameter do? I couldn't find any
references in the man page.

Bob

-- 
Bob Williams
   System:  Linux 4.1.20-11-default
   Distro:  openSUSE 42.1 (x86_64)
   Desktop: KDE Frameworks: 5.21.0, Qt: 5.5.1 and Plasma: 


pgpGRp8zNZ3wP.pgp
Description: OpenPGP digital signature
--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] TEAC CR H101DAB receiver not seen as a sound device

2016-09-27 Thread chris hermansen
Bob and list,

On Tue, Sep 27, 2016 at 8:24 AM, Bob Williams  wrote:

[stuff deleted]


>
> Many thanks. That all worked well.
>

Great!  and you are most welcome.

Please consider posting your working audio_output stanza for other TEAC
users.


-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] TEAC CR H101DAB receiver not seen as a sound device

2016-09-27 Thread Bob Williams
Chris,

On Mon, 26 Sep 2016 18:00:01 -0700
chris hermansen  wrote:

> Bob and list;
> 
> On Mon, Sep 26, 2016 at 3:04 PM, Bob Williams 
> wrote:
> 
> > On Mon, 26 Sep 2016 11:12:32 -0700
> > chris hermansen  wrote:
> >
> > > Bob, what connects your computer to your TEAC?  A USB cable?
> > >
> > Yes, a USB cable. I also have a sound card, but want to use the TEAC
> > DAC.
> >
> > > What music player do you use?
> > >
> > MPD
> >
> > > What is the output of "aplay -L" in a terminal window?
> >
> > bob@hexagon:~> aplay -L
> > null
> > Discard all samples (playback) or generate zero samples
> > (capture) default
> > Default ALSA Output (currently PulseAudio Sound Server)
> > sysdefault:CARD=D1
> > Xonar D1, Multichannel
> > Default Audio Device
> > front:CARD=D1,DEV=0
> > Xonar D1, Multichannel
> > Front speakers
> > surround21:CARD=D1,DEV=0
> > Xonar D1, Multichannel
> > 2.1 Surround output to Front and Subwoofer speakers
> > surround40:CARD=D1,DEV=0
> > Xonar D1, Multichannel
> > 4.0 Surround output to Front and Rear speakers
> > surround41:CARD=D1,DEV=0
> > Xonar D1, Multichannel
> > 4.1 Surround output to Front, Rear and Subwoofer speakers
> > surround50:CARD=D1,DEV=0
> > Xonar D1, Multichannel
> > 5.0 Surround output to Front, Center and Rear speakers
> > surround51:CARD=D1,DEV=0
> > Xonar D1, Multichannel
> > 5.1 Surround output to Front, Center, Rear and Subwoofer
> > speakers surround71:CARD=D1,DEV=0
> > Xonar D1, Multichannel
> > 7.1 Surround output to Front, Center, Side, Rear and Woofer
> > speakers iec958:CARD=D1,DEV=0
> > Xonar D1, Multichannel
> > IEC958 (S/PDIF) Digital Audio Output
> > sysdefault:CARD=DEVICE
> > TEAC USB AUDIO DEVICE, USB Audio
> > Default Audio Device
> > front:CARD=DEVICE,DEV=0
> > TEAC USB AUDIO DEVICE, USB Audio
> > Front speakers
> > surround21:CARD=DEVICE,DEV=0
> > TEAC USB AUDIO DEVICE, USB Audio
> > 2.1 Surround output to Front and Subwoofer speakers
> > surround40:CARD=DEVICE,DEV=0
> > TEAC USB AUDIO DEVICE, USB Audio
> > 4.0 Surround output to Front and Rear speakers
> > surround41:CARD=DEVICE,DEV=0
> > TEAC USB AUDIO DEVICE, USB Audio
> > 4.1 Surround output to Front, Rear and Subwoofer speakers
> > surround50:CARD=DEVICE,DEV=0
> > TEAC USB AUDIO DEVICE, USB Audio
> > 5.0 Surround output to Front, Center and Rear speakers
> > surround51:CARD=DEVICE,DEV=0
> > TEAC USB AUDIO DEVICE, USB Audio
> > 5.1 Surround output to Front, Center, Rear and Subwoofer
> > speakers surround71:CARD=DEVICE,DEV=0
> > TEAC USB AUDIO DEVICE, USB Audio
> > 7.1 Surround output to Front, Center, Side, Rear and Woofer
> > speakers iec958:CARD=DEVICE,DEV=0
> > TEAC USB AUDIO DEVICE, USB Audio
> > IEC958 (S/PDIF) Digital Audio Output
> >
> >
> I would take this step by step.
> 
> First you should use aplay to find out what works and what doesn't.
> Find a .wav file of representative music somewhere or create one (use
> soundconverter for instance).
> 
> Run "aplay -l" to make sure that your TEAC card is card 1 (it looks as
> though it is but check)
> 
> Then try playing the resulting .wav file with aplay through the TEAC,
> like this:
> 
> aplay -D hw:1,0 mysong.wav
> 
> (this will play at full volume if it works so make sure you have your
> volume turned way down)
> 
> If that doesn't work, try
> 
> aplay -D plughw:1,0 mysong.wav
> 
> Assuming one or the other of those works...
> 
> Second, is the TEAC dedicated to MPD's use, or will you want other
> programs to use it (like VLC)?
> 
> Assuming it's dedicated, then I would configure MPD to talk directly
> to the TEAC through ALSA, especially if you have music at varying bit
> rates and you want to pass them through untouched.
> 
> I run two music servers in my house, both with MPD and dedicated
> DACs.  My audio output stanza in my /etc/mpd.conf looks like this:
> 
> audio_output {
> enabled "yes"
> type"alsa"
> name"Schiit Bifrost"
> device  "hw:2,0"
> mixer_type  "disabled"
> auto_resample   "no"
> auto_channels   "no"
> auto_format "no"
> dop "no"
> }
> 
> You would have to change the name and the device.
> 
> If the aplay experiments didn't work or you don't want to dedicate,
> then get back to the list.
> 
> 

Many thanks. That all worked well.

-- 
Bob Williams
   System:  Linux 4.1.20-11-default
   Distro:  openSUSE 42.1 (x86_64)
   Desktop: KDE Frameworks: 5.21.0, Qt: 5.5.1 and Plasma: 


pgpmL97jZmBii.pgp
Description: OpenPGP digital signature
--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] TEAC CR H101DAB receiver not seen as a sound device

2016-09-27 Thread Clemens Ladisch
Bob Williams wrote:
> Well, after fiddling around in KDE System Settings, I seem to have got
> it working. :-) However, it is using Analog Stereo output. As the TEAC
> device contains a DAC, I would imagine it would give better quality if
> it received digital data?

USB always uses digital data.

The output is called "Analog" because that's what is at the other end.
It would be called "Digital" if it were an S/PDIF output.


Regards,
Clemens

--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] TEAC CR H101DAB receiver not seen as a sound device

2016-09-26 Thread chris hermansen
Bob and list;

On Mon, Sep 26, 2016 at 3:04 PM, Bob Williams  wrote:

> On Mon, 26 Sep 2016 11:12:32 -0700
> chris hermansen  wrote:
>
> > Bob, what connects your computer to your TEAC?  A USB cable?
> >
> Yes, a USB cable. I also have a sound card, but want to use the TEAC
> DAC.
>
> > What music player do you use?
> >
> MPD
>
> > What is the output of "aplay -L" in a terminal window?
>
> bob@hexagon:~> aplay -L
> null
> Discard all samples (playback) or generate zero samples (capture)
> default
> Default ALSA Output (currently PulseAudio Sound Server)
> sysdefault:CARD=D1
> Xonar D1, Multichannel
> Default Audio Device
> front:CARD=D1,DEV=0
> Xonar D1, Multichannel
> Front speakers
> surround21:CARD=D1,DEV=0
> Xonar D1, Multichannel
> 2.1 Surround output to Front and Subwoofer speakers
> surround40:CARD=D1,DEV=0
> Xonar D1, Multichannel
> 4.0 Surround output to Front and Rear speakers
> surround41:CARD=D1,DEV=0
> Xonar D1, Multichannel
> 4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=D1,DEV=0
> Xonar D1, Multichannel
> 5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=D1,DEV=0
> Xonar D1, Multichannel
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> surround71:CARD=D1,DEV=0
> Xonar D1, Multichannel
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> iec958:CARD=D1,DEV=0
> Xonar D1, Multichannel
> IEC958 (S/PDIF) Digital Audio Output
> sysdefault:CARD=DEVICE
> TEAC USB AUDIO DEVICE, USB Audio
> Default Audio Device
> front:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> Front speakers
> surround21:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> 2.1 Surround output to Front and Subwoofer speakers
> surround40:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> 4.0 Surround output to Front and Rear speakers
> surround41:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> 4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> 5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> surround71:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> iec958:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> IEC958 (S/PDIF) Digital Audio Output
>
>
I would take this step by step.

First you should use aplay to find out what works and what doesn't.  Find a
.wav file of representative music somewhere or create one (use
soundconverter for instance).

Run "aplay -l" to make sure that your TEAC card is card 1 (it looks as
though it is but check)

Then try playing the resulting .wav file with aplay through the TEAC, like
this:

aplay -D hw:1,0 mysong.wav

(this will play at full volume if it works so make sure you have your
volume turned way down)

If that doesn't work, try

aplay -D plughw:1,0 mysong.wav

Assuming one or the other of those works...

Second, is the TEAC dedicated to MPD's use, or will you want other programs
to use it (like VLC)?

Assuming it's dedicated, then I would configure MPD to talk directly to the
TEAC through ALSA, especially if you have music at varying bit rates and
you want to pass them through untouched.

I run two music servers in my house, both with MPD and dedicated DACs.  My
audio output stanza in my /etc/mpd.conf looks like this:

audio_output {
enabled "yes"
type"alsa"
name"Schiit Bifrost"
device  "hw:2,0"
mixer_type  "disabled"
auto_resample   "no"
auto_channels   "no"
auto_format "no"
dop "no"
}

You would have to change the name and the device.

If the aplay experiments didn't work or you don't want to dedicate, then
get back to the list.


-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] TEAC CR H101DAB receiver not seen as a sound device

2016-09-26 Thread Bob Williams
On Mon, 26 Sep 2016 11:12:32 -0700
chris hermansen  wrote:

> Bob, what connects your computer to your TEAC?  A USB cable?
> 
Yes, a USB cable. I also have a sound card, but want to use the TEAC
DAC.

> What music player do you use?
> 
MPD

> What is the output of "aplay -L" in a terminal window?

bob@hexagon:~> aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=D1
Xonar D1, Multichannel
Default Audio Device
front:CARD=D1,DEV=0
Xonar D1, Multichannel
Front speakers
surround21:CARD=D1,DEV=0
Xonar D1, Multichannel
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=D1,DEV=0
Xonar D1, Multichannel
4.0 Surround output to Front and Rear speakers
surround41:CARD=D1,DEV=0
Xonar D1, Multichannel
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=D1,DEV=0
Xonar D1, Multichannel
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=D1,DEV=0
Xonar D1, Multichannel
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=D1,DEV=0
Xonar D1, Multichannel
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=D1,DEV=0
Xonar D1, Multichannel
IEC958 (S/PDIF) Digital Audio Output
sysdefault:CARD=DEVICE
TEAC USB AUDIO DEVICE, USB Audio
Default Audio Device
front:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
Front speakers
surround21:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
IEC958 (S/PDIF) Digital Audio Output
-- 
Bob Williams
   System:  Linux 4.1.20-11-default
   Distro:  openSUSE 42.1 (x86_64)
   Desktop: KDE Frameworks: 5.21.0, Qt: 5.5.1 and Plasma: 


pgp83ciHUsmT6.pgp
Description: OpenPGP digital signature
--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] TEAC CR H101DAB receiver not seen as a sound device

2016-09-26 Thread chris hermansen
Bob and list;

On Mon, Sep 26, 2016 at 10:03 AM, Bob Williams 
wrote:

> On Mon, 26 Sep 2016 09:35:53 +0100
> Bob Williams  wrote:
>
> > On Mon, 26 Sep 2016 09:16:07 +0100
> > Bob Williams  wrote:
> >
> > > Hello,
> > >
> > > I have recently purchased a TEAC CR H101DAB receiver which can
> > > receive USB input from my computer. My operating system is openSUSE
> > > Leap 42.1 with kernel 4.1.31-30-default. I am using pulseaudio.
> > >
> > > YaST does not see the H101 at all, but alsamixer does. It reports
> > > itself as TEAC USB AUDIO DEVICE.
> > >
> > [snip lsusb output]
> >
> > Sorry, forgot to say that alsamixer just shows a single playback
> > control called 'Digital In', but the control is unresponsive.
> >
> > Bob
> >
>
> Well, after fiddling around in KDE System Settings, I seem to have got
> it working. :-) However, it is using Analog Stereo output. As the TEAC
> device contains a DAC, I would imagine it would give better quality if
> it received digital data? The other output option is Digital Stereo
> (IEC958) but when I select that there is only silence.
>
> I am aware that there are many layers involved, eg. alsa -> pulseaudio
> -> mpd, but if anyone has any suggestions, I'd be grateful.
>
>
Bob, what connects your computer to your TEAC?  A USB cable?

What music player do you use?

What is the output of "aplay -L" in a terminal window?

-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] TEAC CR H101DAB receiver not seen as a sound device

2016-09-26 Thread Bob Williams
On Mon, 26 Sep 2016 09:16:07 +0100
Bob Williams  wrote:

> Hello,
> 
> I have recently purchased a TEAC CR H101DAB receiver which can receive
> USB input from my computer. My operating system is openSUSE Leap 42.1
> with kernel 4.1.31-30-default. I am using pulseaudio.
> 
> YaST does not see the H101 at all, but alsamixer does. It reports
> itself as TEAC USB AUDIO DEVICE.
> 
[snip lsusb output]

Sorry, forgot to say that alsamixer just shows a single playback
control called 'Digital In', but the control is unresponsive.

Bob

-- 
Bob Williams
   System:  Linux 4.1.20-11-default
   Distro:  openSUSE 42.1 (x86_64)
   Desktop: KDE Frameworks: 5.21.0, Qt: 5.5.1 and Plasma: 


pgpFYb60X3Xmq.pgp
Description: OpenPGP digital signature
--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user