Make your printer sing
the right part.
Drop in a MIDI—or extract a melody from an MP3—cut it to the perfect moment, and turn it into start or finish G-code.
MP3 melody extraction works best with humming, whistling, vocals, or a clean solo instrument. Dense full-song mixes produce an approximate lead melody.
0:00.00 → 0:04.80
Change the chime.
Keep the safety code.
The generated block belongs inside your printer preset. Do not replace the preset’s full start or end sequence—only its existing sound block.
Factory machine G-code controls heating, homing, wiping, and other safety-critical behavior. Preserve everything outside the sound markers.
- 01
Download the G-code block
Choose Start chime in the editor above, then click Download .gcode or copy it to the clipboard.
.GCODE↓ - 02
Open the printer preset
In Bambu Studio’s Prepare workspace, select the printer and nozzle you actually use. Click the edit-preset icon beside the Printer selector.
PRINTERBambu Lab · 0.4 nozzle⌁ - 03
Save a personal copy
Use Save As and give the preset a clear name such as “X1C 0.4 — custom chime.” This leaves the factory preset untouched.
SAVE ASCustom chime preset - 04
Open Machine G-code
Choose the Machine G-code tab, then open Machine start G-code. If these controls are hidden, enable Developer mode in Preferences.
BasicMachine G-code - 05
Find the existing sound block
Search for
M1006 S1. Select from the nearby “printer start sound” comment throughM1006 W—and nothing else.; printer sound
M1006 S1
…
M1006 W
; next safety step - 06
Replace, save, and reselect
Paste the generated block in the same position, save the user preset, and make sure that custom preset remains selected before slicing.
✓Preset saved - 07
Run a short test first
Slice a tiny model and test at normal volume. If the printer reports invalid G-code, restore your copied preset and confirm that only the sound block changed.
TEST
Bambu Studio labels can move slightly between releases. The key rule is stable: edit a saved user printer preset and replace only the existing M1006 sound block.
Small songs,
ready to print.
Publish only the trimmed note arrangement and generated G-code—never the original MIDI file. Anyone with access to this site can reuse a cut.
From piano roll
to printer motors.
- 1Load any standard MIDIFormat 0 and 1, with tempo changes preserved.
- 2Keep only the good bitUse the two handles to cut everything before and after it.
- 3Paste into your machine profileUse the exported block in Machine start G-code or Machine end G-code.