I am a beginner of Praat and I need to apply the
Remove noise... filter on a file using the Praat script.
filePath$ = dirPath$+"/"+fileName$+".wav"; sound = Read from file... 'filePath$' selectObject: sound noise_reduction_method = Spectral subtraction smoothing = 40 filtered = Remove noise: 0.0, 0.0, 0.025, 80, 1000, smoothing, noise_reduction_method selectObject: filtered
Unknown symbol <<
'Script line 16 not performed of completed <<
noise_reduction_method$ = 'Spectral subtraction'
I tried a lot to find out the correct way of giving the last argument of this filter but couldn't succeed. Someone please guide me in this regard.