Yesterday I connected an LDR to my Bela, much like the FSR in the "Pd analog in" example.
I have an idea to make a patch that uses LDR's connected to the 8 analog inputs of my Pepper.

this is what I found on the site:
connect one leg of the LDR to 3.3V
connect the other leg of the LDR to analog input 1
connect one leg of a 10KOhm resistor to this leg of the LDR as well
connect the other leg of the resistor to ground

What would be a good way to wire this for the pepper minijack inputs?
Can I use 5V or rather 3.3V?
Would it be OK to get 3V from two AA batteries?
And / or can all 8 LDR's be connected to one and the same 3V source?

I suppose ground can be the minijack ground.

that description makes the LDR the top of a voltage divider. (pot analogy: the junction on the analog input would be the wiper, and there's a fixed 10K to ground.)
so i would think hooking them all up on the same voltage source is fine.
i don't see 5v or 3.3v making much of a difference, as you'd have to calibrate light vs dark in software anyway.
that fixed 10K to gnd probably would cause the input to never fully reach 0, for example.

    Remork i don't see 5v or 3.3v making much of a difference, as you'd have to calibrate light vs dark in software anyway.

    Noise is a difference: 5V on Bela is much noisier than 3.3V.

    The other issue is that the CV ins on Pepper have a 0V:10V input range and an input impedance of 150k so that will interact with the resistor divider of the LDR. It will still be monotonic, though, but you'll get a more limited range when the LDR receives little light.

    If using the Pepper CV in instead of the raw Bela in, a better option to 3.3V could be using +10V (from the zener that's onboard Pepper) or even the 12V from the Eurorack PSU (if at all possible and if quiet enough).