Version française
Home     About     Download     Resources     Contact us    
Browse thread
Using the PC speaker
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sébastien Hinderer <Sebastien.Hinderer@e...>
Subject: Using the PC speaker
Dear all,

Is there some code available to make the PC speaker beep from within an
OCaml program, please ?

The function I'm looking for should take a frequency (and a duration) as
arguments, like Graphics.sound does, but this should also work in text
mode. In other words, printing a bell is not enough.

Thanks a lot for any help,
Sébastien.