Adding beep functionality

Things you would like added to Parted Magic.

Moderators: Patrick Verner, Icecube

Adding beep functionality

Postby john doe » Sun Aug 30, 2009 9:39 pm



I would like to request that the command beep is added.
The command lets you use the internal speaker to make "beep" sounds.
Great to notify yourself when big jobs are finished(like partimage).
I'm no expert but I think it is a relative small program.
The program itself is 12K and it requires only these tree files:
$ ldd /usr/bin/beep
linux-gate.so.1 => (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x0080d000)
/lib/ld-linux.so.2 (0x007ee000)


john doe
 
Posts: 10
Joined: Fri Nov 21, 2008 9:52 am

Re: Adding beep functionality

Postby Patrick Verner » Sun Aug 30, 2009 9:55 pm

It's already there is 4.4. Find a WAV file that you like and play it with aplay. Example:

Code: Select all
aplay keyboardcat.wav


This should be better than what you were asking for, right? :D
Last test version of Parted Magic: http://beefdrapes.partedmagic.com
User avatar
Patrick Verner
Site Admin
 
Posts: 880
Joined: Wed Nov 19, 2008 2:27 am
Location: Kaukauna, Wisconsin

Re: Adding beep functionality

Postby john doe » Mon Aug 31, 2009 12:08 pm

Does "aplay" use the internal speaker?
There isn't all ways external speakers available where i use pmagic.
And you need to have a .wav file to make sound.
john doe
 
Posts: 10
Joined: Fri Nov 21, 2008 9:52 am

Re: Adding beep functionality

Postby Patrick Verner » Mon Aug 31, 2009 9:04 pm

Okay, I'll look into it. I was looking at the new unstable busybox and it's actually has a new 'beep' app. :lol:

I run Slackware and there isn't a beep program installed by default. I'll track it down and see if I can compile it from source. I'm not sure but I might have to recompile the kernel to add the beep driver.
Last test version of Parted Magic: http://beefdrapes.partedmagic.com
User avatar
Patrick Verner
Site Admin
 
Posts: 880
Joined: Wed Nov 19, 2008 2:27 am
Location: Kaukauna, Wisconsin

Re: Adding beep functionality

Postby Patrick Verner » Thu Sep 03, 2009 11:04 pm

I installed beep and added pc speaker support. Give it a try.

http://beefdrapes.partedmagic.com
Last test version of Parted Magic: http://beefdrapes.partedmagic.com
User avatar
Patrick Verner
Site Admin
 
Posts: 880
Joined: Wed Nov 19, 2008 2:27 am
Location: Kaukauna, Wisconsin

Re: Adding beep functionality

Postby john doe » Sun Sep 06, 2009 3:20 pm

This works perfectly!
Thank you ever so much. Now I can leave the computer alone and it will tell me when it is done:-)

To everybody else who reads this post and are wondering how to use beep:
Code: Select all
cp Big_File1 Big_File2 ; beep -r 50

*When copying is done; beep will make the internal speaker beep 50 times.
john doe
 
Posts: 10
Joined: Fri Nov 21, 2008 9:52 am

Re: Adding beep functionality

Postby Patrick Verner » Sun Sep 06, 2009 4:17 pm

Thanks for the testing.
Last test version of Parted Magic: http://beefdrapes.partedmagic.com
User avatar
Patrick Verner
Site Admin
 
Posts: 880
Joined: Wed Nov 19, 2008 2:27 am
Location: Kaukauna, Wisconsin

Re: Adding beep functionality

Postby ametedinov » Tue Sep 22, 2009 11:04 am

How can this beeping be disabled permanently? It is really annoying me.
ametedinov
 
Posts: 126
Joined: Sat Feb 07, 2009 6:52 pm
Location: Pennsylvania

Re: Adding beep functionality

Postby Patrick Verner » Tue Sep 22, 2009 8:46 pm

ametedinov wrote:How can this beeping be disabled permanently? It is really annoying me.


What are talking about? I'm starting to think you are a bit off your rocker.
Last test version of Parted Magic: http://beefdrapes.partedmagic.com
User avatar
Patrick Verner
Site Admin
 
Posts: 880
Joined: Wed Nov 19, 2008 2:27 am
Location: Kaukauna, Wisconsin

Re: Adding beep functionality

Postby ametedinov » Wed Sep 23, 2009 12:10 am

In previous versions of PartedMagic there was no system beep functionality. Now however, whenever I go to "Run" for example and press the "backspace" key my loud system speaker would make an annoying beep. How can this "new" system beep functionality be disabled, just like it was in the old days.
ametedinov
 
Posts: 126
Joined: Sat Feb 07, 2009 6:52 pm
Location: Pennsylvania


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 3 guests