---
name: "voice_get_frequency"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/voice_get_frequency"
---

# voice\_get\_frequency(3alleg)

Returns the current pitch of the voice. Allegro game programming library.

## NAME

voice\_get\_frequency - Returns the current pitch of the voice. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int voice\_get\_frequency(int voice);**

## DESCRIPTION

Returns the current pitch of the voice, in Hz.

## SEE ALSO

[**voice\_set\_frequency**(3alleg)](/voice_set_frequency/3alleg.md)
