With the media player, using the rMP3 board gives me a reverse volume of 0-254 (0 being the highest)
I am ignoring any data below 40 (it is pretty quiet then) and then turning the data the opposite way to get it as 40 being the highest (then taking away 1 to write to the corresponding segments). I am however mapping a potentiometer input to control that volume. Anyway here is that bit of code. Not great but it works ok.
volume = map(analogRead(4), 0, 1020, 40, 0);
if(volume == 40)
rmp3.setvolume(254);
else
rmp3.setvolume(volume);
vol = 40-volume;
then slightly further down there is this:
lcd.setCursor(0,3);
lcd.print(" "); //40 spaces - seemed like the fastest way
for(int i=0; i<=vol-1; i++){
lcd.setCursor(i,3);
lcd.print(255, BYTE);
}
Here is an image before I got the volume graph going:
Mowcius