SONY.TIMING(1) General Commands Manual SONY.TIMING(1) NNAAMMEE sony.timing - change the Sony timing values in a file derived from the Arduino IRLib2 library, AnalysIR sketch SSYYNNOOPPSSIISS sony.timing [-v] [filename] DDEESSCCRRIIPPTTIIOONN Sony.timing.c is for changing the Sony timing values in a file derived from the Arduino IRLib2 library, AnalysIR sketch, to the industry "standard" timing values. The input file structure is a text file con‐ sisting of records of white space delimited timing values, in temporal order, with the '-' characters removed. The "standard" values are printed to stdout. The Sony remote protocol is based on a base timing value of 600 uS, and the timing values for a record are: 1) A Mark of 4 X 600 uS = 2.4 mS 2) Data Logical '0' a Space of 1 * 600 uS followed by a Mark of 1 * 600 uS 3) Data Logical '1' a Space of 1 * 600 uS followed by a Mark of 2 * 600 uS 4) A Record interval is always 75 * 600 uS = 45 mS 5) A Record is sent three times This simplifies the changing of the Sony timing values derived from the IRLib2 library, AnalysIR sketch, which can be rounded to the closest 600 uS value. OOPPTTIIOONNSS --VV Verbose output. --vv Print the version and copyright banner of the program. ffiilleennaammee Input filename. WWAARRNNIINNGGSS There is little or no provision for handling numerical exceptions. SSEEEE AALLSSOO 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), tslaplacian(1) DDIIAAGGNNOOSSTTIICCSS Error messages for incompatible arguments, failure to allocate memory, inaccessible files, and opening and closing files. AAUUTTHHOORRSS ---------------------------------------------------------------------- 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) ---------------------------------------------------------------------- January 17, 2018 SONY.TIMING(1)