Page 1 of 1

Controlling Volume on Reciever

PostPosted: Tue Oct 26, 2004 9:59 pm
by eruji
Ive been a Girder / USBUIRT user for a few years now. I now have added a Audio Reciever to my HTPC setup.

Is there a way to control the volume on my JVC reciever with the USBUIRT so that when i hold down my volume buttons on my FireFly remote, it works just like the original remote.

I figured that since the FireFly remote is RF, there should be no IR collision.

so currently i have it setup like this:

for vol+

i press vol+ on FF (vol up - down event), girder starts a timer that repeats a USBUIRT vol up learned event (repeat 4) every 500 ms. When i release the vol up (vol up - up event) it kills the timer which stops the volume up event.

it works but, the volume raises 1 increment every 500ms or so. Which is really slow.

the original remote works like this:
pres vol up, and the volume raises 1 increment, hold it and the volume goes up very quickly

is it possible to replicate this?

ive tried changing the repeat value in the USBUIRT plugin. If i set it to say 20, it raises like 8-10 increments quickly.

TIA

PostPosted: Wed Oct 27, 2004 3:48 am
by jrhees
eruji,

If you're willing to be a 'guinea pig', I could probably work on such a feature for Girder... If you want to pursue this, let me know at support@usbuirt.com

-Jon

PostPosted: Thu Oct 28, 2004 4:22 pm
by Guest
okay, i got this working a little bit faster now:

here is my girder lua script that is triggering the USBUIRT:
Code: Select all
VolTimer = TIMER_CreateObject()
VolTimer.Create("TriggerEvent('VOLUP',18)","TriggerEvent('VOLUP',18)","",1)
VolTimer.Arm(350)


VOLUP is just a girder command with this USBUIRT event:
Code: Select all
Code1:R0191813F809F143C143C141414141414143C1414143C1414143C143C143C143C14141414141414
Code2:0191143C143C141414141414143C1414143C1414143C143C143C143C14141414141414
Repeat:1
Carrier:38KH
Wait:0


if i adjust the ms any lower, girder and usbuirt seem to trip up. meaning girder is executing this volup command every X milliseconds, but the usbuirt cant keep up. So when i let go of the volume up button on my remote (which send the "VolTimer.Destroy()" script) the usbuirt is still sending transmits for another second or so (depends on how fast the repeat is sent, faster repeat=longer catch up time) to catch up. I want it to stop transmitting as soon as i release the volume.

so looking at my usbuirt settings for volume up, is there any way to streamline it so that it doesnt take so long for girder / usbuirt to transmit a single vol up command?

PostPosted: Thu Oct 28, 2004 4:23 pm
by eruji
oops, forgot to login

guest = eruji