this post was submitted on 13 Oct 2023
10 points (100.0% liked)

Programming

17555 readers
387 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

for a while, I have been using hardware through Linux that uses the beep from the PC speaker. I'm actually really used to it, so when I switched to using hardware with an unusably loud (volume can't be changed) volume (and also different frequency), I started looking into "exporting" the original beep to an audio file that could be played at different volumes and for other purposes.

looking through the internet, however, I haven't found any attempts to represent any actual PC speaker beep in an audio file, so I'm asking you guys if you know how to do so. presumably, the beep is just a short, simple waveform at a certain frequency, but I am not sure what that waveform is, or what the easiest way to do so is.

you are viewing a single comment's thread
view the rest of the comments
[–] atheken 3 points 1 year ago (1 children)

You can probably use Audacity to generate a tone. The more you can find out about the specs of the original speaker, the easier it’ll be to generate a new tone.

[–] zolax 1 points 1 year ago

yeah, I'll look into that; the waveform that the PC speaker produces seems to be the standard sound for most PC speakers (something like this).