Hi everyone,
I hope someone can help as this is a super simple question
When I try to use beep or system.beep I get a error message saying unknown
how do I get the system to make beep noise from the PC Speaker?
how to make PC Speaker Beep
- BruceSteers
- Posts: 1565
- Joined: Thursday 23rd July 2020 5:20pm
- Location: Isle of Wight
- Contact:
Re: how to make PC Speaker Beep
install beep
sudo apt-get install beep
then use shell in gambas to run it...
Shell "beep"
sudo apt-get install beep
then use shell in gambas to run it...
Shell "beep"
If at first you don't succeed , try doing something differently.
BruceS
BruceS
Re: how to make PC Speaker Beep
...obvious: ".Beep" is not a resource of the "System" Class.
uhmmm... then maybe that might be enough:
Print Chr(7)
Europaeus sum !
Amare memorentes atque deflentes ad mortem silenter labimur.
Amare memorentes atque deflentes ad mortem silenter labimur.
Re: how to make PC Speaker Beep
Getting your internal pc speaker (not speakers) to make a sound can be quite tricky.
Voutt's Print Char(7) should work
Using Screen.Print from gb.ncurses should work
Using Bruce's Shell Beep should work
...but none of these worked for me (in the few minutes that I spent trying them) and I think it may be because I need to enable pc speaker via my audio mixer. However, it does not show on my mixer...so good luck with this one!
Voutt's Print Char(7) should work
Using Screen.Print from gb.ncurses should work
Using Bruce's Shell Beep should work
...but none of these worked for me (in the few minutes that I spent trying them) and I think it may be because I need to enable pc speaker via my audio mixer. However, it does not show on my mixer...so good luck with this one!