Setting the volume
-
Hi,
setting the volume with "M5.Speaker.setVolume(int value);" and values between "0" and "10" doesn´t cause anything. What am I supposed to do?
Thx,
Boris -
You're supposed to call
M5.Speaker.update();
after that to update the value. -
@dda 在 Setting the volume 中说:
You're supposed to call
M5.Speaker.update();
after that to update the value.Excellent and thanks! I was wondering the same thing.
-
@world101 Remember, same thing as most events in M5. Like you need to call
M5.update();
if you want feedback on the buttons. -
Still doesn't work for me with this configuration.
void setup() { Serial.begin(115200); M5.begin(); M5.Speaker.setVolume(1); M5.Speaker.update(); } M5.Speaker.beep();
The speaker is still really loud. What am I missing?
-
@world101 From what I hear, more work is needed to enable this..... a tweak here or there.... so hopefully soon, maybe.
-
@world101 在 Setting the volume 中说:
M5.Speaker.update();
Any news on when it might or how to get the volume M5.Speaker.setVolume() to work.
-
Volume does not work fo us too.
-
Volume only works in "playMusic" function.