thinkyhead

M300 - Play Tone

lcd Play a single tone, buzz, or beep. SPEAKER

Add a tone to the tone queue.


Usage

M300 [P<ms>] [S<Hz>]

Argument Description
[P<ms>]

Duration (1s)

[S<Hz>]

Frequency (260Hz)

Notes

Requires SPEAKER to play tones (not just beeps).

In Marlin 1.0.2, playing tones block the command queue. Marlin 1.1.0 uses a tone queue and background tone player to keep the command buffer from being blocked by playing tones.

Examples

Play a tune.

M300 S440 P200
M300 S660 P250
M300 S880 P300