Programming sound

Søren Hauberg soren at hauberg.org
Tue Sep 6 07:13:48 UTC 2005


Peter Garrett wrote:
> On Mon, 05 Sep 2005 20:20:22 +0200
> Søren Hauberg <soren at hauberg.org> wrote:
> The ability to generate sounds at a given frequency appears to be built in to the base system. Try for example 
> 
> Ctrl-Alt-F2 (or 3 4 etc) login, and type
> 
> setterm -bfreq 440
> 
> Then set off the beep....
> 
> setterm -bfreq 440 -blength 1999
> 
> Makes the beep just short of 2 seconds (apparently that's the limit)
It doesn't do anything on my breezy box, but perhaps that's something I 
can configure. I'll look into it...
> 
> I'm not a programmer, and have no idea how this is implemented, but I thought it might be of interest.
> 
> man setterm   ( *grin* )
Ahh, the standard answer "man something". After starting to use Ubuntu I 
haven't seen that answer in a while. Thanks - I've been missing that :-)

> 
> Peter
> 
> 




More information about the ubuntu-users mailing list