PDA

View Full Version : Change NR Event Repeat Rate?



eXentric
December 4th, 2007, 06:39 AM
In the manual I see the following:


Lua Event: Either specify the name of an existing Lua function, or enter an anonymous function body. In either case, the function should take two parameters. The first is an element object corresponding to the button that was pressed. The second is a number. When the button is pressed, the function is called with value 0. If the button is held down, the function is called at the repeat rate with the value incrementing. When the button is released, it is called a final time with the value -1.

Emphasis mine. Any way to change that repeat rate? I believe it defaults to 250ms and unfortunately that's just too slow to control volume up and down with my Yamaha RX-V3300 (which only changes 1/2 db every request).

I realize I can setup a Girder macro which does two volume changes for every request from NetRemote, but I noticed that I can click the button faster than 250ms and the volume will adjust more quickly.

I also thought about trying to deal with this in script using a timer but that seems like a bit of work.

Any thoughts?

Rob H
December 4th, 2007, 09:55 AM
I don't think there is currently any way to do this. Might be worth looking at I guess, but I wouldn't hold your breath.

Would be better to control the receiver via the RS232 port then you could use a slider.

eXentric
December 5th, 2007, 10:53 AM
I am controlling it via RS-232, but this receiver is a MONSTER. I tried the slider thing and one time I accidentally slid the slider too far to the right and it scared the hell out of everyone. I'd rather use the up/down arrows to be honest. And I know it would take some effort to change the Lua Event repeat rate (a parameter perhaps?) because you wouldn't want to do it globally. Or if you did, youd have to make it fast and allow filtering every other time based on the count. But that would mess up scripts that are already working.

For now, I changed the Girder side to send the RS232 command twice for every NR request and it made a big difference. If nothing else, I can work with that.

Thanks

Rob H
December 5th, 2007, 01:42 PM
Ah, if you're already controlling the volume using RS232 then you should be able to limit the maximum volume that the slider can send to avoid that happening again.

eXentric
December 5th, 2007, 03:18 PM
Thought about that too, but some of my BluRay movies are very quiet and require almost the whole volume range while my music requires a much lower volume level. Thanks for the suggestion, though.