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 / 770 up, Bufferbloat A

Thank you very much!

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

Lg