2017-02-27 17:18:36 +01:00
|
|
|
# This message is used to control the tunes, when the tune_id is set to CUSTOM
|
|
|
|
|
# then the frequency, duration are used otherwise those values are ignored.
|
|
|
|
|
|
2018-08-07 01:30:05 +01:00
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
|
|
2017-08-08 10:20:49 +02:00
|
|
|
uint8 tune_id # tune_id corresponding to TuneID::* from the tune_defaults.h in the tunes library
|
2017-02-27 17:18:36 +01:00
|
|
|
uint8 tune_override # if set to 1 the tune which is playing will be stopped and the new started
|
|
|
|
|
uint16 frequency # in Hz
|
|
|
|
|
uint32 duration # in us
|
2019-02-18 15:13:56 -07:00
|
|
|
uint32 silence # in us
|
|
|
|
|
uint8 volume # value between 0-100 if supported by backend
|
2018-02-22 11:31:32 +01:00
|
|
|
|
2019-02-18 15:13:56 -07:00
|
|
|
uint8 VOLUME_LEVEL_MIN = 0
|
|
|
|
|
uint8 VOLUME_LEVEL_DEFAULT = 40
|
|
|
|
|
uint8 VOLUME_LEVEL_MAX = 100
|
2019-07-16 13:55:59 +02:00
|
|
|
|
|
|
|
|
uint8 ORB_QUEUE_LENGTH = 3
|