Stereo line in set-up question (GUI generated code crashes teensy 3.2)

Status
Not open for further replies.

milton59

Member
I want to input left and right channels into two separate ADC's from a headphone jack and process each channel through it's own fft256 object for a simple audio spectrum display. I have got this running in mono already with my two 7x8 displays mirrored and read it is possible to use 2 fft objects to do a stereo display. I used the GUI tool to create 2 ADC inputs , each feeding their own fft256 objects but it just crashes when it is uploaded. I am not sure if I need to do some extra ADC setup or what. In the mono script I built I am feeding the signal into pin A2 and I would like to feed the other channel into pin A9.

View attachment sketch_nov05a.ino

If I comment out The second AudioInputAnalog line and second AudioConnection line the script will run
 
Status
Not open for further replies.
Back
Top