beep icon indicating copy to clipboard operation
beep copied to clipboard

Thank you

Open ghost opened this issue 9 years ago • 7 comments

Thank you for making this command take a duration and a frequency as argument, I had fun making Albinoni's Adagio in a shell script, and a piano in awk (dvorak by default, with qwerty ready to switch in source) thanks to this.

Multiple calls to beep really cut it, no real need for -n indeed.

You can close this right away, there is no issues (only linux kernel limitations).

ghost avatar Nov 13 '16 20:11 ghost

<3 Thanks for sharing! I'll leave it open for a bit for a purpose. :)

rhonda avatar Nov 14 '16 10:11 rhonda

Can I ask which kernel limitations affect beep?

federico-razzoli avatar Nov 14 '16 18:11 federico-razzoli

@rhonda Alright :)

@santec I was referring those you talked about in the README, in particular, concerning the availability of beep outside of the TTY (in a terminal emulator in X11).

There are also frequencies mismatches when they are high: beep -f 1500 and beep -f 1350 produce the same sound. I assumed this was also a known limitation.

And not being possible to compose two beep sound at the same time, but implementing a sound library inside the beep command would be an overkill right ? ;)

ghost avatar Nov 14 '16 21:11 ghost

I didn't write the README, I am just a curious reader :) Thanks for answering. I'm also curious about the "2 beeps" thing. Is the bell hardware able to emit more than 1 sound at a time?

federico-razzoli avatar Nov 19 '16 22:11 federico-razzoli

For the record: On my system, beep -f 1500 and beep -f 1350 do produce differently pitched sounds. This behaviour differs from the one @josuah describes above. (My system is running Fedora 24, and I maintain the beep package on Fedora, but not the kernel drivers.)

ndim avatar Jul 02 '17 08:07 ndim

I think you can have multiple speakers installed if you want to have more sound at the same time!

hyh19962008 avatar Nov 22 '17 05:11 hyh19962008

The circuits for the PC beep exists only once per PC chipset. So to have more than one tone at the same time you need more than one PC.

ndim avatar Dec 13 '17 10:12 ndim