A Home cinema forum. HomeCinemaBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HomeCinemaBanter forum » Home cinema newsgroups » UK digital tv
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

ALSA for audio



 
 
Thread Tools Display Modes
  #41  
Old February 22nd 13, 01:41 PM posted to uk.comp.os.linux,uk.rec.audio,uk.tech.digital-tv
Jim Lesurf[_2_]
external usenet poster
 
Posts: 4,567
Default ALSA for audio

In article , Davey
wrote:
On Thu, 21 Feb 2013 16:22:25 +0000 (GMT) Jim Lesurf
wrote:


I am now going to take a look at the specific audio-to-USB devices, as
if they are about £10, that makes them economically viable, and would
allow me to do all my transferring in one place. I'll also do some test
editing on Audacity, now that it appears to be launchable on the laptop.
I wonder if there's a market for doing this for money, or does it
require more sophisticated equipment and knowledge? -


Some people "do it for money" even when the results show they are clueless.
:-)

I've lost count of how many examples I've seen of poorly/idiotically
'mastered' sic commercial recordings. The more kit people have, the more
ways they have to get it wrong.

So if you take care I doubt you could be worse that some of what I've seen
and heard produced by some professional 'experts'...

FWIW I prefer using an external decent-quality digital recorder (Tascam
HD-P2) as it gives excellent results via CF cards. But, yes, it costs a lot
more than the domestic USB audio input dongles around in shops and
catalogues. You may find that one of the cheaper solid-state recorders
works nicely if you just want 48k/16bit, though. Depends on what you're
after.

Slainte,

Jim

--
Please use the address on the audiomisc page if you wish to email me.
Electronics http://www.st-and.ac.uk/~www_pa/Scot...o/electron.htm
Armstrong Audio http://www.audiomisc.co.uk/Armstrong/armstrong.html
Audio Misc http://www.audiomisc.co.uk/index.html

  #42  
Old February 24th 13, 07:17 PM posted to uk.comp.os.linux,uk.rec.audio,uk.tech.digital-tv
Daniel James[_2_]
external usenet poster
 
Posts: 4
Default ALSA for audio

In article , John
Legon wrote:
In my own installations of Win2k and XP on several computers
(including the laptop in question), I have gone to the
manufacturers' websites and have downloaded device drivers and
utilities specific to the hardware. There has been no guesswork
or making of assumptions - the OS understands the specific
hardware and works the way it is intended to.


That's not actually how it works. The OS knows nothing about the
hardware except what the drivers tell it -- if you have the right
drivers then everything should work (that's true for almost any OS, not
just Windows).

There is always a degree of guesswork and assumption-making when you
visit the vendor's website and find drivers for a gazillion models of
hardware but none that has *exactly* the same model number as yours.

Alsa on my laptop, however, has clearly failed to identify the
hardware configuration, and provides mixer controls which serve no
purpose.


Linux sound drivers are a bit more of a black art than hardware drivers
(ALSA forms a layer above the actual hardware drivers, and getting it
configured appropriately is nowhere near as straightforward as getting
hardware drivers to spot their own bits of hardware and install
themselves).

The biggest problem here, it seems to me, is that there are competing
standards (ALSA, OSS, Pulse, whatever) and no common conventions,
interface, or utilities to make them all play (pun intended) nicely
together.

By default most people want to start with a fully functioning system
- bongs and all! They have the option to turn them off if they want
- but no Windows user would expect to have to fire up a terminal
program in order to toggle a mute control for an obscure surround
sound channel which isn't supported on the machine - just to get
basic functionality for sound whether for alerts or playing music
or videos etc..


No, with windows it's the other way around -- whenever you install it
you have to spend time turning OFF the inane jingles it likes to play to
itself whenever it starts up and shuts down (and a few more besides).

Somewhere in between that and the ALSA default silence would be nice!

It took me some time, a while ago, to try to get sound over HDMI out of
a Linux nettop thingie ... not only was the sound muted by default on
HDMI, the software needed to unmute it wasn't installed by default.

I agree that that's not very impressive.

Cheers,
Daniel.




  #43  
Old February 24th 13, 09:27 PM posted to uk.comp.os.linux,uk.rec.audio,uk.tech.digital-tv
unruh
external usenet poster
 
Posts: 1
Default ALSA for audio

On 2013-02-24, Daniel James wrote:
In article , John
Legon wrote:
In my own installations of Win2k and XP on several computers
(including the laptop in question), I have gone to the
manufacturers' websites and have downloaded device drivers and
utilities specific to the hardware. There has been no guesswork
or making of assumptions - the OS understands the specific
hardware and works the way it is intended to.


That's not actually how it works. The OS knows nothing about the
hardware except what the drivers tell it -- if you have the right
drivers then everything should work (that's true for almost any OS, not
just Windows).

There is always a degree of guesswork and assumption-making when you
visit the vendor's website and find drivers for a gazillion models of
hardware but none that has *exactly* the same model number as yours.



Alsa on my laptop, however, has clearly failed to identify the
hardware configuration, and provides mixer controls which serve no
purpose.


Linux sound drivers are a bit more of a black art than hardware drivers
(ALSA forms a layer above the actual hardware drivers, and getting it
configured appropriately is nowhere near as straightforward as getting
hardware drivers to spot their own bits of hardware and install
themselves).


Alsa actually is the hardware drivers. pulse is a layer above alsa (like
Jack). OSS
is a different set of drivers. alsa has an oss emulation layer.

The problem is not so much that they do not play together. The problem
is that sound card manufacturers are both proprietary (I emember writing
to MAudio about their Transit card, and asking which file on Windows was
the firmware file. They wrote back and said this was proprietary
information and refused to tell me.) and irresponsible ( all feel that
they have the right and duty to make their soundcards completely
different from and incompatible with every other card out there.
They make sure that they write a driver so that their card works in
Windows, and maybe osx, but that is it.


The biggest problem here, it seems to me, is that there are competing
standards (ALSA, OSS, Pulse, whatever) and no common conventions,
interface, or utilities to make them all play (pun intended) nicely
together.


Pulse was an attempt to make a common convention, a common API that all
programs could use. Of course then it has to speak to alsa to actually
drive the cards. And of course it introduces its own layer of bugs.







By default most people want to start with a fully functioning system
- bongs and all! They have the option to turn them off if they want
- but no Windows user would expect to have to fire up a terminal
program in order to toggle a mute control for an obscure surround
sound channel which isn't supported on the machine - just to get
basic functionality for sound whether for alerts or playing music
or videos etc..


Scream at the manufacturers of your sound card.


No, with windows it's the other way around -- whenever you install it
you have to spend time turning OFF the inane jingles it likes to play to
itself whenever it starts up and shuts down (and a few more besides).


totally different layer from the soundcards.


Somewhere in between that and the ALSA default silence would be nice!

It took me some time, a while ago, to try to get sound over HDMI out of
a Linux nettop thingie ... not only was the sound muted by default on
HDMI, the software needed to unmute it wasn't installed by default.

I agree that that's not very impressive.

Cheers,
Daniel.

  #44  
Old February 25th 13, 03:15 PM posted to uk.comp.os.linux,uk.rec.audio,uk.tech.digital-tv
Daniel James[_2_]
external usenet poster
 
Posts: 4
Default ALSA for audio

In article , Unruh wrote:
Alsa actually is the hardware drivers. pulse is a layer above
alsa (like Jack). OSS is a different set of drivers. alsa has an
oss emulation layer.


OK ... I thought ALSA went some way beyond 'mere' hardware drivers, but
perhaps not. I did mention that sound on Linux was a black art!

Until I started fiddling with lirc I would have said that sound was
*THE* hardest thing to grok on Linux!

Cheers,
Daniel.


  #45  
Old February 25th 13, 04:09 PM posted to uk.comp.os.linux,uk.rec.audio,uk.tech.digital-tv
Jim Lesurf[_2_]
external usenet poster
 
Posts: 4,567
Default ALSA for audio

In article , Daniel James
wrote:
In article , Unruh wrote:
Alsa actually is the hardware drivers. pulse is a layer above alsa
(like Jack). OSS is a different set of drivers. alsa has an oss
emulation layer.


OK ... I thought ALSA went some way beyond 'mere' hardware drivers, but
perhaps not. I did mention that sound on Linux was a black art!


It does provide mechanisms for doing things like rate, etc, conversions or
copying or mixing, etc. So, e.g., it does provide some flexibility for
someone who wants something like mixing down a surround sound stream to
stereo at a different sample rate with a different data format. Hence not
purely a 'hardware driver' in the basic sense. The challenge is to be able
to understand how to use the features it may be able to offer to get a
specific result. Lack of clear and understandable user-level documentation
means people generally have no idea how to make best use of it.

Slainte,

Jim

--
Please use the address on the audiomisc page if you wish to email me.
Electronics http://www.st-and.ac.uk/~www_pa/Scot...o/electron.htm
Armstrong Audio http://www.audiomisc.co.uk/Armstrong/armstrong.html
Audio Misc http://www.audiomisc.co.uk/index.html

  #46  
Old March 3rd 13, 10:38 AM posted to uk.comp.os.linux,uk.rec.audio,uk.tech.digital-tv
Jim Lesurf[_2_]
external usenet poster
 
Posts: 4,567
Default ALSA for audio

Just to let people know I've updated the content of

http://www.audiomisc.co.uk/Linux/ALS...reSilence.html

slightly.

Having just done a fresh install (Xubuntu 12.04) reminded me of what a
subtle and devious PITA 'Pulse audio' can be! Even having set my alsa
default and told Audacious to use it, Pulse was resampling and applying a
volume control to the data stream in between Audacious and the DAC! The
result was downgraded sound quality for some Audacious settings and weird
errors for other settings.

Un-installed Pulse. End of problems. Bit perfect output.

So I've added a stark warning box to the page, alerting readers.

I'm lucky in having an external DAC which displays the format it is being
fed. So I could immediately see it was being given 44.1k when I played a
96k file. Anyone without such a hardware display may simply not know that
the sound was being needlessly degraded.

Slainte,

Jim

--
Please use the address on the audiomisc page if you wish to email me.
Electronics http://www.st-and.ac.uk/~www_pa/Scot...o/electron.htm
Armstrong Audio http://www.audiomisc.co.uk/Armstrong/armstrong.html
Audio Misc http://www.audiomisc.co.uk/index.html

  #47  
Old March 7th 13, 12:31 AM posted to uk.comp.os.linux,uk.rec.audio,uk.tech.digital-tv
Andy Furniss
external usenet poster
 
Posts: 25
Default ALSA for audio

Jim Lesurf wrote:
Just to let people know I've updated the content of

http://www.audiomisc.co.uk/Linux/ALS...reSilence.html

slightly.

Having just done a fresh install (Xubuntu 12.04) reminded me of what a
subtle and devious PITA 'Pulse audio' can be! Even having set my alsa
default and told Audacious to use it, Pulse was resampling and applying a
volume control to the data stream in between Audacious and the DAC! The
result was downgraded sound quality for some Audacious settings and weird
errors for other settings.

Un-installed Pulse. End of problems. Bit perfect output.

So I've added a stark warning box to the page, alerting readers.

I'm lucky in having an external DAC which displays the format it is being
fed. So I could immediately see it was being given 44.1k when I played a
96k file. Anyone without such a hardware display may simply not know that
the sound was being needlessly degraded.


I don't know about USB, but for others you can see what is being fed to
the h/w by doing (while playing something) -

cat /proc/asound/card0/pcm0p/sub0/hw_params

Of course the numbers may need changing to suit setup.
  #48  
Old March 7th 13, 10:35 AM posted to uk.comp.os.linux,uk.rec.audio,uk.tech.digital-tv
Jim Lesurf[_2_]
external usenet poster
 
Posts: 4,567
Default ALSA for audio

In article , Andy Furniss
wrote:
Jim Lesurf wrote:
Just to let people know I've updated the content of

http://www.audiomisc.co.uk/Linux/ALS...reSilence.html



I'm lucky in having an external DAC which displays the format it is
being fed. So I could immediately see it was being given 44.1k when I
played a 96k file. Anyone without such a hardware display may simply
not know that the sound was being needlessly degraded.


I don't know about USB, but for others you can see what is being fed to
the h/w by doing (while playing something) -


cat /proc/asound/card0/pcm0p/sub0/hw_params


Of course the numbers may need changing to suit setup.


Thanks for pointing that out. :-) I'll either add it as an extra to the
existing page, or include it on a future page.

Slainte,

Jim

--
Please use the address on the audiomisc page if you wish to email me.
Electronics http://www.st-and.ac.uk/~www_pa/Scot...o/electron.htm
Armstrong Audio http://www.audiomisc.co.uk/Armstrong/armstrong.html
Audio Misc http://www.audiomisc.co.uk/index.html

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Dish network audio feed it tripping out my audio equipment! [email protected] Home theater (general) 3 March 5th 06 07:16 PM
Can anyone decode audio on G4R - T15 - 7.46 Mhz Audio??? SAC 441 Satellite tvro 0 November 6th 05 09:32 PM
Can anyone decode audio on G4R - T15 - 7.46 Mhz Audio??? SAC 441 Satellite tvro 1 November 6th 05 06:23 PM
Can anyone decode audio on G4R - T15 - 7.46 Mhz Audio??? SAC 441 Satellite tvro 0 November 6th 05 12:18 AM
How to normalize AC3 Audio Track - Muxed Audio is always too quietly ? Spookymulder High definition TV 0 August 12th 05 08:38 PM


All times are GMT +1. The time now is 07:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright ©2004-2021 HomeCinemaBanter.
The comments are property of their posters.