Notifications
Clear all

[Closed] M300: Play a sound at the end of the print  

  RSS
devilhunter
(@devilhunter)
Reputable Member
M300: Play a sound at the end of the print

Has anybody a good M300 gcode sound for playing at the end of a finished print?

There are two ways to create "music" with your 3D Printer, either via the stepper motors (better sound, unnecessary motor movements):
https://3dprint.com/29244/3d-printer-music-songs/

or via the onboard speaker:
http://doc.3dmodularsystems.com/plays-a-music-at-the-end-of-a-print/
http://reprap.org/wiki/G-code#M300:_Play_beep_sound

I'm looking for the second method.
Anybody use a good short & nice sound sequence when their prints have finished?

btw, the speaker on the MK2 is loud as f*ck

Posted : 28/12/2016 9:35 pm
Vojtěch Bubník
(@vojtech-bubnik)
Member Admin
Re: M300: Play a sound at the end of the print

> btw, the speaker on the MK2 is loud as f*ck

I am not sure how loud a f*ck is, but you may make the beeper quieter by placing a paper sticker over the audio transducer.

Posted : 05/01/2017 6:54 pm
JeffJordan
(@jeffjordan)
Member Moderator
Re: M300: Play a sound at the end of the print

just had the patience to assemble a litte gcode tune with the M300 command.
for your convenience:
G28 W ; home all without mesh bed level
; start melody
M300 S294 P220 ;N1 D4 1/8
M300 S20000 P20
M300 S311 P220 ;N2 D#4 1/8
M300 S20000 P20
M300 S330 P220 ;N3 E4 1/8
M300 S20000 P20
M300 S523 P460 ;N4 C5 1/4
M300 S20000 P20
M300 S330 P220 ;N5 E4 1/8
M300 S20000 P20
M300 S523 P230 ;N6 C5 1/8
M300 S20000 P10
M300 S330 P220 ;N7 E4 1/8
M300 S20000 P20
M300 S523 P230 ;N8 C5 1/8
M300 S20000 P10
M300 S523 P950 ;N9 C5 1/2
M300 S20000 P10
M300 S523 P220 ;N10 C5 1/8
M300 S20000 P20
M300 S523 P220 ;N11 C5 1/8
M300 S20000 P20
M300 S587 P220 ;N12 D5 1/8
M300 S20000 P20
M300 S622 P220 ;N13 D#5 1/8
M300 S20000 P20
M300 S659 P220 ;N14 E5 1/8
M300 S20000 P20
M300 S523 P220 ;N15 C5 1/8
M300 S20000 P20
M300 S587 P220 ;N16 D5 1/8
M300 S20000 P20
M300 S659 P230 ;N17 E5 1/8
M300 S20000 P10
M300 S659 P230 ;N11 E5 1/8
M300 S20000 P10
M300 S494 P220 ;N19 B4 1/8
M300 S20000 P20
M300 S587 P460 ;N20 D5 1/2
M300 S20000 P20
M300 S523 P1420; C5 1/2+1/4
M300 S20000 P20
M300 S20000 P1920; pause one measure
G1 X0 Y200 Z30; home X axis
M84 ; disable motors

it's a "cold gcode" and runs without printing anything real. no heating, no need to wait for the nozzle to reach it's temperature.
but put your dog aside 😮

if you like it, you can put the section with the M300 lines into your slicers end script.

greetz
jeff

dem inscheniör is' nix zu schwör...

Posted : 13/01/2017 12:17 am
Carsten
(@carsten-2)
Estimable Member
Re: M300: Play a sound at the end of the print

I experimented with melodies/beeps to remind me to remove the intro line *before* printing. But ended up with just one longer beep as it sounded too bad 😉

Carsten

My Prints: https://www.prusaprinters.org/social/15695-carsten/prints
My Employer: https://make-magazin.de

Posted : 13/01/2017 4:15 pm
AxioN
(@axion)
Eminent Member
RE: M300: Play a sound at the end of the print

I have tried adding various M300 codes to play music at the end of my print, but every time they only play the same note. Is there a setting I need to change to get different notes? (MK3S)

"What am I doing here? Narf!" - Pinky, Pinky and the Brain

Posted : 26/12/2019 9:38 pm
ron
 ron
(@ron)
Estimable Member
RE: M300: Play a sound at the end of the print

@axion

It used to be working. It is broken since few firmware versions. Can't remember since when (6 monthes, one year, more?). But i saw something that it will be repair soon.

Posted : 26/12/2019 9:44 pm
AxioN liked
Lars Clausen
(@lars-clausen)
Active Member
RE: M300: Play a sound at the end of the print

Still doesn't seem to be working, on an mk3s from February 🙁 And here I went to the trouble of transcribing that jaunty little ditty that our old LG laundry machine played when done. I miss that tune. Not the rest of the machine, but definitely that tune.

Posted : 31/03/2020 8:30 am
Neophyl
(@neophyl)
Illustrious Member
RE: M300: Play a sound at the end of the print

Does no one read release notes ?  The tone timer has been fixed in firmware version 3.9.0 RC.  Available from  https://github.com/prusa3d/Prusa-Firmware/releases   but please be aware its a Release Candidate so may have issues (although many people have been using it without problem).  Use at your own discretion.

As its a RC its not going to be installed on any factory shipped printers.

Posted : 31/03/2020 8:46 am
Lars Clausen
(@lars-clausen)
Active Member
RE: M300: Play a sound at the end of the print

I tried to find any kind of information on this on the Prusa sites, including existing bugs or how to file a bug. I didn't know that I needed to find a project on GitHub in order to look at bugs and release notes. Could you add that under support, so future people may know where to look?

Posted : 01/04/2020 5:51 am
Share: