2021-05-24 13:44:14 +00:00
|
|
|
#include "notification.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
Python script for note messages generation
|
|
|
|
|
|
|
|
# coding: utf-8
|
|
|
|
# Python script for note messages generation
|
|
|
|
from typing import List
|
|
|
|
|
|
|
|
note_names: List = ['c', 'cs', 'd', 'ds', 'e', 'f', 'fs', 'g', 'gs', 'a', 'as', 'b']
|
|
|
|
base_note: float = 16.3515979
|
|
|
|
cf: float = 2 ** (1.0 / 12)
|
|
|
|
|
|
|
|
note: float = base_note
|
|
|
|
for octave in range(9):
|
|
|
|
for name in note_names:
|
|
|
|
print(f"const NotificationMessage message_note_{name}{octave}" + " = {\n"
|
|
|
|
"\t.type = NotificationMessageTypeSoundOn,\n"
|
|
|
|
f"\t.data.sound.frequency = {round(note, 2)}f,\n"
|
2022-03-23 17:59:20 +00:00
|
|
|
"\t.data.sound.volume = 1.0f,\n"
|
2021-05-24 13:44:14 +00:00
|
|
|
"};")
|
|
|
|
note = note * cf
|
|
|
|
|
|
|
|
for octave in range(9):
|
|
|
|
for name in note_names:
|
|
|
|
print(f"extern const NotificationMessage message_note_{name}{octave};")
|
|
|
|
*/
|
|
|
|
|
2021-06-09 13:04:49 +00:00
|
|
|
const NotificationMessage message_click = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-06-09 13:04:49 +00:00
|
|
|
};
|
2021-05-24 13:44:14 +00:00
|
|
|
const NotificationMessage message_note_c0 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 16.35f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_cs0 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 17.32f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_d0 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 18.35f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_ds0 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 19.45f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_e0 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 20.6f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_f0 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 21.83f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_fs0 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 23.12f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_g0 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 24.5f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_gs0 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 25.96f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_a0 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 27.5f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_as0 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 29.14f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_b0 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 30.87f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_c1 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 32.7f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_cs1 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 34.65f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_d1 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 36.71f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_ds1 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 38.89f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_e1 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 41.2f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_f1 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 43.65f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_fs1 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 46.25f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_g1 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 49.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_gs1 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 51.91f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_a1 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 55.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_as1 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 58.27f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_b1 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 61.74f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_c2 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 65.41f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_cs2 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 69.3f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_d2 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 73.42f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_ds2 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 77.78f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_e2 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 82.41f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_f2 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 87.31f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_fs2 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 92.5f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_g2 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 98.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_gs2 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 103.83f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_a2 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 110.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_as2 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 116.54f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_b2 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 123.47f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_c3 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 130.81f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_cs3 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 138.59f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_d3 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 146.83f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_ds3 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 155.56f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_e3 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 164.81f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_f3 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 174.61f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_fs3 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 185.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_g3 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 196.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_gs3 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 207.65f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_a3 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 220.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_as3 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 233.08f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_b3 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 246.94f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_c4 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 261.63f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_cs4 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 277.18f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_d4 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 293.66f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_ds4 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 311.13f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_e4 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 329.63f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_f4 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 349.23f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_fs4 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 369.99f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_g4 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 392.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_gs4 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 415.3f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_a4 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 440.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_as4 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 466.16f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_b4 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 493.88f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_c5 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 523.25f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_cs5 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 554.37f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_d5 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 587.33f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_ds5 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 622.25f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_e5 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 659.26f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_f5 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 698.46f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_fs5 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 739.99f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_g5 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 783.99f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_gs5 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 830.61f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_a5 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 880.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_as5 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 932.33f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_b5 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 987.77f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_c6 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1046.5f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_cs6 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1108.73f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_d6 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1174.66f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_ds6 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1244.51f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_e6 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1318.51f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_f6 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1396.91f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_fs6 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1479.98f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_g6 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1567.98f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_gs6 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1661.22f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_a6 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1760.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_as6 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1864.66f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_b6 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 1975.53f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_c7 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 2093.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_cs7 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 2217.46f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_d7 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 2349.32f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_ds7 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 2489.02f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_e7 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 2637.02f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_f7 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 2793.83f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_fs7 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 2959.96f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_g7 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 3135.96f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_gs7 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 3322.44f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_a7 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 3520.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_as7 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 3729.31f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_b7 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 3951.07f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_c8 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 4186.01f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_cs8 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 4434.92f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_d8 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 4698.64f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_ds8 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 4978.03f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_e8 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 5274.04f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_f8 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 5587.65f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_fs8 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 5919.91f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_g8 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 6271.93f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_gs8 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 6644.88f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_a8 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 7040.0f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_as8 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 7458.62f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-05-24 13:44:14 +00:00
|
|
|
};
|
|
|
|
const NotificationMessage message_note_b8 = {
|
|
|
|
.type = NotificationMessageTypeSoundOn,
|
|
|
|
.data.sound.frequency = 7902.13f,
|
2022-03-23 17:59:20 +00:00
|
|
|
.data.sound.volume = 1.0f,
|
2021-06-09 13:04:49 +00:00
|
|
|
};
|