code: def Trans_time(time, fs):
      units = time.split(":")
      time_second = (
          float(units[0]) * 3600
          + float(units[1]) * 60
          + float(units[2])
      )
      return int(time_second * fs)
  
file_path: espnet/egs2/chime7_task1/asr1/local/extract_noises.py
imports: import argparse
  import json
  import math
  import os
  import sys
  import numpy
  import scipy.io.wavfile
label_desc: Use image node_id 2 for calling a global function with example usage: Trans_time(time, fs) and returns: int