blt::beep(3tcl)

πŸ’– blt::beep β€” the manual page, but make it cute πŸ’–

okay bestie, welcome to the blt::beep page from the BLT Built-In Commands manual, section 3tcl. yes it's short. no that does not mean we're skipping anything. every crumb of this page is coming with us. πŸ“


✨ NAME ✨

beep β€” ring the bell. that's it. that's the whole job. πŸ””


✨ SYNOPSIS ✨

beep ?percent?

✨ DESCRIPTION ✨

so the beep command rings the keyboard bell. iconic behaviour, no notes. πŸ””βœ¨

percent is relative to the base volume of the keyboard bell, and it can range from -100 to 100 inclusive. so like, both ends are allowed, don't be shy.

if percent is nonnegative then the bell volume is:

base - [(base * percent) / 100] + percent

if percent is negative then the bell volume is:

base + [(base * percent) / 100]

and the default percent is 50. periodt. πŸ’…

ngl the math is doing the most but the vibes are immaculate. the way that negative percent just flips the sign in front of the brackets… she ate. 🫢

✨ EXAMPLE ✨

beep

✨ KEYWORDS ✨

bell, beep


and that's the whole page, bestie πŸŽ€ go forth and ring that bell, you're giving main character energy fr fr πŸ’–

BLT 2.5 Β· blt::beep(3tcl) β€” written by the BLT girlies, dated whenever this manual page says it's dated, mwah πŸ’‹ πŸ¦‹

πŸ“¦ where this page comes from