How to make beep sounds?

Dear all,

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

Thanks,

Axel

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!”

On 2/2/06, [email protected] [email protected] 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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs