dtmf_dolphin_bluebox_tones.h 775 B

1234567891011121314151617181920212223242526272829
  1. #pragma once
  2. #include <stdint.h>
  3. #define DTMF_DOLPHIN_BLUEBOX_TONE_COUNT 16
  4. typedef struct {
  5. const char *name;
  6. const float frequency_1;
  7. const float frequency_2;
  8. } DTMFDolphinBlueboxTones;
  9. static const DTMFDolphinBlueboxTones dtmf_dolphin_bluebox_tone[DTMF_DOLPHIN_BLUEBOX_TONE_COUNT] = {
  10. {"2600 Hz", 2600.0, 0.0},
  11. {"1", 700.0, 900.0},
  12. {"2", 700.0, 1100.0},
  13. {"3", 900.0, 1100.0},
  14. {"4", 700.0, 1300.0},
  15. {"5", 900.0, 1300.0},
  16. {"6", 1100.0, 1300.0},
  17. {"7", 700.0, 1500.0},
  18. {"8", 900.0, 1500.0},
  19. {"9", 1100.0, 1500.0},
  20. {"0", 1300.0, 1500.0},
  21. {"Key Pulse (KP)", 1100.0, 1700.0},
  22. {"Start (ST)", 1500.0, 1700.0},
  23. {"CCITT 11", 700.0, 1700.0},
  24. {"CCITT 12", 900.0, 1700.0},
  25. {"CCITT KP2", 1300.0, 1700.0},
  26. };