Jump to content
C4 Forums | Control4

Fading music out when a new activity is selected?


Recommended Posts

Hi All,

I've got a home layout where my kitchen is open to my great room and we often have music playing in the kitchen. My objective is to "fade" or lower the kitchen music level to zero when I select "watch" in the great room.

I've got it programmed, but I'm not seeing/hearing the desired effect. Effectively, when the GR has "Watch" selected I enter a loop that uses "Pulse down" and a 1 sec wait to get to zero, then the music is turned off.

However, the result seems to be the level goes from 11 to 0 and no obvious "fade" in the music level, other than off. I would have thought the "pulse" would have the same effect as a tap on the volume down in the UI or remote?

Does anyone have a suggestion or more graceful way to implement this?


Link to comment
Share on other sites

Timer, repeating, 1 second

When timer expires, set kitchen current volume to current volume -1 (you find this under the room variables)

WHEN timer fade expires
IF kitchen current volume is more than 0
	set kitchen current volume to kitchen current volume -1
IF kitchen current volume is equal or less than 0 {just in case....}
	turn kitchen off
	stop timer


Link to comment
Share on other sites

Works great! Thank you.

I just added a "start timer" to the "Watch" command in the Great room. This gets stopped then the kitchen volume level gets to 0 and the room is stopped (I don't want the kitchen "off" as we may restart the media later). Now I can also see the level get lower every 500ms on the UI as I added a delay in the "volume -1" loop. Perfect.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.