Your Universal Remote Control Center
RemoteCentral.com
Everything Else Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 6 made on Sunday August 18, 2013 at 15:35
Barf
Long Time Member
Joined:
Posts:
August 2013
350
Finally, after several years of lurking I have registered!

> actually i want to convert pronto hex code to .wave file in java


You are looking for IrpMaster, which is the engine of the previously mentionen IrMaster. IrpMaster can be used as a command line program, but in particular as an Java library, as requested here. You can achieve what you want in just a few lines of Java, say

IrSignal irSignal = Pronto.ccfSignal("0000 0073 0000 001A 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0E10");
ModulatedIrSequence modulatedIrSequence = irSignal.toModulatedIrSignal(1);
Wave wave = new Wave(modulatedIrSequence, 48000, 8, 1, false, true, true, false);
wave.export(new File("export.wave"));


IrpMaster can be downloaded from my website: http://www.harctoolbox.org API documentation can also be found online there.(or can be generated automatically from the source by javadoc).

Disclaimer: I am the author :-)


Hosting Services by ipHouse