voice_sweep_frequency(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

✨ 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