Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def HPFilter(audio,cutoff):
HPF = es.HighPass(cutoffFrequency=cutoff)
filtered_audio = HPF(audio)
writer = es.MonoWriter(filename='holst_test.wav')
writer(filtered_audio)
return filtered_audio