Skip to content

Usage of exponential numbers in Batch files;wrong carrier frequency for 2 IR-led emitter #7

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem? - Conversion of any RAW LIRC with very 
small values.
LedRem for very small values uses exponential numbers - example 0.000045 gets 
written in the batch file as "4.5E-5" - that drives SOX nuts and make a 
non-working and huge wav (2-3MB, instead of 20-40KB).I attached a BAT sample 
with exponential numbers.
The batch files use as sample rate 48000 Hz instead of 44100 Hz, and the 
carrier frequency 18000 Hz instead of 19000 Hz which for me generates unusable 
waves (if I replace manually the rate and carrier frequency in the batch fie I 
get a working wave with my 2 IR-led emitter (after conversion to stereo with 
one channel inverted).
Requesting the removal of the first line of the batch file, which insterts 0.1s 
of useless silence (the parameter ">" can be used on the second line insted of 
">>").
Thank you very much for your work!

What version of the product are you using? On what operating system?
Version 1.0.0 on Windows 7 x64

Original issue reported on code.google.com by edward_a...@yahoo.com on 25 Mar 2014 at 11:42

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions