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 slightly 6/13/2012.

GENERAL NOTES ON DON KLIPSTEIN WEBSITE SOFTWARE unless otherwise noted:

1. Licensing - as of 6/13/2012, everything here is freeware that I license for free to anyone who wants it, under GPL "public license". Should this 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 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 6/13/2012) 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.

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 for a customer who 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.

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 of 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, at least of older versions 3 to 6 or so, before running RADIATE 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.

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. Link for downloading this is after a couple or a few pages of stuff about this item that I put a lot of work into.

This program asks for driver Fs, Qts, Vas in cubic feet, 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 (all 4 of them assume "far field", on-axis and 3 of them assume perfectly reflecting relevant surfaces), or to oversimplify to the 5-component Thiel-Small equivalent circuit for ported enclosures.

As for where to get Fs, Qts and Vas (in liters, divide Vas in liters by 28.317 to convert to Vas in cubic feet) of many woofers, fullranges, subwoofers, and some midranges, some guitar and bass speakers, etc: www.thielesmall.com

NOTED 1/2/2011: (Though this feature is not new)
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".

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, rounded to a whole number of dB. This figure assumes a typical ratio of nominal impedance to voice coil DC resistance, and a typical ratio of Qes/Qts. UPDATE 2/20/2012: This sensitivity figure for the "0 dB line" may be .5 dB lower to 2 dB higher than actual, depending on ratios of Qes/Qts and Znom/Re.

The exact figure for sensitivity dB 1W, 1M corresponding to the "0 dB line" is 111.9 plus 10 times the "common log" (log base 10) of 2.7 times the product of Znom/Re multiplied by the cube of Fs (in Hz) times Vas (in cubic feet), divided by Qes. Add 6 dB if floor coupling is involved to ideal extent.
Do the log after multiplying 2.7, Vas, ratio of Znom to Re, and cube of Fs by each other and dividing by Qes. After that, multiply the log by 10 and add 111.9 (without floor coupling) or 117.9 (with ideal floor coupling).

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 theoretical 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 enclosure 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, except floor coupling effect for the 2 options to consider it assume 100% reflection and measurement in the "far field".

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, bass loss from air friction in ports, bass loss from damping material inside the box, off-axis response, or near field response. It also does not show acoustic power efficiency as a function of frequency, 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. It works with 640K RAM.

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 even without a math coprocessor, 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.exe V. 1.01 executable.

spkr.bas Basic Source Code compileable by Microsoft Quick Basic 4.5. (This even has a lookup table part for calculating dB, implemented when that achieved a speed improvement over LOG back when most PCs lacked math coprocessors.)


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

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