Something fun: R2D2-ish Alerts for your G-Code (...if your printer has a buzzer)
 
Avisos
Vaciar todo

Something fun: R2D2-ish Alerts for your G-Code (...if your printer has a buzzer)  

  RSS
derei
(@derei)
Active Member
Something fun: R2D2-ish Alerts for your G-Code (...if your printer has a buzzer)

I thought to make my printer less boring and more talkative... so, I made this g-code sequences to produce buzzer sounds for various situations.
I am only using some, in my start and end g-code, but I thought to share them with you, in case some finds them interesting.

You can test them by saving the snippet on a .txt file on your SD card, rename the .txt to .gcode, and then simply load it on the printer as if it were a print file. It will show a warning the gcode is not complete, but that's fine. You'll hear the sound in the buzzer.

Then, you can add it into the custom g-code on prusa slicer (or octoprint) whenever you like ...

; Happy Ready
M117 Ready to Print!
G4 1000
M300 S800 P40
M300 S950 P40
M300 S1100 P40
M300 S1250 P40
M300 S1400 P40
M300 S1550 P60
G4 P100
M300 S1800 P30

; -----------------------------

; Go! Warning Sound v.1
M117 WARNING: Printing Now!
G4 P1500
M300 S2000 P100
M300 S1700 P100
M300 S2000 P100
M300 S1700 P100
M300 S2000 P100
M300 S1700 P100

; -----------------------------

; Go! Warning Sound v.2
M117 WARNING: Printing Now!
G4 1000
M300 S1000 P50
M300 S1200 P50
M300 S1400 P50
M300 S1600 P50
M300 S1800 P50
M300 S2000 P50
M300 S2200 P50
M300 S2400 P50
M300 S2600 P50
M300 S2800 P50

; -----------------------------

; Sad / Fail
M117 Print failed :(
G4 1000
M300 S1500 P80
M300 S1200 P80
M300 S900 P80
M300 S700 P100
G4 P100
M300 S500 P60

; -----------------------------

; Error - critical alarm
M117 CRITICAL ERROR!
G4 1000
M300 S2200 P150
M300 S1400 P150
M300 S2200 P150
M300 S1400 P150
M300 S2200 P150
M300 S1400 P150
G4 P200
M300 S2200 P150
M300 S1400 P150
M300 S2200 P150
M300 S1400 P150

; -----------------------------

; Successful Print Finish v.1
G4 1000
M300 S1000 P50
M300 S1300 P50
M300 S1600 P100
G4 P100
M300 S1400 P80
M300 S1700 P120

; -----------------------------

; Successful Print Finish v.2 - extended and melodic
G4 P1000
M300 S1000 P60
M300 S1300 P60
M300 S1600 P80
M300 S1400 P60
M300 S1700 P100
G4 P100
M300 S1200 P60
M300 S1500 P60
M300 S1800 P120
G4 P150
M300 S1500 P80
M300 S1700 P150
Respondido : 10/07/2025 1:18 pm
2 les gusta
Carolina Customs
(@carolina-customs)
Eminent Member
RE: Something fun: R2D2-ish Alerts for your G-Code (...if your printer has a buzzer)

Awesome. Just what I was looking for. Do you have more or where’s a site that might have songs and such. 

Thanks

Respondido : 11/08/2025 6:46 pm
Compartir: