def test_highpass_filter_cutoff_frequency(self): # A Sine wave should not be affected by a HPF 3 octaves lower s = Sine(800).to_audio_segment() less_bass = s.high_pass_filter(100) self.assertAlmostEqual(less_bass.dBFS, s.dBFS, places=0)
def test_highpass_filter_cutoff_frequency(self): # A Sine wave should not be affected by a HPF 3 octaves lower s = Sine(800).to_audio_segment() less_bass = s.high_pass_filter(100) self.assertAlmostEqual(less_bass.dBFS, s.dBFS, places=0)