Recreate this formula,
after every specific cycles eg 7 or 13 cycles of sine/square wave i have to have phase change of 180degree
;generate
;control HZ "Sine wave frequency" float "Hz" 440 1 10000
;control CYCLES "Cycles between phase inversion" int "" 7 1 21
(setf sq-hz (/ HZ (* CYCLES 2)))
(mult (osc-pulse sq-hz 0) (hzosc HZ))
Hi Steve, Thank You so Much, where do i paste this?
In most versions of Audacity you will need a “selected region”, but it can be empty (no need for any actual audio in the selected region).
(Logically it should work without a selection because the code is running as a “generate” type plug-in, but I’m not sure that has ever worked in the Nyquist Prompt - it hasn’t worked for a long time if ever.)
1 Like
This topic was automatically closed after 30 days. New replies are no longer allowed.