def METHOD_NAME(self, wav_file: str,
                    split_chunks: bool) -> List[List[str]]:
    waveform, sr = load_audio(wav_file)
    audio_id = wav_file.split("/open_rir_noise/")[-1].split(".")[0]
    audio_duration = waveform.shape[0] / sr
    ret = []
    if split_chunks and audio_duration > self.chunk_duration:  # Split into pieces of self.chunk_duration seconds.
        uniq_chunks_list = self._get_chunks(self.chunk_duration, audio_id,
                                            audio_duration)
        for idx, chunk in enumerate(uniq_chunks_list):
            s, e = chunk.split("_")[-2:]  # Timestamps of start and end
            start_sample = int(float(s) * sr)
            end_sample = int(float(e) * sr)
            new_wav_file = os.path.join(self.base_path,
                                        audio_id + f'_chunk_{idx+1:02}.wav')
            save_wav(waveform[start_sample:end_sample], sr, new_wav_file)
            # id, duration, new_wav
            ret.append([chunk, self.chunk_duration, new_wav_file])
    else:  # Keep whole audio.
        ret.append([audio_id, audio_duration, wav_file])
    return ret