Music skipping tones after firmware update 3.4.1
-
@DonStauffer is "now" with 3.4.6, or with 3.5rc3?
-
@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
-
@oliof Sorry, I should have said:
version 3.4.6 (2023-07-21 14:08:28)
-
@chrishamm I have a PanelDue. It "works" in that you hear tones. Just missing about every third pitch.
-
@DonStauffer Do the pause double than the sound length. It will work, I tried just this, today.
Serendipity, yep... -
This post is deleted! -
@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...
-
@soare0 That made it worse.
-
@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. -
@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?
-
@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 -
@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.
-
@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:or this:
or maybe something like a music
Or OctoPrint...
-
@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.
-
@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.
-
@soare0 It was a joke? So all my work on trained monkeys to wind the music box is wasted?!
-
@DonStauffer No, it will be incorporated in next DUET MI. Monkey intelligence.