So I’m actually a programmer by trade, and I’ve dabbled in lisp about a year back. I had no idea Audacity had a Lisp flavor for me to play with. So I actually have a VLF antenna that I built that I eventually want to get around to using C and FFTW to live process the signal to remove mains hum. But I figured for now trying to do simple post dsp in audacity is good enough. It’s a simple matter of applying a notch filter across all the harmonics of 60hz, which should be as simple as running notch in a for loop. Now my lisp is really rusty since I never did get to play with lisp before, but I think this should be right?
;nyquist plug-in
;version 4
;type process
;name "Harmonics Removal"
(setq a 60)
(loop
(notch2 *track* a 0.5)
(setq a (+ a 60))
(when (> a 20000) (return a)))
When I compile it, it runs without error (I hit the debug button and get no output, but as a C programmer I know well and good no compiler errors doesn’t mean no bugs) but nothing happens to my audio. Am I missing a step? Why is nothing happening to my audio? And yes before you ask I DO have audio selected. Nothing seems to work or be applied to my selected audio.
I tried Googling for what could be wrong and can’t find anything.
Any help is appreciated, thanks!