Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1704
    Anonymous
    Inactive

    in your example volume start to -20dB , how to set it to start to -1db?

    #1705

    Volume is documented in the github page HERE

    Change line 214 of SFEMP3Shield.cpp from 20 to 2

    SetVolume(2,2);

    I have thought about adding a feature to store the volume into Flash, as to persist between power cycles. But I hesitate as being fringe (too host specific) and not part of the core scope of this example. And requires additional libraries.

    #1706
    Anonymous
    Inactive

    thank

    #1721

    nonlinearmind had asked about getting most volume possible.

    SS_SWING of the SCI_STATUS allows you to go above the 0 dB volume setting. Value 0 is normal mode, 1 gives +0.5 dB, and 2 gives +1.0 dB. Settings from 3 to 7 cause the DAC modulator to be overdriven and should not be used. However, I doubt the receiving device will be able to handle it with out clipping.

    At this time the released public GITHUB driver does not support a public member function to change this. Assuming 0dB should be loud enough.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.