CD+G subchannel parity fields

vbimport

#1

Hi,
I need to create a image (.bin) according to CD+G standard and burn it on a CD.

For create subchannel data, I take information from http://www.jbum.com/cdg_revealed.html
but the fields ‘ParityQ’ and ‘ParityP’ are 0.
I need to fill those fields otherwise the cd doesn’t work on cd player.
How can I generate those fields? (source code would be rally nice…)

Thanks


#2

Please see this thread:

http://club.cdfreaks.com/f52/generating-raw-interleaved-ecc-audio-241448/

Look at my post at #7.


#3

Thank you Truman, I will try “cdrecord”!


#4

It’s your lucky day today Gleard (or anyone else interested)! :slight_smile:

I’ve made a demonstation source code to show others how to use edc_ecc from the open source cdrtools (cdrecord) to encode CD+G P & Q RS codes.

Download from here:
http://www.cdtool.pwp.blueyonder.co.uk/cdg_rs_using_cdrtools_edc_ecc_test.rar

Notes:

The decode functions only calculate syndromes (number of errors) and doesn’t do error correction.

A bug was fixed in the original code, see inside rs_codes.cpp:
int encode_LSUB_Q(unsigned char * inout)