Skip to content

Bass / treeble change #95

Description

@jackjean88

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions