After enabling the VU meter function from VS1053b patches version 2.50, I'm confused by the readings from the AICTRL3 register.
This code inside loop() (using Adafruit's VS1053 library)
produces the following output on the Arduino IDE serial plotter:
Code: Select all
uint16_t vu_values = musicPlayer.sciRead(VS1053_SCI_AICTRL3); Serial.print(highByte(vu_values)); Serial.print(","); Serial.println(lowByte(vu_values));
The yellow line (low byte, right channel) seems OK, but the green line (high byte, left channel) seems to represent a different signal property. The corresponding audio sounded like well balanced stereo.
Help would be much appreciated.
Thanks - Paul