VOGONS


First post, by retardware

User metadata
Rank Oldbie
Rank
Oldbie

I am thinking about a circuit to connect the PC speaker to my sound cards' line input.
The circuits I found on the forums are not applicable to my mobos' speaker circuit, because it does not have the "normal" open collector driver against 5V, but some different sort of amplifier.

So I am thinking about something like this:
file.php?mode=view&id=121797
The first (left in the schematic) pot serves to fine-align the RC filter which smoothens the digital edges of the speaker on/off switching.
The second (right in the schematic) pot serves to adjust the circuit output to a correct line level.

Now I wish I could use some PC speaker utility, with adjustable frequency selection, so I can do these alignments easily using the oscilloscope.
Does anybody know of such a program, ideally for DOS? Or maybe for Windows 95/98?

Edit: I guess the both 47R resistors should be made 470R at least... they are needed to limit the speaker amplifier output current... no idea yet which voltage levels it puts out.

Attachments

  • DSCN9050.JPG
    Filename
    DSCN9050.JPG
    File size
    1.09 MiB
    Views
    313 views
    File license
    Public domain
Last edited by retardware on 2021-10-16, 20:51. Edited 1 time in total.

Reply 1 of 8, by weedeewee

User metadata
Rank l33t
Rank
l33t

https://jpsoft.com/help/beep.htm

I guess this will be what you're looking for

edit: nevermind windows software.

anyway, the 4DOS command.com replacement has a beep command that allows a different frequency to be specified. and there must be a tiny beep.com out there on the internet that does the same thing. :-p

edit : found something : https://ftp.zx.net.nz/pub/archive/simtel.net/ … usic/beep12.zip

Last edited by weedeewee on 2021-10-16, 20:42. Edited 2 times in total.

Right to repair is fundamental. You own it, you're allowed to fix it.
How To Ask Questions The Smart Way
Do not ask Why !
https://www.vogonswiki.com/index.php/Serial_port

Reply 2 of 8, by Datadrainer

User metadata
Rank Member
Rank
Member

Hi.
Microsoft made a PC speaker driver for Windows 3.1 that convert PCM to squarewave frequency [https://winworldpc.com/product/pc-speaker-dri … iver-windows-31]

Knowing things is great. Understanding things is better. Creating things is even better.

Reply 3 of 8, by Tiido

User metadata
Rank l33t
Rank
l33t

You can also start QBASIC and use the SOUND command. "SOUND freq, duration" where freq gives closest possible freq to what you want and duration is how many 18.2Hz ticks the sound lasts.

T-04YBSC, a new YMF71x based sound card & Official VOGONS thread about it
Newly made 4MB 60ns 30pin SIMMs ~
mida sa loed ? nagunii aru ei saa 😜

Reply 4 of 8, by retardware

User metadata
Rank Oldbie
Rank
Oldbie
weedeewee wrote on 2021-10-16, 20:30:

I guess this will be what you're looking for

Yes, this BEEP utility does just what I'd need!
But sadly it needs Windows XP at least.

Tiido wrote on 2021-10-16, 20:38:

You can also start QBASIC and use the SOUND command. "SOUND freq, duration" where freq gives closest possible freq to what you want and duration is how many 18.2Hz ticks the sound lasts.

Great!
This I can use even with DOS 😀

Problem solved 👍

Thank you very much guys 😀

Reply 5 of 8, by weedeewee

User metadata
Rank l33t
Rank
l33t
retardware wrote on 2021-10-16, 20:50:
weedeewee wrote on 2021-10-16, 20:30:

I guess this will be what you're looking for

Yes, this BEEP utility does just what I'd need!
But sadly it needs Windows XP at least.

No it doesn't. impossible even since it's a program from 1999 :-p

"Beep" is a small FREEWARE DOS utility which will beep at a specified frequency (in hertz) for a specified time (in milliseconds). It can be useful to use in a batch file to indicate an error, or even to make simple music 😀

unless you mean the jpsoft one, yes that was a google mistake of mine :-p
but you have what you need with the qbasic option, so, Enjoy ! 😀

Right to repair is fundamental. You own it, you're allowed to fix it.
How To Ask Questions The Smart Way
Do not ask Why !
https://www.vogonswiki.com/index.php/Serial_port

Reply 6 of 8, by retardware

User metadata
Rank Oldbie
Rank
Oldbie
weedeewee wrote on 2021-10-16, 20:56:

No it doesn't. impossible even since it's a program from 1999 :-p
[...]
unless you mean the jpsoft one, yes that was a google mistake of mine :-p

Sadly the old jpsoft version downloads page says Please note that these versions require a valid key to unlock them -- they are not freeware (except for TCC-RT and 4DOS), so not sure whether I can use them.
QBASIC is free, so it's the easiest way.

Thank you all again 😀

Reply 7 of 8, by weedeewee

User metadata
Rank l33t
Rank
l33t
retardware wrote on 2021-10-16, 21:04:
Sadly the old jpsoft version downloads page says Please note that these versions require a valid key to unlock them -- they are […]
Show full quote
weedeewee wrote on 2021-10-16, 20:56:

No it doesn't. impossible even since it's a program from 1999 :-p
[...]
unless you mean the jpsoft one, yes that was a google mistake of mine :-p

Sadly the old jpsoft version downloads page says Please note that these versions require a valid key to unlock them -- they are not freeware (except for TCC-RT and 4DOS), so not sure whether I can use them.
QBASIC is free, so it's the easiest way.

Thank you all again 😀

I guess you missed the other link I posted :-p

Right to repair is fundamental. You own it, you're allowed to fix it.
How To Ask Questions The Smart Way
Do not ask Why !
https://www.vogonswiki.com/index.php/Serial_port

Reply 8 of 8, by retardware

User metadata
Rank Oldbie
Rank
Oldbie
weedeewee wrote on 2021-10-16, 20:30:

oops, saw the edit now 😀
Guess I'll try this first, this saves me dealing with the QBASIC IDE (wurgs) for an one-liner 😀

Thank you again 👍