Audio Banter

Audio Banter (https://www.audiobanter.co.uk/forum.php)
-   uk.rec.audio (General Audio and Hi-Fi) (https://www.audiobanter.co.uk/uk-rec-audio-general-audio/)
-   -   New webpage on BBC iPlayer measurements / Linux (https://www.audiobanter.co.uk/uk-rec-audio-general-audio/7828-new-webpage-bbc-iplayer-measurements.html)

Jim Lesurf[_2_] July 20th 09 02:13 PM

New webpage on BBC iPlayer measurements / Linux
 
Hi,

I've just put up a new page

http://www.audiomisc.co.uk/Linux/Sou...stenAgain.html

This discusses how I setup a (Ubuntu) Linux box to access the BBC iPlayer,
and provides some measurements on the results that look at some aspects of
the BBC aac/aac+ radio iPlayer.

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


Adrian C July 20th 09 02:39 PM

New webpage on BBC iPlayer measurements / Linux
 
Jim Lesurf wrote:
Hi,

I've just put up a new page

http://www.audiomisc.co.uk/Linux/Sou...stenAgain.html

This discusses how I setup a (Ubuntu) Linux box to access the BBC iPlayer,
and provides some measurements on the results that look at some aspects of
the BBC aac/aac+ radio iPlayer.


FWIW I've just built a xubuntu box to run on an old Celeron 500MHz CPU
(spawn of Pentium II), 512MB - It's a Compaq SFF PC from the skip. The
onboard sound was pants, so found an old Aureal Vortex 2 soundcard that
had no hope of further software support in Windows and used that to feed
the workshop amplifier.

I'm running Wine and Spotify on top. It sounds excellent. What's radio?

:-)

--
Adrian C

Don Pearce[_3_] July 20th 09 02:45 PM

New webpage on BBC iPlayer measurements / Linux
 
On Mon, 20 Jul 2009 15:13:56 +0100, Jim Lesurf
wrote:

Hi,

I've just put up a new page

http://www.audiomisc.co.uk/Linux/Sou...stenAgain.html

This discusses how I setup a (Ubuntu) Linux box to access the BBC iPlayer,
and provides some measurements on the results that look at some aspects of
the BBC aac/aac+ radio iPlayer.

Slainte,

Jim


The line thickening (and LF zigzag) - is that an artefact of the FFT,
or is threre really some modulation going on?

Your warnings about the distortion in the headphone output, but I'm
guessing that most people will use the line output, which I presume is
clean.

d

Jim Lesurf[_2_] July 20th 09 03:41 PM

New webpage on BBC iPlayer measurements / Linux
 
In article 4a6881f4.21074781@localhost, Don Pearce
wrote:
On Mon, 20 Jul 2009 15:13:56 +0100, Jim Lesurf
wrote:


Hi,

I've just put up a new page

http://www.audiomisc.co.uk/Linux/Sou...stenAgain.html

This discusses how I setup a (Ubuntu) Linux box to access the BBC
iPlayer, and provides some measurements on the results that look at
some aspects of the BBC aac/aac+ radio iPlayer.

Slainte,

Jim


The line thickening (and LF zigzag) - is that an artefact of the FFT, or
is threre really some modulation going on?


I think that is an artifact of my using simple 'triangular' apodisation
windowing. Plus, I think the finite resolution of the data. (I use a series
of FFTs power averaged to improve the SNR.

Fortunately the test tone stream the BBC/Siemens provided was dithered even
if the Flash plugin doesn't apply dither when computing volume level
rescaling.)

The line may appear thicker in some places as a result of the graphics
anti-aliasing where the angle or some other detail changes. That doesn't
show up with the vector graphic source. (All my graphics are generated as
'drawfiles' which are like a subset of PostScript line vector/object
commands. But I then have to generate a bitmap for the website versions.
That always degrades the appearance a bit. )

Your warnings about the distortion in the headphone output, but I'm
guessing that most people will use the line output, which I presume is
clean.


I don't know. But my experience makes me reluctant to presume line output
will be clean. So I'd say "maybe" to that.

The *only* analogue out for the laptop I used is the headphone. So I'd have
expected that not to clip when fed 0dB. In fact it clips at a far lower
level than 0dB. This is when it wasn't even driving a load with an
impedance anything like as low as a typical headset.

When I listened with a pair of headphones the sound was very loud unless
you wound down the volume a lot. So the gain applied between the internal
DAC and the headphone output stage was needlessly high. Would have been
fine if this had been reduced so 0dB didn't clip. So it all seemed like
careless design to me. The usual idiotic motto: "louder is better".

So for all I know some computer sound systems will also clip the 'line'
output. I can just warn people to be wary just in case. Check if you can.
Arny may know more about this. I've only been checking computer systems
recently once I'd developed and interest.

FWIW if I can blag a borrow I will try out some other USB 'soundcards' to
see how they work (if at all!) with Linux. Then report on what I find out.
A number of these have appeared recently. But I've only seen limited
results based on windows and macs.

The DACMagic is excellent in my opinion. I would recommend it to anyone who
has doubts about their existing soundcard. Subject to the caveat that I
can't say of someone else's hardware or OS version might not be willing to
co-operate. I had to change to Pulse Audio to get the iPlayer Flash plugin
to use it. So there may be other snags I've not encountered. This is the
problem with computer based systems. There are all too many hidden snags.

I've been quite surprised by how useless most magazine 'reviews' of
computers are in these respects. The seem to never do any measurements on
the output. So never say if the correct sampling rate is used, or if there
are any needless conversion artifacts, or even if the machine is
mechanically silent. About all you tend to get in the magazines I've seen
is a general 'sound works' comment - which means little more than they
could hear something! That may have been OK years ago. But now people are
increasingly using computers as sound sources for audio this should be
taken far more seriously IMHO.

Otherwise we may have people deciding that computer audio, and things like
the iPlayer have inherently poor sound, when the reality is that their
setup is mangling the sound. The solution in magazines is to spend
thousands on dedicated special purpose systems. But my own experiments
show you can get good results without spending vast sums. Alas, there is a
lack of the information needed to identify the correct kit and how to set
it up.

For example. I've been looking for some time now for a small laptop that
fits the bill. The requirements seem simple to me;

1) Must be mechanically silent. No fans or hard disc noises.

2) Fairly small so can be used like a radio tuner, etc.

3) Digital (ideally optical) output that gives the correct sample rate for
the source material, with no needless 'reconversions'. Thus able to output
bit-perfect results for LPCM sources.

4) Works with Linux. Ideally Ubuntu family as that is the popular choice at
the moment.

You'd think makers would currently be falling over themselves in the rush
to offer such systems. Nope. Not that I can see. Only a few ultra-costly
machines with specialist setups.

You'd think magazine reviews would be identifying them. Nope.

I was tempted by the fit-pc2 as it is said to run with Linux, is small and
silent, and I can use an external DAC. But I've since been told it doesn't
currently work with Ubuntu 9.04 and has various hardware snags. So no cigar
unless the snags are sorted.

Ditto, I wondered about the Dell Mini 9 as that got a decent review in a
linux mag. But I've since been told it also has snags, and has been
replaced as a model!

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


Jim Lesurf[_2_] July 20th 09 03:55 PM

New webpage on BBC iPlayer measurements / Linux
 
In article , Adrian C
wrote:
Jim Lesurf wrote:
Hi,

I've just put up a new page

http://www.audiomisc.co.uk/Linux/Sou...stenAgain.html

This discusses how I setup a (Ubuntu) Linux box to access the BBC
iPlayer, and provides some measurements on the results that look at
some aspects of the BBC aac/aac+ radio iPlayer.


FWIW I've just built a xubuntu box to run on an old Celeron 500MHz CPU
(spawn of Pentium II), 512MB - It's a Compaq SFF PC from the skip. The
onboard sound was pants, so found an old Aureal Vortex 2 soundcard that
had no hope of further software support in Windows and used that to feed
the workshop amplifier.


I should admit that I do prefer Xubuntu, but stayed with Ubuntu on the
Shuttle I'm using. Xfce is more like the managers of yore that I used
mumble years ago. Gnome is a bit too 'eye candy' for my taste.

Rather than switch to Xubuntu I am slowly displacing Ubuntu's gnome desktop
by ROX. :-) If you've not tried that, have a look. It is available via
synaptic as well as the other usual methods.

This should mean that eventually I have access to all the usual Ubuntu
apps, etc, but can have the ROX GUI/filer which is far more to my taste
than gnome's normal behaviour. Gnome is probably too much like windows for
me. :-) I prefer the simpler and more self-contained behaviour of ROX.
But this is probably because it is based on the way my preferred Risc OS
GUI functions. Helps me to feel at home with using a GUI on top of *nix.

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


Don Pearce[_3_] July 20th 09 04:00 PM

New webpage on BBC iPlayer measurements / Linux
 
On Mon, 20 Jul 2009 16:41:41 +0100, Jim Lesurf
wrote:

Your warnings about the distortion in the headphone output, but I'm
guessing that most people will use the line output, which I presume is
clean.


I don't know. But my experience makes me reluctant to presume line output
will be clean. So I'd say "maybe" to that.


Well, my card (which is on the decent side of medium) is an M-Audio
24/96, and seems perfectly happy flat out.

The *only* analogue out for the laptop I used is the headphone. So I'd have
expected that not to clip when fed 0dB. In fact it clips at a far lower
level than 0dB. This is when it wasn't even driving a load with an
impedance anything like as low as a typical headset.

When I listened with a pair of headphones the sound was very loud unless
you wound down the volume a lot. So the gain applied between the internal
DAC and the headphone output stage was needlessly high. Would have been
fine if this had been reduced so 0dB didn't clip. So it all seemed like
careless design to me. The usual idiotic motto: "louder is better".


None of that surprises me. Think of it like the volume control on any
amplifier. You don't expect the output to be just clipping from rated
input when the volume control is at max. If it did, most music would
be incapable of driving the amp to clipping. There is always some
slack, and your laptop's headphone socket shows that.

So for all I know some computer sound systems will also clip the 'line'
output. I can just warn people to be wary just in case. Check if you can.
Arny may know more about this. I've only been checking computer systems
recently once I'd developed and interest.

FWIW if I can blag a borrow I will try out some other USB 'soundcards' to
see how they work (if at all!) with Linux. Then report on what I find out.
A number of these have appeared recently. But I've only seen limited
results based on windows and macs.



Can you even get drivers for most of them? I use Asio here- I suppose
that is implemented in Linux as well?

d

Jim Lesurf[_2_] July 20th 09 05:20 PM

New webpage on BBC iPlayer measurements / Linux
 
In article 4a6993d7.25650265@localhost, Don Pearce
wrote:
On Mon, 20 Jul 2009 16:41:41 +0100, Jim Lesurf
wrote:


Your warnings about the distortion in the headphone output, but I'm
guessing that most people will use the line output, which I presume
is clean.


I don't know. But my experience makes me reluctant to presume line
output will be clean. So I'd say "maybe" to that.


Well, my card (which is on the decent side of medium) is an M-Audio
24/96, and seems perfectly happy flat out.


That may well be the usual situation. But I have no data so can't be sure.

When I listened with a pair of headphones the sound was very loud
unless you wound down the volume a lot. So the gain applied between the
internal DAC and the headphone output stage was needlessly high. Would
have been fine if this had been reduced so 0dB didn't clip. So it all
seemed like careless design to me. The usual idiotic motto: "louder is
better".


None of that surprises me. Think of it like the volume control on any
amplifier. You don't expect the output to be just clipping from rated
input when the volume control is at max. If it did, most music would be
incapable of driving the amp to clipping. There is always some slack,
and your laptop's headphone socket shows that.


The distinction is that in this case the same 'volume control' adjusts both
the analog and digital outputs. And if you set the gain to '0dB' to be able
to obtain bit-perfect LPCM digital output with no conversions then the
headphone output will clip. Turn down the volume to avoid clipping the
headphones, and you can't get 0dB output from the digital output, and all
the values are scaled down needlessly

That seems crazy to me.


FWIW if I can blag a borrow I will try out some other USB 'soundcards'
to see how they work (if at all!) with Linux. Then report on what I
find out. A number of these have appeared recently. But I've only seen
limited results based on windows and macs.



Can you even get drivers for most of them? I use Asio here- I suppose
that is implemented in Linux as well?


Pass. Drivers can be a problem. Fortunately, a number of people who use
Linus spend time trying to reverse-engineer the details that some makers
won't release.

There are lists of devices for which drivers are available. The snag is as
I have mentioned, though. e.g. 'It works' does not guarantee that the sound
device can output bit perfect at the correct sample rate. Just that 'you
can hear something'. But then you can probably say this for various
hardware under windows as well. The industry seems to assume few buyers
will notice or care and 'canna be bothered' I guess.

Personally, I think it should be a legal obligation for makers to either
provide drivers or the info needed to write them. Refusing to do so is an
anti-competitive practice in my view. As such I suspect it may be illegal
in the EU, and probably also in the USA. If not, then it should be IMHO.

But my impression is that most devices that are popular soon have someone
manage to write a driver.

FWIW Canonical (the people promoting Ubuntu) are keen on ensuring things
like drivers appear as they want Unbuntu Linux to be a choice that most
non-geeks can be happy to use. The current situation means that drivers for
audio and video are more important than in past decades, as is a decent GUI
for those who are deterred by terminals and arkane commands. My impression
is that they have made progress in these areas. But there are still
problems with some makers and devices.

FWIW Cambridge Audio had already checked, and were able to tell me their
DACmagic worked OK with Ubuntu before I tried one. It uses a standard USB
'headphone' chip for receiving audio via USB. I suspect other 'audiophile'
units do as it is the easiest way for companies with no computing
background to get into the game. I will find out if I can experiment in
future. But given the availability of the DACMagic if I need another I'd
happily choose one if nothing else I preferred looked like working. Direct
any cash to makers who ensure their equipment does the required task! :-)

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


Rob[_3_] July 20th 09 05:27 PM

New webpage on BBC iPlayer measurements / Linux
 
Jim Lesurf wrote:
In article 4a6881f4.21074781@localhost, Don Pearce
wrote:
On Mon, 20 Jul 2009 15:13:56 +0100, Jim Lesurf
wrote:


Hi,

I've just put up a new page

http://www.audiomisc.co.uk/Linux/Sou...stenAgain.html

This discusses how I setup a (Ubuntu) Linux box to access the BBC
iPlayer, and provides some measurements on the results that look at
some aspects of the BBC aac/aac+ radio iPlayer.

Slainte,

Jim



Interesting - although I don't follow a lot of the technical text.

For reasons I don't need to understand, I take it it's better not to use
any volume control on the computer that affects the volume of a digital
output other than set it at maximum?

snip line thickening explanation, fascinating though it must be :-)


FWIW if I can blag a borrow I will try out some other USB 'soundcards' to
see how they work (if at all!) with Linux. Then report on what I find out.
A number of these have appeared recently. But I've only seen limited
results based on windows and macs.


If I get round to it, and you can return it at some point, you can
gladly borrow an Opcode Sonicport (bus powered USB DAC). Works natively
on a Mac and Windows Vista (but not XP). I got it from a recording place
round the back of Denmark St - I'd guess it had a sort of claim to
goodness at some point.


The DACMagic is excellent in my opinion. I would recommend it to anyone who
has doubts about their existing soundcard. Subject to the caveat that I
can't say of someone else's hardware or OS version might not be willing to
co-operate. I had to change to Pulse Audio to get the iPlayer Flash plugin
to use it. So there may be other snags I've not encountered. This is the
problem with computer based systems. There are all too many hidden snags.


Is it too much to ask for a standard? Anyhow, do you mean this:

http://www.cambridgeaudio.com/summar...&Title=Summary

It's £250. Ebay has DACs for £30 - Mini HIFI SPDIF+OPTICAL
DAC--PCM1793+DIR9001+OPA2134. What's the critical part of the component
here? It's not the DAC itself presumably - it's the analogue amplification?

I (still!) have problems understanding why one digital component
necessarily sounds different compared to another *unless* it's to do
with analogue amplification. And I don't really follow that - just seems
to make sense.


I've been quite surprised by how useless most magazine 'reviews' of
computers are in these respects. The seem to never do any measurements on
the output. So never say if the correct sampling rate is used, or if there
are any needless conversion artifacts, or even if the machine is
mechanically silent. About all you tend to get in the magazines I've seen
is a general 'sound works' comment - which means little more than they
could hear something! That may have been OK years ago. But now people are
increasingly using computers as sound sources for audio this should be
taken far more seriously IMHO.

Otherwise we may have people deciding that computer audio, and things like
the iPlayer have inherently poor sound, when the reality is that their
setup is mangling the sound. The solution in magazines is to spend
thousands on dedicated special purpose systems. But my own experiments
show you can get good results without spending vast sums. Alas, there is a
lack of the information needed to identify the correct kit and how to set
it up.


Agreed. Magazines seem to be little more than paper boutiques.
Commodities in general seem to have been 'Top Geared' - dumbed down to a
badge, spurious figures and presentation.

For example. I've been looking for some time now for a small laptop that
fits the bill. The requirements seem simple to me;

1) Must be mechanically silent. No fans or hard disc noises.

2) Fairly small so can be used like a radio tuner, etc.

3) Digital (ideally optical) output that gives the correct sample rate for
the source material, with no needless 'reconversions'. Thus able to output
bit-perfect results for LPCM sources.

4) Works with Linux. Ideally Ubuntu family as that is the popular choice at
the moment.

You'd think makers would currently be falling over themselves in the rush
to offer such systems. Nope. Not that I can see. Only a few ultra-costly
machines with specialist setups.


Apart from (4), me too. I tried for quite a while to get a quiet PC. A
nerdy friend has got close by using a 'brick' PSU, but there's no way
modern CPUs that can 'do video' will be cooled by convection alone. I
bought a net PC the other week - very impressive in lots of ways but
still needs a small fan.

You'd think magazine reviews would be identifying them. Nope.

I was tempted by the fit-pc2 as it is said to run with Linux, is small and
silent, and I can use an external DAC. But I've since been told it doesn't
currently work with Ubuntu 9.04 and has various hardware snags. So no cigar
unless the snags are sorted.


Ah - that's me wrong again! The netbook has an Atom processor and is
pretty clunky with Windows XP - and as I say, uses a fan which does kick
in frequently. Seems those Fit-PC2s have some sort of clever convection
cooling perhaps. Macs have very impressive cooling IME. Even the desktop
iMac (dual core Intel, fast HD, and decent graphics) has 3 fans that
'trickle' at around 1200rpm and produce a very unobtrusive sshhh. The HD
is silent. Room temp in here is 23C, CPU is 38C.

Rob

David Looser July 20th 09 07:06 PM

New webpage on BBC iPlayer measurements / Linux
 
"Don Pearce" wrote in message
news:4a6993d7.25650265@localhost...
On Mon, 20 Jul 2009 16:41:41 +0100, Jim Lesurf
wrote:


None of that surprises me. Think of it like the volume control on any
amplifier. You don't expect the output to be just clipping from rated
input when the volume control is at max. If it did, most music would
be incapable of driving the amp to clipping. There is always some
slack, and your laptop's headphone socket shows that.


The rated input *is* the input which just drives the amp to clipping at
maximum volume. Whether "most music" does, or not, depends entirely on the
output level of the source. With RIAA inputs in general the rated input used
with typical MM cartidges means that even the very quietest records drive
the amp to clipping at maximum volume. With a typical pressing the amp will
be driven to clipping at some 20dB or so *below* maximum volume setting. I
remember an article in one of the HiFi mags many moons ago that concluded
that RIAA amps needed around 60dB overload margin based on "worst-case"
parameters. The fact that most HiFi amps of the time had around 20dB too
much gain didn't occur to the writer.

Similarly with inbuilt tuners which generally drive the amp to clipping at
around 30% modulation with maximum volume setting.

David.
..




Jim Lesurf[_2_] July 20th 09 07:56 PM

New webpage on BBC iPlayer measurements / Linux
 
In article , Rob
wrote:
Jim Lesurf wrote:
In article 4a6881f4.21074781@localhost, Don Pearce
wrote:



http://www.audiomisc.co.uk/Linux/Sou...stenAgain.html

This discusses how I setup a (Ubuntu) Linux box to access the BBC
iPlayer, and provides some measurements on the results that look at
some aspects of the BBC aac/aac+ radio iPlayer.



Interesting - although I don't follow a lot of the technical text.


For reasons I don't need to understand, I take it it's better not to use
any volume control on the computer that affects the volume of a digital
output other than set it at maximum?


Alas, not quite. The trick is to establish the settings for the computer
and its software that pass though digital values with no rescaling of the
amplitude of the values. This may be 'maximum', but that depends entirely
on how the programmers wrote the software, etc. If they don't tell you, you
are left to guess, or experiment, or measure.

With the specific systems I tried - that were Linux based - I found that
setting levels to '100%' (or '0dB') did this. So that is a good bet. But as
shown by the problem I found with headphones you can't be certain in
advance that some pinheaded software or hardware engineer hasn't upset this
and some other value is better.


FWIW if I can blag a borrow I will try out some other USB 'soundcards'
to see how they work (if at all!) with Linux. Then report on what I
find out. A number of these have appeared recently. But I've only seen
limited results based on windows and macs.


If I get round to it, and you can return it at some point, you can
gladly borrow an Opcode Sonicport (bus powered USB DAC). Works natively
on a Mac and Windows Vista (but not XP). I got it from a recording place
round the back of Denmark St - I'd guess it had a sort of claim to
goodness at some point.


I may be interested at some point. Afraid I've not heard of it. Is it a
currently available USB DAC? How does it identify itself on a windows box?


The DACMagic is excellent in my opinion.



[snip]

Is it too much to ask for a standard?


Afraid I don't know what you are asking here.

Anyhow, do you mean this:


http://www.cambridgeaudio.com/summar...&Title=Summary


Yes.

It's £250. Ebay has DACs for £30 - Mini HIFI SPDIF+OPTICAL
DAC--PCM1793+DIR9001+OPA2134. What's the critical part of the component
here? It's not the DAC itself presumably - it's the analogue
amplification?


No, the vital part in this context is the chip or other interface that
receives the USB audio. It has to identify itself to the computer in a way
that allows the data transfers to proceed correctly.

I (still!) have problems understanding why one digital component
necessarily sounds different compared to another *unless* it's to do
with analogue amplification. And I don't really follow that - just seems
to make sense.


The problem with USB DACs is as above. But with computer based systems all
kinds of other things can go wrong. For example the stream of values may be
'resampled' or otherwise fudged about by the system. So that what comes out
isn't what went in, even as a series of digital values.

I was tempted by the fit-pc2 as it is said to run with Linux, is small
and silent, and I can use an external DAC. But I've since been told it
doesn't currently work with Ubuntu 9.04 and has various hardware
snags. So no cigar unless the snags are sorted.


Ah - that's me wrong again! The netbook has an Atom processor and is
pretty clunky with Windows XP - and as I say, uses a fan which does kick
in frequently.


The good news is that many Linux distrbutions are somewhat less demanding
than Windows, so don't stress machines as much. But that may not matter
much if you then run tasks that are demanding. e.g. Processing video is
likely to be demanding regardless of OS. But I'd suspect that even a very
low spec machine should cope with simply passing around LPCM with no
processing without having to struggle.

Seems those Fit-PC2s have some sort of clever convection
cooling perhaps. Macs have very impressive cooling IME. Even the
desktop iMac (dual core Intel, fast HD, and decent graphics) has 3 fans
that 'trickle' at around 1200rpm and produce a very unobtrusive sshhh.
The HD is silent. Room temp in here is 23C, CPU is 38C.


The Shuttle I am using has a large, low speed fan that is meant to be
'quiet'. But I disconnected it to ensure silence. 8-] This is OK as what
I use the machine for isn't demanding for long periods, so only runs the
CPU at a small fraction of the level it can nominally deliver.

I also had a SSD fitted, not a traditional Magnetic HD. So no HD noises,
either.

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


Rob[_3_] July 21st 09 01:28 PM

New webpage on BBC iPlayer measurements / Linux
 
Jim Lesurf wrote:
In article , Rob
wrote:
Jim Lesurf wrote:


snip


For reasons I don't need to understand, I take it it's better not to use
any volume control on the computer that affects the volume of a digital
output other than set it at maximum?


Alas, not quite. The trick is to establish the settings for the computer
and its software that pass though digital values with no rescaling of the
amplitude of the values. This may be 'maximum', but that depends entirely
on how the programmers wrote the software, etc. If they don't tell you, you
are left to guess, or experiment, or measure.

With the specific systems I tried - that were Linux based - I found that
setting levels to '100%' (or '0dB') did this. So that is a good bet. But as
shown by the problem I found with headphones you can't be certain in
advance that some pinheaded software or hardware engineer hasn't upset this
and some other value is better.


Using analogue PC outputs, OK, gotcha.

Using digital PC outputs, does the same apply?

As it happens, I'm using USB to DAC right now. Volume can be controlled
in 3 ways. Using the OS software (OS X) and the 'volume control'
application. The media player software's (iTunes) volume control. Or the
amplifier. So I think you're saying I need to do some analysis along the
lines of your tests.


FWIW if I can blag a borrow I will try out some other USB 'soundcards'
to see how they work (if at all!) with Linux. Then report on what I
find out. A number of these have appeared recently. But I've only seen
limited results based on windows and macs.


If I get round to it, and you can return it at some point, you can
gladly borrow an Opcode Sonicport (bus powered USB DAC). Works natively
on a Mac and Windows Vista (but not XP). I got it from a recording place
round the back of Denmark St - I'd guess it had a sort of claim to
goodness at some point.


I may be interested at some point. Afraid I've not heard of it. Is it a
currently available USB DAC? How does it identify itself on a windows box?


I'm pretty sure it's Opcode Sonicport. On the Mac it's reported as:

Product ID: 0xa011
Vendor ID: 0x06f1
Version: 1.00
Serial Number: SONICport
Speed: Up to 12 Mb/sec
Manufacturer: Opcode Systems Inc
Location ID: 0x1d100000
Current Available (mA): 500
Current Required (mA): 240




The DACMagic is excellent in my opinion.



[snip]

Is it too much to ask for a standard?


Afraid I don't know what you are asking here.


The 'hidden snags' of computer-based systems to be removed/standardised,
and a standard produced. Idiots like me would no longer need to guess
when choosing digital.

Anyhow, do you mean this:


http://www.cambridgeaudio.com/summar...&Title=Summary


Yes.

It's £250. Ebay has DACs for £30 - Mini HIFI SPDIF+OPTICAL
DAC--PCM1793+DIR9001+OPA2134. What's the critical part of the component
here? It's not the DAC itself presumably - it's the analogue
amplification?


No, the vital part in this context is the chip or other interface that
receives the USB audio. It has to identify itself to the computer in a way
that allows the data transfers to proceed correctly.

I (still!) have problems understanding why one digital component
necessarily sounds different compared to another *unless* it's to do
with analogue amplification. And I don't really follow that - just seems
to make sense.


The problem with USB DACs is as above. But with computer based systems all
kinds of other things can go wrong. For example the stream of values may be
'resampled' or otherwise fudged about by the system. So that what comes out
isn't what went in, even as a series of digital values.


Ah, OK. So the digital output of a PC is much of a muchness *if* the
sampling isn't altered?

I was tempted by the fit-pc2 as it is said to run with Linux, is small
and silent, and I can use an external DAC. But I've since been told it
doesn't currently work with Ubuntu 9.04 and has various hardware
snags. So no cigar unless the snags are sorted.


Ah - that's me wrong again! The netbook has an Atom processor and is
pretty clunky with Windows XP - and as I say, uses a fan which does kick
in frequently.


The good news is that many Linux distrbutions are somewhat less demanding
than Windows, so don't stress machines as much. But that may not matter
much if you then run tasks that are demanding. e.g. Processing video is
likely to be demanding regardless of OS. But I'd suspect that even a very
low spec machine should cope with simply passing around LPCM with no
processing without having to struggle.

Seems those Fit-PC2s have some sort of clever convection
cooling perhaps. Macs have very impressive cooling IME. Even the
desktop iMac (dual core Intel, fast HD, and decent graphics) has 3 fans
that 'trickle' at around 1200rpm and produce a very unobtrusive sshhh.
The HD is silent. Room temp in here is 23C, CPU is 38C.


The Shuttle I am using has a large, low speed fan that is meant to be
'quiet'. But I disconnected it to ensure silence. 8-] This is OK as what
I use the machine for isn't demanding for long periods, so only runs the
CPU at a small fraction of the level it can nominally deliver.


Yep, reasonable plan. That wouldn't quite do for me though - I
occasionally use the quiet media computer for processor intensive things.

I also had a SSD fitted, not a traditional Magnetic HD. So no HD noises,
either.


That's the way - silent and lower heat. Apparently (from limited
reading) power consumption is about the same as a magnetic drive, and
performance is a mixed bag. SSDs would be extortionate for my use
anyway: 400GB of media.

Although the Mac Mini is by no means silent it's only really audible at
about 2m. The TV and SS amplifier make more noticeable noise. The valve
amp is silent :-)

Rob

Jim Lesurf[_2_] July 21st 09 02:47 PM

New webpage on BBC iPlayer measurements / Linux
 
In article , Rob
wrote:
Jim Lesurf wrote:
In article , Rob
wrote:


With the specific systems I tried - that were Linux based - I found
that setting levels to '100%' (or '0dB') did this. So that is a good
bet. But as shown by the problem I found with headphones you can't be
certain in advance that some pinheaded software or hardware engineer
hasn't upset this and some other value is better.


Using analogue PC outputs, OK, gotcha.


Using digital PC outputs, does the same apply?


I can't be sure. But I'd suspect that setting everything to '100%' or '0dB'
would be best. So the choice to make unless/until you have evidence to the
contrary. Only way to be sure is the measure the specific setup, including
the application software being used.

As it happens, I'm using USB to DAC right now. Volume can be controlled
in 3 ways. Using the OS software (OS X) and the 'volume control'
application. The media player software's (iTunes) volume control. Or the
amplifier. So I think you're saying I need to do some analysis along
the lines of your tests.


Yes. The critical test is to have LPCM source files, play those, and be
able to record the *digital* output. Then compare the recorded series of
values with the series in the source file. If they agree exactly as a
series of values, then that is a good sign. The snag is that you need a
reliable way to record the output and compare it with the source.

IIRC when I did the previous Linux audio pages a Windows app was mentioned
that should allow 'loopback' recordings. That may do the trick, but I can't
say as I have never tried the application in question. Afraid I've now
forgotten what the application program was called, though.


If I get round to it, and you can return it at some point, you can
gladly borrow an Opcode Sonicport (bus powered USB DAC). Works
natively on a Mac and Windows Vista (but not XP). I got it from a
recording place round the back of Denmark St - I'd guess it had a
sort of claim to goodness at some point.


I may be interested at some point. Afraid I've not heard of it. Is it
a currently available USB DAC? How does it identify itself on a
windows box?


I'm pretty sure it's Opcode Sonicport. On the Mac it's reported as:


Product ID: 0xa011 Vendor ID: 0x06f1 Version: 1.00 Serial Number:
SONICport Speed: Up to 12 Mb/sec Manufacturer: Opcode Systems Inc
Location ID: 0x1d100000 Current Available (mA): 500 Current Required
(mA): 240


OK. I'll see if I can find if it is already listed anywhere as working with
Linux distributions.


Is it too much to ask for a standard?


Afraid I don't know what you are asking here.


The 'hidden snags' of computer-based systems to be removed/standardised,
and a standard produced. Idiots like me would no longer need to guess
when choosing digital.


OK. Yes, I agree. There really should be some openly defined and followed
standards for things like this. Alas, MicroSoft tend to make up their own
'standards' as they go along, keep them confidential, and change them
without any notice or concern.

The Linux community at least has a more open and co-operative approach. The
drawback is that they tend to produce multiple 'standards' that don't
always fit together. Plus you sometimes need to be a real geek to make any
sense of the 'documentation and manuals' which seem often to require you to
know what they mean before you read them. 8-]

So in this case we have a series of 'sound systems'. ALSA is the
longest-established, but others can work better in specific cases. Hence my
finding I needed to switch to PulseAudio to get the iPlayer Flash plugin to
talk to my USB DAC! I could probably have got it working with ALSA, but
with more furtling about. I suspect Ubuntu 9.10 will have fixed this
problem, but time will tell...


I (still!) have problems understanding why one digital component
necessarily sounds different compared to another *unless* it's to do
with analogue amplification. And I don't really follow that - just
seems to make sense.


The problem with USB DACs is as above. But with computer based systems
all kinds of other things can go wrong. For example the stream of
values may be 'resampled' or otherwise fudged about by the system. So
that what comes out isn't what went in, even as a series of digital
values.


Ah, OK. So the digital output of a PC is much of a muchness *if* the
sampling isn't altered?


With LPCM that *should* be so - but as usual I can't be certain in any
given case. With source material in 'compressed' forms like mp3 the results
may well change with the software used.

FWIW I have also been doing some comparisons with lossy compression
sources, etc. But as yet no-where near having any sensible conclusions I
could write up.[1]


The Shuttle I am using has a large, low speed fan that is meant to be
'quiet'. But I disconnected it to ensure silence. 8-] This is OK as
what I use the machine for isn't demanding for long periods, so only
runs the CPU at a small fraction of the level it can nominally deliver.


Yep, reasonable plan. That wouldn't quite do for me though - I
occasionally use the quiet media computer for processor intensive things.


That can be OK if the CPU throttles down when hot. But that means things
take longer. The problem is a risk of overheating if the CPU speed stays
high and the chip gets overheated.

I don't use the Shuttle for any CPU intense things. If I need that I'd use
another machine. I have no interest in video at present so far as computing
is concerned.

I also had a SSD fitted, not a traditional Magnetic HD. So no HD
noises, either.


That's the way - silent and lower heat. Apparently (from limited
reading) power consumption is about the same as a magnetic drive, and
performance is a mixed bag. SSDs would be extortionate for my use
anyway: 400GB of media.


The one I have is 60GB which is fine for the use I am putting it to. In
fact I have it divided 30/30 for two different Linux OS distributions for
experimental purposes. Although I am currently using Ubuntu 9.04 and ROX
for day-to-day audio listening and recording.

For other off-machine storage I can always get removable USB devices.
Doesn't matter if they make a noise since they would only be connected and
powered when I wanted to transfer loads of data to/from them. For me 20GB
or so of main HD space free is fine with the Shuttle as I only need to keep
a few files at a time on it.

I also suspect that during the next few years the cost of SSD will drop
like a rock and the device sizes will expand.

Slainte,

Jim

[1] Been distracted by something quite different: Ben Duncan and Mains
Cables. :-)

--
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


Patrick Wallace[_2_] July 22nd 09 10:08 AM

New webpage on BBC iPlayer measurements / Linux
 

"Rob" wrote in message
om...

Although the Mac Mini is by no means silent it's only really audible at
about 2m.


I can vouch for that, and mine has a retrofitted 320GB WD 7200rpm HD.

Patrick Wallace
__________________________________________________ ______



Jim Lesurf[_2_] July 22nd 09 10:41 AM

New webpage on BBC iPlayer measurements / Linux
 
In article , Patrick Wallace
wrote:

"Rob" wrote in message
om...


Although the Mac Mini is by no means silent it's only really audible
at about 2m.


I can vouch for that, and mine has a retrofitted 320GB WD 7200rpm HD.


Alas, the above has two snags for me.

One is that I sit closer than 2m to some of the kit I use when listeing to
audio. Although I am about 3m from the Shuttle I am using in the hifi room
system.

The other is the meaning of "really audible". I can often hear the mains
transformers buzzing in even quite (allegedly) good items of audio
equipment. So often have to dissasemble and modify items to make them
slient. Similarly, can hear the disc rotating in some audio CD/DVD players.

Much of my listening is to 'classical' music that can have long ppp (or
quieter) passages, or pauses. At such times extraneous sounds which would
not be noticed in other situations becomes all too obvious to me.

So far as I am concerned, if someone is to pay hundreds of pounds for
equipment for domestic audio use, then the equipment should be mechanically
*silent*. i.e. even when there is no music or other noises you can't hear
the equipment when right beside it. It is clearly possible to do this as
some items of equipment do it.

Indeed, this can't be ultra-hard since dedicated devices like the Roberts
'net radio' I've been playing with recently has no fans and makes no
mechanical noises. Alas, that has other drawbacks from my POV.

TBH I also am reluctant to pay extra for items to have a 'Mac badge' since
I have no interest in using MacOS.

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



All times are GMT. The time now is 02:04 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0
Copyright ©2004-2006 AudioBanter.co.uk