OSMOOTH(1) General Commands Manual OSMOOTH(1) NAME osmooth - smooth the measured frequency response of a speaker in a file SYNOPSIS osmooth [-n] [-v] [filename] DESCRIPTION Osmooth is for smoothing the measured frequency response of a speaker. The input file is sequential text records, in lexical order of fre‐ quency, each record having the frequency, followed by the amplitude at that frequency, separated by white space. Blank records are ignored, and comment records are signified by a '#' character as the first non white space character in the record. The smoothed output is on stdout. For any record in the file, containing the frequency F, average the amplitudes between F / 2^(N / 2) to F * 2^(N / 2), where N is 1/2, 1/3, 1/12, etc., fraction of an octave. Note that Fmin = F / 2^(N / 2), or, F = Fmin * 2^(N / 2) permitting sequential scanning of the file, i.e., for any frequency record: Input the record, the frequency in this record is Fmin; calculate F = Fmin * 2^(N / 2). Average the amplitudes, Av, in the following records to Fmax = F * 2^(N / 2). print F and Av. Or, simplifying: Input the record, the frequency in this record is Fmin; calculate F = Fmin * 2^(N / 2). Average the amplitudes, Av, in the following records to Fmax = Fmin * 2^N print F and Av. OPTIONS -n N N = fraction of an octave to smooth, 0 < N < 1, (0.333... = 1/3) -v Print the version and copyright banner of the program. filename Input filename. WARNINGS There is little or no provision for handling numerical exceptions. SEE ALSO tsderivative(1), tshcalc(1), tshurst(1), tsintegrate(1), tslogre‐ turns(1), tslsq(1), tsnormal(1), tsshannon(1), tsblack(1), tsbrown‐ ian(1), tsdlogistic(1), tsfBm(1), tsfractional(1), tsgaussian(1), tsin‐ tegers(1), tslogistic(1), tspink(1), tsunfairfractional(1), tswhite(1), tscoin(1), tsunfairbrownian(1), tsfraction(1), tsshannonmax(1), tschangewager(1), tssample(1), tsrms(1), tscoins(1), tsavg(1), tsXsquared(1), tsstockwager(1), tsshannonwindow(1), tsmath(1), tsavg‐ window(1), tspole(1), tsdft(1), tsbinomial(1), tsdeterministic(1), tsnumber(1), tsrmswindow(1), tsshannonstock(1), tsmarket(1), tsstock(1), tsstatest(1), tsunfraction(1), tsshannonaggregate(1), tsin‐ stant(1), tsshannonvolume(1), tsstocks(1), tsshannonfundamental(1), tstrade(1), tstradesim(1), tsrunlength(1), tsunshannon(1), tsroot‐ mean(1), tsrunmagnitude(1), tskurtosis(1), tskurtosiswindow(1), tsroot‐ meanscale(1), tsscalederivative(1), tsgain(1), tsgainwindow(1) tscauchy(1), tslognormal(1), tskalman(1), tsroot(1) DIAGNOSTICS Error messages for incompatible arguments, failure to allocate memory, inaccessible files, and opening and closing files. AUTHORS ---------------------------------------------------------------------- A license is hereby granted to reproduce this software source code and to create executable versions from this source code for personal, non-commercial use. The copyright notice included with the software must be maintained in all copies produced. THIS PROGRAM IS PROVIDED "AS IS". THE AUTHOR PROVIDES NO WARRANTIES WHATSOEVER, EXPRESSED OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, TITLE, OR FITNESS FOR ANY PARTICULAR PURPOSE. THE AUTHOR DOES NOT WARRANT THAT USE OF THIS PROGRAM DOES NOT INFRINGE THE INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY IN ANY COUNTRY. Copyright (c) 1994-2018, John Conover, All Rights Reserved. Comments and/or bug reports should be addressed to: john@email.johncon.com (John Conover) ---------------------------------------------------------------------- April 12, 2018 OSMOOTH(1)