how to program a beep

new topic     » topic index » view thread      » older message » newer message

Hello,

Can anyone enlighten me how to get a 'beep' with Euphoria
working on a Linux Box ?

In Bash I get a beep with :

jici@aquarius:~ > echo -e "\033[10;200]\033[11;250]"
followed by :
jici@aquarius:~ > CTRL-G

The following don't work in Euphoria:
-------
include graphics.e
procedure beep()
    for i=1  to 50000 do
           sound(1000)
           delay(0.1)
        end for
        sound(0)
end procedure

beep()
--------

Thanks for any suggestion.

J.C.


--

--_-----------------------------
 (o-    Jean-Claude Hendrickx
 //\    jean.hendrickx at skynet.be
 v_/_   ________________________

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu