Originally Posted by snodric
This is a follow-up question for kriktsemaj99. I also have a Yamaha receiver (RX-V1) and would like to be able to 'ramp' volume by holding down a volume button. Can you please give an example of the list of codes/delays we should try on a button AND THE NEXT VERSION of codes/delays if the first doesn't work. I just need to have a better sense of how you are suggesting we test the strategy (need the second version to see how we modify the first version if the first version doesn't work)
I assume you're using infrared, and you already have codes that are working for VOLUME UP and VOLUME DOWN (they're in the iRule database). Also are you using some sort of Global Cache gateway? I haven't had time yet to experiment with this myself (and I don't have a GC gateway), but I would start with:
command repetition = 3 (that's the default, which you can see by clicking on the VOLUME UP or VOLUME DOWN command and looking at properties).
Then on your volume up/down buttons, set "repeat on hold" to yes, and repeat every 0.1 sec.
Try holding volume up or down (better to do this with nothing playing) and one of two things should happen:
1) The volume just goes up or down slowly.
2) It ramps in a smooth and accelerating way just like when using the original remote.
If 1), try repeat every 0.05 sec (you can enter this even if it doesn't show up as 0.05). Test again. If still not ramping, either reduce the repeat on hold interval a bit more (e.g. 0.04 or 0.03) or increase the command repetition (e.g. from 3 to 5). If you get it ramping but it overshoots too much, try reducing both the command repetition number and the repeat on hold interval.
If you can't get this working, the next best thing is to use the 6 volume memories (which I assume the RX-V1 has, but I don't know for sure). There are codes for VOLUME MEMORY 1 to 6 and VOLUME RECALL 1 to 6. So you can set up 6 buttons that instantly select (for example) -40, -35, -30, -25, -20, -15, -10dB. With that you wouldn't really need to make big changes by holding down a button.