Skip to contentSkip to conversation

howto get a melodic system beep?

DISCUSSION Harald Dunkel 4 participants 5 messages Dec 16, 2007 – Jan 11, 2008

lore
Share & tools
lore
#0 lore raw

Hi folks,

Is there a way to replace the system beep by something more melodic?

I remember some 10 years ago there was a patch for the kernel to call an external "beep daemon" playing an audio file instead (no kidding). But it never worked very well. Sometimes there was a huge delay, and some programs were not very nice to the system beep.

My X-mas wish would be to get an improvement here.

Regards

Harri

#1 lore raw
Quoted 6 lines · Harald Dunkel

Hi folks,

Is there a way to replace the system beep by something more melodic?

Quoted 7 lines

I remember some 10 years ago there was a patch for the kernel to call an external "beep daemon" playing an audio file instead (no kidding). But it never worked very well. Sometimes there was a huge delay, and some programs were not very nice to the system beep.

My X-mas wish would be to get an improvement here.

Would my xmas too?

#2 lore raw
Quoted 7 lines · Jan Engelhardt
Quoted 6 lines · Harald Dunkel

Hi folks,

Is there a way to replace the system beep by something more melodic?

Quoted 7 lines
Quoted 7 lines

I remember some 10 years ago there was a patch for the kernel to call an external "beep daemon" playing an audio file instead (no kidding). But it never worked very well. Sometimes there was a huge delay, and some programs were not very nice to the system beep.

My X-mas wish would be to get an improvement here.

In drivers/input/misc/pcspkr.c, pcspkr_event() in the SND_BELL case, you could add a reroute so that SND_BELL events are passed to userspace (think /dev/input/pcspkr). Delays are of course possible, and it really depends on how the scheduler does its job (read: you might want to renice your userspace part).

#3 lore raw
In reply to Harald Dunkel

Harald Dunkel wrote on 16-12-07 23:25:

Quoted 5 lines

Hi folks,

Is there a way to replace the system beep by something more melodic?

Quoted 7 lines

I remember some 10 years ago there was a patch for the kernel to call an external "beep daemon" playing an audio file instead (no kidding). But it never worked very well. Sometimes there was a huge delay, and some programs were not very nice to the system beep.

My X-mas wish would be to get an improvement here.

I think the uinput module can handle this. There's an example floating around somewhere.

bjd

#4 lore raw
In reply to Harald Dunkel
Quoted 10 lines · Harald Dunkel

Hi folks,

Is there a way to replace the system beep by something more melodic?

I remember some 10 years ago there was a patch for the kernel to call an external "beep daemon" playing an audio file instead (no kidding). But it never worked very well. Sometimes there was a huge delay, and some programs were not very nice to the system beep.

Hi, check out the URL below.
I use this thing on a pc that doesn't have a pc speaker:

http://carcosa.net/jason/software/beep/

Here is a description on how to use this:

http://gentoo-wiki.com/HOWTO_Virtual_PC_Speaker

Regards,
Toon.

Signature · 3 lines
"I never set out to be weird,
 it was always other people who called me weird."
                                        -- 1986 Frank Zappa