node-sonos-discovery icon indicating copy to clipboard operation
node-sonos-discovery copied to clipboard

Audio Delay

Open fizzyade opened this issue 4 years ago • 0 comments

Hi,

Posting this here as this is the framework that does the heavy lifting, but this is something I would like to be able to do in the node proxy via node-red.

I'd like to be able to set the audio delay, I sniffed the notification from changing it and I see:

<e:propertyset
	xmlns:e="urn:schemas-upnp-org:event-1-0">
	<e:property>
		<LastChange>&lt;Event
			xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/RCS/&quot;&gt;&lt;InstanceID val=&quot;0&quot;&gt;&lt;DialogLevel val=&quot;1&quot;/&gt;&lt;SurroundLevel val=&quot;0&quot;/&gt;&lt;MusicSurroundLevel val=&quot;0&quot;/&gt;&lt;AudioDelay val=&quot;1&quot;/&gt;&lt;AudioDelayLeftRear val=&quot;1&quot;/&gt;&lt;AudioDelayRightRear val=&quot;1&quot;/&gt;&lt;NightMode val=&quot;1&quot;/&gt;&lt;SurroundEnabled val=&quot;1&quot;/&gt;&lt;SurroundMode val=&quot;0&quot;/&gt;&lt;/InstanceID&gt;&lt;/Event&gt;
		</LastChange>
	</e:property>
</e:propertyset>

So AutioDelay, AudioDelayLeftRear and AudioDelayRightRear seem to be what needs to be changed, I need to set up a capture on my network to see the request that does it, but seeing the notification gives me hope that this shouldn't be too hard.

The reason behind this is that I have just installed a projector, but it shares a source with a TV, I have modified a HDMI switch so that it is now WiFi controlloable so I can switch the source to the TV or projector at the touch of a button, the idea being that it will also power on the projector and lower the projector screen automatically (as well as switching the source to the projector).

The TV and projector are connected via an optical cable, but the difference in processing time of the video on the TV and projector means I need to be able to change the delay depending on whether the TV or Projector is the sink of the signal.

Thanks.

fizzyade avatar May 12 '20 00:05 fizzyade