A couple of suggestions that I'd make regarding the code, which I hope you will find useful:
1) For new plug-ins, it is highly recommended that they are written as "version 4" (the most recent version). See: https://wiki.audacityteam.org/wiki/Nyqu ... rs#version
2) Use spaces rather than tabs, and avoid trailing parentheses.
When I look on this page https://github.com/ElliotMebane/Isochro ... odInOut.ny I see code like this:
Code: Select all
(setq *waveform*
(abs-env
(list
(pwl
0 -1
ftin 1
ftout 1
pw -1
1 -1
)
(hz-to-step 1.0) t
)
)
)
Code: Select all
(setq *waveform*
(abs-env
(list
(pwl 0 -1 ftin 1 ftout 1 pw -1 1 -1)
(hz-to-step 1.0) t)))
Given that the initial time (t0) is zero, it would be better to write this with PWLV (http://www.cs.cmu.edu/~rbd/doc/nyquist/ ... l#index409)
Code: Select all
(setq *waveform*
(abs-env
(list
(pwlv -1 ftin 1 ftout 1 pw -1 1 -1)
(hz-to-step 1.0) t)))