void AFprintInfoRecs(const AFILE *AFp, FILE *fpinfo)
Print all information records for an audio file
This formats and prints information records for an audio file. Non-printing control characters are replaced by a scarab ('\xA4') character. Long lines are truncated with a trailing ... to indicate truncation.
When an input file containing AFsp information records is opened with AFopnRead, information records are read and stored in the audio file parameter structure. The following records affect the audio file information that is stored in the audio file parameter structure or printed when the file is opened.
Information records found in input audio files are returned in the AFInfo structure which is part of the audio file parameter structure. The information records are determined from the audio file as follows.
"NAME" chunk text => "name:" information record "AUTH" chunk text => "author" information record "(c) " chunk text => "copyright:" information record "ANNO" chunk text => "annotation:" information record
"afsp" chunk - Text is extracted and stored as individual information records. "DISP" chunk - text is stored as a "display_text:" information record. "LIST" chunk - INFO text has further subcategories as follows. "IARL" text => "archival_location:" information record. "IART" text => "artist:" information record. "ICMS" text => "commissioned:" information record. "ICMT" text => "comment:" information record. "ICOP" text => "copyright:" information record. "ICRD" text => "creation_date:" information record. "IENG" text => "engineer:" information record. "IGNR" text => "genre:" information record. "IKEY" text => "keywords:" information record. "IMED" text => "medium:" information record. "INAM" text => "name:" information record. "IPRD" text => "product:" information record. "ISBJ" text => "subject:" information record. "ISFT" text => "software:" information record. "ISRC" text => "source:" information record. "ISRF" text => "source_form:" information record. "ITCH" text => "technician:" information record. "bext" chunk - information (Broadcast WAVE files) is extracted and returned as information records.
"comment:" and "command:" information records
"date:" "header_version:" "program:" "program_version:" "program_compile_date:" "start_time:" "max_value:"
"date:" information record
"comment:" information record
"SF_COMMENT:" information record
"database_id:" "database_version:" "utterance_id:" "sample_min:" "sample_max:" "conversation_id:" "microphone:" "prompt_id:" "recording_date:" "recording_environment:" "recording_site:" "recording_time:" "sample_checksum:" "speaker_sentence_number:" "speaker_session_number:" "speaker_utterance_number:" "speaker_id:" "speaker_id_a:" "speaker_id_b:" "speaking_mode:" "utterance_id:".
P. Kabal / Revision 1.17 2023-03-23