def METHOD_NAME():
    tmp_dir = tempfile.TemporaryDirectory()
    dir_name = tmp_dir.name
    def create_manifest_file(manifest_file, names, lengths, rates, texts):
        assert len(names) == len(lengths) == len(rates) == len(texts)
        data = []
        for idx in range(len(names)):
            entry_i = {}
            entry_i['audio_filepath'] = names[idx]
            entry_i['duration'] = lengths[idx] * (1.0 / rates[idx])
            entry_i["text"] = texts[idx]
            data.append(entry_i)
        with open(manifest_file, 'w') as f:
            for entry in data:
                json.dump(entry, f)
                f.write('\n')
    nemo_asr_manifest = os.path.join(dir_name, "nemo_asr_manifest.json")
    names = [
        os.path.join(dir_name, "dali_test_1C.wav"),
        os.path.join(dir_name, "dali_test_2C.wav"),
        os.path.join(dir_name, "dali_test_4C.wav")
    ]
    freqs = [
        np.array([0.02]),
        np.array([0.01, 0.012]),
        np.array([0.01, 0.012, 0.013, 0.014])
    ]
    rates = [22050, 22050, 12347]
    lengths = [10000, 54321, 12345]
    def create_ref():
        ref = []
        for i in range(len(names)):
            wave = generate_waveforms(lengths[i], freqs[i])
            wave = (wave * 32767).round().astype(np.int16)
            ref.append(wave)
        return ref
    ref_i = create_ref()
    def create_wav_files():
        for i in range(len(names)):
            scipy.io.wavfile.write(names[i], rates[i], ref_i[i])
    create_wav_files()
    ref_text_literal = [
        "dali test 1C",
        "dali test 2C",
        "dali test 4C",
    ]
    nemo_asr_manifest = os.path.join(dir_name, "nemo_asr_manifest.json")
    create_manifest_file(nemo_asr_manifest, names, lengths, rates, ref_text_literal)
    return tmp_dir, nemo_asr_manifest