How to make beep sounds?

N

Nuralanur

-------------------------------1138895816
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Dear all,

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

Thanks,

Axel

-------------------------------1138895816--
 
T

Tanner Burson

------=_Part_849_23192844.1138896151024
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Dear all,

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

Thanks,

Axel
puts 7.chr

It's just a normal annoying system beep. I'm sure there are other ways, bu=
t
for just a simple "get your attention" beep, it works fine.

--
=3D=3D=3DTanner Burson=3D=3D=3D
(e-mail address removed)
http://tannerburson.com <---Might even work one day...

------=_Part_849_23192844.1138896151024--
 
W

William James

Tanner said:
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!"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top