There is Effect > Change Pitch so you can do it in post production.
In general, anyone advocating an Audacity program change is advised to take a number and get on line. However you may have stumbled into a fortuitous event. The Click Generator is up for renewal. One of the considered options is split Click Track into “Metronome” and “Drum Generator.” Once that happens, then it’s not a stretch that the Drum Generator may incorporate the usual variations and settings.
I know you want this change by the end of business day, but it could take a year or more. They are firming up 2.1.3, so it’s too late for that version which may hit the streets in a month or two. Next version could be 6 to 9 months after that.
On feedback@, Steve already explained you can modify Nyquist files yourself, and I already suggested (like Koz) that you could use Change Pitch afterwards. Did you try Change Pitch?
I am not expert enough to change pluck from MIDI to frequency without researching it, but if you want a “quick fix” you can try changing “int” to “real” in line 15 of pluck.ny:
;control pitch "Pluck MIDI pitch" real "" 60 1 120
I can then hear a difference between entering for example note 60 and “60.3”.
Here you go.
If you open this in a plain text editor you will see what I’ve changed.
Basically just changing the midi note control so that it has a frequency range, then removing the “step-to-hz” command so that the generator uses frequency (in Hz) rather than “steps” (MIDI note values).
I haven’t had a chance to try the post-generation pitch change, mainly because I’ve been down with a virus for two days, and am just barely starting to feel human again. I will definitely give both the new pluck generator a try first, then the post-generation pitch change. My main concern about doing it would be that different pitches would require different shifts, anywhere from 2 to 28 cents.
I just thought I’d post here first to see if anyone else had come up with an alternate work-around.
And having done a very_small amount of code writing back in the 80’s and 90’s, I know such things are not “immediate”, and am certainly not expecting this change to magically appear in 2.1.3!
I don’t recall anyone asking for this before, but if dmbohn can checkout the new version that I posted and it works as expected, then I can upload it to the wiki in case anyone else wants it.