---
name: "voice_sweep_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_sweep_frequency"
---

# voice\_sweep\_frequency(3alleg)

Starts a frequency sweep for a voice. Allegro game programming library.

## NAME

voice\_sweep\_frequency - Starts a frequency sweep for a voice. Allegro game programming library.

## SYNOPSIS

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

**void voice\_sweep\_frequency(int voice, int time, int endfreq);**

## DESCRIPTION

Starts a frequency sweep (glissando) from the current pitch to the  specified ending pitch, lasting for time milliseconds.

## SEE ALSO

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