46: Buzzer Sequence
Play a sequence of buzzer sounds
Payload
| Field | Name | Description | Type | Unit |
|---|---|---|---|---|
| 6 | Frequencies | Array of requested frequencies in kHz as floats; zero is a rest | float32[] | |
| 7 | Timings | Array of timings in ms as uint16 | uint16[] |
Examples
Play a complex sequence of sounds
📡 Real example from RH2 ESP32 Toit on 2025-10-14This example is captured from an RH2 device as part of normal communications over I2C with the ESP32 co-processor, where Toit on the ESP32 made the request.
Play the classic Nokia tune
Original monophonic arrangement of the Gran vals phrase by Francisco Tárrega (1902), widely known as the classic Nokia tune. Underlying composition: public domain in the UK; no recording included. Nokia branding/trademark rights are separate. METHOD_SET, message ID 72; 25 segments, 3300 ms encoded duration. Frequencies use requested kHz; zero is a rest. Hardware playback may differ.Play Fur Elise
Original monophonic arrangement of the opening of Für Elise by Ludwig van Beethoven. Underlying composition: public domain in the UK; no recording included. Left-hand accompaniment is omitted. Score: https://www.mutopiaproject.org/cgibin/piece-info.cgi?id=931 METHOD_SET, message ID 75; 40 segments, 9600 ms encoded duration. Frequencies use requested kHz; zero is a rest. Hardware playback may differ.Play the William Tell overture
Original monophonic arrangement of the gallop theme from William Tell by Gioachino Rossini. Underlying composition: public domain in the UK; no recording included. Violin melody raised one octave, at a moderate tempo. Source: Breitkopf & Härtel 1899 full score (arr. Fritz Hoffmann), pages 28–29, pickup and bars 244–250. https://vmirror.imslp.org/files/imglnks/usimg/6/6d/IMSLP33461-PMLP07234-Rossini_-_Guillaume_Tell_Overture_(full_score).pdf METHOD_SET, message ID 77; 60 segments, 8120 ms encoded duration. Frequencies use requested kHz; zero is a rest. Hardware playback may differ.Code
For convenience, the following constants can be used to reference this message type.