Question is if it is included in the generated source, easy to try and see.
The patch level API looks like this:
int num_inputs();
int num_outputs();
int num_params();
int perform(CommonState *cself, t_sample **ins, long numins, t_sample **outs, long numouts, long n);
void reset(CommonState *cself);
void setparameter(CommonState *cself, long index, t_param value, void *ref);
void getparameter(CommonState *cself, long index, t_param *value);
const char *getparametername(CommonState *cself, long index);
t_param getparametermin(CommonState *cself, long index);
t_param getparametermax(CommonState *cself, long index);
char getparameterhasminmax(CommonState *cself, long index);
const char *getparameterunits(CommonState *cself, long index);
size_t getstatesize(CommonState *cself);
short getstate(CommonState *cself, char *state);
short setstate(CommonState *cself, const char *state);
void *create(t_param sr, long vs);
void destroy(CommonState *cself);
here we go haha https://www.rebeltech.org/patch-library/patch/Lich_Gen_out_tester
Awesome, thanks. I deployed some updates and recompiled your patch. Try it now
A couple of notes on the current version:
- CV values are 0 to 1, audio is -1 to 1. At the moment the audio is clipped when converted to CV.
- CV outputs are updated each block, which means 750Hz with default blocksize of 64 samples.
- The mean value of samples in the assigned audio buffer is converted to CV.
- No CV smoothing is currently applied, so stepping is likely.