def parseCDDA(self):
 (yield UInt16(self, 'cda_version', 'CD file version (currently 1)'))
 (yield UInt16(self, 'track_no', 'Number of track'))
 (yield textHandler(UInt32(self, 'disc_serial', 'Disc serial number'), formatSerialNumber))
 (yield UInt32(self, 'hsg_offset', 'Track offset (HSG format)'))
 (yield UInt32(self, 'hsg_length', 'Track length (HSG format)'))
 (yield RedBook(self, 'rb_offset', 'Track offset (Red-book format)'))
 (yield RedBook(self, 'rb_length', 'Track length (Red-book format)'))

def parseCDDA ( self ) : ( yield UInt16 ( self , 'cda_version' , 'CD file version (currently 1)' ) ) ( yield UInt16 ( self , 'track_no' , 'Number of track' ) ) ( yield textHandler ( UInt32 ( self , 'disc_serial' , 'Disc serial number' ) , formatSerialNumber ) ) ( yield UInt32 ( self , 'hsg_offset' , 'Track offset (HSG format)' ) ) ( yield UInt32 ( self , 'hsg_length' , 'Track length (HSG format)' ) ) ( yield RedBook ( self , 'rb_offset' , 'Track offset (Red-book format)' ) ) ( yield RedBook ( self , 'rb_length' , 'Track length (Red-book format)' ) )
hsg address format: number of 1/75 second hsg offset = *75 + frame + 150 hsg length = *75 + frame .