WARRANTY: Absolutely none - Use At Own Risk!
Updated 1/2/2011.
GENERAL NOTES ON DON KLIPSTEIN WEBSITE SOFTWARE unless otherwise noted:
1. Licensing - as of 1/2/2011, everything here is freeware that I license for free to anyone who wants it, under your choice of GPL or GNU "public license". However, should either of these ever require any warranty on my part, I disclaim such warranty even should that require me to abandon free licensing.
Some software here may be inadequately copyrighted / noted for enforcement of the very liberal-to-downloader GNU or GPL terms. In such case, it becomes public domain software.
2. Executables (ready-to-run) require DOS preferably 3.0 or higher, which is supplied with or required to install (and remains after installing) Microsoft Windows 3.x, 95, or 98. Windows XP "cmd" so far works.
3. For all programs here so far, source code is posted here (in a link). Download and compile the source code if you do not trust me to not infect my executibles with nasties such as viruses (virii?) or worms. Source codes are in BASIC (as of 1/2/2011) and compileable with Microsoft Quick Basic 4.5 (and probably most lower versions down to 2.5) and probably compileable with all versions of Microsoft Visual Basic either as-is or with minor changes. In addition, BASIC source codes will probably be largely to possibly entirely-as-is workable in most versions of Borland TurboBasic.
3. Most Microsoft Basic compilers 2.5 to 7 (at least for DOS) and maybe some other Microsoft programming languages (especially BASIC) have some strange extraneous slowdown in floating point math. There is a patch!
My Computer Speedup General Hints (mostly old)
.ZIP file with the patch for speeding up the executables produced by many Microsoft BASIC compilers such as Quick Basic 2.5 to 4.5, BASIC 7 ("QBX"), and possibly some other Microsoft programming language / compiler packages such as some versions of Visual Basic.
MWPL - "mW/lm" UV and blackbody spectrum plot.
Radiate - brightness, chromaticity, scotopic/photopic ratio,
and spectrum breakdown of blackbody radiators as a function of
temperature.
SPKR - "Speaker", for designing loudspeaker sealed and
ported enclosures, for woofers, subwoofers and fullranges.
Additional output displayed on the screen is milliwatts of UV per lumen of visible light.
REQUIREMENTS:
"IBM-Compatible" PC or "PowerPC" sort of computer, video display including VGA compatibility, operating system suitable for running a DOS program (DOS version preferably 3.0 or higher, but may run on DOS as low as about 2.3 or so).
Preferred processor for fast speed is "X86" type Intel 486DX or higher, AMD 5X86 /"X5" or higher or equivalent. Will work on 8088 or higher.
To print output while using DOS, before running MWPL run the DOS utility
GRAPHICS. While what you want to print is displayed, do a
Source Code Notes:
Successfully compiled with Microsoft Quick Basic 4.5.
Download Links:
MWPL.EXE executable with the "mathptch" speedup
worked in.
MWPL.BAS Basic Source Code compileable by Microsoft
Quick Basic 4.5, freeware including blackbody formula and photopic
data useful for such programs.
Surface brightness in candela/cm^2
REQUIREMENTS:
"IBM-Compatible" PC or "PowerPC" sort of computer, video display with CGA or
VGA compatibility, operating system suitable for running a DOS program (DOS
version preferably 3.0 or higher, but should run on DOS as low as 2.3).
Preferred processor for fast speed "X86" type Intel 486DX or higher, AMD
5X86 /"X5" or higher or equivalent. Will work on 8088 or higher.
To print output while using DOS, before running MWPL run the DOS utility
GRAPHICS. While what you want to print is displayed, do a
Source Code Notes:
Successfully compiled with Microsoft Quick Basic 4.5.
Download Links:
RADIATE.EXE executable with the "mathptch" speedup
worked in.
RADIATE.BAS Basic Source Code compileable by
Microsoft Quick Basic 4.5, freeware including blackbody formula, photopic,
scotopic and chromaticity data of visible wavelengths useful for such
programs.
This program asks for driver Fs, Qts, Vas, nominal diameter, number of drivers,
enclosure volume, port tuning frequency, box height and width, and asks for
selection either to one of 4 different theoretical operating environments
or to oversimplify to the 5-component Thiel-Small equivalent circuit for
ported enclosures.
NOTED 1/2/2011: (Though this feature is not new)
The program next plots a predicted frequency response graph. The frequency
range is fixed at 16 to 1000 Hz, and the dB range is fixed at -18 to +12 dB.
At the right end of the zero dB line, a figure for corresponding sensitivity
on axis in the far field in dB @ 1 watt 1 meter is shown. This figure assumes
a typical ratio of nominal impedance to voice coil DC resistance, and a
typical ratio of Qes/Qts.
Immediately under the graph, the program may print a line mentioning an error
or suggesting a change. Under the graph, the program also shows options to
change port frequency, to change box volume, to totally redo the box, to change
number of drivers, to redo everything, to change among the 5 theoretcal
environment choices, to erase all curves except the most recent one, or to
quit.
If port frequency or box volume is changed, a new frequency response curve
is plotted without erasing previous ones.
The environment choices are:
(1) On a reflective floor, away from walls (anechoic half space with the
speaker's axis parallel to the halfspace plane)
(2) Anechoic 1/4 space, on a reflective floor and against a reflective wall
(3) Anechoic full space
(4) Standard anechoic half space, speaker axis perpendicular to the halfspace
plane
(5) Oversimplified half space, using the 5-component Thiel-Small equivalent
circuit for ported loudspeakers.
What is unique about this program is that for the first four environment
choices, it calculates approximately and shows the following real-world
effects:
(1) The 6 dB shelf reducing bass response if the loudspeaker is not
against or recessed into a wall that its axis is perpendicular to,
(2) Depression of bass response by acoustic loading when efficiency is high,
(3) Elevation of midrange response due to loss of mass reactance of the mass
of the air around the cone at frequencies high enough for the acoustic loading
of this air to be mostly resistive in effect,
(4) Depression of lower midrange response by increased mass reactance of the
air around the drivers when more than one driver is used,
(5) Array gain effects from using multiple drivers, floor coupling, etc.,
(6) And - depression of higher frequency response by the voice coil
inductance if that is typical for drivers having the Thiel-Small
parameters and diameter that were entered into the program.
This program does calculate typical values for factors necessary for
calculations for these effects.
This program calculates these "typical values" with various assumptions
including enclosures being made of 3/4 inch thick wood and trends that I
have found to be typical of loudspeakers, such as in voice coil inductance.
This program does not predict diffraction ripple, effects of cone
"breakup", ripple from interference between acoustic radiation from the
louspeaker and acoustic radiation reflected by a wall, enclosure internal
resonances and reflections, off-axis response, or near field response. It
also does not show acoustic power efficiency as a function of efficiency, but
does calculate this combined with effect of driver or driver array
directivity as a function of frequency.
The source code has been accidentally shrouded. I took extreme measures to
maximize run speed by a BASIC interpreter when I developed the core of this
program in late 1989 on a laptop having an 8 MHz NEC-V20 processor. Such
measures included minimizing length of variable names to increase interpreter
speed. I have lost my notes on this in 1991, and now I cannot understand the
core of the good part of this program.
However, I can say that this analyzes what I consider to be the "expanded
Thiel-Small equivalent circuit", which I will show here in the future.
Requirements:
The executable works in Microsoft Windows command prompts or DOS prompts,
for Windows versions at least from 3.1 to XP, and DOS likely as low as 2.3.
It works with VGA displays, VGA-compatible SVGA displays, and old CGA displays.
It works with generally all processors of X86 type.
Version 1.01 is optimized for Microsoft Quick Basic 4.5. The executable is
a version preferring but not requiring a math coprocessor, so as to reduce
file size and to maximize speed with modern processors. It does work with
8088 and NEC V20, but takes ~4-7 seconds to generate a plot. Intel X86
processors 486DX and higher and Pentium-like "X86" processors and higher come
with built-in math coprocessors. This program should plot essentially instantly
with any X86 type processor with a math coprocessor, of type 486DX or higher,
with core frequency 25 MHz or higher, despite lacking the Dan Barclay
"Mathptch".
Download Links:
NOTE - the source code has some characters intended to be edited
by a hex editor or the like after compiling/linking. I engaged in that
practice for this program in 1991 to minimize file size. The executable
linked below has this editing done and is usable as-is.
spkr.bas Basic Source Code compileable by
Microsoft Quick Basic 4.5.
Copyright (C) 2001, 2008, 2010, 2011.
RADIATE - brightness, chromaticity, spectrum
breakdown of blackbody radiators as a function of temperature
This program requests user input of "blackbody radiator" (ideal thermal
radiator) temperature in degrees Kelvin (limited to a range of 350 to
2E7 degrees Kelvin. Its response is to print onto the screen the following
properties of a blackbody radiator at such a temperature:
Scotopic/photopic ratio
Peak wavelength in nm
1931 CIE chromaticity coordinates
Watts radiated per square centimeter
Percent of total radiation in vacuum UV, non-vacuum UVC, UVB, UVA, visible,
IRA, IRB, and IRC, corrected 1/19/2010.
Overall luminous efficacy, in lumens of light per watt of total radiation.SPKR - "Speaker", for designing loudspeaker sealed and
ported enclosures, for woofers, subwoofers and fullranges.
This is actually a very old program of mine, developed mostly during 1989
through 1991, with some work done as recently as 1996.
Just before asking for enclosure volume and port tuning frequency, this
program usually offers some suggestions based on Fs, Qts and total Vas,
with names of such suggested "alignments".
This page and linked software (except for the Dan Barclay "MATHPTCH")
written by Don Klipstein.
Please read my Copyright and authorship info.
Please read my Disclaimer.