How to make beep sounds?


#1

Dear all,

is there an easy way to output a beep sound (maybe with
length/frequency
parameters?) in Ruby?

Thanks,

Axel


#2

Tanner B. wrote:

puts 7.chr

It’s just a normal annoying system beep. I’m sure there are other ways, but
for just a simple “get your attention” beep, it works fine.

puts “\aThe pot is boiling over!”


#3

On 2/2/06, removed_email_address@domain.invalid removed_email_address@domain.invalid wrote:

puts 7.chr

It’s just a normal annoying system beep. I’m sure there are other ways,
but
for just a simple “get your attention” beep, it works fine.