IPB

Welcome Guest ( Log In | Register )

> Upload forum rules

- No over 30 sec clips of copyrighted music. Cite properly and never more than necessary for the discussion.


- No copyrighted software without permission.


- Click here for complete Hydrogenaudio Terms of Service

ARFlac C library/port
Omy
post Feb 25 2008, 22:30
Post #1





Group: Members
Posts: 6
Joined: 3-February 08
Member No.: 51018



Mostly to do with this thread about ARCue.pl. This is my own port/rewrite to C of the ARFlac.pl script which was in turn based off ARCue.pl. As such then credit must go to the authors of ARCue.pl and ARFlac.pl, although the actual C code is my own work.

Basically, this is a C library (and reference program which uses it) which can be used to check a directory of .flac files against the AccurateRip database. See the thread linked above for discussion of it's limitations.

Attached File  accrip.zip ( 5.93K ) Number of downloads: 751
Go to the top of the page
+Quote Post
 
Start new topic
Replies
reardon
post Oct 13 2011, 06:14
Post #2





Group: Members
Posts: 111
Joined: 6-March 04
From: Seattle
Member No.: 12494



QUOTE (Omy @ Feb 25 2008, 14:30) *
Mostly to do with this thread about ARCue.pl. This is my own port/rewrite to C of the ARFlac.pl script which was in turn based off ARCue.pl. As such then credit must go to the authors of ARCue.pl and ARFlac.pl, although the actual C code is my own work.

Basically, this is a C library (and reference program which uses it) which can be used to check a directory of .flac files against the AccurateRip database. See the thread linked above for discussion of it's limitations.


I did a bunch of work on this and thought I should share. It now shows EAC and AccurateRip CRCs, and has some updates including:
- AccurateRip v2 CRC
- vary first-track offset (try "-o32" for the most common non-zero offset)
- attempts to find matches for different drive offsets and disc masters. This is not well-implemented. The algorithm is brute-force and slow. It looks at the AR offset CRC (from a ten-sector window) and does a sliding-window search for a match.
- calculate AR/EAC values using only one disc in a multi-disc set.
- attempts to handle the "4608 samples" pad problem of early EAC+FLAC.
- fixes the "confidence number" bugs in early versions of same

It runs on Linux/GNU, not sure what would be involved in making it work on Windows.
Attached File(s)
Attached File  flac_arcrc.zip ( 11.29K ) Number of downloads: 216
 
Go to the top of the page
+Quote Post
bort27
post May 15 2013, 05:41
Post #3





Group: Members
Posts: 1
Joined: 15-May 13
Member No.: 108131



QUOTE (reardon @ Oct 13 2011, 00:14) *
QUOTE (Omy @ Feb 25 2008, 14:30) *
Mostly to do with this thread about ARCue.pl. This is my own port/rewrite to C of the ARFlac.pl script which was in turn based off ARCue.pl. As such then credit must go to the authors of ARCue.pl and ARFlac.pl, although the actual C code is my own work.

Basically, this is a C library (and reference program which uses it) which can be used to check a directory of .flac files against the AccurateRip database. See the thread linked above for discussion of it's limitations.


I did a bunch of work on this and thought I should share. It now shows EAC and AccurateRip CRCs, and has some updates including:
- AccurateRip v2 CRC
- vary first-track offset (try "-o32" for the most common non-zero offset)
- attempts to find matches for different drive offsets and disc masters. This is not well-implemented. The algorithm is brute-force and slow. It looks at the AR offset CRC (from a ten-sector window) and does a sliding-window search for a match.
- calculate AR/EAC values using only one disc in a multi-disc set.
- attempts to handle the "4608 samples" pad problem of early EAC+FLAC.
- fixes the "confidence number" bugs in early versions of same

It runs on Linux/GNU, not sure what would be involved in making it work on Windows.


Thank you so much for doing this! I've been using this to verify all of my old CD rips. Works like a charm.

I added one little feature that allows you to specify an AccurateRip disc ID instead of having the program generate it (e.g. "flac_arcrc -a 0019e74c-01142329-b40d1e0f ."). It's really useful for enhanced CDs that have data tracks (EAC or CueTools will give you the AccurateRip ID).
Attached File(s)
Attached File  flac-arcrc.patch.zip ( 1.17K ) Number of downloads: 42
 
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th April 2014 - 22:58