I just had deepseek make this, you can add it to the teensy audio library if you want, just credit Kap10 George.
Considered Free Code too, even for sale of it
(You should be able to modify this easily to work)
#ifndef AUTOTUNE_PLUGIN_H
#define AUTOTUNE_PLUGIN_H 1
#include <assert.h>
#include...