DOKK / manpages / debian 10 / allegro4-doc / voice_set_frequency.3alleg4.en
voice_set_frequency(3alleg4) Allegro manual voice_set_frequency(3alleg4)

voice_set_frequency - Sets the pitch of the voice. Allegro game programming library.

#include <allegro.h>

void voice_set_frequency(int voice, int frequency);

Sets the pitch of the voice, in Hz.

voice_get_frequency(3alleg4), voice_sweep_frequency(3alleg4)

version 4.4.2 Allegro