HELP: Issues with Audio library and T4

Status
Not open for further replies.
Working on an audio analysis project. I had been having issues with my Teensy 4.0 and the audio library prior to this, and posted about it, but it would seem that my issue is something more than internal reference voltage problems...

I tried installing the recently launched Teensyduino 1.52, and programmed my T4 with the example peak analysis sketch under:
File>Examples>Audio>Analysis>PeakMeterMono

I have my audio input (brought up in voltage with an opamp circuit) plugged into A2 (pin 16) and... nothing happens. It outputs absolutely nothing to the serial monitor. The statement on Line 36
Code:
if (peak1.available()) {...}
never even triggers, as peak1.available() returns false. Not sure what to make of it. The opamp circuit works; I know this because I can analogRead() from it and get values for the whole spectrum (0v -> 3.3v). Any help appreciated; I know that ADC input is still experimental at this point for the T4.
 
Status
Not open for further replies.
Back
Top