code: def get_average_rms(
      array: np.ndarray, piece_size: int, divisions: int, name: str
  ) -> (np.ndarray, np.ndarray, float):
      name = name.upper()
      unfolded_array = unfold(array, piece_size, divisions)
  
      debug(f"Calculating RMSes of the {name} pieces...")
      rmses = batch_rms(unfolded_array)
      average_rms = rms(rmses)
  
      return unfolded_array, rmses, average_rms
  
file_path: matchering/matchering/stage_helpers/match_levels.py
imports: import numpy
  from ..log import debug
  from ..None import Config
  from ..utils import to_db
  from ..dsp import lr_to_ms, size, unfold, batch_rms, rms, amplify, normalize
label_desc: Use image node_id 5 for calling a global function with example usage: get_average_rms(array, piece_size, divisions, name) and returns: unfolded_array,  rmses,  average_rms