code: def __extract_loudest_pieces(
      rmses: np.ndarray,
      average_rms: float,
      unfolded_mid: np.ndarray,
      unfolded_side: np.ndarray,
      name: str,
  ) -> (np.ndarray, np.ndarray, float):
      debug(
          f"Extracting the loudest pieces of the {name} audio "
          f"with the RMS value more than average {to_db(average_rms)}..."
      )
      loudest_piece_idxs, match_rms = get_lpis_and_match_rms(
          rmses, average_rms
      )
  
      mid_loudest_pieces = unfolded_mid[loudest_piece_idxs]
      side_loudest_pieces = unfolded_side[loudest_piece_idxs]
  
      return mid_loudest_pieces, side_loudest_pieces, match_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 4 for calling a global function with example usage: __extract_loudest_pieces(rmses, average_rms, unfolded_mid, unfolded_side, name) and returns: mid_loudest_pieces,  side_loudest_pieces,  match_rms