Forum: Ruby How to make beep sounds?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
67bb4df2775f6a6b603347dce7119571?d=identicon&s=25 unknown (Guest)
on 2006-02-02 16:57
(Received via mailing list)
Dear all,

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

Thanks,

Axel
A777f1a2049d78a12ead38efb8f75f97?d=identicon&s=25 Tanner Burson (Guest)
on 2006-02-02 17:03
(Received via mailing list)
On 2/2/06, Nuralanur@aol.com <Nuralanur@aol.com> 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.
2ee1a7960cc761a6e92efb5000c0f2c9?d=identicon&s=25 William James (Guest)
on 2006-02-02 18:34
(Received via mailing list)
Tanner Burson 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!"
This topic is locked and can not be replied to.