×

SparkFun Support and Front Desk will be closed on Thursday 11/14 from 1-2:30pm for a company event. Please plan to pick up your orders before or after this timeframe.

Member #596676

Member Since: September 18, 2014

Country: United States

  • Right now I am testing the Lilypad mp3 with headphones, but I wanted to change the volume of the L channel independently than that of the R channel (for starters)… Trying simple panning in here…

    Thought it would be enough by placing different numbers within the code, say: include <SPI.h> // To talk to the SD card and MP3 chip include <SdFat.h> // SD card file system include <SFEMP3Shield.h> // MP3 decoder chip include <Wire.h> // to talk to the Amplifier chip include <SFE_TPA2016D2.h>

    (…)

    MP3player.setVolume(5,30);

    For some reason volume is kept the same in both headphones, as if one number will override the other? Why is this?

    Should I use separated speakers (LEFT SPEAKER/RIGHT SPEAKER) directly from their terminals in this Lilypad board? Or is it that I am just not seeing something really obvious within the code?

    Thanks!

  • Right now I am testing the Lilypad mp3 with headphones, but I wanted to change the volume of the L channel independently than that of the R channel (for starters)... Trying simple panning in here...

    Thought it would be enough by placing different numbers within the code, say:

    include <SPI.h> // To talk to the SD card and MP3 chip

    include <SdFat.h> // SD card file system

    include <SFEMP3Shield.h> // MP3 decoder chip

    include <Wire.h> // to talk to the Amplifier chip

    include <SFE_TPA2016D2.h>

    (...)

    MP3player.setVolume(5,30);

    For some reason volume is kept the same in both headphones, as if one number will override the other? Why is this?

    Should I use separated speakers (LEFT SPEAKER/RIGHT SPEAKER) directly from their terminals in this Lilypad board? Or is it that I am just not seeing something really obvious within the code?

    Thanks!

No public wish lists :(