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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login