voice_sweep_pan(3)

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

πŸ’– voice_sweep_pan(3) πŸ’–

okay bestie, so this one lives in the Allegro manual (the Allegro game programming library, yes THAT one) and it's literally about making a voice do the little left-right wiggle. you know the vibe. πŸŽ€


✨ NAME ✨

voice_sweep_pan β€” starts a pan sweep for a voice, in the Allegro game programming library. it's giving "my sound is gonna walk across the stereo field and you're gonna watch". πŸ’…


🌈 SYNOPSIS 🌈

#include <allegro.h>

void voice_sweep_pan(int voice, int time, int endpan);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: your voice is sitting somewhere in the pan field right now, minding its business. this function grabs it and says "we're moving, babe". ✨

voice_sweep_pan starts a pan sweep β€” that's the left <-> right movement, the iconic back-and-forth β€” going from wherever the voice currently is, all the way over to the ending position you specify. and it takes its sweet time about it, lasting for time milliseconds. no snap, no instant jump, just a smooth lil journey. πŸšΆβ™€οΈπŸ’¨

so to recap the deets:

  • it starts from the current position (wherever the voice already is, no cap)
  • it ends at the specified ending position you pass in as endpan
  • it lasts for time milliseconds, periodt

main character energy for your mixer fr fr. 🫢


🌸 SEE ALSO 🌸

  • voice_set_pan(3) β€” if you just wanna place the pan without the whole dramatic journey, go here bestie

and that's the whole page, no notes πŸ’œ this was written up for Allegro version 4.4.3 β€” the voice_sweep_pan(3) entry, mwah, iconic, bye πŸ‘‘β­

πŸ“¦ where this page comes from