Home AMX User Forum AMX General Discussion

Innacurate volume feedback

I'm having an innacurate volume feedback using AMX module for NAD 773 receiver. When the volume is all the way down the feedback reads 4, when the volume is all the way up the feedback reads 87. Other than that everything looks OK. Here is the portion of the code that handles the volume feedback
DATA_EVENT[vdvNAD_T773]
{
	STRING:
	{
		STACK_VAR CHAR cCMD[35]
		
		IF(nDEBUG) 
		{
  		SEND_STRING 0, "'UI RECEIVED FROM COMM: ',DATA.TEXT" 
	  }
		IF(FIND_STRING(DATA.TEXT, '=', 1)) 
		{
  		cCMD = REMOVE_STRING(DATA.TEXT, '=', 1) 
		}        
		ELSE 
		{ 
		  cCMD = DATA.TEXT 
		}
		SWITCH(cCMD)
		{
                                    .
                                    .
                                    .
			CASE 'VOLUME=':
			{
				fnPARSE(':',DATA.TEXT,cCOMMAND)
				
				IF(cCOMMAND[2] == '1')//ZONE 1
				{
					SEND_COMMAND dvTP, "'@TXT',1,cCOMMAND[1]"
				}
				ELSE IF(cCOMMAND[2] == '2')//ZONE 2
				{
					SEND_COMMAND dvTP, "'@TXT',2,cCOMMAND[1]"
				}
			}
			
		}// END SWITCH(cCMD)
	}// END STRING
}// END DATA_EVENT[vdvDEVICE]

Any suggestions?

Comments

  • viningvining Posts: 4,368
    Looks like it's just sending what it gets from the comm module. Did you check the modules support documentation to see if this is an intentional act. I noticed on some other module recently that the volume levels had fixed start & stop points that were not 0 & 100. I don't recall what the values were or what the module was but I think it was for Vol +- commands.
  • HedbergHedberg Posts: 671
    If the volume was just failing to reach 0 and 100 but was working in all other respects, I'd be awful tempted to just scale it to what I wanted the endpoints to be and move on. I'm assuming that the actual numbers don't have some important meaning other than relative scale.
Sign In or Register to comment.