voice_sweep_frequency(3)
β¨ voice_sweep_frequency(3) β¨
okay so bestie, welcome to the Allegro manual π this lil page is all about making your voices glide, and honestly? it's giving main character energy.
π NAME π
voice_sweep_frequency β starts a frequency sweep for a voice, brought to you by the Allegro game programming library. π¦
πΈ SYNOPSIS πΈ
#include <allegro.h>
void voice_sweep_frequency(int voice, int time, int endfreq);
π DESCRIPTION π
So here's the tea β β this function starts a frequency sweep (aka a glissando, iykyk πΆ) for a voice. It takes the pitch from wherever it's currently sitting and slides it all the way to the ending pitch you specify, and the whole lil journey lasts for time milliseconds. β±οΈβ¨
Like, current pitch β‘οΈ endfreq, in time ms. That's it. That's the vibe. Periodt. π
π«Ά SEE ALSO π«Ά
voice_set_frequency(3)β for when you just wanna set the frequency instead of sweeping it, no cap π
Allegro β version 4.4.3 π mwah, that's a wrap bestie, go make some iconic sounds πππ¦
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms