nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ audio_datapath_tone_play()

int audio_datapath_tone_play ( uint16_t freq,
uint16_t dur_ms,
float amplitude )

Mixes a tone into the I2S TX stream.

Parameters
freqTone frequency [Hz]
dur_msTone duration [ms]. 0 = forever
amplitudeTone amplitude [0, 1]
Returns
0 if successful, error otherwise