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

Login:
Pass:
 
 

Page 2 of 2
Topic:
STUCK converting pronto to wav
This thread has 27 replies. Displaying posts 16 through 28.
Post 16 made on Tuesday August 27, 2013 at 12:58
Barf
Regular Member
Joined:
Posts:
August 2013
161
First, let us get some facts straight about the hardware: Not all circuits are equivalent. While it is perfectly well possible to use just one channel ("mono") (after all, it is just one channel to transmit) , often the hardware circuits assume two channels, with the left and right channel in opposite phases. (Sometimes called "stereo", but stereophonic sound is normaly more than two identical (with the exceptiion of the sign) channes.)  See e.g. [Link: lirc.org] . if you feed that circuit with a monophonic signak, you will get absolutely no IR. Kevin's software supports 2 channels ("stereo") only, while my software (both the interactive IrMaster, and the non-interactive Java API) let the user select. Read the API again, or simly experiment with IrMaster. Your text (Kevin's software worked, mine not) really suggest that you generated 1 channed waves and sent it to a circuit requiring two-channel signal.

i am using the Pronto hex codes from this database [Link: remotecentral.com]

Tell you what: most of them will not work with your very device (SCNR :-)).


having NEC protocols are not working like I have created a wave file from Sony pronto hex code it is working fine but like Toshiba and so on they are having NEC protocols they are not working

The wave translation takes place on such a low level that that statement is like saying that a loadspeaker does not work with jazz, only with rock... try to include some repetitions in your wave file. (That is the # Repetitions in the IrMaster export pane, or the argument to toModulatedSequence in the Java code.)
Post 17 made on Thursday August 29, 2013 at 01:05
Achin
Junior Member
Joined:
Posts:
August 2013
32
hi, thanks for your help, that really helps me, first i will tell you about my hardware you can check this link [Link: righto.com]
and to use this we have to download the software also ,
when i press the any button of my TV this will capture the signal genertaed by the TV remote and on the serial monitor(software for the hardware i'm using) it gives me some hex value like 40BF58A7 and from Yamaha Pronto IR Hex Converter you can check this link [Link: dl.dropboxusercontent.com]
i will put that hex value into the box and click the generate button and it gives me Pronto hex code and from, that Pronto hex code i will make a wave file from using your code and when i play that wave file from my mobile which is having a device connected to 3.5 mm jack that will generates the signal and the signal is captured by the serial monitor of arduino but not working on my TV
for eg i press the menu button of my sansui tv in front of my device and that gives me this value 40BF30CF
and i put this value into Yamaha Pronto IR Hex Converter that gives me the Pronto hex code of this value and using this value i have generates a wav file using your code but when i play this wav file from my mobile (having device which generates the signal) that did not work for my TV , i mean the menu is not opening
from this value 40BF30CF , it gives me the following Pronto hex code
0000 006D 0022 0002 0155 00AA 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 05ED 0155 0055 0015 0E47 
and i have created a wave file from this code 
 try {
            
             IrSignal irSignal = Pronto.ccfSignal("0000 006D 0022 0002 0155 00AA 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 05ED 0155 0055 0015 0E47");
             ModulatedIrSequence modulatedIrSequence = irSignal.toModulatedIrSequence(1);
            
             Wave wave = new Wave(modulatedIrSequence, 44100, 16, 2, true, true, true, false);
             wave.export(new File("servOK2.wav"));
            
        }catch(IrpMasterException ex) {
            Logger.getLogger(IrpMaster.class.getName()).log(Level.SEVERE, null, ex.toString());
        }
and when i play this from my mobile i did not work and it did not open yhe menu but it is detectable by my hardware i'm using
 
Post 18 made on Thursday September 5, 2013 at 14:59
Barf
Regular Member
Joined:
Posts:
August 2013
161
Either;

1. You have the wrong signal (captured),
2. Your wave file is flawed,
3. Your wave file structure is not compatible to your wave hardware (stereo/mono), or,
4. Your wave sending hardware/software is broken or inappropriate.



1. can be hard, if you have no other IR hardware/software, like IRWidget. Compare the decodes from the Ir Library (preferably by protocol/parameters, not CCF) with known coded for your TV; it may give you a clue.

For 2 (+1): if you upload your wave file I can have a look at it.

To 3, I asked about a description of your wave hardware, and you described your capturing hardware. That was not very helpful.

For 4: Play the wave file through normal speakers may give a clue, should sound like "bwwwt". Look at the IR diodes with a digital camera, should glow. Use an oscilloscope if you have one. Capture it again.


The most "hassle free" parameters are probably 48000Hz, 8bits, 2 channels, omitTail = false divide = false bigEndian=false (?) square=true(?).

Last edited by Barf on September 5, 2013 15:08.
Post 19 made on Saturday September 7, 2013 at 02:50
Achin
Junior Member
Joined:
Posts:
August 2013
32
hi in your 10th post you said that
"Also note that with IrpMaster you can generate IrSignal's from other sources than Pronto strings. Like

HashMap parameters = new HashMap();
parameters.add("D", 0);
parameters.add("F", 12);
IrSignal irSignal = new IrSignal("IrpProtocols.ini", "rc5", parameters);
ModulatedIrSequence modulatedIrSequence = irSignal.toModulatedIrSequence(1);
Wave wave = ...
wave.play();

will turn on or off a Philips (or other RC5) TV."
i want to ask that where did you get the parameters [("D", 0) and ("F", 12)] ??
parameters.add("D", 0);
parameters.add("F", 12);
and how can i get those parameters for different brands to create wave fils and can you have parameters for sansui TV ?

Last edited by Achin on September 7, 2013 05:16.
Post 20 made on Saturday September 7, 2013 at 14:20
Barf
Regular Member
Joined:
Posts:
August 2013
161
First, please do not PM me every time you make a posting, I answer if I feel that it is sensible, and "fun".

Secondly, I suggest you get some general know-how, like [Link: sbprojects.com]

You can get the protocol/parameter form of e.g. a CCF signal in may ways, e.g. by pasting into the IrMaster data window, and pressing "Decode"
Post 21 made on Wednesday September 11, 2013 at 07:16
Achin
Junior Member
Joined:
Posts:
August 2013
32
ok so you said that
"You can get the protocol/parameter form of e.g. a CCF signal in may ways, e.g. by pasting into the IrMaster data window, and pressing "Decode".
and my issue is that if our CCF signal is wrong then our parameters that we got from IrpMaster is wrong and also our wave file is also wrong
how can we get rid of this issue?
Post 22 made on Monday September 16, 2013 at 23:46
Achin
Junior Member
Joined:
Posts:
August 2013
32
i think the wave files created by the IrpMaster does not send any ir code when we are playing on the phone , because when i play my sansui remote in-front of my hardware device it give me below
40BF58A7
Decoded NEC: 40BF58A7 (32 bits)
Raw (68): 18212 9100 -4300 700 -400 650 -1600 650 -450 650 -500 650 -450 700 -400 650 -500 650 -450 700 -1550 650 -450 700 -1500 700 -1550 600 -1600 700 -1550 650 -1600 600 -1600 700 -450 650 -1550 700 -400 650 -1600 700 -1550 700 -400 700 -400 650 -500 650 -1550 600 -550 650 -1550 600 -550 650 -450 650 -1600 650 -1550 600 -1600 700

and when i play the wave file created by the IrpMaster on my phone it gives me and
Unknown encoding: EF9F0867 (32 bits)
Decoded NEC: FFFFFFFF (0 bits)
Raw (4): 21936 9000 -2150 550
216D2D4A
Raw (38): -32106 350 -700 450 -1950 300 -1750 400 -1900 350 -1750 450 -700 450 -1950 300 -1800 400 -700 400 -1950 250 -800 400 -600 450 -750 350 -1900 300 -1000 150 -900 250 -1850 350 -650 350
6D3E7B38
Unknown encoding: 6D3E7B38 (32 bits)
Raw (36): -21868 550 -600 500 -1750 450 -1900 350 -1700 500 -1750 500 -750 350 -1700 500 -1750 500 -800 300 -1750 500 -800 300 -700 400 -2850 500 -850 150 -950 300 -2050 150 -650 450
F2CDF944
i just want to ask that has someone else used IrpMaster before me, i mean have anyone tested Irpmaster and the wave files created by the Irpmaster is working fine i have re-search allot but not able to find anyone who used the IrpMaster
Post 23 made on Wednesday September 18, 2013 at 06:36
saraansh
Junior Member
Joined:
Posts:
August 2013
1
Hi, I'm making an Ir remote to use from my iPhone headphone jack. Can you help me out on how I can convert an NEC IR code to a pronto hex code. I haven't found any clear explanation to this. Preferably in java..
also how does one determine what the lead in and lead out is .. from looking at the nec ir code? i'm clueless.. need help
Post 24 made on Sunday March 5, 2017 at 05:42
gourav
Junior Member
Joined:
Posts:
March 2017
2
Hi,

I am using this Device

and using your code for LG tv Power on button

IrSignal irSignal = Pronto.ccfSignal("0000 006d 0026 0000 0155 00aa 0016 0015 0016 0015 0016 0040 0016 0015 0016 0015 0016 0014 0016 0015 0016 0015 0016 0040 0016 0040 0016 0015 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0014 0016 0040 0016 0015 0016 0015 0016 0014 0016 0040 0016 0040 0016 0014 0016 0040 0016 0015 0016 0040 0016 0040 0016 0040 0016 0014 0016 0015 0016 060b 0155 0055 0016 0e58 0155 0055 0016 00aa"
);

ModulatedIrSequence modulatedIrSequence = irSignal.toModulatedIrSequence(1);

Wave wave = new Wave(modulatedIrSequence, frq, 16, 2, true, false, false, false);
wave.play();


For same LG pronto code IR enabled mobile device is able to power on the TV but when i am using with this code and generating WAV file and play my device is detecting and light is blinking. But TV is not responding to it.

Pattern which your code is generating

8967 4470 579 552 579 552 579 1683 579 552 579 552 579 526 579 552 579 552 579 1683 579 1683 579 552 579 1683 579 1683 579 1683 579 1683 579 1683 579 1683 579 526 579 1683 579 552 579 552 579 526 579 1683 579 1683 579 526 579 1683 579 552 579 1683 579 1683 579 1683 579 526 579 552 579 40680 8967 2235 579 96558 8967 2235 579 4470


and Ir enabled mobile is generating

26 26 8866 4420 572 546 572 546 572 1664 572 546 572 546 572 546 572 520 572 546 572 1664 572 1664 572 546 572 1664 572 1664 572 1664 572 1664 572 1664 572 546 572 546 572 1664 572 546 572 546 572 546 572 1664 572 1664 572 1664 572 1664 572 546 572 1664 572 1664 572 1664 572 520 572 546 572 40222 8866 2210 572 95472 8866 2210 572 4420

Please tell me what i am doing wrong here.
Post 25 made on Monday March 6, 2017 at 02:38
Barf
Regular Member
Joined:
Posts:
August 2013
161
The second signal is (ignoring the first two, likely spurious, durations) NEC1 4.196 and the one you are firing is NEC1 4.197; in both cases with two repeats. That is why your TV does not respond.
Post 26 made on Sunday March 12, 2017 at 08:15
gourav
Junior Member
Joined:
Posts:
March 2017
2
Sorry but what is NEC1 4.197 and 4.196 ?

I am new to this. can you suggest ant link which explains this difference ?
Post 27 made on Monday March 13, 2017 at 03:52
Barf
Regular Member
Joined:
Posts:
August 2013
161
Much to learn still you have, young padowan ;-).

You are dialing the wrong phone number. This might be a place to start your path to enlightenment.
Post 28 made on Friday July 28, 2017 at 04:14
MindyMagic
Junior Member
Joined:
Posts:
July 2017
17
On March 13, 2017 at 03:52, Barf said...
Much to learn still you have, young padowan ;-).

You are dialing the wrong phone number. This might be a place to start your path to enlightenment.

You definitely are the Jedi master, Barf. Thanks for the link! :)
Page 2 of 2


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse