The purpose of introducing Common Harman File format was to allow to create file which can be used to import coefficients for all audio objects which are using FIR Panel.
Harman Common File format is a XML document.
File example:
<?xml version="1.0" encoding="utf-8"?> <Root> <Metadata> <hiDelaysamples>370</hiDelaysamples> -- only used for FIRMIMO high rate, </Metadata> <Data Fs="48000" Type="FIR"> <Out Index="0" > <In Index="0"> <Coefficients>1 10 13 16 1 10 13 16 1 10 13 16 1 10 13 16</Coefficients> </In> <In Index="1"> <Coefficients FilePath="C:/data1.csv"/> </In> <In Index="4"> <Coefficients >5 10 15 20 5 10 15 20 5 10 15 20 5 10 15 20</Coefficients> </In> </Out> <Out Index="1"> <In Index="1"> <Coefficients >1 2 3 4 5 6 7 8 8 9 0 1 2 3 4 5</Coefficients> </In> <In Index="2"> <Coefficients>1 10 13 16 1 10 13 16 1 10 13 16 1 10 13 16</Coefficients> </In> <In Index="4"> <Coefficients>1 10 13 16 1 10 13 16 1 10 13 16 1 10 13 16</Coefficients> </In> </Out> </Data> </Root>
File description:
- Metadata section
- hiDelaySample – this must be specify for FIR MIMO high rate import file
- any other tag can be added here if necessary to store some information (e. g Creator, Crated date, etc.), this information will be not used in GTT
- Data section
- data tag must specify sample rate (‘FS’) and type (‘FIR’)
- out/in tag describe into which filter data should be imported
- it is possible to skip filter (e. g there are no data for Out Index=1 and In Index=3)
- coefficients – can be defined in two way
- can be specified as array of values
- attribute FilePath can be specified to file directory, each value in file should be in separate line (format is specified by export single FIR)