I’ve received questions about how to switch the Tympan from using its built-in microphones to using external microphones via the red microphone jack.
The simplest answer is to look for a line that says “inputSelect”. By default, the example programs probably look like:
audioHardware.inputSelect(TYMPAN_INPUT_ON_BOARD_MIC);
If you want to use an external microphone via the microphone jack (and if you want the Tympan to supply a voltage bias to power the mic), you’ll want to change this line of code to read something like:
audioHardware.inputSelect(TYMPAN_INPUT_JACK_AS_MIC);
Or, if you want to use the jack as a line-input (ie, no voltage biasing), you’d change the line to read:
audioHardware.inputSelect(TYMPAN_INPUT_JACK_AS_LINEIN);
I hope that this helps!
Chip