Tone generator
The tone generator library creates an array of pulse-code modulation (PCM) data of a one-period sine tone, with a given tone frequency and sampling frequency. For more information, see the following API documentation section.
Configuration
To enable the library, set the CONFIG_TONE Kconfig option to y in the project configuration file prj.conf.
API documentation
Header file:
include/tone.hSource file:
lib/tone/tone.c