Post 16 made on Thursday September 12, 2013 at 14:21 |
Barf Long Time Member |
Joined: Posts: | August 2013 350 |
|
|
Oh my. Some more comments:
The circuit you linked to should be fed by equal signal in the left and right channel. With an antiphase "stereo" signal, the two LEDs will go on at at exactly the same time, leaving you with a 19kHz carrier, which is not what you want. So use 1 for the fourth argument in the Wave constructor.
The raw signal, as well as the Pronto CCF, both decodes (IrMaster!) to NEC1 D=64 F=183
It is not enough to put the "necShirriff" protocol in the IrpProtocols.ini, you have to use it too. Please try interactively in IrMaster first, (select necshirrif as protocol, put 0x40BF48B7 as F,press Generate and then Decode and it should say protocol = NEC1, device = 64, obc = 183.)
The Java stuff should then go something like:
long F = 0x40BF48B7L; parameters.put("F", F); ... IrSignal irSignal = new IrSignal("IrpProtocols.ini", "necshirrif", parameters); ... Wave wave = new Wave(modulatedIrSequence, 48000, 8, 1. ...)
|
|
|
|