| Author |
Message |
ecomoney

Joined: 25 Nov 2005 Posts: 2183 Location: Lincolnshire, England
|
Posted: Mon 22 Jun 2009, 08:24 Post subject:
[Request]PC Speaker Audio Driver Subject description: For computers without sound cards |
|
http://www.geocities.com/stssppnn/pcsp.html
Sound is very much part of the "online experience" nowadays. Many old computers from offices etc dont have a dedicated sound card. There is however a way of getting mp3's and such to play via the pc speaker...not with great quality so I understand but they play. It would be great as a "last resort".
Apparently the pc speaker driver is included with kernels > 2.6.26, but Im interested n getting it working with the 2.6.18.1 kernel used by 2 series puppies.
Has anyone any experience with this driver, or could create a package for it?
_________________ Puppy Linux's Mission
Sorry, my server is down atm!
|
|
Back to top
|
|
 |
jamesbond
Joined: 26 Feb 2007 Posts: 1540 Location: The Blue Marble
|
Posted: Mon 22 Jun 2009, 10:19 Post subject:
|
|
Out of curiosioty, I tested this (happen to have have a kernel 2.6.28 thanks to kirk - so module is already compiled in).
Believe me - if you want to listen to mp3, save your ears from high-frequency damage and get a soundcard - any soundcard.
cheers!
EDIT: I tested it on an nForce chipset, which the module author already warns of a very bad output. YMMV.
_________________ Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
|
|
Back to top
|
|
 |
ecomoney

Joined: 25 Nov 2005 Posts: 2183 Location: Lincolnshire, England
|
Posted: Mon 22 Jun 2009, 11:30 Post subject:
|
|
I think a lot of the reason would be the extremely small size of the pc speaker, not good for bass response. I have heard you can rig it up to a bigger speaker for better bass.
Another reason I wish to use it is as a notification when a computer setup is complete...the "beep" bash command isnt included in puppy either.
_________________ Puppy Linux's Mission
Sorry, my server is down atm!
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7756 Location: Stratford, Ontario
|
Posted: Mon 22 Jun 2009, 11:43 Post subject:
|
|
To get Puppy to beep, use
|
|
Back to top
|
|
 |
ecomoney

Joined: 25 Nov 2005 Posts: 2183 Location: Lincolnshire, England
|
Posted: Tue 23 Jun 2009, 08:23 Post subject:
|
|
I think you can probably work out what Im needing the PC speaker for rcrsn51 Thank you yet again for another contribution to this.
There is also the "beep" command, which is currently not installed in Puppy Linux
Like in this tutorial
http://www.developer.com/open/article.php/10930_631191_1
the "beep" package is here, I even had a go at compiling it ( ) but failed.
http://sourceforge.net/projects/freshmeat_beep/
_________________ Puppy Linux's Mission
Sorry, my server is down atm!
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7756 Location: Stratford, Ontario
|
Posted: Tue 23 Jun 2009, 10:07 Post subject:
|
|
Here is a beep PET. Contrary to what the tutorial above says, you need to run the command like this:
| Code: | beep -f 880 -l 500 (880 Hz for 500 ms)
beep -f 880 -l 500 -r 3 (repeat three times)
beep -f 880 -l 500 -n -f 440 -l 800 (play two tones) |
Then you can start playing around:
| Code: | #!/bin/sh
for N in 261.6 293.7 329.6 349.2 392.0 440.0 493.9 523.2; do
beep -f $N -l 500
done |
| Description |
|

Download |
| Filename |
beep-1.2.2-i486.pet |
| Filesize |
3.38 KB |
| Downloaded |
424 Time(s) |
|
|
Back to top
|
|
 |
ecomoney

Joined: 25 Nov 2005 Posts: 2183 Location: Lincolnshire, England
|
Posted: Tue 23 Jun 2009, 11:05 Post subject:
|
|
| Code: |
beep -f 440 -l 250
beep -f 1 -l 10
beep -f 660 -l 125
beep -f 880 -l 250
beep -f 660 -l 100
beep -f 1 -l 40
beep -f 880 -l 300
|
Heres the "Puppy Power" beep sequence as a BASH script, from here.. Since its also the bugle call for "advance" it will not be copyright.
Guess we all have our talents
Moving on....a PC speaker driver would still be useful enough to enough people to need it to be available.
_________________ Puppy Linux's Mission
Sorry, my server is down atm!
|
|
Back to top
|
|
 |
|