private static String generateVersionStr(int version, int layer) {
        StringBuilder buf = new StringBuilder(64);
        buf.append("MPEG 3 Layer ");
        if (layer == LAYER_3) {
            buf.append("III");
        } else if (layer == LAYER_2) {
            buf.append("II");
        } else if (layer == LAYER_1) {
            buf.append("I");
        } else {
            buf.append("(reserved)");
        }

        buf.append(" Version ");
        if (version == MPEG_V2_5) {
            buf.append("2.5");
        } else if (version == MPEG_V2) {
            buf.append("2");
        } else if (version == MPEG_V1) {
            buf.append("1");
        } else {
            buf.append("(reserved)");
        }

        return buf.toString();
    }
Generates a string for the version of this audio frame.

@param version the code for the MPEG version
@param layer   the code for the layer
@return a string for the version
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-audiovideo-module/src/main/java/org/apache/tika/parser/mp3/AudioFrame.java