Live data from Hacker News

PC Speaker To Eleven

habr.com

1–10 of 55 posts

Re: PC Speaker To Eleven

#2
This is cool, but doesent even seem to mention the ScreamTracker pc speaker hack. Maybe it was done the same way, but it was able to output about 8khz bandwidth, 1 bit rendered and anti-aliased from 8 or 16 bit sound samples to the pc speaker. It worked so well I still have tape recordings I made with a hacked up rca plug attached. The paralell port adapters sounded better, but had their own neat lofi sound. About the best you could do without a sound card, which were stupid expensive back then. It was a far cry from the 'musical' beeping I was used to.

Re: PC Speaker To Eleven

#3

This is cool, but doesent even seem to mention the ScreamTracker pc speaker hack. Maybe it was done the same way, but it was able to output about 8khz bandwidth, 1 bit rendered and anti-aliased from 8 or 16 bit sound samples to the pc speaker. It worked so well I still have tape recordings I made with a hacked up rca plug attached. The paralell port adapters sounded better, but had their own neat lofi sound. About th…

Is this the same used in the 8088 mph demo productions end credits?

https://youtube.com/watch?v=yHXx3orN35Y

Re: PC Speaker To Eleven

#5

This is cool, but doesent even seem to mention the ScreamTracker pc speaker hack. Maybe it was done the same way, but it was able to output about 8khz bandwidth, 1 bit rendered and anti-aliased from 8 or 16 bit sound samples to the pc speaker. It worked so well I still have tape recordings I made with a hacked up rca plug attached. The paralell port adapters sounded better, but had their own neat lofi sound. About th…

Is this the same used in the 8088 mph demo productions end credits? https://youtube.com/watch?v=yHXx3orN35Y

Reminded me of Mean Streets, with it's RealSound[1] voices https://youtu.be/WJ4rYt8v--4?t=153

Was amazed when I heard it for the first time.

[1]: https://en.wikipedia.org/wiki/RealSound

Re: PC Speaker To Eleven

#6

This is cool, but doesent even seem to mention the ScreamTracker pc speaker hack. Maybe it was done the same way, but it was able to output about 8khz bandwidth, 1 bit rendered and anti-aliased from 8 or 16 bit sound samples to the pc speaker. It worked so well I still have tape recordings I made with a hacked up rca plug attached. The paralell port adapters sounded better, but had their own neat lofi sound. About th…

The article does clearly mention it (and has links to videos of games that used it)

> PC Speaker can be turned in a DAC either by disabling timer count then enabling/disabling sound output, which makes it a very basic 1-bit DAC, or by using sound channel of the PIT to generate short pulses of variable width (PWM) at carrier frequency set by the timer interrupt, which effectively gives a much better 6-bit DAC.

Re: PC Speaker To Eleven

#7
There is a niche of 1-bit music using such creative techniques. See also:

1. Mister Beep, from Poland. http://freemusicarchive.org/music/Mister_Beep/

2. Tristan Perich, from NYC. https://www.1bitsymphony.com/

3. Noah Vawter, 1-bit Groovebox: https://web.archive.org/web/20090212172253/http://web.media....

Re: PC Speaker To Eleven

#8
The most amazing thing I've heard done with a PC speaker is in the last part of this equally amazing demo (starts at 6:37 --- the parts before have more "normal" beeper music): https://www.youtube.com/watch?v=yHXx3orN35Y

Explanation here: https://www.reenigne.org/blog/8088-pc-speaker-mod-player-how...

Re: PC Speaker To Eleven

#9
I remember playing a Golf game called World Class Leaderboard on my 386 and being absolutely amazed by the sound coming out of my PC speaker. It used RealSound to play the sounds of birds on the title screen and realistic golf sound effects and voices during gameplay:

https://www.youtube.com/watch?v=21a_bbajmjQ

Re: PC Speaker To Eleven

#10
Ahh the good old days. I remember writing a program in 6502 assembler that could record and playback a digital sample, all using the speaker on the Apple ][+. I'm not sure if I also connected a microphone or if I just yelled at the speaker.

I believe the max I could record was about 7 seconds before I ran out of memory. But it worked and I was happy and proud. :)

I remember being amazed how i'd spent so many hours coding something that executed in such a short amount of time.

Post reply on HN