voice_ramp_volume(3)
β¨ voice_ramp_volume(3) β¨
okay bestie so this one's from the Allegro manual β yes, the Allegro game programming library, the whole thing π β and it's literally just about making a voice's volume do a lil glide. no cap, it's giving main character energy for your audio. π
πΈ SYNOPSIS πΈ
#include <allegro.h>
void voice_ramp_volume(int voice, int time, int endvol);
π DESCRIPTION π
So like. This function starts a volume ramp β which is the fancy way of saying a crescendo or a diminuendo, i.e. your sound getting louder or quieter, slay β and it goes from wherever the volume is right now all the way to the ending volume you picked. π¦
It takes time milliseconds to do it. that's the whole duration of the glide, periodt.
And the volume itself? It's a value in the range 0-255. that's it. that's the range. π
π SEE ALSO π
voice_set_volume(3)β the sibling function, go check it out π«Ά
k that's literally the whole page, hope this was helpful bestie β¨
sending u off with the receipts: this was Allegro, version 4.4.3, dated back in the day, and yeah β that's the source and the version, no cap. mwah πππ¦
π¦ 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