Skip to content

46: Buzzer Sequence ​

Play a sequence of buzzer sounds

Payload ​

FieldNameDescriptionTypeUnit
6FrequenciesArray of requested frequencies in kHz as floats; zero is a restfloat32[]
7TimingsArray of timings in ms as uint16uint16[]

Examples ​

Play a complex sequence of sounds
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.