Recently I noticed I am not getting any signal through my inputs. I have got a Rev2 Pepper.

I have ofstream a .txt from both channels through audioRead, printing incredibly small numbers in a random manner and not reactive to audio. I have also tried the Pepper patch that passes inputs to outputs without success. Lastly, I tried the following code based on the oscilloscope example:

#include <Bela.h>
#include <libraries/Scope/Scope.h>
#include <cmath>

// instantiate the scope
Scope scope;

bool setup(BelaContext *context, void *userData)
{
	// tell the scope how many channels and the sample rate
	scope.setup(3, context->audioSampleRate);

	return true;
}

void render(BelaContext *context, void *userData)
{
	for (unsigned int n = 0; n < context->audioFrames; ++n)
	{
		float left = audioRead(context, n, 0);
		float right = audioRead(context, n, 1);
		float in_1 = analogRead(context, n, 0);

		// log the three oscillators to the scope
		scope.log(left, right, in_1);
	}
}

void cleanup(BelaContext *context, void *userData)
{

}

On this code, I get results on analog channel one but nothing on the audio channels.

Also, altering the dBs of each channel on the IDE does not seem to have much of an effect.

Am I missing anything? Are there any common hardware mistakes when building the module or any channel configuration I'm missing?

Any help is appreciated : )

Thank you

In case the issue is with Pepper, check that JP2 is installed with the correct orientation and properly plugged into the Bela cape's audio input. Then check that R18 and R22 are 15k and R16 and R20 are 84k and there are no shorts or dubious looking solder joints around the area.

If that fails, after removing the Bela from the Pepper module, connect directly to the audio input via the Bela red-white-black audio adapter cable; play some sound into it: do you get anything meaningful?

Excuse my inexperience but I can't seem to find where JP2 is on any guide. What is it and how do I find it?

Thank you so much! I completely missed that step when building it up. fixed now : )