Closed startupsolutions closed 2 years ago
Hi, I was having glitching problems recording OGG audio with ESP8266 (NodeMCU) due to low SPI clock speed. I've simply fixed it changing the lines (in Adafruit_VS1053.cpp) from: `
to:
#define VS1053_CONTROL_SPI_SETTING SPISettings(1000000, MSBFIRST, SPI_MODE0) #define VS1053_DATA_SPI_SETTING SPISettings(20000000, MSBFIRST, SPI_MODE0)
#define VS1053_CONTROL_SPI_SETTING SPISettings(250000, MSBFIRST, SPI_MODE0) #define VS1053_DATA_SPI_SETTING SPISettings(8000000, MSBFIRST, SPI_MODE0)
` setting speed to 1MHz/20MHz. As I can hear now, no glitches anymore!
cool, wanna submit a PR? :)
For me this broke MP3 playback
Closing due to age and potentially breaking change.
Hi, I was having glitching problems recording OGG audio with ESP8266 (NodeMCU) due to low SPI clock speed. I've simply fixed it changing the lines (in Adafruit_VS1053.cpp) from: `
define VS1053_CONTROL_SPI_SETTING SPISettings(250000, MSBFIRST, SPI_MODE0)
define VS1053_DATA_SPI_SETTING SPISettings(8000000, MSBFIRST, SPI_MODE0)
to:
if defined(ESP8266)
else
endif
` setting speed to 1MHz/20MHz. As I can hear now, no glitches anymore!