def __init__(
            self,
            scp_file_name,
            segement_length=16000*1, #17152, #4,
            sample_rate=16000,
            processer=Processer(),
            gender2spk=None
        ):
        '''
            scp_file_name: the list include:[input_wave_path, output_wave_path, duration]
            spk_emb_scp: a speaker embedding ark's scp 
            segement_length: to clip data in a fix length segment, default: 4s
            sample_rate: the sample rate of wav, default: 16000
            processer: a processer class to handle wave data 
            gender2spk: a list include gender2spk, default: None
        '''
        self.wav_list = read_and_config_file(scp_file_name)
        self.processer = processer
        mgr = mp.Manager()
        self.index = mgr.list()#[d for b in buckets for d in b]
        self.segement_length = segement_length #* sample_rate
        _dochunk(self.wav_list, self.index, self.segement_length, sample_rate)

            scp_file_name: the list include:[input_wave_path, output_wave_path, duration]
            spk_emb_scp: a speaker embedding ark's scp 
            segement_length: to clip data in a fix length segment, default: 4s
            sample_rate: the sample rate of wav, default: 16000
            processer: a processer class to handle wave data 
            gender2spk: a list include gender2spk, default: None
        
train/speech_separation/utils/time_dataset.py