code: def process_audio(
      in_file: str,
      wav_file: str = None,
      cut_prefix: int = 0,
      sample_rate: int = 16000,
      bit_depth: int = 16,
  ):
      """Process audio file: .mp3 to .wav conversion and cut a few seconds from the beginning of the audio
  
      Args:
          in_file: path to the .mp3 or .wav file for processing
          wav_file: path to the output .wav file
          cut_prefix: number of seconds to cut from the beginning of the audio file
          sample_rate: target sampling rate
          bit_depth: target bit_depth
      """
      try:
          if not os.path.exists(in_file):
              raise ValueError(f"{in_file} not found")
          tfm = Transformer()
          tfm.convert(
              samplerate=sample_rate, n_channels=1, bitdepth=bit_depth
          )
          tfm.trim(cut_prefix)
          tfm.build(input_filepath=in_file, output_filepath=wav_file)
      except Exception as e:
          print(f"{in_file} skipped - {e}")
  
file_path: NeMo/tools/ctc_segmentation/scripts/prepare_data.py
imports: import argparse
  import os
  import re
  from glob import glob
  from typing import List, Optional
  import regex
  from joblib import Parallel, delayed
  from normalization_helpers import LATIN_TO_RU, RU_ABBREVIATIONS
  from num2words import num2words
  from sox import Transformer
  from tqdm import tqdm
  from nemo.collections.asr.models import ASRModel
  from nemo.utils import model_utils
label_desc: Use image node_id 1 for calling a global function with example usage: process_audio(in_file, wav_file, cut_prefix, sample_rate, bit_depth) without return types