def add_gain_to_audio_segment()

in src/diarizers/data/synthetic_pipeline.py [0:0]


    def add_gain_to_audio_segment(self, audio_segment):
        """Add gain to audio_segment"""
        audio_segment = self.apply_gain(audio_segment, sample_rate=self.sample_rate)

        return audio_segment