silver2row Your code is printing to the console too quickly. Check your audio thread for print messages.
Getting this message confirms you followed the instructions correctly, the code compiled and it is running. The message is a side-effect of not having any pots connected to analog inputs. The application prints each time it detects the pot gets turned. When there is nothing connected to the input, the noise appears as if the pot is constantly being turned back and forth from one extreme to the other faster than a human could ever turn it, and it prints more messages than Bela can keep up with.
Below shows how to disable reading the pots when nothing is connected to the Analog Inputs:
void render(BelaContext *context, void *userData)
//separate audio inputs into their own buffers
format_audio_buffer(context, ch1, 1);
format_audio_buffer(context, ch0, 0);
Comment these lines as shown below
//Scan analog inputs and set settings
// for(int i = 0; i < N_KNOBS; i++)
// format_analog_buffer(context, kp[i]);
The remainder of this function posted to help you see where the commented line is found, but you don't need to change anything else below.
//Run the klingon on ch0
//Send it to the output
for(unsigned int n = 0; n < context->audioFrames; n++)
// Write klingon through ch0, pass-through ch1
audioWrite(context, n, 0, ch0[n]);
audioWrite(context, n, 1, ch1[n]);
Once that is working, then you can make modifications to the code I gave previously for making the effect more extreme.