A Audio, hi-fi and car audio  forum. Audio Banter

Go Back   Home » Audio Banter forum » UK Audio Newsgroups » uk.rec.audio (General Audio and Hi-Fi)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

uk.rec.audio (General Audio and Hi-Fi) (uk.rec.audio) Discussion and exchange of hi-fi audio equipment.

Audio CD Health Check



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old April 18th 15, 05:23 PM posted to uk.rec.audio
Jim Lesurf[_2_]
external usenet poster
 
Posts: 2,668
Default Audio CD Health Check

I'm just finishing a program that does a simple 'Health Check' on the
quality of recordings on Audio CD. As an illustration of its use I've done
a page at

http://www.audiomisc.co.uk/HFN/HealthCheck/CD.html

to show some examples of the kinds of effects it will show.

The first version of the program I wrote will appear on my site in the next
day or two. That runs on RISC OS, but I'll also do a Linux version when I
get around to it. The source code is included in case anyone wants to make
use of it.

Cheers,

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

  #2 (permalink)  
Old April 19th 15, 12:03 PM posted to uk.rec.audio
Brian Gaff[_2_]
external usenet poster
 
Posts: 81
Default Audio CD Health Check

Health check? what is it actually checking for?
Anyway, as a Windoze user I'm obviously not allowed to use it. :-)
Brian

--
From the Sofa of Brian Gaff Reply address is active
"Jim Lesurf" wrote in message
...
I'm just finishing a program that does a simple 'Health Check' on the
quality of recordings on Audio CD. As an illustration of its use I've done
a page at

http://www.audiomisc.co.uk/HFN/HealthCheck/CD.html

to show some examples of the kinds of effects it will show.

The first version of the program I wrote will appear on my site in the
next
day or two. That runs on RISC OS, but I'll also do a Linux version when I
get around to it. The source code is included in case anyone wants to make
use of it.

Cheers,

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



  #3 (permalink)  
Old April 19th 15, 01:34 PM posted to uk.rec.audio
Jim Lesurf[_2_]
external usenet poster
 
Posts: 2,668
Default Audio CD Health Check

In article , Brian Gaff

wrote:
Health check? what is it actually checking for?


Have you read the text on the webpage I wrote to explain that?

Anyway, as a Windoze user I'm obviously not allowed to use it. :-)


Well, no one is forcing you to use it so far as I know. :-)

The source code (in 'C') is provided with the package I've done so far
which can be found from a link on

http://www.audiomisc.co.uk/software/index.html

I will do a Linux version in due course. Again with source code which a
Windows programmer should be able to port if they wish. I've not used
Windows for many years. Life's too short. :-)

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

  #4 (permalink)  
Old April 19th 15, 01:41 PM posted to uk.rec.audio
John Williamson
external usenet poster
 
Posts: 71
Default Audio CD Health Check

On 19/04/2015 13:03, Brian Gaff wrote:
Health check? what is it actually checking for?
Anyway, as a Windoze user I'm obviously not allowed to use it. :-)
Brian

It's a program that will do a count of how often each sample value
occurs in a particular piece of audio, and produce a pretty picture
which can be used to give you an idea of how well recorded a CD is. It
will show clipping and levels that are too low, as well as some problems
with the analogue to digital conversion.

If the source code had been included as promised, it could probably have
been compiled to run Under Windows, but there's no sign of it on the
site that I can find, so I can't try it.

--
Tciao for Now!

John.
  #5 (permalink)  
Old April 19th 15, 04:16 PM posted to uk.rec.audio
Jim Lesurf[_2_]
external usenet poster
 
Posts: 2,668
Default Audio CD Health Check

In article , John Williamson
wrote:


If the source code had been included as promised, it could probably have
been compiled to run Under Windows, but there's no sign of it on the
site that I can find, so I can't try it.


A link to the software is on the AudioMisc site's software page.

I produced the 'examples' page first to illustrate what the process can
show. Needed to refer to that in the 'Help' in the program. So at that
point the program wasn't available.

....And I did that today. You can find the !CD_HealthCheck program via
http://www.audiomisc.co.uk/software/index.html with source code included in
the zip. Look in the RO-only section for now.

When I put up the program I also added a link to the software page from the
examples page. (I also added another example of the kind of effect the
program can show up.)

However that version uses RISC OS swi calls to access the optical drive and
read the frames of audio data. It also uses a Norcroft/Acorn 'C' which
isn't the same as GCC's. So it would need changing to compile for Windows.

I need to work out how to use libcdio, then I can make a Linux version
available - again with sources. I think libcdio is part of GCC so that
source code should also work if recompiled for Windows. But I don't use
Windows so would have to leave that to someone else.

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

  #6 (permalink)  
Old April 20th 15, 07:41 AM posted to uk.rec.audio
Michael Kellett
external usenet poster
 
Posts: 9
Default Audio CD Health Check

Jim Lesurf:
I'm just finishing a program that does a simple 'Health Check' on the
quality of recordings on Audio CD. As an illustration of its use I've

done
a page at

http://www.audiomisc.co.uk/HFN/HealthCheck/CD.html

to show some examples of the kinds of effects it will show.

The first version of the program I wrote will appear on my site in the

next
day or two. That runs on RISC OS, but I'll also do a Linux version

when I
get around to it. The source code is included in case anyone wants to

make
use of it.

Cheers,

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



Very interesting - Thanks.

I have several CDs which are obviously ruined by clipping or svage
compression and are, for me, unlistenable. I wonder how many of the ones
I just don't like very much have similar flaws at a slightly less
obvious level.

If you ever get your code onto an OS I can run I'll give it go.

MK
  #7 (permalink)  
Old April 20th 15, 08:29 AM posted to uk.rec.audio
John Williamson
external usenet poster
 
Posts: 71
Default Audio CD Health Check

On 19/04/2015 17:16, Jim Lesurf wrote:
In article , John Williamson
wrote:


If the source code had been included as promised, it could probably have
been compiled to run Under Windows, but there's no sign of it on the
site that I can find, so I can't try it.


A link to the software is on the AudioMisc site's software page.

I produced the 'examples' page first to illustrate what the process can
show. Needed to refer to that in the 'Help' in the program. So at that
point the program wasn't available.

...And I did that today. You can find the !CD_HealthCheck program via
http://www.audiomisc.co.uk/software/index.html with source code included in
the zip. Look in the RO-only section for now.

Thanks, Got that, I'll delve into it later.


--
Tciao for Now!

John.
  #8 (permalink)  
Old April 20th 15, 09:12 AM posted to uk.rec.audio
Jim Lesurf[_2_]
external usenet poster
 
Posts: 2,668
Default Audio CD Health Check

In article , Michael Kellett
wrote:

Very interesting - Thanks.


I have several CDs which are obviously ruined by clipping or svage
compression and are, for me, unlistenable. I wonder how many of the ones
I just don't like very much have similar flaws at a slightly less
obvious level.


FWIW There is also a WAV_Stats program on my software page. This scans an
LPCM wave file and measures the peak levels during each 0.1 sec chunk, then
shows the results. That can show clipping effects. It is available for RO
and Linux, but the source code is provided in case anyone wants to port it
to other systems or tweak it as suits them. (Note that it only works with
wave files that have a plain 44-byte header. So you'd need to clean out any
other metadata using something like my WAV_Cleaner first.)

If you ever get your code onto an OS I can run I'll give it go.


Well, I do plan to do the following when I have the time.

1) Do a Linux version. That should be easy if I can work out how to use a
GCC 'C' library called 'libcdio' as I can then just port my RO program.
Once that is done the source code will also be provided. And I think as
part of GCC the code should be portable to Windows and Macs.

2) Do a 'file health check' version. i.e. one that can scan both 16 and 24
bit LPCM audio files. I already have a 16bit version but haven't decided
the best way to treat 24bit to get similar output.

Beyond that the main problem here is that a program for LPCM wave files and
covering 24bit is easy. But writing a program that can read, say, flac, is
much harder for me. But again, when I get somewhere I'll produce RO and
Linux versions with source code, and the Linux code may well be portable to
Windows and Macs.

However I don't use Windows or Macs, so for them all I could do is provide
source code for Linux and encourage anyone interested to do versions as
they find convenient.

That said, a Raspberry Pi will run RO and Linux... :-)

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

  #9 (permalink)  
Old April 20th 15, 09:21 AM posted to uk.rec.audio
Jim Lesurf[_2_]
external usenet poster
 
Posts: 2,668
Default Audio CD Health Check

In article , John Williamson
wrote:
On 19/04/2015 17:16, Jim Lesurf wrote:
In article , John Williamson
wrote:


If the source code had been included as promised, it could probably
have been compiled to run Under Windows, but there's no sign of it on
the site that I can find, so I can't try it.


A link to the software is on the AudioMisc site's software page.

I produced the 'examples' page first to illustrate what the process
can show. Needed to refer to that in the 'Help' in the program. So at
that point the program wasn't available.

...And I did that today. You can find the !CD_HealthCheck program via
http://www.audiomisc.co.uk/software/index.html with source code
included in the zip. Look in the RO-only section for now.

Thanks, Got that, I'll delve into it later.


If (unlike myself at present!) you understand libcdio you can probably
replace the RO 'swi' calls with proceedures that use libcdio. Note, though,
that the code is Norcroft/Acorn 'C' and that, for example, it regards 'int'
as 32-bit. So changes like int - long may be needed depending on your
compiler, etc.

I'll make equivalent changes when I do a GCC version for Linux. But not got
around to it yet. First, I have to get my head around libcdio...

Afraid that for historic reasons I use GCC for Linux and Norcroft for RO.
Never made the effort to standardise on GCC because I'm so used to Norcroft
on RO and its particular tricks.

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

  #10 (permalink)  
Old April 25th 15, 08:05 AM posted to uk.rec.audio
Jim Lesurf[_2_]
external usenet poster
 
Posts: 2,668
Default Flac Health Check was Audio CD Health Check

On 20 Apr, wrote:

2) Do a 'file health check' version. i.e. one that can scan both 16 and
24 bit LPCM audio files. I already have a 16bit version but haven't
decided the best way to treat 24bit to get similar output.


I've now produced a RO program that does a statistical analysis on the
samples in flac format audio files. The analysis is similar to that done on
Audio CD tracks by CD_HealthCheck, so this new program is called - with
amazing originality - Flac_HealthCheck.

It can be obtained from

http://www.audiomisc.co.uk/software/index.html

and it should work on 16 or 24 bit stereo files.

It uses the flac utility. I plan to do a port to Linux sometime, but source
code is provided in case anyone else wants to use it.

The current version has one quirk due to the way it reads the flac file in
5-sec chunks. This means that if the file isn't exactly a multiple of 5
seconds long, the last few secs are ignored. I plan to fix that once I've
written some more code to deal with it. However this quirk generally only
has a small effect on the resulting statistics and you can still spot if a
recording has flaws like those shown up by CD_HealthCheck.

Cheers,

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
Trackbacks are On
Pingbacks are On
Refbacks are On



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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.SEO by vBSEO 3.0.0
Copyright ©2004-2025 Audio Banter.
The comments are property of their posters.