forked from Edzelf/Esp-radio
-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Hi all,
My Web radio is now running well, with a really good sound thru headphones at a 192kbps stream.
Before integrating a 2.8" Touch screen, I just test it on a 2.1 loud speaker sound set.
I feel a little upset due to a weak bass level, compared with my existing streamer that runs on the same set.
Just digging into the VS1053.cpp file, I found these lines :
void VS1053::setTone(uint8_t *rtone) { // Set bass/treble (4 nibbles)
// Set tone characteristics. See documentation for the 4 nibbles.
uint16_t value = 0; // Value to send to SCI_BASS
int i; // Loop control
for (i = 0; i < 4; i++) {
value = (value << 4) | rtone[i]; // Shift next nibble in
}
writeRegister(SCI_BASS, value); // Volume left and right
}
This proves that a tone setup is possible, but I do not find any example showing how to include it into the IDE sketch...
Does somebody feel able to help me in that way ?
Metadata
Metadata
Assignees
Labels
No labels