whtech / ledrem

Automatically exported from code.google.com/p/ledrem
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
Fixed!I attached the source and the binary.

Original comment by edward_a...@yahoo.com on 26 Mar 2014 at 11:09

Attachments:

GoogleCodeExporter commented 9 years ago
Change log:
1.Changed sample rate to 44100Hz and carrier frequency to 19000Hz.
2.Forced decimal mode for small intervals (prevent the occurrence of 
exponential numbers)
3.Now the silence inserted at the beginning is 0.0001s (instead of 0.1s)
4.Now the path to the "ini" file is relative, and the application will remember 
the last settings no matter where you extract it. 

Original comment by edward_a...@yahoo.com on 26 Mar 2014 at 10:02

Attachments:

GoogleCodeExporter commented 9 years ago
Mapped remote control wave packs
1.Samsung AA59-00786A , compatible with F series Led TV
2.Canon WL-D88 for HF11 Camcorder
3.Sony RMT-833 for DCR-HC45 camcorder
4.Nikon ML-L3 for D3000 DSLR
5.E-Boda HD 400 media player remote control
All tested and working fine.

Original comment by edward_a...@yahoo.com on 1 Apr 2014 at 8:14

Attachments: