DC>> I was wondering if anyone knows of something someone may
DC>> have already written that relates pc speaker tones (from
DC>> dos.h) to musical notes?
KK> Not much call for that, being specific to DOS and Borland.
Actually, the PC speaker is specific *to the PC*, not to DOS and Borland C++.
One can compile DOS programs to manipulate the PC speaker using compilers
other than Borland C++, and PC operating systems such as OS/2 provide system
calls such as DosBeep which, being system calls, are independent of the C/C++
compiler -- or even the language -- used.
Whilst, regrettably, there is a lot of traffic in this echo generated by
newbies that is highly specific to DOS and Borland C++, that isn't the case
for *all* newbie questions.
¯ JdeBP ®
--- FleetStreet 1.19 NR
---------------
* Origin: JdeBP's point, using Squish (2:440/4.3)
|