Internal mobo speaker: how to make it output sound as a test

Using applications, configuring, problems
Message
Author
User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#16 Post by SFR »

You could play your whole hard disk drive with it if you wanted to.

Code: Select all

cat /dev/sda1 > /dev/audio
will "play" the entire HDD :lol:
(Warning - reversing the order would destroy the data on disk!)

Unfortunately, the "beep" command doesn't work on my laptop. :(
Does anyone know how to redirect "beep" output into a regular speakers?

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

beep

#17 Post by L18L »

SFR wrote:...Unfortunately, the "beep" command doesn't work on my laptop. :(
Does anyone know how to redirect "beep" output into a regular speakers?
pc speaker module needs to be loaded.
On my box:
# lsmod | grep pcspkr
pcspkr 1195 0
#
You could try

Code: Select all

modprobe pcspkr
and put this into rc.local if successful.

(I am talking about busybox beep in racy 53 on cheap VIA box)


----------------------

edit
Flash,
I think SFR has found your "program"
(reminds me of "beautiful noise coming up from the street")
Last edited by L18L on Mon 09 Apr 2012, 15:22, edited 1 time in total.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

beep

#18 Post by L18L »

Puppians like GUIs

Here is one

Have fun

Code: Select all

beep -f363 -l400 -d1000 -r3
That is the example in the image below
Paste it into a console and press ENTER key to play it
Attachments
beep-gui.gz
remove .gz
move to $HOME/my-applications/bin
chmod +x
have fun
(1.55 KiB) Downloaded 116 times
beep.png
beep
beep beep
beep
(4.78 KiB) Downloaded 297 times

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

Re: beep

#19 Post by SFR »

L18L wrote:
SFR wrote:...Unfortunately, the "beep" command doesn't work on my laptop. :(
Does anyone know how to redirect "beep" output into a regular speakers?
pc speaker module needs to be loaded.
On my box:
# lsmod | grep pcspkr
pcspkr 1195 0
#
You could try

Code: Select all

modprobe pcspkr
and put this into rc.local if successful.

(I am talking about busybox beep in racy 53 on cheap VIA box)
Thanks, but still silence...
Well, bad luck...nevermind...

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
Dave_G
Posts: 453
Joined: Thu 21 Jul 2011, 13:53

#20 Post by Dave_G »

From what I can gather, the compatibility of "beep" is pretty much
a random thing.
In the "old" days, mobos had a dedicated speaker output which used
the built in timer to generate the tones.
However newer mobos no longer seem to have this presumably so
the manufactures can save 2 or 3 cents.

Now on the newer HD audio sound cards, many chip sets have a "beep" emulator
so the "beep" will work but the problem comes in with AC97 (a.k.a. PCI Audio) sound cards.
Some support the redirection of "beep" whilst others don't.

This is not unique to Puppy or Linux and affects Windoze too.

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#21 Post by SFR »

Dave_G wrote:In the "old" days, mobos had a dedicated speaker output which used
the built in timer to generate the tones.
One day I must set up Puppy on my (hopefully yet) barely alive, 13 y.o. box and will return to this...
But ...>/dev/audio is a fun too, after all. :)

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#22 Post by Flash »

SFR wrote:

Code: Select all

cat /dev/sda1 > /dev/audio
will "play" the entire HDD :lol:
L18L wrote:Flash,
I think SFR has found your "program"
(reminds me of "beautiful noise coming up from the street")
Yes, I think that's it. Thanks, SFR. :)

I tried to play a directory containing a bunch of mp3 files with it but it refused. I need to research the use of the cat command and the use of dev/, I guess.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

beep

#23 Post by L18L »

Beep-Gui extended

Musicians like to have length of a tone not in milliseconds, I think :)
Attachments
beep_0.2.png
(15.07 KiB) Downloaded 228 times
beep-gui_0.2.gz
requires yad
(2.26 KiB) Downloaded 119 times

Post Reply