@Orangery I have just notice that my mathematics is wrong [- 4096] should be [+ 4096]
I also failed to mention a plugin called Camomile by Pierre Guillot that allows for the creation of vst3 from a Pure Data patch. Its not too difficult but It took few goes to get the settings right. All the files in the zip need to kept together in a folder "outoftune" and copied to your vstplugins folder.
https://github.com/pierreguillot/Camomile/wiki
I've used an updated version of out-of-tune.pd to create outoftune.vst3 using Camomile
outoftune.zip









