🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    [Core2] How to disable speaker tone during booting / power-up?

    General
    7
    13
    15.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Testing123
      last edited by

      Hi All,

      I found it is extremely annoying that the tone is emitting every time the core2 is powering up. It is annoying because it wakes my kid up and annoying people around me. The tone does not emitting on original core1.

      It is okay to have such a "wonderful / magic" tone but MUST HAVE OPTION to turn it off in the setting.

      I have searched on this forum but could not found what I am looking for... If any know, please give advice. Thanks!

      A 1 Reply Last reply Reply Quote 2
      • A
        AgreeDK @Testing123
        last edited by

        @testing123 it is the program you have loaded in the Core 2 who control the speaker, so you need to change the program.

        T 1 Reply Last reply Reply Quote 0
        • T
          Testing123 @AgreeDK
          last edited by

          Hi @agreedk, thanks for your reply.

          It has nothing to do with the programming.

          To replicate what I am talking about:

          1. Using latest M5burner, select UIFlow(CORE2) and burn firmware "v.1.8.8-core2"
          2. Power cycle the device. Every time the dot above the "i" appear, it emitting a tone. Please see the picture below.

          0_1639312455027_cff15522-d704-4de6-9749-1a0d70842e64-image.png

          1. After reboot, the screen is shown as below.
            0_1639312689940_e96fca4f-7307-40e8-9b83-e472407d3f7d-image.png

          Therefore it has nothing to do with our programming as I haven't even load any test program yet.

          1 Reply Last reply Reply Quote 0
          • felmueF
            felmue
            last edited by

            Hello @Testing123

            I don't see a setting in UIFlow firmware to disable the tone during boot. There is a setting to enable / disable the LED but I guess nobody at M5Stack has thought about adding a setting for the tone as well. Maybe that will happen in a future version of the UIFlow firmware.

            Thanks
            Felix

            GPIO translation table M5Stack / M5Core2
            Information about various M5Stack products.
            Code examples

            T 1 Reply Last reply Reply Quote 1
            • T
              Testing123 @felmue
              last edited by

              Hi @felmue, thanks for your confirmation.
              I am going to add this request to the Wish List.

              1 Reply Last reply Reply Quote 0
              • world101W
                world101
                last edited by

                Ugh. The early uiFlow firmware way back in version 1.2 (I think) had a dreaded startup beep… it sounded different, but was still annoying. I put in a request years ago and they eventually turned it off by default and then eventually you could control the on/off in the settings. Looks like they brought it back with no way to turn it off ☹️

                1 Reply Last reply Reply Quote 1
                • T
                  Testing123
                  last edited by

                  Since Core 1 UiFlow firmware doesn't beep during boot, I am using this Core 1 with UiFlow for experimentation while using Core 2
                  with Arduino. Once gain enough knowledge with Arduino programming, perhaps getting rid of UiFlow altogether...

                  1 Reply Last reply Reply Quote -1
                  • A
                    astearon
                    last edited by

                    I second this!

                    1 Reply Last reply Reply Quote 1
                    • O
                      ondrej1024
                      last edited by

                      I accidentally deleted the wav file in the res/ folder on the Core2 flash (don't remember the exact name of the file). But you could just rename it. Now the startup sound is gone. So this is a qick'n'dirty fix if you don't want this sound.

                      1 Reply Last reply Reply Quote 1
                      • felmueF
                        felmue
                        last edited by felmue

                        Hello guys

                        if you want to get rid of the startup tone in M5Core2 you can add this Execute code block in your program.

                        try:
                          os.rename('res/ding.wav', 'res/ding_dis.wav')
                        except OSError:
                          print('ding.wav already renamed')
                        

                        If you want the tone again, rename it back or re-flash UIFlow onto your M5Core2.

                        @ondrej1024 : thank you for mentioning that great idea.

                        Thanks
                        Felix

                        GPIO translation table M5Stack / M5Core2
                        Information about various M5Stack products.
                        Code examples

                        1 Reply Last reply Reply Quote 1
                        • T
                          Testing123
                          last edited by

                          Thanks ondrej1024 for scripts!
                          This is very good for temporary fix.
                          For permanent fix, I hope one day M5Stack add the option to dis/enable audio in firmware.

                          1 Reply Last reply Reply Quote 0
                          • felmueF
                            felmue
                            last edited by

                            Hi guys

                            good news. UIFlow M5Core2 firmware v1.10.0.1 finally allows to enable / disable the boot beep via the Configuration menu in the brand new M5Burner v3.0.

                            Thanks
                            Felix

                            GPIO translation table M5Stack / M5Core2
                            Information about various M5Stack products.
                            Code examples

                            ajb2k3A 1 Reply Last reply Reply Quote 1
                            • ajb2k3A
                              ajb2k3 @felmue
                              last edited by

                              @felmue said in [Core2] How to disable speaker tone during booting / power-up?:

                              Hi guys

                              good news. UIFlow M5Core2 firmware v1.10.0.1 finally allows to enable / disable the boot beep via the Configuration menu in the brand new M5Burner v3.0.

                              Thanks
                              Felix

                              That's good to hear, it's driving me bonkers listening to it every time I reset and I reset alot

                              UIFlow, so easy an adult can learn it!
                              If I don't know it, be patient!
                              I've ether not learned it or am too drunk to remember it!
                              Author of the WIP UIFlow Handbook!
                              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post