Don's Software Downloads!

Here are programs to download via WWW from Don Klipstein Jr.'s Web Site!

WARRANTY: Absolutely none - Use At Own Risk!

Updated 1/19/2010, slightly bug-fixed 4/10/2010).

GENERAL NOTES ON DON KLIPSTEIN WEBSITE SOFTWARE unless otherwise noted:

1. 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.

2. For programs not noted as "shareware" (requesting payment, so far nothing here is shareware), 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 mostly in BASIC and unless otherwise noted 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.

Now For The Programs!

Number of Programs Available Here as of 5/14/2008: 3 (three).

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.

MWPL - "milliwatts per lumen" blackbody radiation spectrum

This program requests user input of "blackbody radiator" (ideal thermal radiator) temperature in degrees Kelvin (limited to a range of 1720 to 31600). Its response is screen output of a spectral distribution curve with horizontal calibration in wavelength in the range of 250 to 850 nanometers. Vertical scaling is obviously enough percentage of peak (in content per unit "bandwidth") but calibrated for a custom purpose in terms of milliwatts of ultraviolet per lumen of visible light. (I got off my butt and developed this program where the customer wanted ultraviolet data to minimize fading of paintings in an art gallery.)

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 -PrintScreen. Your paper output may have black and white reversed.

Source Code Notes:

Successfully compiled with Microsoft Quick Basic 4.5.

For faster execution, use the "MATHPTCH" which gets around some slowdowns of floating point math by many Microsoft Basic compilers and maybe some other Microsoft program languages/compilers.

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.

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:

Surface brightness in candela/cm^2
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 per total radiation.

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 -PrintScreen. Your paper output may have black and white reversed.

Source Code Notes:

Successfully compiled with Microsoft Quick Basic 4.5.

For faster execution, use the "MATHPTCH" which gets around some slowdowns of floating point math by many Microsoft Basic compilers and maybe some other Microsoft program languages/compilers.

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.

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.

This program asks for driver Fs, Qts, Vas, nominal diameter, number of drivers, enclosure volume, 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.

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.

Wfactors necessary 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 codes have 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 interpretor 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 near future.

Requirements:

Executables of both versions work in Microsoft Windows command prompts or DOS prompts, for Windows versions at least from 3.1 to XP. Executables of both versions work with MS-DOS 3.0 or higher, maybe as low as 2.3. Both work with VGA displays, VGA-compatible SVGA displays, and old CGA displays. Both work with generally all processors of X86 type. Version 1.0 is optimized for lower processors lacking math coprocessors, down to Intel 8088 and NEC V20 (IBM XT class). Version 1.01 is optimized for X86 type processors with math coprocessors, generally including ones of type 486DX and higher. Both versions may even work with an IBM XT having 256K RAM, but require at least a CGA video card and monitor.

Version 1.0 is optimized for compiling by Microsoft Quick Basic 2.0. The executable is the fastest I was able to produce for X86 type processors without math coprocessors. It runs on any X86 type processor as far as I know, with a Microsoft Windows command prompt or DOS prompt, along with MS-DOS of any version as low as 2.3 or maybe even 2.2. Plot time should be essentially instant with any X86 type processor 66 MHz or faster. Plot time is 2-3.5 seconds with 8088 and NEC-V20 processors at 4.77-8 MHz.

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. 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.

Download Links:

NOTE - the source codes have 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. Executables linked below have this editing done and are usable as-is.

spkr.exe V. 1.01 executable.

spkr.bas Basic Source Code compileable by Microsoft Quick Basic 4.5.

spk1.exe V. 1.0 executable.

spk1.bas Basic Source Code compileable by Microsoft Quick Basic 2.0.


This page and linked software (except for the Dan Barclay "MATHPTCH") written by Don Klipstein.

Copyright (C) 2001, 2008, 2010.
Please read my Copyright and authorship info.
Please read my Disclaimer.