• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Music skipping tones after firmware update 3.4.1

Scheduled Pinned Locked Moved
Tuning and tweaking
6
20
675
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.
  • undefined
    btmcmahan
    last edited by 16 Jun 2022, 18:50

    Re: Music skipping beats after firmware update (3.4.0beta6)

    I'm having the same issue with music tones skipping after the update. I've tried creating the daemon.g file, containing

    while true
    G4 S1000
    

    and also tried some of the other daemon ideas noted in the earlier post. The sound got better, but is still skipping tones.
    I know this is low priority, but is there anything else I can do to resolve this?
    Mario Theme:

    M300 P125 S659
    G4 P125
    M300 P250 S659
    G4 P250
    M300 P124 S659
    G4 P124
    M300 P126 S0
    G4 P126
    M300 P125 S523
    G4 P125
    M300 P124 S659
    G4 P124
    M300 P126 S0
    G4 P126
    M300 P249 S784
    G4 P249
    M300 P251 S0
    G4 P251
    M300 P249 S392
    G4 P249
    
    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 16 Jun 2022, 19:36

      I've noticed this as well. It's unfortunate, but as you note, fairly low priority. Though I am curious what changed to cause the slow down.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        DonStauffer
        last edited by 15 Mar 2024, 15:58

        I hadn't used the printer for a while, then upgraded firmware around February 2024 and this seems to be worse now.

        undefined undefined 2 Replies Last reply 15 Mar 2024, 17:09 Reply Quote 0
        • undefined
          oliof @DonStauffer
          last edited by 15 Mar 2024, 17:09

          @DonStauffer is "now" with 3.4.6, or with 3.5rc3?

          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

          undefined 1 Reply Last reply 15 Mar 2024, 22:50 Reply Quote 0
          • undefined
            chrishamm administrators @DonStauffer
            last edited by 15 Mar 2024, 19:21

            @DonStauffer Playing music is only feasible if you have a display connected to the board (12864 or PanelDue). The web interface can play beeps but not real-time. Another approach could be to change M300 so that an external piezo buzzer could be driven. I've logged this at https://github.com/Duet3D/RepRapFirmware/issues/968

            chrishamm created this issue 15 Mar 2024, 19:20 in Duet3D/RepRapFirmware

            open Add support for external piezo buzzers via M300 #968

            Duet software engineer

            undefined undefined 3 Replies Last reply 15 Mar 2024, 22:51 Reply Quote 1
            • undefined
              DonStauffer @oliof
              last edited by 15 Mar 2024, 22:50

              @oliof Sorry, I should have said:

              version 3.4.6 (2023-07-21 14:08:28)

              1 Reply Last reply Reply Quote 0
              • undefined
                DonStauffer @chrishamm
                last edited by 15 Mar 2024, 22:51

                @chrishamm I have a PanelDue. It "works" in that you hear tones. Just missing about every third pitch.

                undefined 1 Reply Last reply 17 Mar 2024, 10:15 Reply Quote 0
                • undefined
                  soare0 @DonStauffer
                  last edited by 17 Mar 2024, 10:15

                  @DonStauffer Do the pause double than the sound length. It will work, I tried just this, today.
                  Serendipity, yep...

                  undefined 1 Reply Last reply 18 Mar 2024, 07:48 Reply Quote 0
                  • undefined
                    soare0 @chrishamm
                    last edited by 17 Mar 2024, 10:19

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • undefined
                      soare0 @chrishamm
                      last edited by soare0 17 Mar 2024, 10:20

                      @chrishamm said in Music skipping tones after firmware update 3.4.1:

                      @DonStauffer Playing music is only feasible if you have a display connected to the board (12864 or PanelDue). The web interface can play beeps but not real-time. Another approach could be to change M300 so that an external piezo buzzer could be driven. I've logged this at https://github.com/Duet3D/RepRapFirmware/issues/968

                      @chrishamm I think this can be done with some PWM output? My other thought was to define a new tool, with an industrial horn on some heater or another output. This would solve ”music” problems...

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        DonStauffer @soare0
                        last edited by 18 Mar 2024, 07:48

                        @soare0 That made it worse.

                        undefined 1 Reply Last reply 18 Mar 2024, 14:06 Reply Quote 0
                        • undefined
                          soare0 @DonStauffer
                          last edited by soare0 18 Mar 2024, 14:06

                          @DonStauffer This is what I used:

                          M300 S1000 P500
                          G4 P1000
                          M300 S1500 P500
                          G4 P1000
                          M300 S1200 P500
                          G4 P1000
                          M300 S1350 P500
                          G4 P1000
                          M300 S1500 P500
                          G4 P1000
                          M300 S1350 P500
                          G4 P1000
                          M300 S2000 P500
                          G4 P1000
                          

                          Maybe it helps...
                          I am working with 3.5.0 rc3, As you are on a lower version, I cant say how it will work.

                          undefined 1 Reply Last reply 18 Mar 2024, 15:15 Reply Quote 0
                          • undefined
                            DonStauffer @soare0
                            last edited by 18 Mar 2024, 15:15

                            @soare0 So, some of your pauses are shorter than the tones, and others are longer. How did you decide the length of the pauses after each tone?

                            undefined 1 Reply Last reply 19 Mar 2024, 13:17 Reply Quote 0
                            • undefined
                              soare0 @DonStauffer
                              last edited by soare0 19 Mar 2024, 13:17

                              @DonStauffer I think you mistook somehow pauses for frequencies.

                              M300 S1000 P500
                              

                              Tone length is P500, 500ms

                              G4 P1000
                              

                              Pause length is P1000, 1000ms.
                              So all pauses are double of the tone length.

                              Now, it is true that electric fields are traveling with the speed of light, but from our perspective, I think time flow is somewhat constant...
                              True, I did not investigate further, I let this to Duet team to be checked and solved better, as indeed, it was somewhat difficult to play ET sounds, as I tried 😄

                              undefined 1 Reply Last reply 19 Mar 2024, 23:47 Reply Quote 0
                              • undefined
                                DonStauffer @soare0
                                last edited by 19 Mar 2024, 23:47

                                @soare0 I don't know what I was thinking. I must have been tired.

                                It does play 7 tones as expected, but they are sort of staccato since there is time with no tone between each. Not many tunes sound like that, so it's not a practical solution.

                                undefined 1 Reply Last reply 20 Mar 2024, 11:46 Reply Quote 0
                                • undefined
                                  soare0 @DonStauffer
                                  last edited by 20 Mar 2024, 11:46

                                  @DonStauffer Ah,yes, of course, this is indeed a problem, but as I am using them for ... blip blips, at leas they are working this way.
                                  Just joking, but for now we may need to consider something like this:

                                  SOUND CHIP

                                  or this:

                                  ANOTHER SOUND CHIP

                                  or maybe something like a music

                                  BOX

                                  Or OctoPrint...

                                  undefined 1 Reply Last reply 20 Mar 2024, 16:56 Reply Quote 0
                                  • undefined
                                    DonStauffer @soare0
                                    last edited by DonStauffer 20 Mar 2024, 16:56

                                    @soare0 Well, that's an interesting couple of products I didn't know existed. (That second one has a single, profoundly bad review, though).

                                    Not really sure how the Duet would control those first 2 though.

                                    I'm sure the music box would be delightful, but I'm not sure how to get the Duet to wind it up. An additional stepper, I guess.

                                    OctoPrint is a bit of an overkill solution unless I had some other reason for it.

                                    I just kind of figured I'd play a brief tune with beeps when the print ended, but I guess this feature basically just doesn't work. Not worth interfacing with additional hardware, I don't think.

                                    undefined 1 Reply Last reply 20 Mar 2024, 18:35 Reply Quote 0
                                    • undefined
                                      soare0 @DonStauffer
                                      last edited by soare0 20 Mar 2024, 18:35

                                      @DonStauffer Of course, it was ment like a joke. However, if needed, such devices (some of them) can be triggered using a digital output from the Duet board, if available - fans heating, or some other general purpose IOs, via existing digital input on such a ”sound board”, or even replacing the button on it with a DUET IO.
                                      It is useful in a industrial envirtonment, as one can use some big horn, if needed, but otherwise, for small and noncritical printers/processes, not really. This is why this is not a priority.

                                      And yes, for balerina, it would need a stepper, with an additional rotational axis axis defined. Good ideea... 😄

                                      So yes, this feature is ment, for now, to play a single sound, with various pitches, for different tasks. Wich, keeping in mind the power of Panel Due speaker, is almost useless, unless you are around, or in a relatively silent space, wich is not the case with me. So ... digital IO, and something like this:
                                      HORN driver, if you want to select the ”music”,

                                      Or drive the horn directly with a heater output.

                                      undefined 1 Reply Last reply 20 Mar 2024, 21:12 Reply Quote 0
                                      • undefined
                                        DonStauffer @soare0
                                        last edited by 20 Mar 2024, 21:12

                                        @soare0 It was a joke? So all my work on trained monkeys to wind the music box is wasted?!

                                        undefined 1 Reply Last reply 21 Mar 2024, 20:59 Reply Quote 0
                                        • undefined
                                          soare0 @DonStauffer
                                          last edited by 21 Mar 2024, 20:59

                                          @DonStauffer No, it will be incorporated in next DUET MI. Monkey intelligence.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA