Speaker sound on console + X

Here’s a little command by Johnathan Nightingale, patched for X by Caol?n
McNamara:

http://www.csn.ul.ie/~caolan/Mods/beep-1.2.1.autoconfed.html

It beeps using the console ioctls whenever possible, and falls back to X if
you’re running “under” X and aren’t root. (Only root can beep if not owning a
console - and you don’t own a console as an X application.)

Other Win32 APIs than MessageBeep(), anyone? How about Mac? (Do they have
anything like the speaker, or do they always have “real” audio hardware?)

//David

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------> http://www.linuxaudiodev.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -’

Well, I could have told you that.:)On Mon, Mar 12, 2001 at 06:46:53PM +0100, David Olofson wrote:

Here’s a little command by Johnathan Nightingale, patched for X by Caol?n
McNamara:

http://www.csn.ul.ie/~caolan/Mods/beep-1.2.1.autoconfed.html

Martin

Bother! said Pooh, as he saw Chris nibbling on Anna’s belly.

So, why didn’t you? I had to dig around several minutes to find that! :wink:

//David

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------> http://www.linuxaudiodev.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -'On Monday 12 March 2001 22:11, Martin Donlon wrote:

On Mon, Mar 12, 2001 at 06:46:53PM +0100, David Olofson wrote:

Here’s a little command by Johnathan Nightingale, patched for X by Caol?n
McNamara:

http://www.csn.ul.ie/~caolan/Mods/beep-1.2.1.autoconfed.html

Well, I could have told you that.:slight_smile: