playing a wav on a pc speaker O_o

Everything else that doesn't fall into one of the other PB categories.
Dreglor
Enthusiast
Enthusiast
Posts: 759
Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA

playing a wav on a pc speaker O_o

Post by Dreglor »

just out of curiosity could you play a wav on the pc speaker without too much distortion?
~Dreglor
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

no

though there were some funny drivers for that a long time ago

if you have a compaq deskpro or something similar, the soundcard is hooked up to the on board speaker with it's own volume control, gotta love that :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Which begs the questions.. Does anyone remember the program called "tran" that was text-to-voice in the PC speaker?

Good stuff!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Dreglor
Enthusiast
Enthusiast
Posts: 759
Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA

Post by Dreglor »

not even with the _beep command?
having the thought of the pc speaker doing such things is a intresting though
~Dreglor
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Re: playing a wav on a pc speaker O_o

Post by GPI »

Dreglor wrote:just out of curiosity could you play a wav on the pc speaker without too much distortion?
Why?

When a PC hasn't a soundcard, you should by a new PC, because your PC is very, very old.

PC-Speaker is for BIOS-Error-Messages.
Dreglor
Enthusiast
Enthusiast
Posts: 759
Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA

Post by Dreglor »

i was wondering, i didn't think i could use it for anything
~Dreglor
TronDoc
Enthusiast
Enthusiast
Posts: 310
Joined: Wed Apr 30, 2003 3:50 am
Location: 3DoorsDown

Post by TronDoc »

Karbon wrote:Which begs the questions.. Does anyone remember the program called "tran" that was text-to-voice in the PC speaker?

Good stuff!
yes, I have it [tran] here somewhere, along with
the .wav speaker driver...
...both worked quite well.

Joe
peace
[pI 166Mhz 32Mb w95]
[pII 350Mhz 256Mb atir3RagePro WinDoze '98 FE & 2k]
[Athlon 1.3Ghz 160Mb XPHome & RedHat9]
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

the pc-speaker isnt for bios errors only. i remember an old danish made game, where even voice was coming trough the pc speaker. difficult to hear, though..
Dreglor
Enthusiast
Enthusiast
Posts: 759
Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA

Post by Dreglor »

there are motherboards that do boot up and say "Self-test Ok"
and the voice isn't to bad :)
~Dreglor
Brice Manuel

Post by Brice Manuel »

Quote:
just out of curiosity could you play a wav on the pc speaker without too much distortion?
You might get the old Microsoft Speaker Driver to work (and sound was fairly good for back then), but it is a 16bit solution and may not work anymore under newer Windows versions.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

thefool wrote:the pc-speaker isnt for bios errors only. i remember an old danish made game, where even voice was coming trough the pc speaker. difficult to hear, though..
Yes Old. Today PC-Speaker is for bios-errors. When you want sound, use a soundcard. All other is waste of time.

We live in the year 2004, not 1986.
Dreglor
Enthusiast
Enthusiast
Posts: 759
Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA

Post by Dreglor »

but what if were stuck in 1986 :P
~Dreglor
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

we just program us out of 1986. or make a soundcard 8)
Nelligan
User
User
Posts: 13
Joined: Sat May 10, 2003 6:04 am

Post by Nelligan »

It can be fun for some people to tinker on old tech things and I don't think they find it a waste of time or at least a fun one :)

Some drivers here : http://ulihansen.kicks-ass.net/speaker/index2.htm

Oh and I just remembered, Alone in the dark on my VGA 286's PC speaker was great!!
Amiga5k
Enthusiast
Enthusiast
Posts: 329
Joined: Fri Apr 25, 2003 8:57 pm

Post by Amiga5k »

Hard to believe, but the original Apple 2 (I think) only allowed the speaker to make a quick click sound. If you wanted to make a note, you had to turn the click on and off at a certain rate (higher rates = higher notes, etc). And, believe it or not, some companies actually figured out how to create speech using this approach! (Luckily, a real sound card eventually made its way into the Apple line).

On this same note (pardon the pun), there was a program I remember from the Commodore 64 days that would tap the 1541's (floppy disk) drive head up against the head stop and actually play a song! Not good for the drive head, I'm sure, but still impressive.

It's amazing what programmers can do when given a challenge. Programmers of today have it W A A A A Y too easy in comparison (ultra cheap memory, high speed processors, high level languages and libraries that all but do it for you...). Back then, if you had 64k, 1mhz and a 6502\10 assembler you had it made.... This is why most of the classic games of all time were created during this period.

Just my $.02

Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
Post Reply