Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 13:09
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Audio
[Request]PC Speaker Audio Driver
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Mon 22 Jun 2009, 08:24    Post_subject:  [Request]PC Speaker Audio Driver
Sub_title: 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
View user's profile Send_private_message Visit_website MSNM 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: 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.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: 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
View user's profile Send_private_message Visit_website MSNM 
rcrsn51


Joined: 05 Sep 2006
Posts: 9207
Location: Stratford, Ontario

PostPosted: Mon 22 Jun 2009, 11:43    Post_subject:  

To get Puppy to beep, use
Code:
echo -e "\007"
Back to top
View user's profile Send_private_message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Tue 23 Jun 2009, 08:23    Post_subject:  

I think you can probably work out what Im needing the PC speaker for rcrsn51 Wink Smile 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 ( Shocked ) but failed. Crying or Very sad

http://sourceforge.net/projects/freshmeat_beep/

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send_private_message Visit_website MSNM 
rcrsn51


Joined: 05 Sep 2006
Posts: 9207
Location: Stratford, Ontario

PostPosted: 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
beep-1.2.2-i486.pet
Description 
pet

 Download 
Filename  beep-1.2.2-i486.pet 
Filesize  3.38 KB 
Downloaded  489 Time(s) 
Back to top
View user's profile Send_private_message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: 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 Wink

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
View user's profile Send_private_message Visit_website MSNM 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Audio
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0546s ][ Queries: 13 (0.0039s) ][ GZIP on ]