Beep Sound

Started by ThePi2k, March 05, 2025, 11:47:23 AM

Previous topic - Next topic
Hi everyone,

I've modified the startup and shutdown sounds in OPNsense by editing the files in /usr/local/etc/opnsense-beep.d. However, I have a few questions:

  • After an update, my changes get overwritten. Is there a way to prevent this? Maybe by creating a script that automatically replaces the startup and shutdown sound files every time the system starts?
  • Is it possible to manually trigger the sounds from the shell for testing?
    Previously, this was managed by a .sh script, but now it seems to be handled differently.

For reference, here is an example of a C major scale:

261     25   # C4
293     25   # D4
329     25   # E4
349     25   # F4
392     25   # G4
440     25   # A4
493     25   # B4
523     25   # C5

Any advice would be appreciated!

Thanks!

You can call "opnsense-beep start", "opnsense-beep stop" a.s.o.

You can also create sound files called "/usr/local/etc/opnsense-beep.d/start.local", "/usr/local/etc/opnsense-beep.d/stop.local" and they will override the predefined sounds.
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

Thank you very much!

Do you know what the high and low beep sounds are used for?

Lg

Hi, does anybody has an idea what the high and low beep sounds are used for?

To allow up-scale on startup and down-scale on shutdown?
Deciso DEC697
+crowdsec +wireguard

What do you mean by "up-scale" and "down-scale"?

At startup it plays the beep-code from "start" and at shutdown it plays "stop".

does anybody has an idea? why does nobody answers in this forum??

Because "nobody" ever cared about the sounds? I certainly don't. Disable the beep everywhere.

Sorry - this is a community forum. If nobody in the community has the same itch to scratch as you do, you don't get answers ... happens.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)


I like the beep sounds, but I'm also not doing things on remote sites that might alarm a user on the other end. I can hear them from my office next door which lets me know it's time to walk in and do "whatever".