I split this onto a new thread as it doesn't' seem to be related to the one you posted in.
So, you have one BelaMini and what else ? If you have no other hardware at hand, then the only solution is to get the two extra channels into the analog inputs. These are lower quality than the audio inputs but may still work in some cases. You'll need four or five passive components for each channel:
3v3
|
R1 100k
|
100n | 4k7
in --C1-----------+-R3----+ Bela analog in
|
R2 150k
|
GND
None of the values are critical. The rationale is to use R1 and R2 to bias the voltage at BelaAnalogIn to be around 2V, which is the mid point of the input range of the analog's ADC. C1 and R4 form a high-pass filter that ensures that the input signals is AC-coupled and R3 is an optional series resistor to provide protection to the ADC in case the source is expected to have large voltage swings (e.g.: a piezo disk).
Pick R2 and R1 so that they are in the hundreds of kiloohm range and R2 is approximately 1.5 times the value of R1 . R3 should be between 2k and 10k. C1 can be as large as you want, keep in mind that the high-pass filter cutoff frequency will largely be driven by C1 and the parallel of R1 and R2. The cutoff is: 1/(2*pi*C1*(R1*R2)/(R1+R2))
. With the values shown, C1=0.00000047
, R1=100000
, R2=150000
, the cutoff is 1/(2*pi*(100000*150000)/250000*0.0000001) = 26Hz
. Tweak as needed.
As mentioned, this won't provide a great quality audio input, the only easy way to get there is via a BelaMini Multichannel expander (easy), or some additional I2S codec you may have lying around (very hard because of the required programming). When is your deadline? If you are in the EU or UK, placing an order now for a BelaMini Multichannel should get it to you by the end of the week.