code: def test_voc(h, f):
      """VOC file"""
      if not h.startswith(b"Creative Voice File\032"):
          return None
      sbseek = get_short_le(h[20:22])
      rate = 0
      if 0 <= sbseek < 500 and h[sbseek] == 1:
          ratecode = 256 - h[sbseek + 4]
          if ratecode:
              rate = int(1000000.0 / ratecode)
      return "voc", rate, 1, -1, 8
  
file_path: catboost/contrib/tools/python3/src/Lib/sndhdr.py
imports: import warnings
  from collections import namedtuple
label_desc: Use image node_id 6 for calling a global function with example usage: test_voc(h, f) and returns: str,  rate,  int,  unknown,  int, None