1

Say I have an audio track with a variety of sounds ranging from low frequencies up to 20k. Is there a way I can filter away everything outside a given band and play back the result?

Alexander Soare
  • 2,825
  • 3
  • 25
  • 53
  • 1
    Is this python specific? In general you could use a band-pass filter... – angelogro Dec 23 '20 at 10:14
  • Yes, Python specific. I'm leaning towards computing a complex spectrogram, doing the filtering there, and coming back to the time domain. It's not clear that's the most efficient way with librosa though. – Alexander Soare Dec 23 '20 at 10:15
  • 1
    I don't know `librosa`, but I know that `scipy` can do the job. Have a look at the [docs](https://docs.scipy.org/doc/scipy/reference/signal.html) in the filtering section. – angelogro Dec 23 '20 at 10:20

0 Answers0