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
Protocol
03
3
Length
23100
231 bytes
Type
4600
46 (Buzzer Sequence)
Header Count
0100
1
Header Types
01
1
Message ID
0468000000
68
Payload Count
0200
2
Payload Types
0607
6, 7
Frequencies
14017471225620000000017471225620000000017471225620000000033176178620000000084227056300000000174712256200000000331761786200000000842270563000000
0.4399999976158142,0,0.4399999976158142,0,0.4399999976158142,0,0.3490000069141388,0,0.5230000019073486,0,0.4399999976158142,0,0.3490000069141388,0,0.5230000019073486,0,0.4399999976158142,0,0.6589999794960022,0,0.6589999794960022,0,0.6589999794960022,0,0.6980000138282776,0,0.5230000019073486,0,0.41499999165534973,0,0.3490000069141388,0,0.5230000019073486,0,0.4399999976158142
Timings
7014401500014401500014401500044015000100005000144015000440150001000050003203500014401500014401500014401500044015000100005000144015000440150
400,50,400,50,400,50,300,50,100,50,400,50,300,50,100,50,800,50,400,50,400,50,400,50,300,50,100,50,400,50,300,50,100,50,800
Checksum
21948
12507
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.
Protocol
3
3
Length
1740
174 bytes
Type
460
46 (Buzzer Sequence)
Header Count
20
2
Header Types
15
1, 5
Message ID
472000
72
Method
11
1 (SET)
Payload Count
20
2
Payload Types
67
6, 7
Frequencies
10024119616863000058911506300002331116163000020916284630000226234141630000702221246300005891226300002411964063000
1.3185101747512817,0,1.174659013748169,0,0.7399888634681702,0,0.8306093811988831,0,1.1087305545806885,0,0.9877666234970093,0,0.5873295068740845,0,0.6592550873756409,0,0.9877666234970093,0,0.8799999952316284,0,0.5543652772903442,0,0.6592550873756409,0,0.8799999952316284
Timings
50140010014001003411003411001400100140010034110034110014001001400100341100341100882
140,10,140,10,290,10,290,10,140,10,140,10,290,10,290,10,140,10,140,10,290,10,290,10,600
Checksum
12025
6520
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.
Protocol
3
3
Length
81
264 bytes
Type
460
46 (Buzzer Sequence)
Header Count
20
2
Header Types
15
1, 5
Message ID
475000
75
Method
11
1 (SET)
Payload Count
20
2
Payload Types
67
6, 7
Frequencies
16024119640639763163241196406397631632411964063702222526258912263201243563174712256200002012431336224119616862174712256270222252620000241196168
0.6592550873756409,0.622253954410553,0.6592550873756409,0.622253954410553,0.6592550873756409,0.49388331174850464,0.5873295068740845,0.5232511162757874,0.4399999976158142,0,0.2616255581378937,0.32962754368782043,0.4399999976158142,0.49388331174850464,0,0.32962754368782043,0.41530469059944153,0.49388331174850464,0.5232511162757874,0,0.32962754368782043,0.6592550873756409,0.622253954410553,0.6592550873756409,0.622253954410553,0.6592550873756409,0.49388331174850464,0.5873295068740845,0.5232511162757874,0.4399999976158142,0,0.2616255581378937,0.32962754368782043,0.4399999976158142,0.49388331174850464,0,0.32962754368782043,0.5232511162757874,0.49388331174850464,0.4399999976158142
Timings
802000200020002000200020002000200014412000200020002000144120002000200020001441200020002000200020002000200020002000200014412000200
200,200,200,200,200,200,200,200,400,200,200,200,200,400,200,200,200,200,400,200,200,200,200,200,200,200,200,200,200,400,200,200,200,200,400,200,200,200,200,800
Checksum
119174
44663
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.
Protocol
3
3
Length
1281
384 bytes
Type
460
46 (Buzzer Sequence)
Header Count
20
2
Header Types
15
1, 5
Message ID
477000
77
Method
11
1 (SET)
Payload Count
20
2
Payload Types
67
6, 7
Frequencies
24070222252620000702222526200007022225262000070222252620000702222526200007022225262000070222252620000702222526224119640
0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0.6592550873756409,0.7399888634681702,0.8306093811988831,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0.6592550873756409,0.7399888634681702,0,0.7399888634681702,0,0.7399888634681702,0.622253954410553,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0,0.49388331174850464,0.6592550873756409,0.7399888634681702,0.8306093811988831,0.6592550873756409,0.8306093811988831,0.9877666234970093,0.8799999952316284,0.8306093811988831,0.7399888634681702
Timings
12012002001200200412001200200120020041200120020014002412412411200200120020041200120020014002411200200120020
120,20,120,20,260,20,120,20,120,20,260,20,120,20,140,280,280,280,120,20,120,20,260,20,120,20,140,280,120,20,120,20,280,280,260,20,120,20,120,20,260,20,120,20,120,20,260,20,120,20,140,280,280,280,140,140,700,140,140,140
Checksum
57147
37689

Code ​

For convenience, the following constants can be used to reference this message type.