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/)
-   -   Audio CD Health Check (https://www.audiobanter.co.uk/uk-rec-audio-general-audio/8886-audio-cd-health-check.html)

Jim Lesurf[_2_] April 18th 15 05:23 PM

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


Brian Gaff[_2_] April 19th 15 12:03 PM

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




Jim Lesurf[_2_] April 19th 15 01:34 PM

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


John Williamson April 19th 15 01:41 PM

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.

Jim Lesurf[_2_] April 19th 15 04:16 PM

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


Michael Kellett April 20th 15 07:41 AM

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

John Williamson April 20th 15 08:29 AM

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.

Jim Lesurf[_2_] April 20th 15 09:12 AM

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


Jim Lesurf[_2_] April 20th 15 09:21 AM

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


Jim Lesurf[_2_] April 25th 15 08:05 AM

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



All times are GMT. The time now is 11:32 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