(self, in_wavfile, out_wavfile)
return write_op
Read a clean wav return a noisy wav.
        :param in_wavfile: clean wavfile path.
        :param out_wavfile: noisy wavfile path.
        :return: write wav opration.
Read a clean wav return a noisy wav.
        :param in_wavfile: clean wavfile path.
        :param out_wavfile: noisy wavfile path.
        :return: write wav opration.
Read a clean wav return a noisy wav . : param in_wavfile : clean wavfile path . : param out_wavfile : noisy wavfile path . : return : write wav opration .
def call(self, in_wavfile, out_wavfile):
    """
        Read a clean wav return a noisy wav.
        :param in_wavfile: clean wavfile path.
        :param out_wavfile: noisy wavfile path.
        :return: write wav opration.
        """

    with tf.name_scope('add_noise_end_to_end'):
      input_data, sample_rate = self.read_wav(in_wavfile)
      noisy_data = self.add_noise(input_data, sample_rate) / 32768
      write_op = self.write_wav(out_wavfile, noisy_data, sample_rate)

    return write_op
def call ( self , in_wavfile , out_wavfile ) : with tf . name_scope ( 'add_noise_end_to_end' ) : input_data , sample_rate = self . read_wav ( in_wavfile ) noisy_data = self . add_noise ( input_data , sample_rate ) / 32768 write_op = self . write_wav ( out_wavfile , noisy_data , sample_rate ) return write_op